Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FoundationVision/ByteTrack
/ _nn_cosine_distance
Function
_nn_cosine_distance
yolox/deepsort_tracker/deepsort.py:20–22 ·
view source on GitHub ↗
(x, y)
Source
from the content-addressed store, hash-verified
18
19
20
def
_nn_cosine_distance(x, y):
21
distances = _cosine_distance(x, y)
22
return
distances.min(axis=0)
23
24
25
class
Tracker:
Callers
nothing calls this directly
Calls
1
_cosine_distance
Function · 0.85
Tested by
no test coverage detected