Update to follow the new tracking data format.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user