Open fabianonline opened 8 years ago
Maybe PIL? I use this to resize the user images
Pillow is a fork of PIL which has last been updated in 2009.
Image manipulation and processing using Numpy and Scipy http://www.scipy-lectures.org/advanced/image_processing/#geometrical-transformations
Octoprint already has an option to rotate the webcam. Could that not be used?
No. Octoprint just tells the browser to rotate the video stream. We can't do that with telegram. Although... perhaps we could just set that EXIF flag that is also used by digital cameras or smartphones to indicate the rotation of the image...?
See also #61
Right now the plugin has Pillow as dependency - just to rotate the pictures from the webcam if necessary. But it is a really huge dependency taking a looooooong time to install on a Raspberry 1. Perhaps there is something more lightweight we could use for this task?