Python:实现图像相似度平均值哈希算法 import cv2 import time import numpy as np #均值哈希算法 def aHash(img): img=cv2.resize(img,(8,