简体   繁体   English

如何将扫描图像缩小为一致的哈希?

[英]How do I reduce a scanned image to a consistent hash?

I'd like to be able to scan an image and reduce it to a consistent hash that I can subsequently compare to a new scan to see if the two images are the same. 我希望能够扫描图像并将其减少为一致的哈希值,然后可以将其与新的扫描结果进行比较,以查看两个图像是否相同。

Any help in this regard would be greatly appreciated! 在这方面的任何帮助将不胜感激!

The following approaches are possibly more powerful than what you actually need. 以下方法可能比您实际需要的功能更强大。

In computer vision, an active area of research is in recognition. 在计算机视觉中,研究的活跃领域得到认可。

For instance, if I were to build a cleaning robot for my house, it should be able to recognize my dog (so as to not spray lethal chemicals on it). 例如,如果我要为自己的房屋建造一个清洁机器人,它应该能够识别我的狗(以免在其上喷洒致命的化学物质)。 This is made more difficult since the robot won't necessarily look at the dog from the same perspective every time (and it can move). 这变得更加困难,因为机器人不一定每次都从同一角度看狗(并且它可以移动)。 ie it should recognize it is my dog from the sides, the front, or the back. 即它应该从侧面,正面或背面识别它是我的狗。

To train this robot, I show it a few pictures of my dog under different lighting conditions, and it should be able to recognize it in the future. 为了训练该机器人,我给它展示了在不同光照条件下我的狗的几张照片,并且它将来应该能够识别它。

Different approaches are in use to extract the salient features from an image which can help you recognize the same features even if the picture was taken in different lighting or from a different angle. 使用不同的方法从图像中提取显着特征,即使照片是在不同的光照下或以不同的角度拍摄的,也可以帮助您识别相同的特征。

Some feature extraction techniques include the following: 一些特征提取技术包括以下内容:

However, rather than manually extracting features, many modern systems use a neural-network machine learning method so the robot/computer can learn to recognize objects, using perhaps the same way humans learn. 但是,许多现代系统不是使用人工提取特征,而是使用神经网络机器学习方法,因此机器人/计算机可以使用与人类学习相同的方法来学习识别物体。

I've never done image recognition, so I am not sure about their advantages/disadvantages, but I found the subject fascinating, and I hope that computers will get better at recognizing stuff (vision, voice, gesture, etc). 我从来没有做过图像识别,所以我不确定它们的优缺点,但是我发现这个主题很吸引人,我希望计算机在识别事物(视觉,声音,手势等)方面会变得更好。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM