|
102 | 102 |
|
103 | 103 | function populateFrameSizeDropdown() {
|
104 | 104 | const frameSizes = [
|
105 |
| - "R96x96", "QQVGA", "CIF", "HQVGA", "R240x240", "QVGA", |
106 |
| - "CIF", "HVGA", "VGA", "SVGA", "XGA", "HD", "SXGA", |
| 105 | + "R96x96", "QQVGA", "128X128", "CIF", "HQVGA", "R240x240", "QVGA", |
| 106 | + "320X320","CIF", "HVGA", "VGA", "SVGA", "XGA", "HD", "SXGA", |
107 | 107 | "UXGA", "FHD", "P_HD", "P_3MP", "QXGA", "QHD", "WQXGA", "P_FHD", "QSXGA"
|
108 | 108 | ];
|
109 | 109 |
|
|
133 | 133 | fetch('/get_sensor_name')
|
134 | 134 | .then(response => response.text())
|
135 | 135 | .then(sensorName => {
|
136 |
| - const showSharpnessAndDenoise = (sensorName === 'OV3640' || sensorName === 'OV5640'); |
| 136 | + const showSharpnessAndDenoise = (sensorName === 'OV3660' || sensorName === 'OV5640'); |
137 | 137 | document.getElementById('sharpness-container').classList.toggle('hidden', !showSharpnessAndDenoise);
|
138 | 138 | document.getElementById('denoise-container').classList.toggle('hidden', !showSharpnessAndDenoise);
|
139 | 139 | })
|
@@ -170,26 +170,29 @@ <h1>Micropython Camera Stream</h1>
|
170 | 170 | <select id="frame_size">
|
171 | 171 | <option value="0">R96x96</option>
|
172 | 172 | <option value="1">QQVGA</option>
|
173 |
| - <option value="2">CIF</option> |
174 |
| - <option value="3">HQVGA</option> |
175 |
| - <option value="4">R240x240</option> |
176 |
| - <option value="5">QVGA</option> |
177 |
| - <option value="6">CIF</option> |
178 |
| - <option value="7">HVGA</option> |
179 |
| - <option value="8">VGA</option> |
180 |
| - <option value="9">SVGA</option> |
181 |
| - <option value="10">XGA</option> |
182 |
| - <option value="11">HD</option> |
183 |
| - <option value="12">SXGA</option> |
184 |
| - <option value="13">UXGA</option> |
185 |
| - <option value="14">FHD</option> |
186 |
| - <option value="15">P_HD</option> |
187 |
| - <option value="16">P_3MP</option> |
188 |
| - <option value="17">QXGA</option> |
189 |
| - <option value="18">QHD</option> |
190 |
| - <option value="19">WQXGA</option> |
191 |
| - <option value="20">P_FHD</option> |
192 |
| - <option value="21">QSXGA</option> |
| 173 | + <option value="2">128X128</option> |
| 174 | + <option value="3">QCIF</option> |
| 175 | + <option value="4">HQVGA</option> |
| 176 | + <option value="5">R240x240</option> |
| 177 | + <option value="6">QVGA</option> |
| 178 | + <option value="7">320X320</option> |
| 179 | + <option value="8">CIF</option> |
| 180 | + <option value="9">HVGA</option> |
| 181 | + <option value="10">VGA</option> |
| 182 | + <option value="11">SVGA</option> |
| 183 | + <option value="12">XGA</option> |
| 184 | + <option value="13">HD</option> |
| 185 | + <option value="14">SXGA</option> |
| 186 | + <option value="15">UXGA</option> |
| 187 | + <option value="16">FHD</option> |
| 188 | + <option value="17">P_HD</option> |
| 189 | + <option value="18">P_3MP</option> |
| 190 | + <option value="19">QXGA</option> |
| 191 | + <option value="20">QHD</option> |
| 192 | + <option value="21">WQXGA</option> |
| 193 | + <option value="22">P_FHD</option> |
| 194 | + <option value="23">QSXGA</option> |
| 195 | + <option value="24">5MP</option> |
193 | 196 | </select>
|
194 | 197 | </div>
|
195 | 198 | <div class="setting">
|
|
0 commit comments