I am working on a college project where I have to use image processing using opencv to detect manufacturing defects in cookies. The program must be able to detect oversized, undersized, distorted cookies, cookies with cracks, etc.
I am new to opencv. I tried using Houghcircles to check for some of the above defects, but it does not work since the perfect cookie itself is elliptical.
Or, if I take the pics of a perfect cookie and any other cookie, how do I compare them?
Can you please mention a few functions / codes which might be helpful for my project.
Thank You.