Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
iList
/
img
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
img
/
experiments_face.py
iList
Upload folder using huggingface_hub
be3466b
verified
over 1 year ago
raw
Copy download link
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)