Open albertyou2 opened 8 years ago
@albertyou2
histogram2.py
文件,实质是基于了色彩分布来进行相似度比较,`我个人感觉最好。histogram2.py
文件为例,里面__all__
里面说明了对外暴露的接口,两个image
参数分别是两张要比较的图片,用PIL
里面的Image
对象构建。其他文件同理。因为当时就是找了一些资料然后自己把算法实现了一篇,而且编码也是新手,所以比如代码规范什么的好多都没注意。当然现在的代码质量会好很多,但现在只更新新的算法或功能,旧的代码实在没有动力去修改了,见谅。
@MashiMaroLjc 我先看看代码~多谢分享了:)
楼主继续啊,正好我想检测两张人脸的形态呢,比如都是右转头上抬头,这个应该适合啊。呵呵
@MashiMaroLjc 你好,最近我在做图片内物体相似度的题目
我看到你的imagecluster ,请问实际效果如何?
我之前在用sift找图片内物体相似度,效果还行,但是对于放大到特别大的那种图也是效果不好
另外你的代码如何使用呢?谢谢