update openpose_gen
This commit is contained in:
parent
f6bb2ef081
commit
353e7c1566
|
@ -93,7 +93,7 @@ def save_bodypose(width: int, height: int, coordinates: list):
|
|||
canvas = draw_bodypose(canvas, keypoints, skel.coco_limbSeq, skel.coco_colors)
|
||||
|
||||
# Save as body_pose_output0000.png, body_pose_output0001.png, ...
|
||||
cv2.imwrite('body_pose_output%04d.png' % save_bodypose.counter, canvas)
|
||||
cv2.imwrite('output/body_pose_output%04d.png' % save_bodypose.counter, canvas)
|
||||
save_bodypose.counter += 1 # Increment the counter
|
||||
|
||||
def main():
|
||||
|
|
Loading…
Reference in New Issue