Skip to content

Commit 81163e5

Browse files
committed
fixing interpolation for event type
1 parent 050cb2a commit 81163e5

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)