# libmotioncapture **Repository Path**: pengliustd/libmotioncapture ## Basic Information - **Project Name**: libmotioncapture - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-12-05 - **Last Updated**: 2023-12-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [![CI](https://github.com/IMRCLab/libmotioncapture/actions/workflows/CI.yml/badge.svg)](https://github.com/IMRCLab/libmotioncapture/actions/workflows/CI.yml) # libmotioncapture Interface Abstraction for Motion Capture System APIs such as VICON, OptiTrack, Qualisys, Nokov, FZMotion, or VRPN. This can be used as C++ library or Python package. For Python, use ``` pip install motioncapture ``` For C++, follow the instructions below. This is a fork of https://github.com/USC-ACTLab/libmotioncapture/ with the following changes: - Python bindings - Factory method - Refactored API - Support for VRPN by default ## Compile options By default, `libmotioncapture` supports the following hardware: - VICON - SDK git submodule - Qualisys - SDK git submodule - OptiTrack - binary parsing over network (no dependency) - VRPN - SDK git submodule - NOKOV - manually obtain SDK and copy to deps/nokov_sdk/ and copy the .so file to the /lib or /usr/lib. - FZMotion - no dependency - Motion Analysis - manually obtain SDK and copy to deps/cortex_sdk_linux/ CMake flags can be used to disable individual systems in `CMakeLists.txt`. ## Prerequisites ``` sudo apt install libboost-system-dev libboost-thread-dev libeigen3-dev ninja-build ``` ## C++ ``` git submodule init git submodule update mkdir build cd build cmake .. ``` An example application is in `examples/main.cpp`. Run it using ``` ./motioncapture_example ``` ## Python (Development) ``` git submodule init git submodule update python3 setup.py develop --user python3 examples/python.py ```