how do i interact with a pc camera using c++
i intend to interact with a pc camera using c plus plus. Are there any libraries you can recommend or ways to go about ? The idea is to take shots with a Samsung wireless cam then get the images transferred unto a pc with cam and on the pc show images as per the face detection using th开发者_Python百科e cam . any ideas where to start ?
If you're on Linux I think libwebcam would be a good start. Take a look at the example viewer app to get further details in using it. That is for camera access and general functionality. For face detection I guess you could use OpenCV(I haven't use it myself for this particular purpose so I cannot comment on its face detection capabilities).
精彩评论