I have two image processing problems that I'm handling using Open-CV.
- Identifying similar objects with different colors apart from each other.
- Identifying similar colored objects with different sizes apart from each other.
Example images for scenarios 1 and 2;
1
2
Both the images have three types of objects of interest. (Either three colors or sizes)
The techniques I've come across include thresholding and then using erosion with pixel counting, color segmentation using RGB values.
What is a good work-chain and what is a good place to start?