mirror of
https://github.com/serengil/deepface.git
synced 2025-06-07 12:05:22 +00:00
mtcnn is not a mandatory lib
This commit is contained in:
parent
024fe6843f
commit
3cd55fcf00
@ -1,8 +1,8 @@
|
||||
from mtcnn import MTCNN
|
||||
import cv2
|
||||
from deepface.detectors import FaceDetector
|
||||
|
||||
def build_model():
|
||||
from mtcnn import MTCNN
|
||||
face_detector = MTCNN()
|
||||
return face_detector
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user