I am trying to count the extruded pieces of polypropylene. I can filter out horizontal and vertical lines using sobel, but am having trouble figuring out how to count the strips. Any ideas?
1 | initial version |
I am trying to count the extruded pieces of polypropylene. I can filter out horizontal and vertical lines using sobel, but am having trouble figuring out how to count the strips. Any ideas?
2 | No.2 Revision |
I am trying to count the extruded pieces of polypropylene. I can filter out horizontal and vertical lines using sobel, but am having trouble figuring out how to count the strips. Any ideas?
I uploaded a photo of my test box. I was thinking I could shoot the laser across, filter the horizontal lines, and then count how many times I see laser->no laser->laser->no laser etc. Or maybe get a percentage of how solid the line is and then relate that percentage to number of strips.
3 | retagged |
I am trying to count the extruded pieces of polypropylene. I can filter out horizontal and vertical lines using sobel, but am having trouble figuring out how to count the strips. Any ideas?
I uploaded a photo of my test box. I was thinking I could shoot the laser across, filter the horizontal lines, and then count how many times I see laser->no laser->laser->no laser etc. Or maybe get a percentage of how solid the line is and then relate that percentage to number of strips.