如何检查两个图像无论是在Android的类似 [英] How to check whether two image are similar in Android

查看:124
本文介绍了如何检查两个图像无论是在Android的类似的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我工作的地方想我捕捉像锤子或任何工具的图片应用程序,后来我又抓住它,然后在这里我需要比较工具是否是相同的,所以很喜欢类似的两个图片是否相似

I am working on the app where suppose I capture the picture of the tool like hammer or anything and later I again capture it then here I need to compare whether the tool is same so it is similar like to whether both picture are similar.

我有一个想法,要做到这一点,检查这两个拍摄图像的RGB像素值,取平均值,然后对它们进行比较。如果两者都可能是将近那么就意味着都是相同的,但将花费太多时间。

I have got one idea to do this to check the RGB pixels value of the both captured image and take the average then compare them. If both are probably near then it means both are same but that would take much time.

任何其他更好的解决办法做到这一点在Android中?

Any other better solution to do this in Android ?

推荐答案

寻找在一个画面的锤(或任何其它对象)是<青霉>不的相同图像之间的直像素的比较。

looking for a hammer (or any other object) in a picture is not the same as a straight pixel comparison between images.

你需要更精致的技术来实现这一目标,prepare辛勤工作。

you'll need far more refined techniques to achieve this, prepare for hard work.

看<一个href=\"http://docs.opencv.org/doc/tutorials/features2d/table_of_content_features2d/table_of_content_features2d.html#table-of-content-feature2d\"相对=nofollow>特征检测或<一个href=\"http://docs.opencv.org/doc/tutorials/objdetect/table_of_content_objdetect/table_of_content_objdetect.html#table-of-content-objdetect\"相对=nofollow>级联分类的对象检测。

这篇关于如何检查两个图像无论是在Android的类似的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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