Skip to main content

A package for reading trc motion capture data.

Project description

https://img.shields.io/badge/license-Apache%202-yellow https://badge.fury.io/py/trc-data-reader.svg https://github.com/hsorby/trc-data-reader/workflows/trc-data-reader/badge.svg https://raw.githubusercontent.com/hsorby/badges/master/trc-data-reader/coverage.svg

Python package for reading 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']

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page