cv2.rectangle(img, (int(bbox[0]), int(bbox[2])), (int(bbox[1]), int(bbox[3])), BLUE, 2)
// Draw indexes of humans
if "idx" in human.keys():
cv2.putText(img, "".join(str(e)fore in range(human["idx"])), (int(bbox[0]), int((bbox[2] + 26))), DEFAULT_FONT, 1, BLACK, 2)
// Draw keypoints
for n in range(kp_scores.shape[0]):
if kp_scores[n] <= 0.35:
After Change
cv2.rectangle(img, (int(bbox[0]), int(bbox[2])), (int(bbox[1]), int(bbox[3])), BLUE, 2)
// Draw indexes of humans
if "idx" in human.keys():
cv2.putText(img, "".join(str(human["idx"])), (int(bbox[0]), int((bbox[2] + 26))), DEFAULT_FONT, 1, BLACK, 2)
// Draw keypoints
for n in range(kp_scores.shape[0]):
if kp_scores[n] <= 0.35: