I am trying to figure out an effective method for Vision Builder to have an automated system to detect cracks and defects.
We were able to filter out the image to have a consecutive line of pixels. My question is "How do I make Vision Builder to determine
that the continous pixels are in fact a crack so it can fail the process?"
Here is a picture of what I am working with
I appreciate any input. Thanks in advance
As a starting point, I would try using a threshold function to see if you can pick it out sufficiently. You might also explore lighting options to help eliminate shadows, such as using multiple lights at different angles.
sir i tried edge detection and then i tried to remove the crack alone from the egg shell but i couldnt can you tell me how to do it
herewith i have attached the edge detected image of egg for your reference
Before you get too far on the algorithm I would spend some time on the image acquisition. You should try to get some lighting to eliminate shadow and glare and select a background that will be quite different from the egg if possible. Now you can seperate egg from background and mask the egg. I would probably follow this with a threshold to get the crack candidates and filter out particles that tont have characteristics of a crack like the thickness of the particle is too wide (I have done this using a danielson on the bianry and refiltering by max distances from edge) . Would have to study many samples to understand the nature of what defines a 'crack'.