Skip to content

Commit c48e642

Browse files
authored
Merge pull request #461 from superannotateai/friday
fixing interpolation for event type
2 parents 6d5a75b + 81163e5 commit c48e642

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/superannotate/lib/core/video_convertor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def _interpolate(
7676
"x": round(data["x"] + steps["x"] * idx, 2),
7777
"y": round(data["y"] + steps["y"] * idx, 2),
7878
}
79-
else:
79+
elif annotation_type != AnnotationTypes.EVENT:
8080
tmp_data["points"] = data["points"]
8181

8282
annotations[frame_idx] = Annotation(

0 commit comments

Comments
 (0)