My C++/OpenCV app runs well when I use a USB webcam to capture live video stream.
However, when I connect a Canon 5Dii with live video it doesn't find the camera.
The Canon utility captures the video well.
Should I use the VideoCapture cap(1)?
You should use the official Canon Digital Camera SDK to grab frames from 5D II. There are some sample apps for connecting to the camera (as a source device) from your PC and then receiving camera events/images. Keep in mind that you need to sign up and be approved by Canon to use the SDK.
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.