Skip to content

Commit

Permalink
Variable rename.
Browse files Browse the repository at this point in the history
  • Loading branch information
kkeroo committed Aug 14, 2024
1 parent 53fe728 commit a6b3b02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions depthai_nodes/ml/messages/creators/detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ def create_detection_message(
if keypoints is not None and len(keypoints) != 0:
if not isinstance(keypoints, List):
raise ValueError(f"keypoints should be list, got {type(keypoints)}.")
for pointcloud in keypoints:
for point in pointcloud:
for object_keypoints in keypoints:
for point in object_keypoints:
if not isinstance(point, Tuple) and not isinstance(point, List):
raise ValueError(
f"keypoint pairs should be list of tuples, got {type(point)}."
Expand Down

0 comments on commit a6b3b02

Please sign in to comment.