sonobit commited on
Commit
bd8eb59
·
1 Parent(s): a319c18

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
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))