Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
MrNikolaTesla
/
APIFo
like
0
Runtime error
App
Files
Files
Community
85c547d
APIFo
/
experiments_face.py
MrNikolaTesla
Upload folder using huggingface_hub
113c29e
verified
4 months ago
raw
history
blame
No virus
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)