esp32-cam-webserver
esp32-cam-webserver copied to clipboard
Crop or zoom image/stream
Hello everybody!
Would it be possible to crop the image to a certain area? I have a camera in the peephole and only 30% of the image is useful
Thank you
Ok; so (at present) there is nothing in the code to support this.
But the camera sensor itself does support defining a 'Region of Interest' on the sensor, effectively building a crop + zoom mechanism directly into the sensor.
The 'Official' esp camera sketch that this was forked from, and which has diverged quite a bit, now has additional controls for defining the sensor active area. I do not propose adding them to my sketch; too much work. But if somebody wants to add them using the official sketch as a guide they are welcome.
In the meantime; I am wondering if the relevant settings can be added to the config file (documenting may be hard) so that this feature is exposed for anyone who needs it.
I'd love to see this feature in here! In my current project both sides of the video footage are unnecessary and distracting. Would be nice to cut it out or at least cover with black bars. Just leaving a comment in case it will help convince someone for implementation! :)