diff --git a/config.py b/config.py index f27e204..e6dbd98 100644 --- a/config.py +++ b/config.py @@ -1,7 +1,7 @@ class Config: # ===== Камера ===== CAMERA_ID = 0 # только для 'web' - CAMERA_TYPE = 'oak' # 'web' или 'oak' + CAMERA_TYPE = 'web' # 'web' или 'oak' MIRROR_CAMERA = True # ===== Скелет ===== @@ -21,16 +21,16 @@ class Config: } # ===== Статические жесты (dome, cross) ===== - SPECIAL_GESTURE_MODE = 'ml' # 'ml' или 'geometric' - ML_GESTURE_MODEL = '/home/ubuntu/sirius/models/rf/special_gestures_rf.pkl' + SPECIAL_GESTURE_MODE = 'geometric' # 'ml' или 'geometric' + ML_GESTURE_MODEL = '/home/gestures6/Easy_sim/dummy_simulation/models/rf/special_gestures_rf.pkl' ML_GESTURE_CLASSES = ['dome', 'cross', 'none'] # ===== Динамические жесты ===== DYNAMIC_GESTURE = { - 'enabled': True, - 'model_path': '/home/ubuntu/sirius/models/lstm/dynamic_model.h5', - 'classes_path': '/home/ubuntu/sirius/models/lstm/dynamic_model_classes.pkl', + 'enabled': False, + 'model_path': '/home/gestures6/Easy_sim/dummy_simulation/models/lstm/dynamic_model.h5', + 'classes_path': '/home/gestures6/Easy_sim/dummy_simulation/models/lstm/dynamic_model_classes.pkl', 'window_size': 14, 'threshold': 0.8 } diff --git a/install_deps.sh b/install_deps.sh old mode 100644 new mode 100755 index 17f6476..d6246c2 --- a/install_deps.sh +++ b/install_deps.sh @@ -6,6 +6,7 @@ pip install --upgrade pip pip install numpy==1.24.3 pip install pandas==2.0.3 +pip install pyyaml==6.0.3 pip install opencv-python==4.12.0.88 pip install opencv-python-headless==4.12.0.88 pip install matplotlib==3.7.5 diff --git a/submodules/gesture_detection b/submodules/gesture_detection index 0b3c74c..e74f1b0 160000 --- a/submodules/gesture_detection +++ b/submodules/gesture_detection @@ -1 +1 @@ -Subproject commit 0b3c74c4632339ba743bd2093c50d40cdf5de4ab +Subproject commit e74f1b09d71973da345aeff691daeda954e5c080