Refactor autopilot workflows and documentation: Update .gitignore to include binary and media file types, enhance agent command references in documentation, and modify annotation class for improved accessibility. Adjust inference processing to handle batch sizes and streamline test specifications for clarity and consistency across the system.

This commit is contained in:
Oleksandr Bezdieniezhnykh
2026-03-25 05:26:19 +02:00
parent a5fc4fe073
commit 4afa1a4eec
29 changed files with 447 additions and 362 deletions
+3 -2
View File
@@ -109,9 +109,10 @@ class AIConfigDto(BaseModel):
def detection_to_dto(det) -> DetectionDto:
import constants_inf
ann = constants_inf.get_annotations_dict()
label = ""
if det.cls in constants_inf.annotations_dict:
label = constants_inf.annotations_dict[det.cls].name
if det.cls in ann:
label = ann[det.cls].name
return DetectionDto(
centerX=det.x,
centerY=det.y,