I\'m using OpenCV4 to read from a camera. Similar to a webcam. Works great, code is somewhat like this:
cv::VideoCapture cap(0); cap.set(cv::CAP_PROP_FRAME_