From f94697f04afb665cbf189c4d913889d1ca86a917 Mon Sep 17 00:00:00 2001 From: Owen Date: Mon, 10 May 2021 23:56:41 +0200 Subject: [PATCH] Quality slider quality improvements --- index_other.h | 2 +- index_ov2640.h | 12 ++++++------ index_ov3660.h | 10 +++++----- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/index_other.h b/index_other.h index c1c58a0..89cb1cc 100644 --- a/index_other.h +++ b/index_other.h @@ -270,7 +270,7 @@ const uint8_t index_simple_html[] = R"=====( framesize.onchange = () => { updateConfig(framesize) - if (framesize.value > 5) { + if (framesize.value > 6) { updateValue(detect, false) updateValue(recognize, false) } diff --git a/index_ov2640.h b/index_ov2640.h index e709b71..1c457bc 100644 --- a/index_ov2640.h +++ b/index_ov2640.h @@ -68,11 +68,11 @@ const uint8_t index_ov2640_html[] = R"=====(
-
63
+
Low
(fast)
- -
10
+ +
High
(slow)
@@ -572,14 +572,14 @@ const uint8_t index_ov2640_html[] = R"=====( framesize.onchange = () => { updateConfig(framesize) - if (framesize.value > 5) { + if (framesize.value > 6) { updateValue(detect, false) updateValue(recognize, false) } } detect.onchange = () => { - if (framesize.value > 5) { + if (framesize.value > 6) { alert("Please select CIF or lower resolution before enabling this feature!"); updateValue(detect, false) return; @@ -592,7 +592,7 @@ const uint8_t index_ov2640_html[] = R"=====( } recognize.onchange = () => { - if (framesize.value > 5) { + if (framesize.value > 6) { alert("Please select CIF or lower resolution before enabling this feature!"); updateValue(recognize, false) return; diff --git a/index_ov3660.h b/index_ov3660.h index 59d1ba8..8b4fa05 100644 --- a/index_ov3660.h +++ b/index_ov3660.h @@ -70,11 +70,11 @@ const uint8_t index_ov3660_html[] = R"=====(
-
63
+
Low
(fast)
-
4
+
High
(slow)
@@ -580,14 +580,14 @@ const uint8_t index_ov3660_html[] = R"=====( framesize.onchange = () => { updateConfig(framesize) - if (framesize.value > 5) { + if (framesize.value > 6) { updateValue(detect, false) updateValue(recognize, false) } } detect.onchange = () => { - if (framesize.value > 5) { + if (framesize.value > 6) { alert("Please select CIF or lower resolution before enabling this feature!"); updateValue(detect, false) return; @@ -600,7 +600,7 @@ const uint8_t index_ov3660_html[] = R"=====( } recognize.onchange = () => { - if (framesize.value > 5) { + if (framesize.value > 6) { alert("Please select CIF or lower resolution before enabling this feature!"); updateValue(recognize, false) return;