.."cvCaptureFromCAM function initialized the capture with first camera (index 0). If index passed as 1 then, it initialized with second camera and so on."..
about this, what if we want to use screen capture as source video like this video : OpenCV 2.4.4 Haar based face tracking using the desktop as a source - YouTube[^]
what function should we use ?? can you help the source code ? and how to use it in right way. thank you
i have an error ... " Warning 1 warning LNK4248: unresolved typeref token (0100003E) for 'CvCapture'; image may not run C:\New folder\capture\Capture\Capture\Capture.obj
What should i do ? please help me..
You have presented well code, but the video capture on OpenCV has some problem on Windows 8 platform - it has problem with capturing of HD video from Web-Cam. I faced with this problem when I developed code for Augmented Reality project. I needed to capture HD video from cheap camera, for example from Microsoft Life Studio Web-Camera I can got video with 1080p, but it did not worked. OpenCV uses old code on DirectShow, which is not supported well on new platform. One year ago I wrote the simular article, but I used Media Foundation framework - Capturing video from web-camera on Windows 7 and 8 using Media Foundation[^].
OpenCV is very well framework of computer vision, but if you target is only capture video it is too heavy.
More over, in my code you can control many parameters of camera by code: focuse, balance, gamma, brightness and many others.
Also, for my system anyway, this download (any from code project) is marked as "unsafe" in right-click properties and will need to be marked as safe by clicking that option for visual studio to "take it seriously." I do this on the zip file prior to extraction.
Nice to see more recent article on OpenCV, thanks. There is much more to OpenCV than video capture, unfortunately it is not advertized, or deliberately kept "secret", that the OpenCV is based on "old technology" of VFW API.
You are welcome.
OpenCV is big bunch of library. I working on different , different platforms. These are simple tutirials. My new articles like abandined object detection and video watermarking as well as cryptography, much more in process to publish.
thanks & regards.
Last Visit: 31-Dec-99 18:00 Last Update: 27-May-16 1:06