Click here to Skip to main content
15,889,810 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to capture an image from a webcam using pure c without using any libraries like OpenCV?


I have done this using OpenCV and Matlab but i want to learn to do it in pure c?

Posted
Updated 10-Jan-12 1:22am
v3
Comments
Sergey Alexandrovich Kryukov 10-Jan-12 0:44am    
If you want pure C, remove the tag C++. If you want C or C++, add C++ to the title, otherwise your question is confusing.
Please explain on what level do you want to do the capture. What do you want to use?
--SA
ashutoshdtu 10-Jan-12 7:21am    
sorry for the confusion... actually i'm trying to capture images from a usb webcam on my pc... i'm working on stereo vision and currently implementing my algorithm on pc... but eventually i will be implementing it on a microprocessor because we will be using it on an autonomous ground robot...

1 solution

Try using the capCaptureSingleFrame macro.

MSDN
Google
 
Share this answer
 
v4
Comments
Richard MacCutchan 10-Jan-12 9:09am    
Link, reference, detail?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900