going somewhere.

This commit is contained in:
didier committed 2024-11-04 18:50:34 -05:00
1 parent 2c798c8ca5
commit 35c5ab9a32
5 files changed
+51 -8

No files matched your search

+1 -1
View File
@@ -81,7 +81,7 @@ class MP4VVideoWriter(VideoWriter):
self._video_writer.write(frame)
def plot_box_to_frame(self, data: DetectedObject, frame: VideoFrame) -> None:
confidence = float(data.confidence)
confidence = float(data.score)
for threshold in self._thresholds:
if threshold.min_threshold < confidence:
# xmin, ymin, xmax, ymax = self._extract_box(data)