-
Function Call:
- Call the
showSingleFramefunction with the desired frame number.
showSingleFrame(frame_no)
- Call the
-
Optional Parameters:
- Optionally, you can customize the display:
- Set
translationtoFalseto disable joint translation. - Set
single_frametoTrueif you want to display only the specified frame.
- Set
showSingleFrame(frame_no, translation=False, single_frame=True)
- Optionally, you can customize the display:
-
Visualization:
- The function will visualize the specified frame in a 3D plot, highlighting joint positions and bone connections.
-
Interactivity:
- Interact with the plot to explore the 3D representation of the skeleton.
- Close the plot window to proceed with further analysis or visualization.
Example:
# Display single frame number 120 without translation
showSingleFrame(120, translation=False, single_frame=True)To visualize a range of frames using the showFrameRange function:
-
Function Call:
- Call the
showFrameRangefunction with the starting and ending frame numbers.
showFrameRange(frame_start, frame_end)
- Call the
-
Optional Parameters:
- Optionally, you can customize the display:
- Set
translationtoFalseto disable joint translation.
- Set
showFrameRange(frame_start, frame_end, translation=False)
- Optionally, you can customize the display:
-
Visualization:
- The function will iterate through the specified frame range, displaying each frame's 3D representation.
- Observe joint movements and connections throughout the specified range.
-
Interactivity:
- Interact with the plots to explore the evolving skeleton positions.
- Close the plot window to proceed with further analysis or visualization.
Example:
# Display frames from 20 to 50 with joint translation enabled
showFrameRange(20, 50, translation=True)This function provides an interactive way to observe the sequence of frames and analyze the dynamics of the skeleton movements within the specified range.