Spaces:
Runtime error
Runtime error
Create app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from terran.io import open_imagefrom terran.vis
|
| 2 |
+
import display_image, vis_faces
|
| 3 |
+
from terran.face import face_detection
|
| 4 |
+
|
| 5 |
+
image = open_image('examples/readme/many-faces-raw.jpg')
|
| 6 |
+
detections = face_detection(image)
|
| 7 |
+
display_image(vis_faces(image, detections))
|