Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,6 +10,7 @@ import random
|
|
| 10 |
import PIL
|
| 11 |
import face_recognition
|
| 12 |
import tempfile
|
|
|
|
| 13 |
# accept an image input
|
| 14 |
# trigger the set of functions to occur => identify face, generate mask, save the inverted face mask, sample for the inverted images
|
| 15 |
# output the sampled images
|
|
|
|
| 10 |
import PIL
|
| 11 |
import face_recognition
|
| 12 |
import tempfile
|
| 13 |
+
import cv2
|
| 14 |
# accept an image input
|
| 15 |
# trigger the set of functions to occur => identify face, generate mask, save the inverted face mask, sample for the inverted images
|
| 16 |
# output the sampled images
|