seetaface / SeetaFaceEngine2

Other
812 stars 254 forks source link

SeetaFaceEngine2人脸比对比SeetaFaceEngine慢了 #33

Open dengly opened 5 years ago

dengly commented 5 years ago

在Android端测试发现,人脸检测与标记比SeetaFaceEngine快,但是

float similarity = faceRecognizer.Compare(image1, landmarks1, image2, landmarks2);

比SeetaFaceEngine要慢很多,而

float[] similarity = new similarity[1];//save the most similar face similarity value
int targetIndex = faceRecognizer.Recognize(image, landmarks, similarity);//targetIndex is the index of the most similar face in database

和SeetaFaceEngine差不多。但是这个database有上限。

请问能否提高faceRecognizer.Compare(image1, landmarks1, image2, landmarks2);速度

northeastsquare commented 5 years ago

确实够慢的的,两张图比对,用windows好多秒

northeastsquare commented 5 years ago

我测试的时间是这样的, i5 cpu, 单位毫秒 imread:257.2 face detection:2683.2 point detection:69.1111 face recognition 1v1:7668.22