You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -222,15 +222,35 @@ The Portenta Vision Shields's main feature is its onboard camera, based on the H
222
222
223
223
**Supported Resolutions**
224
224
225
-
- QQVGA (160x120) at 15, 30, 60 and 120 FPS
225
+
- QQVGA (160x120) at 15, 30, and 60 FPS
226
226
- QVGA (320x240) at 15, 30 and 60 FPS
227
227
- B320X320 (320x320) at 15, 30 and 45 FPS
228
228
229
229
**Power Consumption**
230
-
- < 1.1 mW QQVGA resolution at 30 FPS,
230
+
- < 1.1 mW QQVGA resolution at 30 FPS
231
231
- < 2 mW QVGA resolution at 30 FPS
232
232
- < 4 mW QVGA resolution at 60 FPS
233
233
234
+
### HM0360 Camera Features
235
+
236
+
- Ultra-Low-Power, high sensitivity, low noise VGA sensor
237
+
- On-chip auto exposure / gain and zone detection
238
+
- Automatic wake and sleep operation with programmable event interrupt to host processor
239
+
- Pre-metered exposure provides well exposed first frame and after extended sleep (blanking) period
240
+
- Embedded line provides metadata such as frame count, AE statistics, zone trigger and other interrupt event information
241
+
242
+
**Supported Resolutions**
243
+
244
+
- QQVGA (160x120) at 15, 30, and 60 FPS
245
+
- QVGA (320x240) at 15, 30 and 60 FPS
246
+
- VGA (640x480) at 15, 30 and 60 FPS
247
+
248
+
**Power Consumption**
249
+
250
+
- 140 µA QVGA resolution at 2 FPS
251
+
- 3.2 mA QVGA resolution at 60 FPS
252
+
- 7.8 mA VGA resolution at 60 FPS
253
+
234
254
The Vision Shield is primarily intended to be used with the OpenMV MicroPython ecosystem. So, it's recommended to use this IDE for machine vision applications.
235
255
236
256
### Snapshot Example
@@ -244,7 +264,7 @@ import machine
244
264
245
265
sensor.reset() # Reset and initialize the sensor.
246
266
sensor.set_pixformat(sensor.GRAYSCALE) # Set pixel format to RGB565 (or GRAYSCALE)
247
-
sensor.set_framesize(sensor.B320X320) # Set frame size to QVGA (320x240)
267
+
sensor.set_framesize(sensor.QVGA) # Set frame size to QVGA (320x240)
248
268
sensor.skip_frames(time=2000) # Wait for settings take effect.
249
269
250
270
led = machine.LED("LED_BLUE")
@@ -423,7 +443,7 @@ import time
423
443
424
444
sensor.reset()
425
445
sensor.set_pixformat(sensor.GRAYSCALE)
426
-
sensor.set_framesize(sensor.B320X320)
446
+
sensor.set_framesize(sensor.QVGA)
427
447
sensor.skip_frames(time=2000)
428
448
sensor.set_auto_gain(False) # must turn this off to prevent image washout...
429
449
clock = time.clock()
@@ -450,8 +470,10 @@ This script will draw a circle on each detected face and will print their coordi
450
470
```python
451
471
import sensor
452
472
import time
453
-
import tf
473
+
import ml
474
+
from ml.utils importNMS
454
475
import math
476
+
import image
455
477
456
478
sensor.reset() # Reset and initialize the sensor.
457
479
sensor.set_pixformat(sensor.GRAYSCALE) # Set pixel format to RGB565 (or GRAYSCALE)
@@ -460,12 +482,14 @@ sensor.set_windowing((240, 240)) # Set 240x240 window.
460
482
sensor.skip_frames(time=2000) # Let the camera adjust.
0 commit comments