A series of convenience functions to make basic image processing operations such as translation, rotation, resizing, skeletonization, and displaying Matplotlib images easier with OpenCV and Python.
MIT License
4.54k
stars
1.03k
forks
source link
Unable to set resolution of webcam videostreams #206
Following this earlier issue, I am trying to set the resolution of a videostream coming off of a webcam: https://github.com/jrosebr1/imutils/issues/55
According to the resolution of that issue, the addition of kwargs was meant to resolve this, but looking at VideoStream.init(..) it appears kwargs are ignored for webcam video streams: https://github.com/jrosebr1/imutils/blob/master/imutils/video/videostream.py
Following the workaround described in the original issue, I have tried to set the information after starting the stream using openCV args:
errors:
I'm out of ideas - is there a way to set a resolution for a webcam based VideoStream / is there a recommended workaround?
Thanks!