mirfananis
Posts: 1
Joined: Mon Jul 15, 2019 9:45 am

how to hear (from speaker) to fetch word from the live video

Mon Jul 15, 2019 10:07 am

Hi,

1st part: identify the object by showing the name on the screen

2nd part: hearing the word on the speaker by giving the name in command prompt

Problem:

want to interface both parts so that object name will be heard in the speaker.

Kindly help

User avatar
topguy
Posts: 5626
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: how to hear (from speaker) to fetch word from the live video

Tue Jul 16, 2019 12:26 am

Kindly help
Not sure how to be honest. We know nothing about the part 1 or part 2 programs? Do they exist, or only in theory ? What programming language are they written in ? Can they be modified ? Can they be merged in one program ?

To be VERY generic, Linux allows piping the output from one program to the input of another.
Its as easy as writing this in the shell.

Code: Select all

part1 | part2 
But EVERYTHING "part1" is printing out on standards out ( stdout ) is now entered as standard in ( stdin ) "part2"

https://thoughtbot.com/blog/input-outpu ... -the-shell

Return to “Troubleshooting”