-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsentinel.example.toml
More file actions
37 lines (31 loc) · 1.03 KB
/
sentinel.example.toml
File metadata and controls
37 lines (31 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# CLI Configuration File
# For local development and advanced features (tracking, analytics, video processing)
# Docker users should use .env instead
# Copy to sentinel.toml and customize: detect --config sentinel.toml
# Model Configuration
model_name = "yolo11m.pt" # Options: yolo11n.pt, yolo11s.pt, yolo11m.pt, yolo11l.pt, yolo11x.pt
device = "mps" # Options: mps, cuda, cpu
conf_threshold = 0.5
iou_threshold = 0.45
max_detections = 300
input_size = 640
# Video Configuration
video_source = 0 # 0 for webcam, or path to video file
display_width = 1280
display_height = 720
# Tracking Configuration
enable_tracking = false
tracker_max_age = 30
tracker_min_hits = 3
tracker_iou_threshold = 0.3
# Analytics Configuration
enable_analytics = false
zones_config_path = "zones.json"
# API Server Configuration
api_host = "0.0.0.0"
api_port = 8000
api_cors_origins = ["*"]
api_max_image_size = 10485760 # 10MB in bytes
# Logging Configuration
log_level = "INFO" # Options: DEBUG, INFO, WARNING, ERROR
log_format = "console" # Options: console, json