按照传统的扩展php的方法进行安装1.$signature=puzzle_fill_cvec_from_file($image_filename);//getthesignatureofapicture,其实就是拿到一个图片的信息签名;
2.$d=puzzle_vector_normalized_distance($signature1,$signature2);//根据各自的签名信息,通过比较获得之间的差距,从而衡量二者的类似度3.$compressed_signature=puzzle_compress_cvec($signature);//获取压缩状
1