Skip to content

A Python package for reading trc motion capture file data.

License

Notifications You must be signed in to change notification settings

hsorby/trc-data-reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TRC Data Reader

https://img.shields.io/badge/license-Apache%202-yellow

Python package for reading track row column (trc) motion capture data. TRC data reader captures the motion capture data and puts it into a dict like object.

TRC data reader can read motion capture data from file or from a multi-line string.

For a valid trc file or multi-line data string the following keys will be present (among others):

  • FileName
  • DataFormat
  • Markers
  • DataRate
  • NumFrames
  • NumMarkers

Usage

from trc import TRCData

mocap_data = TRCData()
mocap_data.load('/path/to/file/')

num_frames = mocap_data['NumFrames']

About

A Python package for reading trc motion capture file data.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages