Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Adityadn
/
KB
like
0
Runtime error
App
Files
Files
Community
218c09c
KB
/
experiments_face.py
Adityadn
Upload folder using huggingface_hub
c8bd223
verified
5 months ago
raw
Copy download link
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)