Perceptual Hash Algorithms in Python or PHP? [closed]

六眼飞鱼酱① 提交于 2019-12-21 05:13:33

问题


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.


回答1:


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).



来源:https://stackoverflow.com/questions/3216901/perceptual-hash-algorithms-in-python-or-php

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!