DB_RECORDINGS = "db/numberplates.sqlite3"
VIDEO_OUT_FULL = "videos/full/"
VIDEO_OUT_ANAL = "videos/analysis"

BASE_PATH = '/home/nands/workspace/c4s/anpr'
MODEL_NAME = "yolo_v8_custom"
RTSP_URL = "rtsp://admin:C4sinfra12@192.168.1.10:554/rtsp"
SCREEN_RESOLUTION = (1280, 720)  # Resolution of the RTSP stream
BITRATE = 1000000  # Bitrate for video recording
CONTOUR_MOTION_THRESHOLD = 800 # Sensitivity for motion detection
MAX_CLIP_TIME = 20  # Maximum recording time in seconds
MIN_TIME = 10  # Minimum recording time in seconds
CLASS_LABELS = ["dumping", "not"]
CONFIG_JSON = "config.json"
AUTH_USER = 'c4suser'
AUTH_PASSWORD = 'c4sinfra!'

STATIONARY_THRESHOLD = 50   # Number of frames a pixel must remain stationary to be updated faster
FAST_LEARNING_RATE = 0.1      # Learning rate for pixels that have been stationary
GLOBAL_LEARNING_RATE = 0.01   # Slow, continuous update for all pixels
DIFF_THRESHOLD = 25           # Pixel intensity difference threshold for motion detection
MOTION_AREA_THRESHOLD = 5000  # Minimum number of changed pixels to declare motion


