Count Object

This repo contains a python script, count.py, that counts red, blue, and green objects in an image.

Demo

  1. Split a color image into three images - reb, blue and green.

For example, here's the image for blue:

  1. Per each single color image:

a) Convert to black and white image.

b) Remove noises (small dots).

c) Find contours and count them.