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,乔治
这篇关于计算图像中的对象数量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:计算图像中的对象数量


- 如何使用WebFilter实现授权头检查 2022-01-01
- Safepoint+stats 日志,输出 JDK12 中没有 vmop 操作 2022-01-01
- value & 是什么意思?0xff 在 Java 中做什么? 2022-01-01
- Spring Boot连接到使用仲裁器运行的MongoDB副本集 2022-01-01
- Jersey REST 客户端:发布多部分数据 2022-01-01
- Eclipse 插件更新错误日志在哪里? 2022-01-01
- 将log4j 1.2配置转换为log4j 2配置 2022-01-01
- C++ 和 Java 进程之间的共享内存 2022-01-01
- Java包名称中单词分隔符的约定是什么? 2022-01-01
- 从 finally 块返回时 Java 的奇怪行为 2022-01-01