pyomeca / ezc3d

Easy to use C3D reader/writer for C++, Python and Matlab
https://pyomeca.github.io/Documentation/ezc3d/index.html
MIT License
142 stars 44 forks source link

Get labels for each frame from c3d file #272

Closed mfalv closed 1 year ago

mfalv commented 1 year ago

Hi,

How would I be able to extract the labels assigned across all frames from a c3d file using ezc3d?

Thanks.

pariterre commented 1 year ago

Dear @mfalv What do you mean by "across all frames"? Are you referring to names of the markers? If so, they do not change across frames... If so, you can get them in the parameters POINT:LABELS

Cheers

mfalv commented 1 year ago

Thanks @pariterre. I am looking to extract the predicted labels for the markers at each data frame - is this something feasible?

pariterre commented 1 year ago

@mfalv Just to be clear, "labels" are the actual "name" of the markers, for instance "PSIS". I do not understand what it means to have predicted names at each data frame