google / aiyprojects-raspbian

API libraries, samples, and system images for AIY Projects (Voice Kit and Vision Kit)
https://aiyprojects.withgoogle.com/
Apache License 2.0
1.62k stars 694 forks source link

Can't use joy_detection_demo.py with 270 deg rotation #665

Open zenrshon opened 4 years ago

zenrshon commented 4 years ago

Hi.

I bought Vision kit, and I want use joy_detection_demo.py with 270 deg rotation. So, I added 1 line code

camera.rotation=270

after

https://github.com/google/aiyprojects-raspbian/blob/adb1fa483423a12b87e44343c488b2c9e32c338e/src/examples/vision/joy/joy_detection_demo.py#L291

but, cannot rotate... Effective only at 180 deg. How can i rotate this detection program?

anton-matosov commented 4 years ago

I have same the issue with 90 degree rotation...

Posted my question to Stack Overflow https://stackoverflow.com/questions/62033661/how-to-rotate-camera-90-degree-with-aiy-vision-bonnet