简体   繁体   中英

How do take an input from a webcamera using c program?

I was wondering if you take an input from the camera using c program. I use Turbo C, windows xp. I just know the basics of c program, it would be helpful you could describe how one could do this. Thanks in advance. If any clarifications please let me know. Thanks again.

You can use Window's AVICAP:

  • link to the DLL AVICAP32.DLL

  • call capCreateCaptureWindow

  • send messages to it using SendMessage()

Take a look here:

http://www.codeguru.com/cpp/gm/multimedia/video/article.php/c1601

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM