Is it possible to give form/shape to human stickman with 2D points (coordinates)
I'm able to create a stickman with 2D coordinate json file using Python OpenCV. And also able to create video with multiple position of 2D coordinates files.
Generated Stickman example Image as follows,
I have used line and circle functions to draw above stickman. Example code :
img = np.zeros((512, 512,3), np.uint8)
cv2.line(img,(x1,y1),(x2,y2),(255,191,0),8)
cv2.line(img,(x1,y1),(x3,y3),(255,118,0),8)
...
cv2.circle(img,(x1,y1), 5, (255,0,0), -1)
...
How to give shape/form to this stickman which is created using these 2D coordinates in python or C++? And have to animate the same. We have multiple 2D x,y values of different actions of a human, with these points we have created above stickman. Now, How can we give form/shape with these points?
Any example available for creating form/shape using only 2D x,y coordinate values ?
How to animate using these form/shape with Python or C++ ?