Click here to Skip to main content
15,897,226 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi... i need to capture image from my laptop's webcam, and then access it's bitmap matrix for a simple image processing using Visual C++...Can u help me on this?? suggest me a simple API for just image capture and bitmap conversion...Thanks..
Posted

1 solution

Hi,

Have a look at this[^] and this[^] articles for image capture from Web Cam.

With the suggested articles you will get a pointer to a BITMAPINFO[^] structure (PBITMAPINFO) which contains all the header data of the bitmap. The pixel data section of the bitmap is in memory exactly after the BITMAPINFO structure, just like bitmap files. :)

I hope this helps.

Regards
 
Share this answer
 

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