mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Update iris detection script.
This commit is contained in:
parent
46fc010514
commit
4b074a7044
@ -16,9 +16,12 @@ sensor.reset()
|
||||
sensor.set_contrast(3)
|
||||
sensor.set_gainceiling(16)
|
||||
|
||||
# Set resolution to VGA, the image will be binned to
|
||||
# QVGA which gives more details with less data to process
|
||||
# Set resolution to VGA.
|
||||
sensor.set_framesize(sensor.VGA)
|
||||
|
||||
# Bin/Crop image to 200x100, which gives more details with less data to process
|
||||
sensor.set_binning((220, 200, 200, 100))
|
||||
|
||||
sensor.set_pixformat(sensor.GRAYSCALE)
|
||||
|
||||
# Load Haar Cascade
|
||||
|
||||
Loading…
Reference in New Issue
Block a user