Skip to content

Commit af56295

Browse files
committed
correct docstring to match parameter order as per documentation.
1 parent 3f55c30 commit af56295

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

supervision/keypoint/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ class simplifies data manipulation and filtering, providing a uniform API for
9191
xy (np.ndarray): An array of shape `(n, m, 2)` containing
9292
`n` detected objects, each composed of `m` equally-sized
9393
sets of keypoints, where each point is `[x, y]`.
94-
confidence (Optional[np.ndarray]): An array of shape
95-
`(n, m)` containing the confidence scores of each keypoint.
9694
class_id (Optional[np.ndarray]): An array of shape
9795
`(n,)` containing the class ids of the detected objects.
96+
confidence (Optional[np.ndarray]): An array of shape
97+
`(n, m)` containing the confidence scores of each keypoint.
9898
data (Dict[str, Union[np.ndarray, List]]): A dictionary containing additional
9999
data where each key is a string representing the data type, and the value
100100
is either a NumPy array or a list of corresponding data of length `n`

0 commit comments

Comments
 (0)