MCPcopy Create free account
hub / github.com/UVA-Computer-Vision-Lab/FrameINO / euclidean_distance

Function euclidean_distance

evaluation/evaluate_INO_Traj.py:22–26  ·  view source on GitHub ↗
(point1, point2)

Source from the content-addressed store, hash-verified

20
21
22def euclidean_distance(point1, point2):
23 x1, y1 = point1
24 x2, y2 = point2
25 distance = math.sqrt((x2 - x1)**2 + (y2 - y1)**2)
26 return distance
27
28
29def visualize_track(frames, pred_tracks, instance_idx, dot_radius_resize = 6):

Callers 1

INO_Traj_evaluationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected