I am looking for a tool that could detect visual defects on a photo of a free flowing product like potato flakes.
Potato flakes is powder-like product that is essentially dedydrated mashed potatoes.
Defects are objects that are darker in color compared to light-yellow potato flakes. Theses are normally potato skin pieces, burned brown pieces, or other natural impurities.
On the attached photo defects are circled in red. Inside green circles are also some darker spots, but those are most likely due to shadows and do not look like defects.
Please suggest a tool that could help me identify the defects automatically. I am new to this, but I heard there are some computer vision modules for python, such as Scikit-image, Outlook. Am I on the right path?