This commit is contained in:
DuOtto
2025-11-04 21:40:06 +01:00
parent 1d63671fad
commit 225ecc2e17
16 changed files with 244 additions and 109 deletions
+5 -2
View File
@@ -1,7 +1,7 @@
import numpy as np
# ----- Configuration -----
CAMERA_INDICES = [0] # List of camera device indices
CAMERA_INDICES_TO_CHECK = 10
FRAME_WIDTH = 3980
FRAME_HEIGHT = 2560
PIXELS_PER_INCH = 38 # will be set by calibration
@@ -24,4 +24,7 @@ TAB_GAP = 10
LEFT_BTN_TOP = (TAB_X, TAB_Y0+2*(TAB_H+TAB_GAP)+20)
RIGHT_BTN_TOP = (TAB_X, LEFT_BTN_TOP[1]+TAB_H+TAB_GAP)
DEBUG = True
DEBUG = True
TARGET_FPS = 40
FRAME_INTERVAL = 1.0 / TARGET_FPS