Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Adityadn
/
AI-Describe-Image
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
f8b046e
AI-Describe-Image
/
experiments_face.py
Adityadn
Upload 36 files
341cb46
verified
about 1 year ago
raw
Copy download link
history
blame
Safe
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)