Open huanglong123 opened 2 months ago
face_img = crop_and_pad(face_img, crop_rect) face_mask = crop_and_pad(face_mask, crop_rect) face_img = cv2.resize(face_img, (width, height)) face_mask = cv2.resize(face_mask, (width, height))
需要修改为
face_img = crop_and_pad(face_img, crop_rect)[0] face_mask = crop_and_pad(face_mask, crop_rect)[0] face_img = cv2.resize(face_img, (width, height)) face_mask = cv2.resize(face_mask, (width, height))
thanks
感谢
需要修改为