From 5c23d769f299b39963718e067921adc1f232b6c7 Mon Sep 17 00:00:00 2001 From: s9roll7 Date: Wed, 4 Jun 2025 19:55:18 +0900 Subject: [PATCH] Update to follow the new tracking data format. --- cotracker_node.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cotracker_node.py b/cotracker_node.py index 2f95cb2..ca72b9f 100644 --- a/cotracker_node.py +++ b/cotracker_node.py @@ -406,6 +406,7 @@ class CoTrackerNode: if frame_idx < images_np.shape[0]: cv2.circle(images_np[frame_idx], (int(x), int(y)), marker_radius, marker_color, marker_thickness) + point_track = [point_track] point_results += [json.dumps(point_track)] return point_results, images_np