diy: fix upside down camera image on Waveshare Touch LCD 2 - #331
Conversation
The camera sensor is mounted the right way up on this board, so the CAMERA_ROTATE_180 default was flipping the image.
|
@cateim Any chance I can get an ack on this change from you? thanks! |
Absolutely! I'll check it out and get back to you with what I find. |
|
@jgriffiths Testing result: Tested on a Waveshare ESP32-S3-Touch-LCD-2 with an OV5640 camera module:
So I can't ack this as-is. It fixes one module and regresses another on the same board. Why both results are valid The camera on this board is a detachable module on the 24-pin FPC socket, and the Waveshare wiki lists both OV2640 and OV5640 as supported. The firmware already treats them differently at init: @bota87 which camera module is on your unit? That's the datum that settles this. Why flipping the default can't be the fix Whichever default wins, the other half of the builders can't correct it. The Note: this is preview-only. The QR decoder gets the raw sensor framebuffer ( Suggested direction In the 0/180 family both |
The camera sensor is mounted the right way up on this board, so the CAMERA_ROTATE_180 default was flipping the image.