/
efr
/
SmartCity
Обзор
Документация
Войти
/
efr
/
SmartCity
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
settings.py
57 строк
889 B
Sergey
add_project
27 фев 2025, 19:33
27 фев 2025, 19:33
7eeda08
Код
Авторство
О чём код?
name = 'Smart City' version = '3.14.6' autor = 'Efremov S.' #main.py text_info = True model_path = 'yolov8x.pt' text_size = 2 time_recorder = 7.5 #sec conf = 0.5 #zone_tool.py zone_color = (0, 255, 255) zone_thickness = 1 #line_tool.py text_color = (0, 0, 255) line_color = (128, 128, 128) line_active_color = (0, 165, 255) line_thickness = 1 #traffic_detector_tool.py traffic_thickness = 1 #plot.py max_trajectory = 64 thickness = 1 colors = { 0: (0, 0, 255), 1: (0, 255, 0), 2: (0, 255, 0), 3: (0, 255, 0), 4: (0, 255, 0), 5: (0, 255, 0), 7: (0, 255, 0), } #standart YOLO models: target_classes = { 2: 'car', 5: 'bus', 7: 'truck', 1: 'bicycle', 3: 'motorcycle', 0: 'person', } # train model in cher #target_classes = { # 0: 'person', # 1: 'bicycle', # 2: 'car', # 3: 'motorcycle', # 4: 'bus', # 5: 'truck' #}