/paf-python-example

Example for using Python with the QTM Project Automation Framework

Primary LanguagePythonMIT LicenseMIT

Qualisys PAF – Python example

Getting started

To download this example project to your computer, you can either:

  • Click here to download it as a zip file.
    — or —
  • Clone this repository to your computer.

Preparing Qualisys data for Python processing

  1. Install Miniconda for Windows https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe
  2. Run the installer and when prompted add Anaconda to your PATH environment variable
  3. Open a command line prompt and enter the following:
    1. conda create -n python-example python=3.9
    2. conda activate python-example
    3. conda install -c conda-forge ezc3d (c3d parsing library, see https://github.com/pyomeca/ezc3d)
    4. conda install -c anaconda lxml (xml parsing library)
  4. Open QTM and make sure that the path to Command Prompt is set in Project Options\Miscellaneous\Folder Options (the path is usually C:\Windows\System32\cmd.exe)
  5. Click on Start Processing to automatically export c3d files, read the c3d files content and export some data into output.xml file.

Resources for using the Qualisys Project Automation Framework (PAF)

The purpose of the Project Automation Framework (PAF) is to streamline the motion capture process from data collection to the final report. This repository contains an example project that illustrate how PAF can be used to implement custom automated data collection in Qualisys Track Manager (QTM), and how QTM can be connected to a processing engine.

PAF Documentation

The full documentation for PAF development is available here: PAF Documentation.

PAF Examples

Our official examples for various processing engines:

As of QTM version 2.17, the official Qualisys PAF examples can be used without any additional license. Note that some more advanced analysis types require a license for the "PAF Framework Developer kit" (Article number 150300).