Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Count the number of objects in an Image

I am investigating the possibility of image processing to identify certain objects and also count them in an image.

I will be given a picture and I need to identify the number of boxes present in that image.

Does anybody have any experience with any Machine Vision/ Image Processing libraries like ImageJ, Fiji, JAI, jMagick ,Java Vision Toolkit? Which do you think is best suited for the job? What do you guys suggest? If the APIs can be used from Java, it would be better. Thank you.

Edit: I am dealing with warehouse brown boxes. Yes I am talking about regular photos. The source is usually a mobile phone picture.

Edit2: I am sorry the answer got autoselected. : (

like image 562
unj2 Avatar asked Jun 01 '10 18:06

unj2


1 Answers

I have never used the libraries you listed but I have used OpenCV.

OpenCV is a well supported and proven computer vision library. It has built in features to count the number of primitive shapes in an image. It is written in C++ but you could create a small wrapper to be invoked via JNI.

RoboRealm is another proven computer vision system used by robotic hobbyists. It is a closed source commercial product that uses a socket based control API.

http://opencv.willowgarage.com/wiki/FullOpenCVWiki

http://www.roborealm.com/index.php

like image 151
Tansir1 Avatar answered Sep 20 '22 19:09

Tansir1