/
BespredeL
/
CVCounter
Обзор
Документация
Войти
/
BespredeL
/
CVCounter
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
1
Аналитика
Безопасность
master
config/config.example.json
157 строк
4 KB
Aleksandr Kireev
added: Opt-in telemetry client for anonymized usage/error diagnostics
26 июл 2026, 10:09
26 июл 2026, 10:09
c9606a9
Код
Авторство
О чём код?
{ "general": { "debug": true, "system_check": true, "log_path": "storage/logs/cvcounter.log", "log_level": "INFO", "log_console": false, "default_language": "ru", "allow_unsafe_werkzeug": false, "button_change_theme": true, "button_fullscreen": true, "button_backward": false, "button_save_capture": false, "collapsed_keyboard": true }, "server": { "host": "0.0.0.0", "port": 8080, "use_reloader": false, "log_output": false, "secret_key": "", "allowed_origins": "*", "socketio_async_mode": "threading", "socketio_transports": [ "polling", "websocket" ], "socketio_upgrade": true }, "users": { "admin": "scrypt:32768:8:1$rsdPYhqaQqpXQQ0o$aa3359c86228b4cee5fe8c4ed694db4b371fa7fab5100fa7b446db7e1ed8077e3bb63228d4a1899aeeef9b8d15f8e8bdbcc3457f020bcb3ec320332c76b5896b" }, "db": { "uri": "sqlite:///system/db/database.sqlite", "prefix": "" }, "telemetry": { "enabled": false, "endpoint": "https://bespredel.name/api/cvcounter/telemetry", "send_errors": true, "send_usage": true, "flush_interval_sec": 300, "max_batch_size": 50, "max_queue_size": 200, "max_stack_chars": 8000, "error_dedup_sec": 120, "timeout_sec": 5, "hmac_secret": "" }, "form": { "defect_show": true, "correct_show": true, "custom_fields": { "field_one": { "name": "field_one", "label": "Field One Text", "type": "text" }, "field_two": { "name": "field_two", "label": "Field Two Date", "type": "date" }, "field_three": { "name": "field_three", "label": "Field Three Datetime", "type": "datetime-local" }, "field_four": { "name": "field_two", "label": "Field Two Textarea", "type": "textarea" }, "field_five": { "name": "field_five", "label": "Field Five Select", "type": "select", "options": [ "Option One", "Option Two", "Option Three" ] } } }, "detection_default": { "model_type": "yolo", "weights_path": "config/ultralytics/models/yolov8n.pt", "confidence": 0.7, "iou": 0.7, "device": 0, "vid_stride": 1, "indicator_size": 10, "video_show_scale": 70, "video_show_quality": 50, "video_fps": 0, "video_reconnect_attempts": 5, "counting_areas": [ { "points": [ [0, 0], [100, 0], [100, 100], [0, 100] ], "color": [67, 211, 255] } ], "classes": {}, "recording": { "enable": false, "path": "storage/saved_recordings", "scale": 50, "quality": 70 } }, "detections": { "ExampleCam": { "label": "Label ExampleCam", "start_total_count": 0, "video_path": "", "model_type": "yolo", "weights_path": "config/ultralytics/models/yolov8n.pt", "confidence": 0.7, "iou": 0.7, "device": 0, "vid_stride": 1, "indicator_size": 10, "video_show_scale": 70, "video_show_quality": 30, "video_fps": 0, "video_reconnect_attempts": 5, "counting_areas": [ { "points": [ [0, 0], [100, 0], [100, 100], [0, 100] ], "color": [255, 64, 0] } ], "classes": {}, "dataset_create": { "enable": true, "probability": 0.05, "path": "storage/saved_images/ExampleCam" }, "recording": { "enable": true, "scale": 80, "quality": 60 } } } }