Results 7 comments of lcings

caffe格式的模型经过验证吗? 用ZQCNN model两个ExtractFeature结果相互计算相似度正常 直接用ZQ_FaceRecognizerSphereFaceOpenCV加载caffe model计算就不正常了 caffe 的out_layer_name为fc1_scale应该没错吧?

额,我试试看。。。 mobilefacenet-res2-6-10-2-dim512

W和H都是112没问题的,出来的结果还是一样。 莫非我forward caffe流程有问题?我本来想验证一下ZQCNN和caffe的精度差别

ZQ_FaceRecognizerArcFaceOpenCV recognizers; String prototxt = "face_detector/mobilefacenet-res2-6-10-2-dim512-opencv.prototxt"; String caffemodel = "face_detector/mobilefacenet-res2-6-10-2-dim512.caffemodel"; if (!recognizers.Init("", prototxt, caffemodel, "fc1_scale")) { return -1; } Mat frame0 = imread("0.jpg"); Mat frame1 = imread("1.jpg"); float feat0[512]; float...

ZQ_PIXEL_FMT我试过了其他的,opencv读出来的顺序就是BGR

mtcnn的训练是RGB三通道数据,模型肯定对灰度图支持不好 稳定性:Pnet中缩放因子scale factor越接近1结果越稳定,但耗时越多