计算图像中对象的数量 [英] Count the number of objects in an Image

查看:293
本文介绍了计算图像中对象的数量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在调查图像处理的可能性,以识别某些物体,并在图像中计算它们。

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.

任何人都有任何机器视觉/图像处理库(如ImageJ,Fiji,JAI,jMagick,Java Vision Toolkit)的任何经验吗?你认为哪个最适合这份工作?你们建议什么?如果API可以从Java使用,它会更好。谢谢。

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.

编辑:
我正在处理仓库棕色箱子。是的,我说的是普通照片。来源通常是手机图片。

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

编辑2:
对不起,答案已自动选择。 :

I am sorry the answer got autoselected. : (

推荐答案

如果你必须坚持使用Java,你仍然可以使用 OpenCV

If you must stick to Java, you can still use OpenCV.


  1. Hough Transforms 以检测它们。

  2. 您可以使用 OpenSURF 根据您向其发送的源图片检测手机。 / li>
  3. 不要认为这在您的情况下是可行的: HAAR Cascades 。您可以创建一个自定义HAAR分类器,但培训过程可能非常耗时。

  1. If it's just boxes you can use Hough Transforms to detect them.
  2. You can use OpenSURF to detect phones based on source images you feed to it.
  3. Don't think this would be feasible in your case: HAAR Cascades. You could create a custom HAAR clasifier, but the training process can be quite time consuming.

HTH,
George

HTH, George

这篇关于计算图像中对象的数量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆