Skip to content

Commit 032be19

Browse files
committed
Fix: add buffer of 1.5 sec for last segment of jobs to improve accuracy
1 parent 8147314 commit 032be19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cvat/apps/quality_control/quality_reports.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2214,7 +2214,7 @@ def _match_annotations(self, ds_annotations, gt_annotations):
22142214
ds_annotations = [
22152215
ds_ann
22162216
for ds_ann in ds_annotations
2217-
if ds_ann["points"][3] <= self._job_duration
2217+
if ds_ann["points"][3] <= (self._job_duration + 1.5) # extra one and half second for the last segment
22182218
]
22192219

22202220
matches = []

0 commit comments

Comments
 (0)