PDA

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



Megasms
4th September 2008, 13: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, 20:16
You need an additional library for that. Like OpenCV.

http://opencvlibrary.sourceforge.net/CameraCapture

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

lvi
5th September 2008, 09: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 ;)