Add support for OV5640 camera (#3063)

* Add support for OV5640 camera

* clean up sharpness handling

* limit sharpness range to -2 and +2

* refactor

* Fix OV3660 sharpness handling

* refactor sharpness handling

* fix OV3660 zoom mode

* reinstate aspect ratio via imageSize

* Changed OV5640 full frame size to match datasheet

* various fixes

* add denoise config and general clean up

* fix line endings to LF

* Support enabling red blue swap via web interface

* update jpeg quality limits

* remove color swap config; color swap workaround dependent on vflip

* fix missing commit

* fix gain ceiling

* Update cam vflip param page

* fix typo: camdenoise, not camsdenoise

* fix compile errors
This commit is contained in:
jasaw
2024-08-30 05:57:26 +10:00
committed by GitHub
parent b4f6b1a4fb
commit 7225792b4b
15 changed files with 480 additions and 231 deletions

View File

@@ -13,4 +13,5 @@ Default Value: `0`
The exposure offset for automatic exposure, lower values produce darker image.
Range (`-2` .. `2`)
available range on OV2640 (`-2` .. `2`)
available range on OV3660 and OV5640 (`-5` .. `5`)

View File

@@ -1,9 +1,11 @@
# Parameter `CamDenoise`
Default Value: `true`
Default Value: `0`
!!! Warning
This is an **Expert Parameter**! Only change it if you understand what it does!
**Denoise**
Denoise Image (not supported and not implemented).
Denoise Image, is only supported by OV3660 and OV5640
Range (`0` .. `8`)

View File

@@ -7,6 +7,9 @@ Default Value: `false`
!!! Note
This parameter can also be set on the Reference Image configuration page!
!!! Note
On some OV5640 Cameras, the image becomes reddish when Vflip is used in conjunction with the zoom function!
**Flip Image**
When **true**, the camera image is flipped top-to-bottom.