I have read this question here: webcam access in c++ however just wondering if there is any updated answers since 2009:
I would like to plug in a Webcam to a windows based system, and have a software that monitors and processes in real-time the webcam feed (eg. scan a barcode). I'm wondering what are some solutions out there.
Thanks
Video capture APIs are still the same:
and then a multitude of wrappers over the mentioned, esp. over DirectShow and VfW.
You want to initialize video capture session with a camera, capture video and process it, e.g. to detect bar codes fro the incoming video feed.