Skip to content

The camera back-end for the `freemocap` project - or - An easy and efficient way to connect to one or more cameras and record synchronized videos💀📸

License

Notifications You must be signed in to change notification settings

freemocap/skellycam

Repository files navigation

SPECIAL INSTRUCTIONS FOR THE jon/development BRANCH

Installation

Python Fastapi/Uvicorn server

  1. Install uv
  2. clone the repo
    • git clone https://github.com/freemocap/skellycam
  3. Change directory to the repo:
    • cd skellycam
  4. Change to the jon/development branch:
    • git switch jon/development
  5. Create virtual environment:
    • uv venv
  6. Activate virtual environment
    • Windows: .venv/bin/activate
    • Mac/Linux: source .venv/bin/activate
  7. Install dependencies
  • uv sync
Linux only (?)

You need to install clang and portaudio to get the audio recording stuff to work.

sudo apt update
sudo apt install clang
sudo apt install portaudio19-dev

React/Electron UI

Pre-requisites

Installation

  1. Change to the skellycam-ui directory
  • cd skellycam-ui
  • npm install

Running the UI in development mode

  • npm run dev

Run the SkellyCam application (FastAPI/Uvicorn server)

    • python skellycam/__main__.py
    • The server should start on http://localhost:8006

Build installer

  1. cd skellycam-ui
  2. Build Python installer with Nuitka
  • ..\installers\nuitka_scripts\nuitka_installer_windows.bat
    • NOTE - Mac and Linux installer scripts should presumably work without much effort, but haven't don't that yet
  • This step can take up to an hour and results in an executable called skellycam_server[.exe] in the skellycam-ui/ folder
  1. Build electron app (which bundles the python server executable from the previous step
    • set SHOULD_LAUNCH_PYTHON: true in skellycam-ui/electron/main/helpers/app-environment.ts
    • npm install
    • npm run build

If all went well, the installer will be in /skellycam-ui/releases/[version-number]/skellycam_[version-number]_installer[.exe]!


STANDARD README CONTINUES BELOW




SkellyCam Logo

SkellyCam

The camera backend for the FreeMoCap Project 💀📸

Latest Release AGPLv3+ Contributions Welcome https://img.shields.io/badge/code%20style-black-000000.svg


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

About

The camera back-end for the `freemocap` project - or - An easy and efficient way to connect to one or more cameras and record synchronized videos💀📸

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 5