Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Counting strips

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?

Counting strips

image description

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.

click to hide/show revision 3
retagged

updated 2016-11-28 12:32:13 -0600

berak gravatar image

Counting strips

image description

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.