Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image Rotation #34

Open
smoki3 opened this issue Apr 28, 2020 · 2 comments
Open

Image Rotation #34

smoki3 opened this issue Apr 28, 2020 · 2 comments

Comments

@smoki3
Copy link

smoki3 commented Apr 28, 2020

Hi,

is it possible to implement a Image Rotation for 90, 180 an 270 degree?

@jaredpetersen
Copy link
Owner

Yes, it looks like raspivid (the camera module CLI) supports rotation:

--rotation, -rot Set image rotation (0 - 359)
Sets the rotation of the image in the viewfinder and resulting image. This can take any value from 0 upwards, but due to hardware constraints only 0, 90, 180, and 270 degree rotations are supported.

Source: https://www.raspberrypi.org/documentation/raspbian/applications/camera.md

This feature could be added to raspi-live as well and would be a good first issue for someone.

@smoki3
Copy link
Author

smoki3 commented May 3, 2020

Got it working with inserting this option in server.js and cli.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants