base config, upd deps and new lib
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
class Config:
|
class Config:
|
||||||
# ===== Камера =====
|
# ===== Камера =====
|
||||||
CAMERA_ID = 0 # только для 'web'
|
CAMERA_ID = 0 # только для 'web'
|
||||||
CAMERA_TYPE = 'oak' # 'web' или 'oak'
|
CAMERA_TYPE = 'web' # 'web' или 'oak'
|
||||||
MIRROR_CAMERA = True
|
MIRROR_CAMERA = True
|
||||||
|
|
||||||
# ===== Скелет =====
|
# ===== Скелет =====
|
||||||
@@ -21,16 +21,16 @@ class Config:
|
|||||||
}
|
}
|
||||||
|
|
||||||
# ===== Статические жесты (dome, cross) =====
|
# ===== Статические жесты (dome, cross) =====
|
||||||
SPECIAL_GESTURE_MODE = 'ml' # 'ml' или 'geometric'
|
SPECIAL_GESTURE_MODE = 'geometric' # 'ml' или 'geometric'
|
||||||
ML_GESTURE_MODEL = '/home/ubuntu/sirius/models/rf/special_gestures_rf.pkl'
|
ML_GESTURE_MODEL = '/home/gestures6/Easy_sim/dummy_simulation/models/rf/special_gestures_rf.pkl'
|
||||||
ML_GESTURE_CLASSES = ['dome', 'cross', 'none']
|
ML_GESTURE_CLASSES = ['dome', 'cross', 'none']
|
||||||
|
|
||||||
|
|
||||||
# ===== Динамические жесты =====
|
# ===== Динамические жесты =====
|
||||||
DYNAMIC_GESTURE = {
|
DYNAMIC_GESTURE = {
|
||||||
'enabled': True,
|
'enabled': False,
|
||||||
'model_path': '/home/ubuntu/sirius/models/lstm/dynamic_model.h5',
|
'model_path': '/home/gestures6/Easy_sim/dummy_simulation/models/lstm/dynamic_model.h5',
|
||||||
'classes_path': '/home/ubuntu/sirius/models/lstm/dynamic_model_classes.pkl',
|
'classes_path': '/home/gestures6/Easy_sim/dummy_simulation/models/lstm/dynamic_model_classes.pkl',
|
||||||
'window_size': 14,
|
'window_size': 14,
|
||||||
'threshold': 0.8
|
'threshold': 0.8
|
||||||
}
|
}
|
||||||
|
|||||||
Regular → Executable
+1
@@ -6,6 +6,7 @@ pip install --upgrade pip
|
|||||||
|
|
||||||
pip install numpy==1.24.3
|
pip install numpy==1.24.3
|
||||||
pip install pandas==2.0.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==4.12.0.88
|
||||||
pip install opencv-python-headless==4.12.0.88
|
pip install opencv-python-headless==4.12.0.88
|
||||||
pip install matplotlib==3.7.5
|
pip install matplotlib==3.7.5
|
||||||
|
|||||||
Submodule submodules/gesture_detection updated: 0b3c74c463...e74f1b09d7
Reference in New Issue
Block a user