Open tomriddle54 opened 4 years ago
@tomriddle54 have resolved this problem?
Hello @yangfly @vizakshat @MyraBaba @yingfeng @nttstar I have change the code detection code from mtcnn to retina face
ret = self.detector.detect_face(face_img, det_type = self.args.det)
to retina facedetector.detect(img, thresh, scales=scales, do_flip=flip)
but whennimg = face_preprocess.preprocess(face_img, bbox, points1, image_size='112,112')
is called i am not getting the proper face i am getting full frame insterd of crop align face is there anything I am missing.
don't know whether resolved this problem, I get the right output, this function's parameters should be like this:
(img, face_bbox, landmark, image_size='112,112')
img is full image not face_img, face_box is 1-D(cordinate for 1 face), landmark is 2-D(cordinate for 1 face)
Hello @yangfly @vizakshat @MyraBaba @yingfeng @nttstar I have change the code detection code from mtcnn to retina face
ret = self.detector.detect_face(face_img, det_type = self.args.det)
to retina facedetector.detect(img, thresh, scales=scales, do_flip=flip)
but whennimg = face_preprocess.preprocess(face_img, bbox, points1, image_size='112,112')
is called i am not getting the proper face i am getting full frame insterd of crop align face is there anything I am missing.