deeplabcut.core.crossvalutils
Functions:
| Name | Description |
|---|---|
find_closest_neighbors |
Greedy matching of predicted keypoints to ground truth keypoints. |
find_closest_neighbors
Greedy matching of predicted keypoints to ground truth keypoints.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
ndarray
|
the query keypoints |
required |
|
ndarray
|
the reference keypoints |
required |
|
int
|
The list of k-th nearest neighbors to return. |
3
|
Returns:
| Type | Description |
|---|---|
ndarray
|
an array of shape (len(query), ) containing the index of the closest reference keypoint for each query keypoint |