FacialRecognition-Demo/application/config.py

18 lines
384 B
Python
Raw Normal View History

2020-03-15 19:02:37 +00:00
2020-05-20 14:27:02 +00:00
# Database config
databaseFile = "./test.sqlite"
echoDatabase = False
# Web Server config
2020-03-15 19:02:37 +00:00
debug = True
2020-05-20 14:27:02 +00:00
port = '5001'
# Face recognition config
model = "hog" # can be hog or cnn
tolerance = 0.6
useCUDA = True # is only relevant if dlib installer glitched out during installatzion
videoSource = "http://192.168.178.56:8080/video" # used by openCV, can use webcams or videostreams