Open donnels opened 11 months ago
You can rotate it to it's 'natural' position (usb on the top) by adding lets say at line 146 this:
imdata = cv2.rotate(imdata, cv2.ROTATE_90_CLOCKWISE)
If you need another orientation - replace ROTATE_90_CLOCKWISE
with ROTATE_180
or ROTATE_90_COUNTERCLOCKWISE
I was beginning to use the camera with a steamdeck and found that due to the rotation of the camera in relation to the deck it's not good to work with when directly pluged into the usb c on the top. I had begun looking at just turning the image but am not that good with python so couldn't figure out a quick fix that worked satisfactorily. Am wondering if anyone else sees the need to be able to rate the image either via an option on startup or via a key binding.