Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
triger69
/
thebloke
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
thebloke
/
experiments_face.py
triger69
Upload folder using huggingface_hub
81e7bf6
verified
16 days ago
raw
Copy download link
history
blame
contribute
delete
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)