Detect 1 of 3 colors from 3 input pins, raise 1 of 3 output pins if observed

Thanks,

Commenting out the skip_frames made a huge difference.

I will test repeatability tonight.

Thanks again,

So far the LBA values are holding up. I wouldn’t have suspected skip_frames as the cause for wild unusable LBA color readings.

I have both the M7 and the Adafruit RGB sensor running simultaneously. The M7 is about 1.5 to 2 seconds faster detecting and reporting a target color.

Speed matters in this application. Any tips on making color detection even faster?

Decrease the resolution or use an ROI to bound the area the algorithm has to run in.

Find_blobs() accepts an ROI parameter to control what area of the image it works on.