68b7092
1
2
3
4
5
6
7
8
import cv2 import fooocus_extras.face_crop as cropper img = cv2.imread('lena.png') result = cropper.crop_image(img) cv2.imwrite('lena_result.png', result)