I've recently interface a webcam with Galileo board and tried video streaming but it's working out plz help
thanks in advance
Hi,
What specifically is not working? What webcam model are you using? Are you following any specific guides? What code are you running? Are you using the standard Yocto image or the IoT image?
Sergio
Hi,
Good Day,
I've connected a webcam to Galileo gen 2 . I'm using Intex IT-305WC model of webcam. Yes am using a guides which I got on this
" http://www.instructables.com/id/Streaming-USB-Webcam-with-the-Intel-Galileo-Gen-2/ http://www.instructables.com/id/Streaming-USB-Webcam-with-the-Intel-Galileo-Gen-2/ " website .I used Debian IoT image for operating system. My problem is that after using fswebcam command it's capturing image very well but when I want to stream my webcam using mjpg_streamer command it's starts streaming but I'm not able see it on firefox browser the real time streaming. So how should I be able to see that real time streaming. And then how to perform face detection and then recognition on that real time streaming.Please give me detailed information on how to watch that live streaming and then how to perform operations on it.
Hi,
Did you complete step 4 of the guide? At the end of the guide you should type "In your browser type in :8080/stream_simple.html", were you able to complete this step?
According to this guide you should see streaming with no issues, however there is going to be some lag in the image that's caused by multiple reasons, such as OS, size of the file streamed and other configuration options.
Regarding object recognition you can take a look at some OpenCV tutorials http://docs.opencv.org/doc/tutorials/tutorials.html OpenCV Tutorials — OpenCV 2.4.11.0 documentation .
Sergio
Hi,
Actually that 4th step gives this error :
ERROR: could not find input plugin
Perhaps you want to adjust the search path with:
# export LD_LIBRARY_PATH=/path/to/plugin/folder
dlopen: input_uvc.so: cannot open shared object file: No such file or directory
so I used another guide given on this website : " http://blog.miguelgrinberg.com/post/how-to-build-and-run-mjpg-streamer-on-the-raspberry-pi How to build and run MJPG-Streamer on the Raspberry Pi - miguelgrinberg.com "
So then it starts streaming then after typing these ":8080/stream_simple.html" it starts loading but nothing displays on screen I've attached the screenshot it remains forever like that in the screenshot, on terminal also it show the streaming is started but I'm not able watch it I'm stuck there .
So please tell me how to solve this problem it's been a headache
Hi,
A few suggestions:
Sergio
I'm not using webcam compatible with uvc , so I'll buy one.
All the dependencies were installed correctly while installing the mjpg_streamer and fswebcam and also update and upgrade.
Step 3 of that instructables guide is running properly.
I have the doubt regarding the drivers for camera how to check they are installed correctly to the latest version and is compatible with OS?
I'll try the export command once again by checking path and then I'll tell you.
Hi,
To check whether or not the UVC driver is installed, type find /lib/modules/* -name uvc.
If the driver is installed you should see something like: /lib/modules/3.8.7-yocto-standard/kernel/drivers/media/usb/uvc.
Sergio
Hi,
I solved the problem anyhow now streaming is going well. One last question that : I have a opencv code that detects the face while streaming is going on. Now I want to run that code or perform the operations on the streaming going on an IP address through which I'm watching the streaming on Firefox browser , so how to do that??
Or how to run that code on Galileo board?
I believe what you need is a Web Server application. In step 4 of the instructables guide you'll see the line
In your browser type in :8080/stream_simple.html
Using this you can stream your data through an IP address.
Let me know if this is what you were looking for.
Sergio
Yes, I did that I can stream my data using that ,but that's not the problem , my problem is that I have a opencv java code to detect the face in video stream , so I want to use that code on the data streaming through that IP address, how to do that???
Hi
Do you mean trying something like this http://answers.opencv.org/question/133/how-do-i-access-an-ip-camera/ How do I access an IP Camera? - OpenCV Q&A Forum ? There are also several suggestions you might find helpful.
Sergio
For more complete information about compiler optimizations, see our Optimization Notice.