PDA

View Full Version : how to connect with usb cameras using qt for ImageProcesssing.



Megasms
4th September 2008, 14:44
Hi Everybody.,

I am new to qt i am using qt 4.4.1 in my project i want to connect with usb camera,

please anybody tell me how to connect with usb cameras and how to get the images from that camera.


Many Thanks

jacek
4th September 2008, 21:16
You need an additional library for that. Like OpenCV.

http://opencvlibrary.sourceforge.net/CameraCapture

Megasms
5th September 2008, 07:29
Thank you very much for your valuable reply.

lvi
5th September 2008, 10:54
If you're developing on a Linux platform, you can read from /dev/videoN, using the Video4Linux(2) API (http://v4l2spec.bytesex.org/spec/). It's pretty straightforward.
On Windows, I have no clue ;)