-
-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy path.env.example
More file actions
18 lines (13 loc) · 745 Bytes
/
.env.example
File metadata and controls
18 lines (13 loc) · 745 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# backend deepface service's endpoint, do not change if not necessary
REACT_APP_SERVICE_ENDPOINT=http://localhost:5005
# Set facial recognition model: VGG-Face, Facenet, Facenet512, OpenFace, DeepFace, DeepId, ArcFace, Dlib, SFace, GhostFaceNet
REACT_APP_FACE_RECOGNITION_MODEL=Facenet
# Set face detector: opencv, ssd, mtcnn, dlib, mediapipe, retinaface, yolov8, yunet, centerface
REACT_APP_DETECTOR_BACKEND=opencv
# Set distance metric: cosine, euclidean, euclidean_l2
REACT_APP_DISTANCE_METRIC=cosine
# Set REACT_APP_ANTI_SPOOFING to 1 if you want to enable anti-spoofing
REACT_APP_ANTI_SPOOFING=0
# define your facial database
REACT_APP_USER_YOUR_NAME=data:image/png;base64,...
REACT_APP_USER_YOUR_FRIENDS_NAME=data:image/png;base64,...