I have a very simple C++/OpenCV program in the body I have the following code which works fine, but runs slower than I would expect, it takes ~85ms to get a frame from the camera.
Code:
for (int i = 0; i < frame_count; ++i) {
// capture >> frame; // runs the same regardless of which call
capture.read(frame);
}
Anyone know what I can do differently to get this running faster?