TestDocker / experiments_face.py
tristan-aeschbach's picture
Fooocus
e546d42 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)