test / Text2Image /experiments_face.py
Sunil Tiwari
Text2Image Model added
5b9cc51
raw
history blame
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)