mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Update iris detection example to use binning.
This commit is contained in:
parent
15ba6a4927
commit
ad812b410a
@ -15,7 +15,10 @@ sensor.reset()
|
|||||||
# Sensor settings
|
# Sensor settings
|
||||||
sensor.set_contrast(1)
|
sensor.set_contrast(1)
|
||||||
sensor.set_gainceiling(16)
|
sensor.set_gainceiling(16)
|
||||||
sensor.set_framesize(sensor.QQVGA)
|
|
||||||
|
# Set resolution to VGA, the image will be binned to
|
||||||
|
# QVGA which gives more details with less data to process
|
||||||
|
sensor.set_framesize(sensor.VGA)
|
||||||
sensor.set_pixformat(sensor.GRAYSCALE)
|
sensor.set_pixformat(sensor.GRAYSCALE)
|
||||||
|
|
||||||
# Load Haar Cascade
|
# Load Haar Cascade
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user