XeoOuYang
XeoOuYang
#### face musk prepare face_img = cv2.imread(ref_image_path) face_mask = np.zeros((face_img.shape[0], face_img.shape[1])).astype('uint8') det_bboxes, probs = face_detector.detect(face_img) det_bboxes will be None, once we use Image.open the same jpeg file, all things go...
here is the result: step=6 https://github.com/user-attachments/assets/dd3fd226-2bad-4ff6-ba63-1ec41945f8d4 the quality is very poor. and bellow is anthoer case, dark background gen poor quality. https://github.com/user-attachments/assets/e50c6204-be24-4ab3-bdea-0dfe9e7b548f f0 frame is the input picture