Fooocus-Docker / Fooocus /experiments_face.py
Munzali's picture
Upload 409 files
8a7db1b verified
raw
history blame contribute delete
149 Bytes
import cv2
import extras.face_crop as cropper
img = cv2.imread('lena.png')
result = cropper.crop_image(img)
cv2.imwrite('lena_result.png', result)