-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
33 lines (18 loc) · 1.15 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import os
from app import app
class DevelopmentConfig(object):
app.config['JSON_AS_ASCII'] = False
DEBUG = True
ENV = "development"
APP = "run.py"
SCM_DO_BUILD_DURING_DEPLOYMENT = True
YOLO_FOLDER = os.path.join(os.path.dirname(__file__), "app/static\\deep_learning_models\\YOLOv4")
FACE_RECOGNITION_FOLDER = os.path.join(os.path.dirname(__file__), "app\\static\\deep_learning_models\\Face_recognition")
HTR_FOLDER = os.path.join(os.path.dirname(__file__), "app\\static\\deep_learning_models\\HTR")
IMAGE_FOLDER = os.path.join(os.path.dirname(__file__), "app\\static\\image\\")
AUDIO_FOLDER = os.path.join(os.path.dirname(__file__), "app\\static\\audio\\")
CASCADE_FOLDER = os.path.join(os.path.dirname(__file__), "app\\static\\deep_learning_models\\Face_recognition\\cascades\\data")
IMG_SIZE = 32
CATEGORIES = ["AL Jadd Mohammed", "EL ASRI Nossaiba", "EL NOUBAOUI Nouhaila", "YE Langze", "personne inconnue", "il n'y a personne"]
# HTR image path
#HTR_IMAGE_PATH = os.path.join(os.path.dirname(__file__), "app\\static\\image\\htr_results")