Freemocap
#SPECIAL INSTRUCTIONS FOR THE /development BRANCH
#Installation
#Python server
- Install
uv - clone the repo
git clone https://github.com/freemocap/freemocap
- Change directory to the repo:
cd freemocap
- Change to the
developmentbranch:git switch development
- Create virtual environment:
uv venv
- Activate virtual environment
- Windows:
.venv/bin/activate - Mac/Linux:
source .venv/bin/activate
- Windows:
- Install dependencies
uv sync— installs skellytracker with NVIDIA GPU acceleration on Windows/Linux, or CPU-only on macOS, automatically- No supported GPU on Windows/Linux? Force the CPU-only build instead:
uv sync --no-default-groups --group cpu
#React GUI
- Install Node.js
- Change directory to the
freemocap-uifoldercd freemocap-ui
- Install dependencies
npm install
#Run the FreeMoCap application in development mode
- Start the Python Server:
python freemocap/__main__.py- The server should start on
http://localhost:8005
- Start the React GUI:
npm run dev- An Electron window should pop up with the FreeMoCap GUI
#Build the FreeMoCap application
(NOTE - This is not necessary for development, and does not handle the Python server yet)
- Change directory to the
freemocap/freemocap-uifoldernpm run build- The build will be in the
freemocap/freemocap-ui/releasesfolder
#STANDARD README CONTINUES BELOW
The FreeMoCap Project
A free-and-open-source, hardware-and-software-agnostic, minimal-cost, research-grade, motion capture system and platform for decentralized scientific research, education, and training
--
#QUICKSTART
#0. Create a a Python 3.9 through 3.11 environment (python3.11 recommended)¶
#1. Install software via pip:
freemocap requires the cuda or cpu extra to be specified — plain pip install freemocap will install without its tracker. Pick one:
pip install freemocap[cuda] # Windows/Linux with an NVIDIA GPU
pip install freemocap[cpu] # macOS, or Windows/Linux without a supported GPU
#2. Launch the GUI by entering the command:
freemocap
#3. A GUI should pop up that looks like this:
#4. Have fun! It might break! Work in Progress lol
#5. Join the Discord and let us know how it went!
#Install/run from source code (i.e. the code in this repo)
This repo's dependencies (skellytracker, skellycam, etc.) are pulled from
private git repos via uv, so conda +
pip install -e . will not work here — use uv instead:
-
Install
uv -
Clone the repository
git clone https://github.com/freemocap/freemocap
- Navigate into the newly cloned/downloaded
freemocapfolder
cd freemocap
- Create a virtual environment
uv venv
- Install dependencies
uv sync
This installs skellytracker with NVIDIA GPU acceleration on Windows/Linux, or
CPU-only on macOS, automatically. If you're on Windows/Linux without a
supported GPU, force the CPU-only build instead:
uv sync --no-default-groups --group cpu
- Launch the Python server
uv run python freemocap/__main__.py
The server starts on http://localhost:8005.
- In a separate terminal, launch the React/Electron GUI (requires Node.js):
cd freemocap-ui
npm install
npm run dev
An Electron window should pop up with the FreeMoCap GUI!
#Documentation
Our documenation is hosted at: https://freemocap.github.io/documentation/index_md.html
That site is built using writerside from this repository: https://github.com/freemocap/documentation
#Contribution Guidelines
Please read our contribution doc: CONTRIBUTING.md
#Related
#Maintainers
#License
This project is licensed under the APGL License - see the LICENSE file for details.
If the AGPL does not work for your needs, we are happy to discuss terms to license this software to you with a different
agreement at a price point that increases exponentially as you
move spiritually away from the AGPL