Refactor annotation handling and inference processing: Update 'time' attribute in Annotation class to private, streamline video time formatting in main processing function, and adjust annotations dictionary access in detection conversion. Ensure consistency in handling input frames during inference.

This commit is contained in:
Oleksandr Bezdieniezhnykh
2026-03-26 00:40:02 +02:00
parent 4afa1a4eec
commit 1e4ef299f9
6 changed files with 7 additions and 17 deletions
+1 -1
View File
@@ -18,4 +18,4 @@
{ "Id": 16, "Name": "Caponier", "ShortName": "Капонір", "Color": "#ffa500", "MaxSizeM": 10 },
{ "Id": 17, "Name": "Ammo", "ShortName": "БК", "Color": "#33658a", "MaxSizeM": 2 },
{ "Id": 18, "Name": "Protect.Struct", "ShortName": "Зуби.драк", "Color": "#969647", "MaxSizeM": 2 }
]
]