Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Mathdesenvnonimate
/
stable
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
107cbfc
stable
/
experiments_face.py
Mathdesenvnonimate
Upload 27 files
107cbfc
verified
11 months ago
raw
Copy download link
history
blame
Safe
156 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)