Update iris detection example to use binning.

This commit is contained in:
iabdalkader 2016-06-03 23:10:47 +02:00
parent 15ba6a4927
commit ad812b410a

View File

@ -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