無地の背景と 3 種類のオブジェクトを含む画像があります。3 つのオブジェクトは、異なる (ただし、サイズはわずかに異なります) で、色も異なります。
For example if there is a 40-60 pixel group that is black in color that grouping would be put in group A, if there is a 40-60 pixel group that is white in color that grouping would be put in group B and if there is a 90-110 pixel group that is black in color that grouping would be put in group C. Then the algorithm would need to count the number of objects in each group.
How would I go about creating an algorithm to do this (preferably using python)?
Thanks in advance.