phase 7
This commit is contained in:
@@ -9,7 +9,7 @@ from __future__ import annotations
|
||||
|
||||
from typing import TypedDict
|
||||
|
||||
from detect.models import BrandDetection, DetectionReport, Frame, PipelineStats
|
||||
from detect.models import BoundingBox, BrandDetection, DetectionReport, Frame, PipelineStats, TextCandidate
|
||||
|
||||
|
||||
class DetectState(TypedDict, total=False):
|
||||
@@ -21,6 +21,9 @@ class DetectState(TypedDict, total=False):
|
||||
# Stage outputs
|
||||
frames: list[Frame]
|
||||
filtered_frames: list[Frame]
|
||||
boxes_by_frame: dict[int, list[BoundingBox]]
|
||||
text_candidates: list[TextCandidate]
|
||||
unresolved_candidates: list[TextCandidate]
|
||||
detections: list[BrandDetection]
|
||||
report: DetectionReport
|
||||
|
||||
|
||||
Reference in New Issue
Block a user