Open machinekoder opened 3 years ago
As far as I understand, this only forces the USB camera to use MJPEG encoding to transport the image from the camera to the PC, which adds additional CPU load to the PC for decoding and of course decreases the stream quality. Depending on the camera this may improve the frame rate of the capture stream. The captured image encoding in OpenCV is not affected by this change.
@furushchev @awesomebytes Rebased on master. On a new camera I have here, enabling MJPG stream is necessary to unlock all resolutions.
That said, @machinekoder would you mind adding to the documentation in the README this new option?
@awesomebytes done
This patch allows forcing MJPG steam support of the camera.