ArduCAM / Arduino

This is ArduCAM library for Arduino boards
MIT License
473 stars 349 forks source link

ArduCAM OV5642 Digital Zoom/Cropping #548

Open kierzenka opened 2 years ago

kierzenka commented 2 years ago

I am trying to crop an image/digitally zoom an image that I am taking with an OV5642. I've seen on multiple documents that this is possible, ex: https://www.arducam.com/downloads/modules/OV5642/OV5642_camera_module_software_application_notes_1.1.pdf page 11 However I cannot find any documentation on how it is specifically done (what lines of code I need to write to perform this). On page 32 of this pdf https://ez.analog.com/cfs-file/__key/telligent-evolution-components-attachments/00-331-01-00-00-03-84-21/OV5642.pdf There appears to be something about image windowing but I was not able to accomplish what I am looking for with changing these registers. Is such cropping/digital zoom possible on this camera? Any advice is appreciated!