feat(hardware): Support camera model OV5640 + Enhanced digital zoom #189
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
1. Add support of camera model OV5640 (5MP)
2. Enhance the existing two mode zoom functionality to a fully free configurable zoom functionality using a wider and more finely adjustable zoom
(Inspired from jomjol#3063, thanks to jasaw and SybexX)
Removed functionality:
This functionality is removed mainly to reduce complexity and because it does not provide any advantage anymore. The device is capable to be operated with 640 x 480.
This functionality is removed mainly to reduce complexity. It's benefitial to mount the camera that way that all relevant information are visible in the image area without software adjustment (e.g. if benefitial, mount the camera mechanically rotated by 90 degree) and zoom to interested area of the image.
Further changes
feat(camera control)!: Enhance two step digital zoom to a free and more finely adjustable zoom
refactor(camera): Refactor camera control and take image class
Usage statistics
Usage before (based on ESP32):
RAM: [= ] 14.1% (used 46272 bytes from 327680 bytes)
Flash: [========= ] 87.3% (used 1697765 bytes from 1945600 bytes)
Usage after:
RAM: [= ] 14.3% (used 46972 bytes from 327680 bytes)
Flash: [========= ] 87.8% (used 1708201 bytes from 1945600 bytes)