From 2739ed4953ec6095559afaa183715a572b171716 Mon Sep 17 00:00:00 2001 From: Rene Zeldenthuis Date: Thu, 9 Feb 2023 00:42:32 +0100 Subject: [PATCH] - Updated HTML - Lookup in separate files --- html/index.html | 112 +++++++++++++++-- include/html_data.h | 2 +- include/html_data_gzip.h | 2 +- ...camera_config.h => lookup_camera_config.h} | 75 ------------ include/lookup_camera_effect.h | 29 +++++ ...rame_size.h => lookup_camera_frame_size.h} | 0 include/lookup_camera_gainceiling.h | 30 +++++ include/lookup_camera_wb_mode.h | 27 +++++ include/settings.h | 2 +- src/main.cpp | 113 +++++++++--------- 10 files changed, 250 insertions(+), 142 deletions(-) rename include/{camera_config.h => lookup_camera_config.h} (64%) create mode 100644 include/lookup_camera_effect.h rename include/{frame_size.h => lookup_camera_frame_size.h} (100%) create mode 100644 include/lookup_camera_gainceiling.h create mode 100644 include/lookup_camera_wb_mode.h diff --git a/html/index.html b/html/index.html index f845706..e2e9aa1 100644 --- a/html/index.html +++ b/html/index.html @@ -122,15 +122,24 @@ {{/NetworkState.OnLine}} +
+
Peripheral
+
+
+
Board type:
+
{{BoardType}}
+
+
+
LED intensity:
+
{{LedIntensity}} [0-100]
+
+
+
-
Settings
+
Camera
-
-
Camera type:
-
{{CameraType}}
-
Frame rate:
{{FrameDuration}} ms ({{FrameFrequency}} f/s)
@@ -149,11 +158,95 @@
JPEG quality:
-
{{JpegQuality}} (1-100)
+
{{JpegQuality}} [1-100]
-
Flash LED intensity:
-
{{FlashLedIntensity}} (0-100)
+
Brightness:
+
{{Brightness}} [-2,2]
+
+
+
Contrast:
+
{{Contrast}} [-2,2]
+
+
+
Saturation:
+
{{Saturation}} [-2,2]
+
+
+
Special effect:
+
{{SpecialEffect}}
+
+
+
White balance:
+
{{WhiteBal}}
+
+
+
AWB gain:
+
{{AwbGain}}
+
+
+
WB mode:
+
{{WbMode}}
+
+
+
Exposure control:
+
{{ExposureCtrl}}
+
+
+
AEC2:
+
{{Aec2}}
+
+
+
AE level:
+
{{AeLevel}}
+
+
+
AEC value:
+
{{AecValue}}
+
+
+
Gain control:
+
{{GainCtrl}}
+
+
+
AGC gain:
+
{{AgcGain}}
+
+
+
Gain ceiling:
+
{{GainCeiling}}
+
+
+
BPC
+
{{Bpc}}
+
+
+
WPC
+
{{Wpc}}
+
+
+
Raw gma
+
{{RawGma}}
+
+
+
LENC
+
{{Lenc}}
+
+
+
Horizontal mirror
+
{{HMirror}}
+
+
+
Vertical flip
+
{{VFlip}}
+
+
+
DCW:
+
{{Dcw}}
+
+
+
Color bar:
+
{{ColorBar}}
{{#CameraInitialized}}