我试图安装pHash,但是当我执行./configure返回此消息: ...
*** Configuring video Hash ***
checking whether FFmpeg is present... checking for avcodec_alloc_frame in -lavcodec... no
configure: error:
*** libavcodec
我正在使用PHASH来计算大型图像数据库的散列值。这些图像的分辨率很高,因此我需要调整它们以便快速计算散列。 但是,当我调整图像大小时,PHASH程序会报错。如果我不调整大小,PHASH程序工作正常。 我的调整大小代码如下。 public void ResizeImage(string ImagePath, int width, int height, string newPath)
{
我在OSX上,我已经安装了the pHash gem。 使用该宝石时,出现以下错误:Could not open library 'libpHash.dylib'。 在文档中,作者说 You can specify path to pHash library explicitly using environment variable like PHASH_LIB=/opt/local/lib/li