Getting 3D coordinates in Python

In my research work, I try to learn neural network to recognise the human activity from video. To improve this task I was wondering if there is any way to get 3D coordinates of each skeleton joint of the animated Mixamo character (like below) from each simulation frame?

Please let me know if there is a Python function to obtain that kind of information.

PoseBone.matrix is the one you want to have. That’s in object space; to get to world space you need at least one more matrix multiplication.