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"=====(
@@ -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"=====(
@@ -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;