Closed danth closed 4 years ago
That sounds like a good thing.
I am getting the following error
vs = VideoStream(usePiCamera=True, rotation=args["rotateCamera"]).start()\nTypeError: __init__() got an unexpected keyword argument \'rotation\'
I'm not going to pretend I know python that well (or even care to learn python) but if i would hinder a guess the import statement in tools/facerecognition.py should be changed from
from imutils.video import FPS, VideoStream
to
from imutils.video import FPS
from stream import VideoStream
@njoerd114 any idea?
I take this back. I was using imutils version 0.5.2 as the main readme says. The newer version 0.5.3 allows for extra parameters.
Ignore my previous statement, most likely will want to just bump the necessary version of imutils
form 0.5.2 to 0.5.3
It'd be nice to provide an option to set the rotation of the camera when using the Raspberry Pi camera module. This is useful if the camera is mounted the wrong way around for the default orientation.
I have managed to do this temporarily by modifying
picam.py
and adding the lineself.camera.rotation = 270
, but a config option would be better.