# C.H.U.M.P Capture Camera Host Utility for Multi-Dimensional Performance Capture https://github.com/user-attachments/assets/0879064c-b4be-44ff-a046-0c368ac4d34e --- ## What is Chumps? Chumps is a DIY, open-source volumetric capture platform and software suite for capturing volumetric video using cameras built upon Raspberry Pi 5, with the IMX 477 HQ Camera. gui Software UI: Check out the Wiki for operations tutorial, or download the manual [here](docs/assets/manual/chumps_usage_manual.pdf)! PXL_20251106_184354093 Chumper Camera in Stereo Configuration **Key Features:** - Automatic Camera Calibration Using Apriltags - Mono, Stereo, and RGB-D Configurations - Per-microsecond synchronization using precision time protocol. - Modular Python code shared between Pi nodes and workstation. - Automatic Dataset Processing into Instant NGP and Postshot Formats. - Pointcloud and Mesh Creation for previews and light-field initialization. --- ## Recommended System Specifications ```text OS: Rocky Linux 9 Python: 3.11 CPU: Intel Core I7 9700K (Or greater) GPU: RTX 3060 System Memory: 32 GB ``` In addition to the host machine, you will need a network switch capable of delivering power over ethernet (POE), we recommend the D-Link DGS-1250-28XMP-6KV. diagram --- ## Repository Structure ```text common/ # Shared Python modules (platform-agnostic) pi/ # Pi-side camera app, config, and tests workstation/ # Host-side control, GUI/CLI, and tests STL/ # 3D-printed enclosure parts simulated-footage/ # Example/test assets .devcontainer/ # VS Code devcontainers for simulation _Notes/ # Working notes and design docs _Attic/ # Historical experiments/tools (reference only) CHANGELOG.md # Project changelog TODO.md # Task list and roadmap README.md # This file ``` Runtime-only folders (see `.gitignore`): `outputs/`, `artifacts/`, `secrets/`, `workstation/http-boot/`. --- ## Quick Start **Imaging a Camera Node:** 1. Place SSH keys in `pi/config/secrets/` 2. Run: `sudo ./pi/config/mk-sd-card.sh /dev/sdX ` 3. Insert SD card, power on Pi 4. SD card runs: firstboot → firstrun → bootstrap 5. After third reboot, SSD is provisioned, SD can be removed 6. Boot from SSD for full operation **Workstation Tools:** - See `workstation/README.md` and `workstation/camera_host/README.md` **Simulation/Devcontainers:** - Open repo in VS Code, “Reopen in Container” (uses `.devcontainer/`) --- ## Boot Flow **SD Boot:** - Expands filesystem - Sets up user, SSH, hostname - Provisions SSD, copies assets **SSD Boot:** - Repeats user setup - Installs packages, clones repo, configures services See `pi/config/README.md` for full details and troubleshooting. --- # Workstation Setup ## Clone the Repository ```bash git clone https://github.com/ritmps/chumps.git ``` Create a virtual environment using Python 3.11: ```bash cd chumps python3.11 -m venv venv311 ``` Activate the virtual enviroment ```bash source venv311/bin/activate ``` Install requirements ```bash pip install -r requirements.txt ``` --- ## Configure PTP Clock Install the Linux PTP package: ```bash sudo dnf install linuxptp ``` Create the configuration directory: ```bash sudo mkdir -p /etc/linuxptp ``` Copy the PTP configuration files: ```bash cd chumps/workstation/linuxptp sudo cp ptp4l-master.conf /etc/linuxptp/ sudo cp ptp4l-master.service /etc/systemd/system/ ``` Enable and start the PTP service: ```bash sudo systemctl enable ptp4l-master sudo systemctl start ptp4l-master ``` Verify the service is running: ```bash sudo systemctl status ptp4l-master ``` --- ## Configure Network Drives Install NFS utilities: ```bash sudo dnf install nfs-utils ``` Create a mount point for each camera: ```bash sudo mkdir -p /mnt/cam_01 ``` Add the NFS share to `/etc/fstab`: ```text camera001.local:/home/chump/chumps/outputs /mnt/cam_01 nfs _netdev,nofail,x-systemd.automount,x-systemd.idle-timeout=60,soft,timeo=14,retrans=2 0 0 ``` Apply the mounts: ```bash sudo mount -a ``` Verify the mount: ```bash mount | grep cam_01 ``` # Hardware Reference See [Camera Build Tutorial.pdf](Camera%20Build%20Tutorial.pdf) for help with camera assembly. In addition to the parts below, you must 3D print the enclosure, the .STL files for 3D printing can be found [Here](hardware/STL). We recommend the base "mono" configuration for quality and reliability. ## Parts List - [Raspberry Pi HQ Camera 25*24mm Camera Board](https://a.co/d/iJumjO4) - [RPI 5 PoE Shield](https://a.co/d/jkeVG6C) - [Raspberry Pi 5 (4 GB)](https://a.co/d/askEfkF) - [2230 NVMe SSDs](https://www.raspberrypi.com/products/ssd/) - [2230 SSD Heat Sink](https://a.co/d/0dhwToL9) - [3v Blue LEDs](https://a.co/d/02IXKsTk) - [Female-to-Female Jumper Cables](https://a.co/d/068DVj0x) - [M2.5 Screws](https://a.co/d/05aWQvAX) - [M2 Screws](https://a.co/d/0ay1doWa) - [0.96" OLED Mini Displays](https://a.co/d/04Fpormw) # Apriltag Setup For automatic calibration, you must fill your capture space with Apriltags like below, these can be printed on standard paper, and generated at: https://shiqiliu-67.github.io/apriltag-generator/ PXL_20260305_181415738 ## License This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.