the program for counting red objects

Please help me participate in the tournament, and it requires writing a program for counting red objects. I’m new to Python programming

Hi, See the Examples->Color Tracking->Single Color RGB Color Tracking.

Then, adding counting code to the python should be easy.