Ask Your Question
0

How to count buns on conveyor?

asked 2013-03-21 03:04:32 -0500

Wouter T. gravatar image

updated 2013-03-21 06:17:59 -0500

I'm wondering how to make a reliable counter for multiple buns passing at the same time on a conveyor (not one by one).

I was thinking of running the whole thing with a cheap webcam and an odroid mini pc running either android or ubuntu.

Now I'm wondering, what would be the eaiest programming language to learn and use for something like this. The contrast between the conveyor(blue) and the buns is pretty high and the diameter of the bun is at least 10cm. a maximum of 8 buns will be next to each other.


edit:

I'll update later today.

edit retag flag offensive close merge delete

Comments

Post some images the type of which you want to detect, and you will (hopefully) receive some advice on how to proceed. As for the estimates, you are in the wrong place. This is a forum for OpenCV-related computer vision algorithms, not for project-management or career advice.

sammy gravatar imagesammy ( 2013-03-21 03:55:49 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-03-21 06:29:45 -0500

Basically, if your environment is constant, you could get a long way with the combination of:

  • Background segmentation to identify the moving buns. Since the conveyor belt stays same color, this can be neglected as a moving part. From camera vieuwpoint this is a fixed color region.
  • Create blobs for each bun
  • Track the blobs and assign a counter to the amount of blobs passing a line or so

But again, this is very basically what you should do.

Other possibility could be performing object detection for variable object classes and object recognition for constant object size and look.

OpenCV and C++ work good together on embedded platforms, but that's a choice you will need to make yourself :)

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2013-03-21 03:04:32 -0500

Seen: 957 times

Last updated: Mar 21 '13