Ask Your Question
0

how to count boxes with only this camera direction

asked 2018-04-06 01:16:32 -0600

hoang anh tuan gravatar image

updated 2020-10-06 04:55:10 -0600

I have a problem: count boxes from camera. Have multi layeres, each layer has some boxes as image

image description

Which algorithm do I apply for this problem? Canny Edges, Segmentation? I tried it but low accuracy.

Help me!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-04-06 04:43:43 -0600

glukon gravatar image

Which algorithm do I apply for this problem? Canny Edges, Segmentation? I tried it but low accuracy.

Just collect some ideas and think of the different szenarios like what indicates you that for a given Pixel (x,y) there will be a neigborhood, connecting between BoxA, BoxB or/and other Boxes. So, it has pretty much to do with edge detection. So after adding some blur and doing canny edge detection, you'll have a binary image. With the given information inside your binary picture, you'll be able to use segmentation or find contours and fill in the areas of founded contours. But as always - this is just an idea and there are many ways to reach the point where it's working satisfactorily.

edit flag offensive delete link more

Comments

Thank for responsing. I tried canny edges or segmentation but i received low accuracy. :(

hoang anh tuan gravatar imagehoang anh tuan ( 2018-04-10 02:51:36 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2018-04-06 01:16:32 -0600

Seen: 453 times

Last updated: Apr 06 '18