I tried to identify color block and circles in one program at the same time. image.find_circle and image.find_blobs have different settings for the image. The settings for the circle are as follows:
Sensor.set_pixformat(sensor.RGB565) # use RGB565.
Sensor.set_framesize(sensor.QQVGA) # use QQVGA for speed.
Sensor.set_contrast(3)
Sensor.set_gainceiling(16)
After the circle is recognized, the color block settings are as follows:
Sensor.set_pixformat(sensor.RGB565) # use RGB565.
Sensor.set_framesize(sensor.QVGA) # use QQVGA for speed.
Sensor.set_auto_whitebal(False)
But when it recognized the circle after color block recognition, I found that the color of the image is abnormal, I think
I tried it, but failed. The color of the image is abnormal when it recognize the color after recognizing the circle. I think I should change contrast and gainceiling to the default parameter using
Hi, you need to turn auto white balance off immediately. It changes the color of the image when the picture isn’t staring at a complex scene. So, before the skip frames call turn auto white balance off using the set_auto_whitebalance() method.