going somewhere.
This commit is contained in:
1 parent
2c798c8ca5
commit
35c5ab9a32
5 files changed
+51
-8
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user