Fooocus/face_experiments.py
lllyasviel 2bef62c545
2.1.790
2.1.790
2023-11-11 22:13:13 -08:00

8 lines
157 B
Python

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)