图像GIST特征和LMGIST包的python实现(有github) (2)

GitHub代码 https://github.com/Kalafinaian/python-img_gist_feature

4.1 提取Gist特征 from img_gist_feature.utils_gist import * s_img_url = "./test/A.jpg" gist_helper = GistUtils() np_img = preproc_img(s_img_url) np_gist = gist_helper.get_gist_vec(np_img) print(np_gist)

运行得到的gist特征为

[[0.08787015 0.07296596 0.10566235 ... 0.03908335 0.03852283 0.03798099]]

4.2 Gist特征余弦相似距离

下载好github中的代码项目,运行python _test_get_cossim.py

图像GIST特征和LMGIST包的python实现(有github)


5 LMgist的效果

图像GIST特征和LMGIST包的python实现(有github)


参考资料

GIST特征描述符使用

GIST 空间包络特征 推荐论文 简介

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wpfgpx.html