opencv - Bent object detection -


i have image of ribs in factory , of them can bent. each rib have binary mask of - here can see masked image of ribs @ once. masked ribs illustration:

img

if helps you, here ribs masks connected one. rib masks:

img

as can see, ribs aren't vertical, can rotated too. need detect bent ones (for example third rib left in image). please have idea how it?

i have tried distance transform find center of rib , working 1d function, whole rib 50 pixels wide, noise big - function has peaks use derivatives or approximation. next, wanted try hough-lines on upper , lower part separately, details looking (as can see, bent not big) small method.

all need "is bent" or "is not bent". @ moment, have no other ideas how detect bent ribs. pleased idea.


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -