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.
是否有人对任何机器视觉/图像处理库(如 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.
很抱歉,答案被自动选择了.: (
I am sorry the answer got autoselected. : (
推荐答案
如果一定要坚持Java,还是可以使用OpenCV.
If you must stick to Java, you can still use OpenCV.
- 如果只是盒子,您可以使用 霍夫变换 来检测它们.李>
- 您可以使用 OpenSURF 根据您提供的源图像检测手机给它.
- 不要认为这在您的情况下是可行的:HAAR Cascades.您可以创建自定义 HAAR 分类器,但训练过程可能非常耗时.
- If it's just boxes you can use Hough Transforms to detect them.
- You can use OpenSURF to detect phones based on source images you feed to it.
- 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,乔治
这篇关于计算图像中的对象数量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:计算图像中的对象数量


基础教程推荐
- 如何在 Spring @Value 注解中正确指定默认值? 2022-01-01
- Java 实例变量在两个语句中声明和初始化 2022-01-01
- 多个组件的复杂布局 2022-01-01
- Java Swing计时器未清除 2022-01-01
- 不推荐使用 Api 注释的描述 2022-01-01
- 从 python 访问 JVM 2022-01-01
- 大摇大摆的枚举 2022-01-01
- 如何在 JFrame 中覆盖 windowsClosing 事件 2022-01-01
- 验证是否调用了所有 getter 方法 2022-01-01
- 在 Java 中创建日期的正确方法是什么? 2022-01-01