This repo contains a python script, count.py
, that counts red, blue, and green
objects in an image.
- Split a color image into three images - reb, blue and green.
For example, here's the image for blue:
- Per each single color image:
a) Convert to black and white image.
b) Remove noises (small dots).
c) Find contours and count them.