在Python或者PHP感知散列算法? [英] Perceptual Hash Algorithms in Python or PHP?

查看:169
本文介绍了在Python或者PHP感知散列算法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经曝光<一href="http://stackoverflow.com/questions/75891/algorithm-for-finding-similar-images/774916#774916">via计算器以 pHash ,音频,视频,图像和文本指纹识别一个C ++感知哈希库 - 最近与preliminary绑定PHP,C#和Java。

I've been exposed via StackOverflow to pHash, a C++ perceptual hash library for audio, video, images, and text fingerprinting - recently with preliminary bindings for PHP, C# and Java.

我很感兴趣,研究这些算法,我想知道同样的/类似的算法,如果有任何的开源的纯Python或者PHP实现?这将让我的生活轻松了许多。

I'm interested in studying these algorithms and I'm wondering if there are any open-source pure Python or PHP implementations of the same / similar algorithm? This would make my life a lot easier.

推荐答案

我一直在谷歌上搜索,但是不多又拿出了的。因为它似乎你想要的code为学术目的,我建议:

I have been searching on Google, but not much has come up. Since it seems you want the code for academic purposes, I would suggest:

  • 打维基百科 - 查找每个算法和感受一下它是如何工作

  • Hit Wikipedia - look up each algorithm and get a feel for how it works

检查pHash网站的邮件列表 - 我怀疑你是好奇的第一人

Check the pHash site's mailing list - I doubt you are the first person to be curious.

电子邮件的作者,询问他们使用什么资源(图书,报纸,等。)

Email the authors and ask what sources they used (books, papers, etc.)

使用的书店,图书馆等,以找到自己的来源

Use bookstore, library, etc. to find your own sources

我个人觉得,学习code是非常低效的教学算法(起初无论如何,直到你有感觉的整个过程)。

I personally find that studying code is very ineffective at teaching algorithms (at first anyway, until you have a feel for the overall process).

这篇关于在Python或者PHP感知散列算法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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