From 90abf459d1df1f21960c1d653a1f936d1ec30256 Mon Sep 17 00:00:00 2001 From: adamhrv Date: Wed, 5 Dec 2018 12:00:15 +0100 Subject: . --- megapixels/app/settings/app_cfg.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'megapixels/app/settings/app_cfg.py') diff --git a/megapixels/app/settings/app_cfg.py b/megapixels/app/settings/app_cfg.py index 739ddce2..3e60a9b4 100644 --- a/megapixels/app/settings/app_cfg.py +++ b/megapixels/app/settings/app_cfg.py @@ -14,11 +14,14 @@ from app.utils import click_utils # ----------------------------------------------------------------------------- FaceDetectNetVar = click_utils.ParamVar(types.FaceDetectNet) - +HaarCascadeVar = click_utils.ParamVar(types.HaarCascade) LogLevelVar = click_utils.ParamVar(types.LogLevel) # # data_store DATA_STORE = '/data_store_hdd/' +DATA_STORE_NAS = '/data_store_nas/' +DATA_STORE_HDD = '/data_store_hdd/' +DATA_STORE_SSD = '/data_store_ssd/' DIR_DATASETS = join(DATA_STORE,'datasets') DIR_APPS = join(DATA_STORE,'apps') DIR_APP = join(DIR_APPS,'megapixels') @@ -38,6 +41,8 @@ DIR_MODELS_DLIB_5PT = join(DIR_MODELS_DLIB, 'shape_predictor_5_face_landmarks.da DIR_MODELS_DLIB_68PT = join(DIR_MODELS_DLIB, 'shape_predictor_68_face_landmarks.dat') +types.HaarCascade.FRONTAL + # Test images DIR_TEST_IMAGES = join(DIR_APP, 'test', 'images') @@ -51,8 +56,10 @@ FP_FONT = join(DIR_ASSETS, 'font') # ----------------------------------------------------------------------------- # click chair settings # ----------------------------------------------------------------------------- -DIR_COMMANDS_PROCESSOR_ADMIN = 'admin/commands' -DIR_COMMANDS_PROCESSOR_DATASETS = 'datasets/commands' +DIR_COMMANDS_CV = 'commands/cv' +DIR_COMMANDS_ADMIN = 'commands/admin' +DIR_COMMANDS_DATASETS = 'commands/datasets' +DIR_COMMANDS_MISC = 'commands/misc' # ----------------------------------------------------------------------------- # Filesystem settings -- cgit v1.2.3-70-g09d2