开发者

Perceptual Hash Algorithms in Python or PHP? [closed]

开发者 https://www.devze.com 2023-01-06 20:01 出处:网络
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. 开发者_如何学C Closed 10 years ago.

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.

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.


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

  • 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

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号