Skip to content

Free Motion Capture for Everyone πŸ’€βœ¨

TypeScript

Skellytracker rewrite (#810)

philipqueen6d4884d6b068
diff --git a/.github/workflows/build-installers-pyinstaller.yml b/.github/workflows/build-installers-pyinstaller.yml
index 3e9b2a83..2c82e14c 100644
--- a/.github/workflows/build-installers-pyinstaller.yml
+++ b/.github/workflows/build-installers-pyinstaller.yml
@@ -21,16 +21,31 @@ jobs:
fail-fast: false
matrix:
include:
+ # Windows/Linux x64 ship both a CUDA (GPU-accelerated) and a CPU-only
+ # variant β€” same OS/arch, different onnxruntime backend, selected via
+ # `uv sync --extra ${{ matrix.variant }}` and FREEMOCAP_BUILD_VARIANT.
+ # macOS and Linux arm64 only ever build the CPU variant: macOS has no
+ # CUDA path, and NVIDIA's PyPI CUDA wheels used here are x86_64-only.
- os: windows-latest
platform: windows
arch: x64
- label: windows-x64
+ variant: cuda
+ label: windows-x64-cuda
+ server-binary: freemocap_server.exe
+ electron-arch: x64
+
+ - os: windows-latest
+ platform: windows
+ arch: x64
+ variant: cpu
+ label: windows-x64-cpu
server-binary: freemocap_server.exe
electron-arch: x64
- os: macos-15-intel
platform: macos
arch: x64
+ variant: cpu
label: macos-x64-intel
server-binary: freemocap_server
electron-arch: x64
@@ -38,6 +53,7 @@ jobs:
- os: macos-latest
platform: macos
arch: arm64
+ variant: cpu
label: macos-arm64-apple-silicon
server-binary: freemocap_server
electron-arch: arm64
@@ -45,13 +61,23 @@ jobs:
- os: ubuntu-22.04
platform: linux
arch: x64
- label: linux-x64
+ variant: cuda
+ label: linux-x64-cuda
+ server-binary: freemocap_server
+ electron-arch: x64
+
+ - os: ubuntu-22.04
+ platform: linux
+ arch: x64
+ variant: cpu
+ label: linux-x64-cpu
server-binary: freemocap_server
electron-arch: x64
- os: ubuntu-22.04-arm
platform: linux
arch: arm64
+ variant: cpu
label: linux-arm64
server-binary: freemocap_server
electron-arch: arm64
@@ -70,7 +96,6 @@ jobs:
if (-not "${{ secrets.AZURE_CLIENT_ID }}") { $missingSecrets += "AZURE_CLIENT_ID" }
if (-not "${{ secrets.AZURE_CLIENT_SECRET }}") { $missingSecrets += "AZURE_CLIENT_SECRET" }
if (-not "freemocap") { $missingSecrets += "TRUSTED_SIGNING_ACCOUNT_NAME" }
- if (-nfreemocap
if ($missingSecrets.Count -gt 0) {
Write-Error "Missing required secrets for code signing: $($missingSecrets -join ', ')"
@@ -173,7 +198,7 @@ jobs:
run: uv venv
- name: Install the project dependencies
- run: uv sync
+ run: uv sync --no-default-groups --group ${{ matrix.variant }}
- name: Verify installation 1/3
run: uv pip show freemocap
@@ -205,21 +230,26 @@ jobs:
# ── PyInstaller build ──
- name: Build with PyInstaller
+ env:
+ FREEMOCAP_BUILD_VARIANT: ${{ matrix.variant }}
run: |
uv pip install pyinstaller
uv run pyinstaller ./freemocap.spec --clean
# ── Move server binary into freemocap-ui/ ──
+ # PyInstaller onedir output is a directory (dist/freemocap_server/) containing
+ # the exe plus its _internal/ support files β€” always named "freemocap_server"
+ # regardless of platform (the .exe extension only applies to the exe inside it).
- name: Move server binary into freemocap-ui (Windows)
if: matrix.platform == 'windows'
run: |
- Move-Item -Path ".\dist\${{ matrix.server-binary }}" -Destination ".\freemocap-ui\${{ matrix.server-binary }}"
+ Move-Item -Path ".\dist\freemocap_server" -Destination ".\freemocap-ui\freemocap_server"
- name: Move server binary into freemocap-ui (macOS/Linux)
if: matrix.platform != 'windows'
run: |
- mv "./dist/${{ matrix.server-binary }}" "./freemocap-ui/${{ matrix.server-binary }}"
- chmod +x "./freemocap-ui/${{ matrix.server-binary }}"
+ mv "./dist/freemocap_server" "./freemocap-ui/freemocap_server"
+ chmod +x "./freemocap-ui/freemocap_server/${{ matrix.server-binary }}"
# ── Windows code signing (server binary) ──
- name: Sign freemocap_server.exe with Trusted Signing
@@ -232,20 +262,27 @@ jobs:
endpoint: https://eus.codesigning.azure.net/
trusted-signing-account-name: freemocap
certificate-profile-name: freemocap
- files: ${{ github.workspace }}\freemocap-ui\freemocap_server.exe
+ files: ${{ github.workspace }}\freemocap-ui\freemocap_server\${{ matrix.server-binary }}
file-digest: SHA256
timestamp-rfc3161: http://timestamp.acs.microsoft.com
timestamp-digest: SHA256
# ── macOS code signing (server binary) ──
+ # Onedir ships many loose .dylib/.so files under _internal/ that notarization
+ # also requires to be signed, not just the main executable.
- name: Sign freemocap_server with codesign
if: matrix.platform == 'macos'
run: |
+ echo "Signing nested binaries in freemocap_server/_internal..."
+ find "./freemocap-ui/freemocap_server/_internal" -type f \( -name "*.dylib" -o -name "*.so" \) -exec \
+ codesign --force --options runtime --sign "Developer ID Application" --timestamp {} \;
+
+ echo "Signing main executable..."
codesign --force --options runtime --sign "Developer ID Application" \
--timestamp \
- "./freemocap-ui/${{ matrix.server-binary }}"
- codesign --verify --verbose "./freemocap-ui/${{ matrix.server-binary }}"
+ "./freemocap-ui/freemocap_server/${{ matrix.server-binary }}"
+ codesign --verify --deep --verbose "./freemocap-ui/freemocap_server"
echo "Server binary signed and verified successfully"
# ── Upload server-only artifact ──
- name: Upload server binary artifact
@@ -253,7 +290,7 @@ jobs:
with:
name: server-${{ matrix.label }}
path: |
- freemocap-ui/${{ matrix.server-binary }}
+ freemocap-ui/freemocap_server/
include-hidden-files: true
# ── Electron build ──
@@ -261,19 +298,28 @@ jobs:
# ── Validate server binary exists and is executable ──
- name: Validate server binary present and executable
run: |
- echo "Checking for server binary at ./freemocap-ui/${{ matrix.server-binary }}"
- if [ ! -f "./freemocap-ui/${{ matrix.server-binary }}" ]; then
- echo "::error::Server binary not found: ./freemocap-ui/${{ matrix.server-binary }}"
+ echo "Checking for server binary at ./freemocap-ui/freemocap_server/${{ matrix.server-binary }}"
+ if [ ! -d "./freemocap-ui/freemocap_server" ] || [ ! -f "./freemocap-ui/freemocap_server/${{ matrix.server-binary }}" ]; then
+ echo "::error::Server binary not found: ./freemocap-ui/freemocap_server/${{ matrix.server-binary }}"
ls -la ./freemocap-ui || true
exit 1
fi
+
+ # The launcher loads everything from its sibling _internal/ directory,
+ # so its absence means the onedir tree was moved or collected wrong.
+ if [ ! -d "./freemocap-ui/freemocap_server/_internal" ]; then
+ echo "::error::Missing _internal/ next to the server launcher"
+ ls -la ./freemocap-ui/freemocap_server
+ exit 1
+ fi
+
echo "Found server binary:"
- ls -la "./freemocap-ui/${{ matrix.server-binary }}"
+ ls -la "./freemocap-ui/freemocap_server/${{ matrix.server-binary }}"
# On Unix-like, ensure executable bit is set
if [ "${{ matrix.platform }}" != "windows" ]; then
- if [ ! -x "./freemocap-ui/${{ matrix.server-binary }}" ]; then
+ if [ ! -x "./freemocap-ui/freemocap_server/${{ matrix.server-binary }}" ]; then
echo "Server binary is not executable, setting +x"
- chmod +x "./freemocap-ui/${{ matrix.server-binary }}" || true
+ chmod +x "./freemocap-ui/freemocap_server/${{ matrix.server-binary }}" || true
fi
fi
@@ -364,8 +410,11 @@ jobs:
include-hidden-files: true
# ── Upload auto-update metadata (latest*.yml) ──
+ # electron-updater supports only one update channel per platform/arch, so
+ # the CUDA variant is treated as the auto-update channel; CPU-variant
+ # users get new installers manually via the release page.
- name: Upload auto-update metadata (Windows)
- if: matrix.platform == 'windows'
+ if: matrix.platform == 'windows' && matrix.variant == 'cuda'
uses: actions/upload-artifact@v7
with:
name: update-metadata-${{ matrix.label }}
@@ -392,7 +441,7 @@ jobs:
include-hidden-files: true
- name: Upload auto-update metadata (Linux)
- if: matrix.platform == 'linux' && matrix.arch == 'x64'
+ if: matrix.platform == 'linux' && matrix.arch == 'x64' && matrix.variant == 'cuda'
uses: actions/upload-artifact@v7
with:
name: update-metadata-${{ matrix.label }}
@@ -442,25 +491,32 @@ jobs:
# ── Server binaries ──
# Artifact directories are named server-<label>, e.g.:
- # server-windows-x64, server-macos-x64-intel,
- # server-macos-arm64-apple-silicon, server-linux-x64, server-linux-arm64
+ # server-windows-x64-cuda, server-windows-x64-cpu, server-macos-x64-intel,
+ # server-macos-arm64-apple-silicon, server-linux-x64-cuda,
+ # server-linux-x64-cpu, server-linux-arm64
# Strip the "server-" prefix to get the human-readable suffix.
+ # Each artifact is a PyInstaller onedir folder (exe + _internal/ support
+ # files), so it's zipped into a single release asset rather than copied.
for dir in artifacts/server-*; do
label=$(basename "$dir" | sed 's/^server-//')
if [ -f "$dir/freemocap_server.exe" ]; then
- cp "$dir/freemocap_server.exe" "release-assets/freemocap_server_${VERSION}_${label}.exe"
+ exe_name="freemocap_server.exe"
elif [ -f "$dir/freemocap_server" ]; then
- cp "$dir/freemocap_server" "release-assets/freemocap_server_${VERSION}_${label}"
+ exe_name="freemocap_server"
else
echo "::error::No server binary found in $dir"
exit 1
fi
+
+ chmod +x "$dir/$exe_name" || true
+ (cd "$dir" && zip -r -q -X "$OLDPWD/release-assets/freemocap_server_${VERSION}_${label}.zip" .)
done
# ── App installers ──
# Artifact directories are named installer-<label>, e.g.:
- # installer-windows-x64, installer-macos-x64-intel, etc.
+ # installer-windows-x64-cuda, installer-windows-x64-cpu,
+ # installer-macos-x64-intel, etc.
# Electron-builder names only contain the arch (x64/arm64),
# so we rename each file to: freemocap_<VERSION>_<label>.<ext>
for dir in artifacts/installer-*; do
@@ -488,12 +544,13 @@ jobs:
# Copy latest.yml files from update-metadata artifacts and patch
# the file references to match the renamed release asset names.
- # Windows: latest.yml
- if [ -d "artifacts/update-metadata-windows-x64" ]; then
- YML=$(find artifacts/update-metadata-windows-x64 -name 'latest.yml' | head -1)
+ # Windows: latest.yml (CUDA variant is the auto-update channel β€” see
+ # the "Upload auto-update metadata" step comment in the build job)
+ if [ -d "artifacts/update-metadata-windows-x64-cuda" ]; then
+ YML=$(find artifacts/update-metadata-windows-x64-cuda -name 'latest.yml' | head -1)
if [ -n "$YML" ]; then
# Replace the original artifact filename with the renamed one
- sed -i "s|freemocap_.*_installer\.exe|freemocap_${VERSION}_windows-x64.exe|g" "$YML"
+ sed -i "s|freemocap_.*_installer\.exe|freemocap_${VERSION}_windows-x64-cuda.exe|g" "$YML"
cp "$YML" "release-assets/latest.yml"
echo "Copied latest.yml for Windows"
fi
@@ -515,11 +572,11 @@ jobs:
echo "Copied latest-mac.yml for macOS"
fi
- # Linux: latest-linux.yml
- if [ -d "artifacts/update-metadata-linux-x64" ]; then
- YML=$(find artifacts/update-metadata-linux-x64 -name 'latest-linux.yml' | head -1)
+ # Linux: latest-linux.yml (CUDA variant is the auto-update channel)
+ if [ -d "artifacts/update-metadata-linux-x64-cuda" ]; then
+ YML=$(find artifacts/update-metadata-linux-x64-cuda -name 'latest-linux.yml' | head -1)
if [ -n "$YML" ]; then
- sed -i "s|freemocap_.*\.AppImage|freemocap_${VERSION}_linux-x64.AppImage|g" "$YML"
+ sed -i "s|freemocap_.*\.AppImage|freemocap_${VERSION}_linux-x64-cuda.AppImage|g" "$YML"
cp "$YML" "release-assets/latest-linux.yml"
echo "Copied latest-linux.yml for Linux"
fi
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index ec9f7f1f..a9396f48 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -15,6 +15,7 @@ jobs:
backend-tests:
name: Backend Tests (Python ${{ matrix.python-version }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
+ timeout-minutes: 25
strategy:
fail-fast: true
matrix:
@@ -26,8 +27,6 @@ jobs:
python-version: "3.11"
- os: macos-latest
python-version: "3.11"
- - os: ubuntu-latest
- python-version: "3.10"
- os: ubuntu-latest
python-version: "3.12"
@@ -47,18 +46,19 @@ jobs:
run: uv sync --group dev
- name: Run linter (ruff)
- run: uv run ruff check skellycam/
+ run: uv run ruff check freemocap/
- name: Run tests
- run: uv run pytest skellycam/tests/ -v --tb=short
+ run: uv run pytest freemocap/tests/ -v --tb=short --timeout=300 --timeout-method=thread
frontend-typecheck:
name: Frontend Typecheck
runs-on: ubuntu-latest
+ timeout-minutes: 10
defaults:
run:
- working-directory: skellycam-ui
+ working-directory: freemocap-ui
steps:
- uses: actions/checkout@v4
@@ -68,7 +68,7 @@ jobs:
with:
node-version: 20
cache: npm
- cache-dependency-path: skellycam-ui/package-lock.json
+ cache-dependency-path: freemocap-ui/package-lock.json
- name: Install dependencies
run: npm ci --ignore-scripts
diff --git a/README.md b/README.md
index c56cbac1..707eee3d 100644
--- a/README.md
+++ b/README.md
@@ -17,8 +17,8 @@
- Windows: `.venv/bin/activate`
- Mac/Linux: `source .venv/bin/activate`
6. Install dependencies
- - `uv sync`
- -
+ - `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
0. Install Node.js
- https://nodejs.org/en/download/
@@ -103,8 +103,14 @@ https://user-images.githubusercontent.com/15314521/192062522-2a8d9305-f181-4869-
#### 0. Create a a Python 3.9 through 3.11 environment (python3.11 recommended)ΒΆ
#### 1. Install software via [pip](https://pypi.org/project/freemocap/#description):
+`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
+pip install freemocap[cpu] # macOS, or Windows/Linux without a supported GPU
```
#### 2. Launch the GUI by entering the command:
@@ -126,45 +132,63 @@ freemocap
___
## Install/run from source code (i.e. the code in this repo)
-Open an [Anaconda-enabled command prompt](https://www.anaconda.org) (or your preferred method of environmnet management) and enter the following commands:
+This repo's dependencies (`skellytracker`, `skellycam`, etc.) are pulled from
+private git repos via [`uv`](https://github.com/astral-sh/uv), so `conda` +
+`pip install -e .` will not work here β€” use `uv` instead:
-1) Create a `Python` environment (Recommended version is `python3.11`)
+1) Install `uv`
+ - https://github.com/astral-sh/uv?tab=readme-ov-file#installation
+
+2) Clone the repository
```bash
-conda create -n freemocap-env python=3.11
+git clone https://github.com/freemocap/freemocap
```
-2) Activate that newly created environment
+3) Navigate into the newly cloned/downloaded `freemocap` folder
```bash
-conda activate freemocap-env
+cd freemocap
```
-3) Clone the repository
+4) Create a virtual environment
```bash
-git clone https://github.com/freemocap/freemocap
+uv venv
```
-4) Navigate into the newly cloned/downloaded `freemocap` folder
+5) Install dependencies
```bash
-cd freemocap
+uv sync
```
-5) Install the package via the `pyproject.toml` file
+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:
```bash
-pip install -e .
+uv sync --no-default-groups --group cpu
```
-6) Launch the GUI (via the `freemocap.__main__.py` entry point)
+6) Launch the Python server
+
+```bash
+uv run python freemocap/__main__.py
+```
+
+The server starts on `http://localhost:8005`.
+
+7) In a separate terminal, launch the React/Electron GUI (requires
+ [Node.js](https://nodejs.org/en/download/)):
```bash
-python -m freemocap
+cd freemocap-ui
+npm install
+npm run dev
```
-A GUI should pop up!
+An Electron window should pop up with the FreeMoCap GUI!
___
diff --git a/freemocap-ui/electron-builder.json b/freemocap-ui/electron-builder.json
index 1b47e8a1..3f4a8e7c 100644
--- a/freemocap-ui/electron-builder.json
+++ b/freemocap-ui/electron-builder.json
@@ -1,19 +1,19 @@
{
"appId": "freemocap.app",
- "productName": "freemocap",
+ "productName": "FreeMoCap",
"directories": {
"output": "release/${version}"
},
"files": [
"dist-electron",
"dist",
- "freemocap_server*",
+ "freemocap_server/**",
"../shared/freemocap-logo/freemocap-favicon.ico",
"../shared/freemocap-logo/freemocap-logo.png"
],
"asar": true,
"asarUnpack": [
- "**/freemocap_server*",
+ "**/freemocap_server/**",
"**/freemocap-logo.png"
],
"compression": "normal",
@@ -21,6 +21,10 @@
"win": {
"icon": "../shared/freemocap-logo/freemocap-favicon.ico",
"target": [
+ {
+ "target": "nsis",
+ "arch": ["x64"]
+ },
{
"target": "zip",
"arch": ["x64"]
diff --git a/freemocap-ui/electron/main/api.ts b/freemocap-ui/electron/main/api.ts
index 5f244dc2..86a0b5ee 100644
--- a/freemocap-ui/electron/main/api.ts
+++ b/freemocap-ui/electron/main/api.ts
@@ -9,8 +9,8 @@ import {app, dialog, shell} from 'electron';
import pkg from 'electron-updater';
import path from 'node:path';
import fs from 'node:fs';
-import os from 'node:os';
import {APP_PATHS} from './app-paths';
+import {getBaseDataFolder, setBaseDataFolder, resetBaseDataFolder} from './base-folder';
const { autoUpdater } = pkg;
@@ -72,29 +72,33 @@ function findCameraCalibrationToml(dirPath: string): string | null {
}
}
-const LAST_SUCCESSFUL_CALIBRATION_PATH = path.join(
- os.homedir(), 'freemocap_data', 'calibrations', 'last_successful_camera_calibration.toml'
-);
+function getLastSuccessfulCalibrationPath(): string {
+ return path.join(getBaseDataFolder(), 'calibrations', 'last_successful_camera_calibration.toml');
+}
function findLastSuccessfulCalibrationToml(): string | null {
try {
- return fs.existsSync(LAST_SUCCESSFUL_CALIBRATION_PATH) ? LAST_SUCCESSFUL_CALIBRATION_PATH : null;
+ const calibrationPath = getLastSuccessfulCalibrationPath();
+ return fs.existsSync(calibrationPath) ? calibrationPath : null;
} catch {
return null;
}
}
-// Telemetry config lives in ~/freemocap_data/telemetry_config.json
-const TELEMETRY_CONFIG_PATH = path.join(os.homedir(), 'freemocap_data', 'telemetry_config.json');
+// Telemetry config lives inside the base data folder (default ~/freemocap_data/telemetry_config.json)
+function getTelemetryConfigPath(): string {
+ return path.join(getBaseDataFolder(), 'telemetry_config.json');
+}
interface TelemetryConfig {
telemetry_enabled: boolean;
}
function readTelemetryConfig(): TelemetryConfig {
+ const configPath = getTelemetryConfigPath();
try {
- if (fs.existsSync(TELEMETRY_CONFIG_PATH)) {
- const raw = fs.readFileSync(TELEMETRY_CONFIG_PATH, 'utf-8');
+ if (fs.existsSync(configPath)) {
+ const raw = fs.readFileSync(configPath, 'utf-8');
const parsed = JSON.parse(raw);
return { telemetry_enabled: Boolean(parsed.telemetry_enabled) };
}
@@ -106,11 +110,25 @@ function readTelemetryConfig(): TelemetryConfig {
}
function writeTelemetryConfig(config: TelemetryConfig): void {
- const dir = path.dirname(TELEMETRY_CONFIG_PATH);
+ const configPath = getTelemetryConfigPath();
+ const dir = path.dirname(configPath);
if (!fs.existsSync(dir)) {
fs.mkdirSync(dir, { recursive: true });
}
- fs.writeFileSync(TELEMETRY_CONFIG_PATH, JSON.stringify(config, null, 2) + '\n');
+ fs.writeFileSync(configPath, JSON.stringify(config, null, 2) + '\n');
+}
+
+/**
+ * Restart the Python server ONLY if Electron launched it. If the server is running from source
+ * (standalone / `uv run`), Electron does not own it β€” we must not touch it; the user restarts it
+ * themselves. Returns whether a restart actually happened.
+ */
+async function restartServerIfOwned(): Promise<boolean> {
+ if (!PythonServer.isRunning()) return false;
+ const currentExe = PythonServer.getCurrentExecutablePath();
+ await PythonServer.shutdown();
+ await PythonServer.start(currentExe);
+ return true;
}
// Create the main API router
@@ -160,6 +178,24 @@ export const api = t.router({
getHomeDirectory: t.procedure
.query(() => app.getPath('home')),
+ getBaseDataFolder: t.procedure
+ .query(() => getBaseDataFolder()),
+
+ setBaseDataFolder: t.procedure
+ .input(z.object({ path: z.string() }))
+ .mutation(async ({ input }) => {
+ setBaseDataFolder(input.path);
+ const serverRestarted = await restartServerIfOwned();
+ return { baseFolder: getBaseDataFolder(), serverRestarted };
+ }),
+
+ resetBaseDataFolder: t.procedure
+ .mutation(async () => {
+ resetBaseDataFolder();
+ const serverRestarted = await restartServerIfOwned();
+ return { baseFolder: getBaseDataFolder(), serverRestarted };
+ }),
+
getFolderContents: t.procedure
.input(z.object({ path: z.string() }))
.query(({ input }) => {
diff --git a/freemocap-ui/electron/main/app-paths.ts b/freemocap-ui/electron/main/app-paths.ts
index 2cf1fec9..5771db02 100644
--- a/freemocap-ui/electron/main/app-paths.ts
+++ b/freemocap-ui/electron/main/app-paths.ts
@@ -8,6 +8,13 @@ export const __dirname = path.dirname(fileURLToPath(import.meta.url));
const APP_NAME = 'freemocap';
const SERVER_EXE_NAME = process.platform === 'win32' ? 'freemocap_server.exe' : 'freemocap_server';
+// PyInstaller onedir output: a `freemocap_server/` directory holding the launcher
+// executable next to an `_internal/` tree of DLLs and data files. The executable
+// must stay inside this directory β€” it resolves its dependencies relative to itself.
+const SERVER_DIR_NAME = 'freemocap_server';
+const serverPathIn = (...basePath: string[]): string =>
+ path.join(...basePath, SERVER_DIR_NAME, SERVER_EXE_NAME);
+
// Function to get the correct resources path based on environment
const getResourcesPath = () => {
if (app.isPackaged) {
@@ -39,26 +46,26 @@ const getDefaultInstallUnpackedPath = (): string => {
}
};
-// Python server executable candidates in order of preference
+// Python server executable candidates in order of preference.
export const PYTHON_EXECUTABLE_CANDIDATES = [
{
name: 'bundled',
- path: path.join(getResourcesPath(), SERVER_EXE_NAME),
+ path: serverPathIn(getResourcesPath()),
description: 'Executable bundled with the running app (asar-unpacked)'
},
{
name: 'default-install',
- path: path.join(getDefaultInstallUnpackedPath(), SERVER_EXE_NAME),
+ path: serverPathIn(getDefaultInstallUnpackedPath()),
description: 'Executable in the platform default install location'
},
{
name: 'development',
- path: path.join(getResourcesPath(), '..', 'dist', SERVER_EXE_NAME),
+ path: serverPathIn(getResourcesPath(), '..', 'dist'),
description: 'Development build executable (../dist/)'
},
{
name: 'portable',
- path: path.join(process.cwd(), SERVER_EXE_NAME),
+ path: serverPathIn(process.cwd()),
description: 'Portable executable in the current working directory'
},
{
diff --git a/freemocap-ui/electron/main/base-folder.ts b/freemocap-ui/electron/main/base-folder.ts
new file mode 100644
index 00000000..c04bf85f
--- /dev/null
+++ b/freemocap-ui/electron/main/base-folder.ts
@@ -0,0 +1,106 @@
+import fs from 'node:fs';
+import path from 'node:path';
+import os from 'node:os';
+import {app} from 'electron';
+
+/**
+ * Single source of truth for the FreeMoCap base data folder.
+ *
+ * The base data folder (default `~/freemocap_data`) holds every file FreeMoCap writes:
+ * recordings, calibrations, logs, telemetry config, etc. The user can relocate it via the
+ * Settings page.
+ *
+ * The *pointer* to that folder cannot live inside the folder itself (the folder is movable), so
+ * it is persisted in Electron's OS-standard per-app config directory (`app.getPath('userData')`):
+ * - Windows: %APPDATA%/freemocap
+ * - macOS: ~/Library/Application Support/freemocap
+ * - Linux: ~/.config/freemocap
+ * This is the only piece of FreeMoCap state that lives outside the base data folder.
+ *
+ * The resolved path is distributed to the two other processes that need it:
+ * - the Python server, via the FREEMOCAP_BASE_FOLDER env var (see python-server.ts)
+ * - the renderer, via the `fileSystem.getBaseDataFolder` tRPC query (see api.ts)
+ */
+
+/** The one definition of the default data-folder name on the TypeScript side. */
+export const FREEMOCAP_DATA_DEFAULT_DIRNAME = 'freemocap_data';
+
+/** Env var the Python server reads to discover the base folder. Matches default_paths.py. */
+export const FREEMOCAP_BASE_FOLDER_ENV_VAR = 'FREEMOCAP_BASE_FOLDER';
+
+const CONFIG_FILE_NAME = 'freemocap-config.json';
+const BASE_FOLDER_KEY = 'baseDataFolder';
+
+function getConfigFilePath(): string {
+ return path.join(app.getPath('userData'), CONFIG_FILE_NAME);
+}
+
+function getDefaultBaseDataFolder(): string {
+ return path.join(os.homedir(), FREEMOCAP_DATA_DEFAULT_DIRNAME);
+}
+
+/**
+ * The current base data folder: the user's persisted choice, or the default if none is set.
+ * Absent/unreadable config is the expected first-run state β€” we return the default and log.
+ */
+export function getBaseDataFolder(): string {
+ const configPath = getConfigFilePath();
+ try {
+ if (fs.existsSync(configPath)) {
+ const parsed: unknown = JSON.parse(fs.readFileSync(configPath, 'utf-8'));
+ if (parsed && typeof parsed === 'object' && !Array.isArray(parsed)) {
+ const stored = (parsed as Record<string, unknown>)[BASE_FOLDER_KEY];
+ if (typeof stored === 'string' && stored.trim().length > 0) {
+ return stored;
+ }
+ }
+ }
+ } catch (err) {
+ console.error(`Failed to read base-folder config at ${configPath}, using default:`, err);
+ }
+ return getDefaultBaseDataFolder();
+}
+
+/** Persist the user's chosen base data folder. */
+export function setBaseDataFolder(dir: string): void {
+ if (typeof dir !== 'string' || dir.trim().length === 0) {
+ throw new Error(`Invalid base data folder path: ${JSON.stringify(dir)}`);
+ }
+
+ const configPath = getConfigFilePath();
+ fs.mkdirSync(path.dirname(configPath), {recursive: true});
+
+ let existing: Record<string, unknown> = {};
+ if (fs.existsSync(configPath)) {
+ try {
+ const parsed: unknown = JSON.parse(fs.readFileSync(configPath, 'utf-8'));
+ if (parsed && typeof parsed === 'object' && !Array.isArray(parsed)) {
+ existing = parsed as Record<string, unknown>;
+ }
+ } catch (err) {
+ console.error(`Overwriting unreadable base-folder config at ${configPath}:`, err);
+ }
+ }
+
+ existing[BASE_FOLDER_KEY] = dir;
+ fs.writeFileSync(configPath, JSON.stringify(existing, null, 2) + '\n', 'utf-8');
+}
+
+/** Clear the base-folder override so it reverts to the default `~/freemocap_data`. */
+export function resetBaseDataFolder(): void {
+ const configPath = getConfigFilePath();
+ if (!fs.existsSync(configPath)) return;
+
+ let existing: Record<string, unknown> = {};
+ try {
+ const parsed: unknown = JSON.parse(fs.readFileSync(configPath, 'utf-8'));
+ if (parsed && typeof parsed === 'object' && !Array.isArray(parsed)) {
+ existing = parsed as Record<string, unknown>;
+ }
+ } catch (err) {
+ console.error(`Overwriting unreadable base-folder config at ${configPath}:`, err);
+ }
+
+ delete existing[BASE_FOLDER_KEY];
+ fs.writeFileSync(configPath, JSON.stringify(existing, null, 2) + '\n', 'utf-8');
+}
diff --git a/freemocap-ui/electron/main/services/app-menu.ts b/freemocap-ui/electron/main/services/app-menu.ts
index cb5c3a09..5ed8a734 100644
--- a/freemocap-ui/electron/main/services/app-menu.ts
+++ b/freemocap-ui/electron/main/services/app-menu.ts
@@ -1,6 +1,5 @@
import {app, BrowserWindow, Menu, shell} from 'electron';
-import path from 'node:path';
-import os from 'node:os';
+import {getBaseDataFolder} from '../base-folder';
/**
* Build and set the native application menu.
@@ -79,18 +78,10 @@ export function buildAppMenu(mainWindow: BrowserWindow): void {
click: () => sendNavigate(mainWindow, '/settings'),
},
{ type: 'separator' as const },
- {
- label: 'Open Config Folder',
- click: () => {
- const configDir = path.join(os.homedir(), '.freemocap');
- shell.openPath(configDir);
- },
- },
{
label: 'Open Data Folder',
click: () => {
- const dataDir = path.join(os.homedir(), 'freemocap_data');
- shell.openPath(dataDir);
+ shell.openPath(getBaseDataFolder());
},
},
],
diff --git a/freemocap-ui/electron/main/services/app-settings.ts b/freemocap-ui/electron/main/services/app-settings.ts
deleted file mode 100644
index ac3ce52a..00000000
--- a/freemocap-ui/electron/main/services/app-settings.ts
+++ /dev/null
@@ -1,81 +0,0 @@
-import fs from 'node:fs';
-import path from 'node:path';
-import os from 'node:os';
-
-const FREEMOCAP_CONFIG_DIR = path.join(os.homedir(), '.freemocap');
-const SETTINGS_FILE = path.join(FREEMOCAP_CONFIG_DIR, 'settings.json');
-
-type SettingsData = Record<string, unknown>;
-
-function ensureConfigDir(): void {
- if (!fs.existsSync(FREEMOCAP_CONFIG_DIR)) {
- fs.mkdirSync(FREEMOCAP_CONFIG_DIR, { recursive: true });
- }
-}
-
-function readAll(): SettingsData {
- ensureConfigDir();
- if (!fs.existsSync(SETTINGS_FILE)) {
- return {};
- }
- const raw = fs.readFileSync(SETTINGS_FILE, 'utf-8');
- const parsed: unknown = JSON.parse(raw);
- if (typeof parsed !== 'object' || parsed === null || Array.isArray(parsed)) {
- throw new Error(`Corrupted settings file: expected object, got ${typeof parsed}`);
- }
- return parsed as SettingsData;
-}
-
-function writeAll(data: SettingsData): void {
- ensureConfigDir();
- fs.writeFileSync(SETTINGS_FILE, JSON.stringify(data, null, 2), 'utf-8');
-}
-
-export class AppSettings {
- /** Get a single value by key. Returns null if the key doesn't exist. */
- static get(key: string): unknown {
- const data = readAll();
- if (!(key in data)) {
- return null;
- }
- return data[key];
- }
-
- /** Set a single key-value pair. */
- static set(key: string, value: unknown): void {
- const data = readAll();
- data[key] = value;
- writeAll(data);
- }
-
- /** Delete a single key. */
- static delete(key: string): void {
- const data = readAll();
- if (!(key in data)) {
- return;
- }
- delete data[key];
- writeAll(data);
- }
-
- /** Get all settings as a plain object. */
- static getAll(): SettingsData {
- return readAll();
- }
-
- /** Replace all settings with the given object. */
- static setAll(data: SettingsData): void {
- writeAll(data);
- }
-
- /** Get the path to the config directory (~/.freemocap/). */
- static getConfigDir(): string {
- ensureConfigDir();
- return FREEMOCAP_CONFIG_DIR;
- }
-
- /** Get the path to the settings file. */
- static getSettingsFilePath(): string {
- return SETTINGS_FILE;
- }
-}
diff --git a/freemocap-ui/electron/main/services/python-server.ts b/freemocap-ui/electron/main/services/python-server.ts
index 941730c9..d1f853cd 100644
--- a/freemocap-ui/electron/main/services/python-server.ts
+++ b/freemocap-ui/electron/main/services/python-server.ts
@@ -5,6 +5,7 @@ import {LifecycleLogger} from "./logger";
import {promisify} from 'util';
import treeKill from "tree-kill";
import {PYTHON_EXECUTABLE_CANDIDATES} from "../app-paths";
+import {getBaseDataFolder, FREEMOCAP_BASE_FOLDER_ENV_VAR} from "../base-folder";
const treeKillAsync = promisify(treeKill);
let pythonProcess: ReturnType<typeof exec> | null = null;
@@ -54,6 +55,8 @@ export class PythonServer {
pythonProcess = exec(`"${executablePath}"`, {
env: {
...process.env,
+ // Tell the Python server which data folder to use (see base-folder.ts).
+ [FREEMOCAP_BASE_FOLDER_ENV_VAR]: getBaseDataFolder(),
},
maxBuffer: 1024 * 1024 * 100 // 100MB buffer
});
diff --git a/freemocap-ui/electron/main/services/system-scanner.ts b/freemocap-ui/electron/main/services/system-scanner.ts
index 435e2dc7..1ca6af26 100644
--- a/freemocap-ui/electron/main/services/system-scanner.ts
+++ b/freemocap-ui/electron/main/services/system-scanner.ts
@@ -1,9 +1,9 @@
import os from 'node:os';
import fs from 'node:fs';
-import path from 'node:path';
import {exec, execFile} from 'node:child_process';
import {promisify} from 'node:util';
import {app} from 'electron';
+import {getBaseDataFolder} from '../base-folder';
const execFileAsync = promisify(execFile);
const execAsync = promisify(exec);
@@ -258,7 +258,7 @@ async function scanGpus(): Promise<GpuInfo[]> {
}
async function scanDisk(): Promise<DiskInfo> {
- const dataDir = path.join(app.getPath('home'), 'freemocap_data');
+ const dataDir = getBaseDataFolder();
// Use the drive/mount that the data directory lives on
const targetPath = fs.existsSync(dataDir) ? dataDir : app.getPath('home');
diff --git a/freemocap-ui/src/app/AppContent.tsx b/freemocap-ui/src/app/AppContent.tsx
index b0f03b44..54943ebf 100644
--- a/freemocap-ui/src/app/AppContent.tsx
+++ b/freemocap-ui/src/app/AppContent.tsx
@@ -11,12 +11,25 @@ import { useTranslation } from "react-i18next";
import { getLocaleDirection } from "@/i18n";
import { fetchAllRecordings } from "@/store/slices/recording-status/recording-status-thunks";
import { WelcomeModal } from "@/components/ui-components/WelcomeModal";
+import { SettingsModal } from "@/components/ui-components/SettingsModal";
+import { useHydrateDataFolder } from "@/hooks/useHydrateDataFolder";
export const AppContent = function () {
const { i18n } = useTranslation();
const dispatch = useAppDispatch();
const direction = getLocaleDirection(i18n.language);
const [welcomeOpen, setWelcomeOpen] = React.useState(true);
+ const [settingsOpen, setSettingsOpen] = React.useState(false);
+
+ // Seed recording directories from the configured base data folder on startup.
+ useHydrateDataFolder();
+
+ // The native menu's "Settings…" fires this event (see useMenuActions).
+ React.useEffect(() => {
+ const openSettings = () => setSettingsOpen(true);
+ window.addEventListener('open-settings', openSettings);
+ return () => window.removeEventListener('open-settings', openSettings);
+ }, []);
React.useEffect(() => {
document.documentElement.dir = direction;
@@ -35,6 +48,7 @@ export const AppContent = function () {
<BaseContentRouter />
</BasePanelLayout>
<WelcomeModal open={welcomeOpen} onClose={() => setWelcomeOpen(false)} />
+ <SettingsModal open={settingsOpen} onClose={() => setSettingsOpen(false)} />
</PlaybackProvider>
<UpdateBanner />
<PipelineProgressSnackbar />
diff --git a/freemocap-ui/src/components/control-panels/mocap-control-panel/MediapipeConfigPanel.tsx b/freemocap-ui/src/components/control-panels/mocap-control-panel/MediapipeConfigPanel.tsx
index 4d8b01cb..e02ecbd7 100644
--- a/freemocap-ui/src/components/control-panels/mocap-control-panel/MediapipeConfigPanel.tsx
+++ b/freemocap-ui/src/components/control-panels/mocap-control-panel/MediapipeConfigPanel.tsx
@@ -4,13 +4,13 @@ import ToggleComponent from "@/components/ui-components/ToggleComponent";
import {
detectPreset,
DetectorPreset,
+ LegacyMediapipeModelComplexity,
MEDIAPIPE_POSTHOC_PRESET,
MEDIAPIPE_REALTIME_PRESET,
MediapipeDetectorConfig,
- MediapipeModelComplexity,
} from "@/store/slices/mocap";
-const MODEL_COMPLEXITY_LABELS: Record<MediapipeModelComplexity, string> = {
+const MODEL_COMPLEXITY_LABELS: Record<LegacyMediapipeModelComplexity, string> = {
0: "Lite (fastest)",
1: "Full (balanced)",
2: "Heavy (most accurate)",
@@ -78,7 +78,7 @@ export const MediapipeConfigPanel: React.FC<MediapipeConfigPanelProps> = ({
value={detectorConfig.model_complexity}
onChange={(e) =>
updateDetectorConfig({
- model_complexity: Number(e.target.value) as MediapipeModelComplexity,
+ model_complexity: Number(e.target.value) as LegacyMediapipeModelComplexity,
})
}
disabled={isLoading}
diff --git a/freemocap-ui/src/components/control-panels/mocap-control-panel/MocapPanel.tsx b/freemocap-ui/src/components/control-panels/mocap-control-panel/MocapPanel.tsx
index b8c14754..340ba07d 100644
--- a/freemocap-ui/src/components/control-panels/mocap-control-panel/MocapPanel.tsx
+++ b/freemocap-ui/src/components/control-panels/mocap-control-panel/MocapPanel.tsx
@@ -174,6 +174,20 @@ export const MocapPanel: React.FC = () => {
? "Ready"
: "Idle";
+ const processBlockedReason = useMemo((): string | null => {
+ if (canProcessMocapRecording) return null;
+ if (isRecording) return "Stop recording before processing";
+ if (isLoading) return "Processing already in progress";
+ if (!mocapRecordingPath) return "Select a recording folder to process";
+ if (!directoryInfo?.hasVideos) return "No videos found in the selected recording folder";
+ const hasAnyCalibration =
+ !!calibrationTomlPath ||
+ !!directoryInfo?.cameraMocapTomlPath ||
+ !!directoryInfo?.lastSuccessfulCalibrationTomlPath;
+ if (!hasAnyCalibration) return "No calibration file found β€” select a calibration TOML or run calibration first";
+ return "Cannot process recording";
+ }, [canProcessMocapRecording, isRecording, isLoading, mocapRecordingPath, directoryInfo, calibrationTomlPath]);
+
return (
<CollapsibleSidebarSection
icon={<span className="icon processmocap-icon icon-size-20" />}
@@ -190,9 +204,13 @@ export const MocapPanel: React.FC = () => {
className="button sm secondary w-full"
onClick={dispatchProcessMocapRecording}
disabled={!canProcessMocapRecording || isLoading}
+ title={processBlockedReason ?? undefined}
>
Process Selected Recording
</button>
+ {processBlockedReason && (
+ <p className="text sm text-gray">{processBlockedReason}</p>
+ )}
{displayError && (
<div className="toast-notification error">
diff --git a/freemocap-ui/src/components/control-panels/mocap-control-panel/MocapTaskTreeItem.tsx b/freemocap-ui/src/components/control-panels/mocap-control-panel/MocapTaskTreeItem.tsx
index 8883f03e..b6319cd9 100644
--- a/freemocap-ui/src/components/control-panels/mocap-control-panel/MocapTaskTreeItem.tsx
+++ b/freemocap-ui/src/components/control-panels/mocap-control-panel/MocapTaskTreeItem.tsx
@@ -183,6 +183,20 @@ export const MocapTaskTreeItem: React.FC = () => {
? "Ready"
: "Idle";
+ const processBlockedReason = useMemo((): string | null => {
+ if (canProcessMocapRecording) return null;
+ if (isRecording) return "Stop recording before processing";
+ if (isLoading) return "Processing already in progress";
+ if (!mocapRecordingPath) return "Select a recording folder to process";
+ if (!directoryInfo?.hasVideos) return "No videos found in the selected recording folder";
+ const hasAnyCalibration =
+ !!calibrationTomlPath ||
+ !!directoryInfo?.cameraMocapTomlPath ||
+ !!directoryInfo?.lastSuccessfulCalibrationTomlPath;
+ if (!hasAnyCalibration) return "No calibration file found β€” select a calibration TOML or run calibration first";
+ return "Cannot process recording";
+ }, [canProcessMocapRecording, isRecording, isLoading, mocapRecordingPath, directoryInfo, calibrationTomlPath]);
+
// Primary controls: status icon + refresh + record start/stop
const headerControls = (
<div className="flex flex-row items-center gap-1">
@@ -365,9 +379,13 @@ export const MocapTaskTreeItem: React.FC = () => {
className="button sm secondary w-full"
onClick={dispatchProcessMocapRecording}
disabled={!canProcessMocapRecording || isLoading}
+ title={processBlockedReason ?? undefined}
>
Process Selected Recording
</button>
+ {processBlockedReason && (
+ <p className="text sm text-gray">{processBlockedReason}</p>
+ )}
</div>
</div>
</CollapsibleSidebarSection>
diff --git a/freemocap-ui/src/components/control-panels/realtime-panel/RealtimePipelineConfigTree.tsx b/freemocap-ui/src/components/control-panels/realtime-panel/RealtimePipelineConfigTree.tsx
index 5f44750c..3d04fd66 100644
--- a/freemocap-ui/src/components/control-panels/realtime-panel/RealtimePipelineConfigTree.tsx
+++ b/freemocap-ui/src/components/control-panels/realtime-panel/RealtimePipelineConfigTree.tsx
@@ -1,12 +1,13 @@
import React, {useCallback} from "react";
import {RealtimePipelineStageTreeItem} from "./RealtimePipelineStageTreeItem";
-import {MediapipeConfigPanel} from "@/components/control-panels/mocap-control-panel/MediapipeConfigPanel";
import {SkeletonFilterConfigPanel} from "@/components/control-panels/mocap-control-panel/SkeletonFilterConfigPanel";
import {useMocap} from "@/hooks/useMocap";
import {useRealtimePipelineSync} from "@/hooks/useRealtimePipelineSync";
-import {MediapipeDetectorConfig, RealtimeFilterConfig} from "@/store/slices/mocap";
-import {useAppDispatch} from "@/store/hooks";
-import {resetSkeletonFitter} from "@/store/slices/realtime";
+import {DetectorType, MediapipeModelComplexity, RTMPOSE_MODELS, RealtimeFilterConfig} from "@/store/slices/mocap";
+import {useAppDispatch, useAppSelector} from "@/store/hooks";
+import {pipelineConfigUpdated, resetSkeletonFitter} from "@/store/slices/realtime";
+import ValueSelector from "@/components/ui-components/ValueSelector";
+import {selectCalibrationDirectoryInfo} from "@/store/slices/calibration/calibration-slice";
export type PipelineContext = "realtime" | "posthoc";
@@ -40,30 +41,61 @@ export const RealtimePipelineConfigTree: React.FC<PipelineConfigTreeProps> = ({
onRigidBodyToggle,
}) => {
const dispatch = useAppDispatch();
+
+ // ── Realtime pipeline config (for context="realtime") ──────────────────────
+ const pipelineConfig = useAppSelector(state => state.realtime.pipelineConfig);
+ const cameraNodeConfig = pipelineConfig.camera_node_config;
+
+ // ── Posthoc (mocap slice) config (for context="posthoc") ──────────────────
const {
- updateDetectorConfigLocalOnly,
- replaceDetectorConfigLocalOnly,
+ detectorType: posthocDetectorType,
+ rtmPoseModelName,
+ rtmPoseConfidenceThreshold,
+ mediapipeModelComplexity,
+ mediapipeDetectionConfidence,
+ mediapipePresenceConfidence,
+ mediapipeTrackingConfidence,
+ setDetectorType: setPosThocDetectorType,
+ setRtmPoseModelName,
+ setRtmPoseConfidenceThreshold,
+ setMediapipeModelComplexity,
+ setMediapipeDetectionConfidence,
+ setMediapipePresenceConfidence,
+ setMediapipeTrackingConfidence,
updateSkeletonFilterConfigLocalOnly,
replaceSkeletonFilterConfigLocalOnly,
} = useMocap();
+
const {triggerRealtimeApply, isConnected} = useRealtimePipelineSync();
+ const calibrationDirectoryInfo = useAppSelector(selectCalibrationDirectoryInfo);
- const handleUpdateDetectorConfig = useCallback(
- (updates: Partial<MediapipeDetectorConfig>) => {
- updateDetectorConfigLocalOnly(updates);
- if (context === "realtime") triggerRealtimeApply();
- },
- [updateDetectorConfigLocalOnly, context, triggerRealtimeApply]
- );
+ // ── Active detector type unified across contexts ───────────────────────────
+ const activeDetectorType: DetectorType =
+ context === "realtime"
+ ? (cameraNodeConfig.detector_type ?? "rtmpose")
+ : (posthocDetectorType ?? "rtmpose");
- const handleReplaceDetectorConfig = useCallback(
- (config: MediapipeDetectorConfig) => {
- replaceDetectorConfigLocalOnly(config);
- if (context === "realtime") triggerRealtimeApply();
+ // ── Realtime camera node config updater ───────────────────────────────────
+ const handleCameraNodeConfigUpdate = useCallback(
+ (updates: Partial<typeof cameraNodeConfig>) => {
+ dispatch(pipelineConfigUpdated({
+ ...pipelineConfig,
+ camera_node_config: { ...cameraNodeConfig, ...updates },
+ }));
+ triggerRealtimeApply();
},
- [replaceDetectorConfigLocalOnly, context, triggerRealtimeApply]
+ [dispatch, pipelineConfig, cameraNodeConfig, triggerRealtimeApply]
);
+ const handleSetDetectorType = useCallback((type: DetectorType) => {
+ if (context === "realtime") {
+ handleCameraNodeConfigUpdate({ detector_type: type });
+ } else {
+ setPosThocDetectorType(type);
+ }
+ }, [context, handleCameraNodeConfigUpdate, setPosThocDetectorType]);
+
+ // ── Skeleton filter config ─────────────────────────────────────────────────
const handleUpdateSkeletonFilterConfig = useCallback(
(updates: Partial<RealtimeFilterConfig>) => {
updateSkeletonFilterConfigLocalOnly(updates);
@@ -80,7 +112,6 @@ export const RealtimePipelineConfigTree: React.FC<PipelineConfigTreeProps> = ({
[replaceSkeletonFilterConfigLocalOnly, context, triggerRealtimeApply]
);
-
// ── 2D Tracking parent state ──────────────────────────────────────────────
const tracking2dAllOn = charucoEnabled && skeletonEnabled;
const tracking2dSomeOn = charucoEnabled || skeletonEnabled;
@@ -117,7 +148,7 @@ export const RealtimePipelineConfigTree: React.FC<PipelineConfigTreeProps> = ({
checked={tracking2dChecked}
indeterminate={tracking2dIndeterminate}
onToggle={handleToggle2dTracking}
-
+
summaryWhenCollapsed={
[charucoEnabled && "Charuco", skeletonEnabled && "Skeleton"]
.filter(Boolean)
@@ -130,7 +161,7 @@ export const RealtimePipelineConfigTree: React.FC<PipelineConfigTreeProps> = ({
label="Charuco"
checked={charucoEnabled}
onToggle={onCharucoToggle}
-
+
>
<div className="p-1 pl-4">
<p className="text sm text-gray">
@@ -139,20 +170,137 @@ export const RealtimePipelineConfigTree: React.FC<PipelineConfigTreeProps> = ({
</div>
</RealtimePipelineStageTreeItem>
- {/* Skeleton (MediaPipe) */}
+ {/* Skeleton */}
<RealtimePipelineStageTreeItem
itemId="2d-skeleton"
label="Skeleton"
checked={skeletonEnabled}
onToggle={onSkeletonToggle}
-
- summaryWhenCollapsed={context === "realtime" ? "Realtime preset" : "Posthoc preset"}
+ summaryWhenCollapsed={activeDetectorType === "rtmpose" ? "RTMPose" : "MediaPipe"}
>
- <div className="p-1 border-1 border-mid-black pl-4" style={{borderLeft: '2px solid var(--color-border-secondary)'}}>
- <MediapipeConfigPanel
- updateDetectorConfig={handleUpdateDetectorConfig}
- replaceDetectorConfig={handleReplaceDetectorConfig}
- />
+ <div className="p-1 flex flex-col gap-1 pl-4" style={{borderLeft: '2px solid var(--color-border-secondary)'}}>
+
+ {/* Detector toggle */}
+ <div className="flex flex-row gap-1 items-center justify-content-space-between">
+ <span className="text-sm">Detector</span>
+ <div className="flex flex-row gap-1">
+ {(["rtmpose", "mediapipe"] as DetectorType[]).map((type) => (
+ <button
+ key={type}
+ className={`button sm br-1 ${activeDetectorType === type ? "primary accent" : "quaternary"}`}
+ onClick={() => handleSetDetectorType(type)}
+ >
+ {type === "rtmpose" ? "RTMPose" : "MediaPipe"}
+ </button>
+ ))}
+ </div>
+ </div>
+
+ {/* RTMPose settings */}
+ {activeDetectorType === "rtmpose" && context === "posthoc" && (
+ <>
+ <p className="text-sm text-gray">
+ 133 keypoints (body, hands, face) via YOLOX person detection + RTMPose estimation.
+ </p>
+ <div className="flex flex-row gap-1 items-center justify-content-space-between">
+ <span className="text-sm">Model</span>
+ <div className="flex flex-row gap-1">
+ {RTMPOSE_MODELS.map(({ label, value }) => (
+ <button
+ key={value}
+ className={`button sm br-1 ${(rtmPoseModelName ?? "rtmw-x-l_256x192") === value ? "primary accent" : "quaternary"}`}
+ onClick={() => setRtmPoseModelName(value)}
+ >
+ {label}
+ </button>
+ ))}
+ </div>
+ </div>
+ <div className="flex flex-row gap-1 items-center justify-content-space-between">
+ <span className="text-sm">Confidence threshold</span>
+ <ValueSelector
+ value={rtmPoseConfidenceThreshold ?? 0.004}
+ min={0} max={1} step={0.001} unit=""
+ onChange={setRtmPoseConfidenceThreshold}
+ />
+ </div>
+ </>
+ )}
+ {activeDetectorType === "rtmpose" && context === "realtime" && (
+ <p className="text-sm text-gray">
+ 133 keypoints (body, hands, face) via YOLOX + RTMPose. Uses GPU batched inference when available.
+ </p>
+ )}
+
+ {/* MediaPipe settings */}
+ {activeDetectorType === "mediapipe" && (
+ <>
+ <p className="text-sm text-gray">
+ Body + hands + face via MediaPipe. CPU-only; runs per-camera without GPU batching.
+ </p>
+ <div className="flex flex-row gap-1 items-center justify-content-space-between">
+ <span className="text-sm">Model size</span>
+ <div className="flex flex-row gap-1">
+ {(["lite", "full", "heavy"] as MediapipeModelComplexity[]).map((c) => {
+ const activeComplexity = context === "realtime"
+ ? (cameraNodeConfig.mediapipe_model_complexity ?? "lite")
+ : (mediapipeModelComplexity ?? "heavy");
+ return (
+ <button
+ key={c}
+ className={`button sm br-1 ${activeComplexity === c ? "primary accent" : "quaternary"}`}
+ onClick={() => context === "realtime"
+ ? handleCameraNodeConfigUpdate({ mediapipe_model_complexity: c })
+ : setMediapipeModelComplexity(c)
+ }
+ >
+ {c.charAt(0).toUpperCase() + c.slice(1)}
+ </button>
+ );
+ })}
+ </div>
+ </div>
+ <div className="flex flex-row gap-1 items-center justify-content-space-between">
+ <span className="text-sm">Detection confidence</span>
+ <ValueSelector
+ value={context === "realtime"
+ ? (cameraNodeConfig.mediapipe_detection_confidence ?? 0.5)
+ : (mediapipeDetectionConfidence ?? 0.5)}
+ min={0} max={1} step={0.05} unit=""
+ onChange={(v) => context === "realtime"
+ ? handleCameraNodeConfigUpdate({ mediapipe_detection_confidence: v })
+ : setMediapipeDetectionConfidence(v)
+ }
+ />
+ </div>
+ <div className="flex flex-row gap-1 items-center justify-content-space-between">
+ <span className="text-sm">Presence confidence</span>
+ <ValueSelector
+ value={context === "realtime"
+ ? (cameraNodeConfig.mediapipe_presence_confidence ?? 0.5)
+ : (mediapipePresenceConfidence ?? 0.5)}
+ min={0} max={1} step={0.05} unit=""
+ onChange={(v) => context === "realtime"
+ ? handleCameraNodeConfigUpdate({ mediapipe_presence_confidence: v })
+ : setMediapipePresenceConfidence(v)
+ }
+ />
+ </div>
+ <div className="flex flex-row gap-1 items-center justify-content-space-between">
+ <span className="text-sm">Tracking confidence</span>
+ <ValueSelector
+ value={context === "realtime"
+ ? (cameraNodeConfig.mediapipe_tracking_confidence ?? 0.5)
+ : (mediapipeTrackingConfidence ?? 0.5)}
+ min={0} max={1} step={0.05} unit=""
+ onChange={(v) => context === "realtime"
+ ? handleCameraNodeConfigUpdate({ mediapipe_tracking_confidence: v })
+ : setMediapipeTrackingConfidence(v)
+ }
+ />
+ </div>
+ </>
+ )}
</div>
</RealtimePipelineStageTreeItem>
</RealtimePipelineStageTreeItem>
@@ -164,7 +312,7 @@ export const RealtimePipelineConfigTree: React.FC<PipelineConfigTreeProps> = ({
checked={recon3dChecked}
indeterminate={recon3dIndeterminate}
onToggle={handleToggle3dReconstruction}
-
+
summaryWhenCollapsed={
[triangulateEnabled && "Triangulate", filterEnabled && "Filter", rigidBodyEnabled && "Skeleton"]
.filter(Boolean)
@@ -177,12 +325,46 @@ export const RealtimePipelineConfigTree: React.FC<PipelineConfigTreeProps> = ({
label="Triangulate"
checked={triangulateEnabled}
onToggle={onTriangulateToggle}
-
+ summaryWhenCollapsed={
+ pipelineConfig.aggregator_config.calibration_toml_path
+ ? "Custom calibration"
+ : calibrationDirectoryInfo?.lastSuccessfulCalibrationTomlPath
+ ? "Auto (last calibration)"
+ : "No calibration"
+ }
>
- <div className="p-1 pl-4">
- <p className="text sm text-gray">
- Triangulation settings β€” calibration TOML picker and parameters (placeholder)
+ <div className="p-1 pl-4 flex flex-col gap-1" style={{borderLeft: '2px solid var(--color-border-secondary)'}}>
+ <p className="text-sm text-gray">
+ Calibration TOML used for 3D triangulation.
+ By default the most recent calibration is used automatically.
</p>
+ <div className="flex flex-col gap-1">
+ <span className="text-sm" style={{wordBreak: 'break-all', color: 'var(--color-text-secondary)'}}>
+ {pipelineConfig.aggregator_config.calibration_toml_path
+ ? `Override: ${pipelineConfig.aggregator_config.calibration_toml_path.split('/').pop()}`
+ : calibrationDirectoryInfo?.lastSuccessfulCalibrationTomlPath
+ ? `Auto: ${calibrationDirectoryInfo.lastSuccessfulCalibrationTomlPath.split('/').pop()}`
+ : "No calibration found β€” run calibration first"
+ }
+ </span>
+ {pipelineConfig.aggregator_config.calibration_toml_path && (
+ <button
+ className="button sm"
+ onClick={() => {
+ dispatch(pipelineConfigUpdated({
+ ...pipelineConfig,
+ aggregator_config: {
+ ...pipelineConfig.aggregator_config,
+ calibration_toml_path: null,
+ },
+ }));
+ triggerRealtimeApply();
+ }}
+ >
+ Clear override (use latest)
+ </button>
+ )}
+ </div>
</div>
</RealtimePipelineStageTreeItem>
@@ -192,7 +374,7 @@ export const RealtimePipelineConfigTree: React.FC<PipelineConfigTreeProps> = ({
label="Filter"
checked={filterEnabled}
onToggle={onFilterToggle}
-
+
summaryWhenCollapsed="One Euro, FABRIK"
>
<div className="p-1 pl-4" style={{borderLeft: '2px solid var(--color-border-secondary)'}}>
diff --git a/freemocap-ui/src/components/control-panels/server-connection/useServerPanel.ts b/freemocap-ui/src/components/control-panels/server-connection/useServerPanel.ts
index 08dbcb3b..34a83621 100644
--- a/freemocap-ui/src/components/control-panels/server-connection/useServerPanel.ts
+++ b/freemocap-ui/src/components/control-panels/server-connection/useServerPanel.ts
@@ -127,7 +127,11 @@ export function useServerPanel(): ServerPanelState {
const result = await api.pythonServer.getExecutableCandidates.query();
const typed = result as ExecutableCandidate[];
setCandidates(typed);
- if (!selectedExePath) {
+ // Fall back to an auto-detected candidate if there's no persisted
+ // selection, or the persisted one (e.g. from a previous app version
+ // with a different bundle layout) no longer validates.
+ const persistedIsValid = typed.some((c) => c.path === selectedExePath && c.isValid);
+ if (!selectedExePath || !persistedIsValid) {
const firstValid = typed.find((c) => c.isValid);
if (firstValid) setSelectedExePath(firstValid.path);
}
diff --git a/freemocap-ui/src/components/mocap-setup/mocap-detector-settings.tsx b/freemocap-ui/src/components/mocap-setup/mocap-detector-settings.tsx
new file mode 100644
index 00000000..cff87685
--- /dev/null
+++ b/freemocap-ui/src/components/mocap-setup/mocap-detector-settings.tsx
@@ -0,0 +1,158 @@
+import React, { useEffect, useRef } from 'react';
+import SubactionHeader from '@/components/ui-components/SubactionHeader';
+import ValueSelector from '@/components/ui-components/ValueSelector';
+import { useMocap } from '@/hooks/useMocap';
+import { DetectorType, MediapipeModelComplexity, RTMPOSE_MODELS } from '@/store/slices/mocap';
+
+interface MOCAPDetectorSettingsProps {
+ open: boolean;
+ onClose: () => void;
+}
+
+const MEDIAPIPE_COMPLEXITIES: { label: string; value: MediapipeModelComplexity }[] = [
+ { label: "Heavy", value: "heavy" },
+ { label: "Full", value: "full" },
+ { label: "Lite", value: "lite" },
+];
+
+const MOCAPDetectorSettings: React.FC<
+ MOCAPDetectorSettingsProps
+> = ({ open, onClose }) => {
+ const modalRef = useRef<HTMLDivElement>(null);
+
+ const {
+ detectorType,
+ rtmPoseModelName,
+ rtmPoseConfidenceThreshold,
+ mediapipeModelComplexity,
+ mediapipeDetectionConfidence,
+ mediapipePresenceConfidence,
+ mediapipeTrackingConfidence,
+ setDetectorType,
+ setRtmPoseModelName,
+ setRtmPoseConfidenceThreshold,
+ setMediapipeModelComplexity,
+ setMediapipeDetectionConfidence,
+ setMediapipePresenceConfidence,
+ setMediapipeTrackingConfidence,
+ } = useMocap();
+
+
+ useEffect(() => {
+ if (!open) return;
+
+ const handleKeyDown = (e: KeyboardEvent) => {
+ if (e.key === 'Escape') onClose();
+ };
+
+ window.addEventListener('keydown', handleKeyDown);
+ return () => {
+ window.removeEventListener('keydown', handleKeyDown);
+ };
+ }, [open, onClose]);
+
+ if (!open) return null;
+
+ return (
+ <div
+ ref={modalRef}
+ className="flex flex-col w-full br-2 reveal fadeIn gap-1"
+ >
+ <div className="gap-1 flex flex-col">
+
+ {/* Header */}
+ <div className="flex justify-content-space-between items-center">
+ <SubactionHeader text="Detector Settings" />
+ </div>
+
+ {/* Detector type toggle */}
+ <div className="flex p-1 flex-row gap-1 items-center justify-content-space-between">
+ <span className="text-sm">Detector</span>
+ <div className="flex flex-row gap-1">
+ {(["rtmpose", "mediapipe"] as DetectorType[]).map((type) => (
+ <button
+ key={type}
+ className={`button sm br-1 ${(detectorType ?? "rtmpose") === type ? "primary accent" : "quaternary"}`}
+ onClick={() => setDetectorType(type)}
+ >
+ {type === "rtmpose" ? "RTMPose" : "MediaPipe"}
+ </button>
+ ))}
+ </div>
+ </div>
+
+ {/* RTMPose settings */}
+ {(detectorType ?? "rtmpose") === "rtmpose" && (
+ <>
+ <div className="flex p-1 flex-col gap-1">
+ <span className="text-sm text-gray">
+ 133 keypoints (body, hands, face) via YOLOX person detection + RTMPose estimation. Recommended for best accuracy.
+ </span>
+ </div>
+ <div className="flex p-1 flex-row gap-1 items-center justify-content-space-between">
+ <span className="text-sm">Model</span>
+ <div className="flex flex-row gap-1">
+ {RTMPOSE_MODELS.map(({ label, value }) => (
+ <button
+ key={value}
+ className={`button sm br-1 ${(rtmPoseModelName ?? "rtmw-x-l_256x192") === value ? "primary accent" : "quaternary"}`}
+ onClick={() => setRtmPoseModelName(value)}
+ >
+ {label}
+ </button>
+ ))}
+ </div>
+ </div>
+ <div className="flex p-1 flex-row gap-1 items-center justify-content-space-between">
+ <span className="text-sm">Confidence threshold</span>
+ <ValueSelector
+ value={rtmPoseConfidenceThreshold ?? 0.004}
+ min={0} max={1} step={0.001} unit=""
+ onChange={setRtmPoseConfidenceThreshold}
+ />
+ </div>
+ </>
+ )}
+
+ {/* MediaPipe settings */}
+ {(detectorType ?? "rtmpose") === "mediapipe" && (
+ <>
+ <div className="flex p-1 flex-col gap-1">
+ <span className="text-sm text-gray">
+ Body (33 pts) + hands (21 pts each) + face (60 pts) in one pass. Faster on CPU, fewer total keypoints than RTMPose.
+ </span>
+ </div>
+ <div className="flex p-1 flex-row gap-1 items-center justify-content-space-between">
+ <span className="text-sm">Pose model size</span>
+ <div className="flex flex-row gap-1">
+ {MEDIAPIPE_COMPLEXITIES.map(({ label, value }) => (
+ <button
+ key={value}
+ className={`button sm br-1 ${(mediapipeModelComplexity ?? "heavy") === value ? "primary accent" : "quaternary"}`}
+ onClick={() => setMediapipeModelComplexity(value)}
+ >
+ {label}
+ </button>
+ ))}
+ </div>
+ </div>
+ <div className="flex p-1 flex-row gap-1 items-center justify-content-space-between">
+ <span className="text-sm">Detection confidence</span>
+ <ValueSelector value={mediapipeDetectionConfidence ?? 0.5} min={0} max={1} step={0.05} unit="" onChange={setMediapipeDetectionConfidence} />
+ </div>
+ <div className="flex p-1 flex-row gap-1 items-center justify-content-space-between">
+ <span className="text-sm">Presence confidence</span>
+ <ValueSelector value={mediapipePresenceConfidence ?? 0.5} min={0} max={1} step={0.05} unit="" onChange={setMediapipePresenceConfidence} />
+ </div>
+ <div className="flex p-1 flex-row gap-1 items-center justify-content-space-between">
+ <span className="text-sm">Tracking confidence</span>
+ <ValueSelector value={mediapipeTrackingConfidence ?? 0.5} min={0} max={1} step={0.05} unit="" onChange={setMediapipeTrackingConfidence} />
+ </div>
+ </>
+ )}
+ </div>
+ </div>
+ );
+};
+
+export default MOCAPDetectorSettings;
diff --git a/freemocap-ui/src/components/mocap-setup/mocap-mediapipedetector-settings.tsx b/freemocap-ui/src/components/mocap-setup/mocap-mediapipedetector-settings.tsx
deleted file mode 100644
index 7d816581..00000000
--- a/freemocap-ui/src/components/mocap-setup/mocap-mediapipedetector-settings.tsx
+++ /dev/null
@@ -1,190 +0,0 @@
-import React, { useCallback, useEffect, useRef } from 'react';
-import SubactionHeader from '@/components/ui-components/SubactionHeader';
-import IconButton from '@/components/ui-components/IconButton';
-import NameDropdownSelector from '@/components/ui-components/NameDropdownSelector';
-import ToggleComponent from '@/components/ui-components/ToggleComponent';
-import ValueSelector from '@/components/ui-components/ValueSelector';
-import { useMocap } from '@/hooks/useMocap';
-import { useRealtimePipelineSync } from '@/hooks/useRealtimePipelineSync';
-import {
- detectPreset,
- MEDIAPIPE_POSTHOC_PRESET,
- MEDIAPIPE_REALTIME_PRESET,
- MediapipeDetectorConfig,
-} from '@/store/slices/mocap';
-
-interface MOCAPMediaPipeDetectorSettingsProps {
- open: boolean;
- onClose: () => void;
-}
-
-const PRESET_OPTIONS = ["Lite (Fastest)", "PostHog (Accurate)", "Custom"];
-
-const presetLabelToTarget: Record<string, "realtime" | "posthoc"> = {
- "Lite (Fastest)": "realtime",
- "PostHog (Accurate)": "posthoc",
-};
-
-const presetValueToLabel: Record<string, string> = {
- realtime: "Lite (Fastest)",
- posthoc: "PostHog (Accurate)",
- custom: "Custom",
-};
-
-const MOCAPMediaPipeDetectorSettings: React.FC<
- MOCAPMediaPipeDetectorSettingsProps
-> = ({ open, onClose }) => {
- const modalRef = useRef<HTMLDivElement>(null);
-
- const {
- detectorConfig,
- updateDetectorConfigLocalOnly,
- replaceDetectorConfigLocalOnly,
- isLoading,
- } = useMocap();
- const { triggerRealtimeApply } = useRealtimePipelineSync();
-
- const handleUpdateDetectorConfig = useCallback(
- (updates: Partial<MediapipeDetectorConfig>) => {
- updateDetectorConfigLocalOnly(updates);
- triggerRealtimeApply();
- },
- [updateDetectorConfigLocalOnly, triggerRealtimeApply]
- );
-
- const handleReplaceDetectorConfig = useCallback(
- (config: MediapipeDetectorConfig) => {
- replaceDetectorConfigLocalOnly(config);
- triggerRealtimeApply();
- },
- [replaceDetectorConfigLocalOnly, triggerRealtimeApply]
- );
-
- const currentPreset = detectPreset(detectorConfig);
-
- const handlePresetChange = useCallback(
- (label: string) => {
- const target = presetLabelToTarget[label];
- if (target === "realtime") handleReplaceDetectorConfig({...MEDIAPIPE_REALTIME_PRESET});
- else if (target === "posthoc") handleReplaceDetectorConfig({...MEDIAPIPE_POSTHOC_PRESET});
- },
- [handleReplaceDetectorConfig]
- );
-
- useEffect(() => {
- if (!open) return;
-
- const handleKeyDown = (e: KeyboardEvent) => {
- if (e.key === 'Escape') onClose();
- };
-
- const handleClickOutside = (e: MouseEvent) => {
- if (modalRef.current && !modalRef.current.contains(e.target as Node)) {
- onClose();
- }
- };
-
- window.addEventListener('keydown', handleKeyDown);
- document.addEventListener('mousedown', handleClickOutside);
-
- return () => {
- window.removeEventListener('keydown', handleKeyDown);
- document.removeEventListener('mousedown', handleClickOutside);
- };
- }, [open, onClose]);
-
- if (!open) return null;
-
- return (
- <div
- ref={modalRef}
- className="flex flex-col w-full br-2 reveal fadeIn gap-1"
- >
- <div className="gap-1 flex flex-col">
-
- {/* Header */}
- <div className="flex justify-content-space-between items-center">
- <SubactionHeader text="MediaPipe Settings" />
- {/* <IconButton icon="close-icon" onClick={onClose} /> */}
- </div>
-
- {/* Preset dropdown */}
- <div className="flex p-1 flex-row gap-1 items-center justify-content-space-between">
- <span className="text-sm">Preset</span>
-
- <NameDropdownSelector
- key={currentPreset}
- options={PRESET_OPTIONS}
- initialValue={presetValueToLabel[currentPreset]}
- onChange={handlePresetChange}
- className="flex flex-row"
- />
- </div>
-
- {/* Min Detection Confidence */}
- <div className="flex p-1 flex-row gap-1 items-center justify-content-space-between">
- <span className="text-sm">Min detection confidence</span>
- <ValueSelector
- value={detectorConfig.min_detection_confidence}
- min={0}
- max={1}
- step={0.05}
- unit=""
- onChange={(v) => handleUpdateDetectorConfig({ min_detection_confidence: v })}
- />
- </div>
-
- {/* Min Tracking Confidence */}
- <div className="flex p-1 flex-row gap-1 items-center justify-content-space-between">
- <span className="text-sm">Min tracking confidence</span>
- <ValueSelector
- value={detectorConfig.min_tracking_confidence}
- min={0}
- max={1}
- step={0.05}
- unit=""
- onChange={(v) => handleUpdateDetectorConfig({ min_tracking_confidence: v })}
- />
- </div>
-
- {/* Toggles */}
- <ToggleComponent
- text="Smooth landmarks"
- isToggled={detectorConfig.smooth_landmarks}
- onToggle={(checked) => handleUpdateDetectorConfig({ smooth_landmarks: checked })}
- disabled={isLoading}
- />
-
- <ToggleComponent
- text="Segmentation"
- isToggled={detectorConfig.enable_segmentation}
- onToggle={(checked) => handleUpdateDetectorConfig({ enable_segmentation: checked })}
- disabled={isLoading}
- />
-
- <ToggleComponent
- text="Smooth segmentation"
- isToggled={detectorConfig.smooth_segmentation}
- onToggle={(checked) => handleUpdateDetectorConfig({ smooth_segmentation: checked })}
- disabled={isLoading || !detectorConfig.enable_segmentation}
- />
-
- <ToggleComponent
- text="Refine face landmarks"
- isToggled={detectorConfig.refine_face_landmarks}
- onToggle={(checked) => handleUpdateDetectorConfig({ refine_face_landmarks: checked })}
- disabled={isLoading}
- />
-
- <ToggleComponent
- text="Static image mode"
- isToggled={detectorConfig.static_image_mode}
- onToggle={(checked) => handleUpdateDetectorConfig({ static_image_mode: checked })}
- disabled={isLoading}
- />
- </div>
- </div>
- );
-};
-
-export default MOCAPMediaPipeDetectorSettings;
diff --git a/freemocap-ui/src/components/mocap-setup/mocap-setup-modal.tsx b/freemocap-ui/src/components/mocap-setup/mocap-setup-modal.tsx
index c165cf7e..716e3261 100644
--- a/freemocap-ui/src/components/mocap-setup/mocap-setup-modal.tsx
+++ b/freemocap-ui/src/components/mocap-setup/mocap-setup-modal.tsx
@@ -1,11 +1,11 @@
-import React, { useState, useRef, useEffect, useCallback } from "react";
+import React, { useState, useRef, useEffect, useCallback, useMemo } from "react";
import ButtonSm from "@/components/ui-components/ButtonSm";
import SubactionHeader from "@/components/ui-components/SubactionHeader";
import ProcessingDirectorySettings from "@/components/mocap-setup/mocap-processing-directory";
import CalibrationModule from "@/components/pipeline-progress/calibration-progress/calibration-module";
import MOCAPthreeDReconstructionSettings from "@/components/mocap-setup/mocap-3dreconstruction-settings";
-import MOCAPMediaPipeDetectorSettings from "@/components/mocap-setup/mocap-mediapipedetector-settings";
+import MOCAPDetectorSettings from "@/components/mocap-setup/mocap-detector-settings";
import MOCAPBlenderSettings from "@/components/mocap-setup/mocap-blender-settings";
import { useMocap } from "@/hooks/useMocap";
@@ -20,8 +20,29 @@ const MocapSetupModal: React.FC<MocapSetupModalProps> = ({
onClose,
mode = "playback",
}) => {
- const { canProcessMocapRecording, isLoading, dispatchProcessMocapRecording } =
- useMocap();
+ const {
+ canProcessMocapRecording,
+ isLoading,
+ isRecording,
+ mocapRecordingPath,
+ directoryInfo,
+ calibrationTomlPath,
+ dispatchProcessMocapRecording,
+ } = useMocap();
+
+ const processBlockedReason = useMemo((): string | null => {
+ if (canProcessMocapRecording) return null;
+ if (isRecording) return "Stop recording before processing";
+ if (isLoading) return "Processing already in progress";
+ if (!mocapRecordingPath) return "Select a recording folder to process";
+ if (!directoryInfo?.hasVideos) return "No videos found in the selected recording folder";
+ const hasAnyCalibration =
+ !!calibrationTomlPath ||
+ !!directoryInfo?.cameraMocapTomlPath ||
+ !!directoryInfo?.lastSuccessfulCalibrationTomlPath;
+ if (!hasAnyCalibration) return "No calibration file found β€” select a calibration TOML or run calibration first";
+ return "Cannot process recording";
+ }, [canProcessMocapRecording, isRecording, isLoading, mocapRecordingPath, directoryInfo, calibrationTomlPath]);
const [activeButton, setActiveButton] = useState<
"button1" | "button2" | "button3" | "button4" | "button5"
>("button1");
@@ -122,7 +143,7 @@ const MocapSetupModal: React.FC<MocapSetupModalProps> = ({
onClick={() => scrollToPanel(2)}
/>
<ButtonSm
- text="MediaPipe Detector"
+ text="Detector"
buttonType={activeButton === "button4" ? "activated" : "idle"}
className="full-width quaternary"
onClick={() => scrollToPanel(3)}
@@ -173,13 +194,13 @@ const MocapSetupModal: React.FC<MocapSetupModalProps> = ({
/>
</div>
- {/* Panel 4 - MediaPipe Detector */}
+ {/* Panel 4 - Detector */}
<div
ref={panel4Ref}
data-panel="panel4"
className="bg-secondary p-2 br-1"
>
- <MOCAPMediaPipeDetectorSettings open={true} onClose={() => {}} />
+ <MOCAPDetectorSettings open={true} onClose={() => {}} />
</div>
{/* Panel 5 - Blender */}
@@ -224,7 +245,7 @@ const MocapSetupModal: React.FC<MocapSetupModalProps> = ({
disabled={!canProcessMocapRecording || isLoading}
tooltip={true}
tooltipPosition="pos-top"
- tooltipText="Start mocap processing"
+ tooltipText={processBlockedReason ?? "Start mocap processing"}
/>
) : (
<ButtonSm
diff --git a/freemocap-ui/src/components/pipeline-progress/realtime/realtimepipeline-mediapipedetector-settings.tsx b/freemocap-ui/src/components/pipeline-progress/realtime/realtimepipeline-mediapipedetector-settings.tsx
index 7db130e6..7dfa2948 100644
--- a/freemocap-ui/src/components/pipeline-progress/realtime/realtimepipeline-mediapipedetector-settings.tsx
+++ b/freemocap-ui/src/components/pipeline-progress/realtime/realtimepipeline-mediapipedetector-settings.tsx
@@ -1,74 +1,36 @@
import React, { useCallback, useEffect, useRef } from 'react';
import SubactionHeader from '@/components/ui-components/SubactionHeader';
import IconButton from '@/components/ui-components/IconButton';
-import NameDropdownSelector from '@/components/ui-components/NameDropdownSelector';
-import ToggleComponent from '@/components/ui-components/ToggleComponent';
import ValueSelector from '@/components/ui-components/ValueSelector';
-import { useMocap } from '@/hooks/useMocap';
import { useRealtimePipelineSync } from '@/hooks/useRealtimePipelineSync';
-import {
- detectPreset,
- MEDIAPIPE_POSTHOC_PRESET,
- MEDIAPIPE_REALTIME_PRESET,
- MediapipeDetectorConfig,
-} from '@/store/slices/mocap';
-
-interface RTPMediaPipeDetectorSettingsProps {
+import { DetectorType, MediapipeModelComplexity, RTMPOSE_MODELS } from '@/store/slices/mocap';
+import { CameraNodeConfig } from '@/store/slices/realtime/realtime-types';
+
+interface RTPSkeletonSetupProps {
open: boolean;
onClose: () => void;
}
-const PRESET_OPTIONS = ["Lite (Fastest)", "PostHog (Accurate)", "Custom"];
-
-const presetLabelToTarget: Record<string, "realtime" | "posthoc"> = {
- "Lite (Fastest)": "realtime",
- "PostHog (Accurate)": "posthoc",
-};
-
-const presetValueToLabel: Record<string, string> = {
- realtime: "Lite (Fastest)",
- posthoc: "PostHog (Accurate)",
- custom: "Custom",
-};
+const MEDIAPIPE_COMPLEXITIES: { label: string; value: MediapipeModelComplexity }[] = [
+ { label: "Lite", value: "lite" },
+ { label: "Full", value: "full" },
+ { label: "Heavy", value: "heavy" },
+];
-const RTPMediaPipeDetectorSettings: React.FC<
- RTPMediaPipeDetectorSettingsProps
-> = ({ open, onClose }) => {
+const RTPSkeletonSetup: React.FC<RTPSkeletonSetupProps> = ({ open, onClose }) => {
const modalRef = useRef<HTMLDivElement>(null);
+ const { pipelineConfig, cameraNodeConfig, applyOrUpdatePipelineConfig } = useRealtimePipelineSync();
- const {
- detectorConfig,
- updateDetectorConfigLocalOnly,
- replaceDetectorConfigLocalOnly,
- isLoading,
- } = useMocap();
- const { triggerRealtimeApply } = useRealtimePipelineSync();
-
- const handleUpdateDetectorConfig = useCallback(
- (updates: Partial<MediapipeDetectorConfig>) => {
- updateDetectorConfigLocalOnly(updates);
- triggerRealtimeApply();
- },
- [updateDetectorConfigLocalOnly, triggerRealtimeApply]
- );
+ const detectorType: DetectorType = cameraNodeConfig.detector_type ?? "rtmpose";
- const handleReplaceDetectorConfig = useCallback(
- (config: MediapipeDetectorConfig) => {
- replaceDetectorConfigLocalOnly(config);
- triggerRealtimeApply();
+ const handleCameraNodeUpdate = useCallback(
+ (updates: Partial<CameraNodeConfig>) => {
+ applyOrUpdatePipelineConfig({
+ ...pipelineConfig,
+ camera_node_config: { ...cameraNodeConfig, ...updates },
+ });
},
- [replaceDetectorConfigLocalOnly, triggerRealtimeApply]
- );
-
- const currentPreset = detectPreset(detectorConfig);
-
- const handlePresetChange = useCallback(
- (label: string) => {
- const target = presetLabelToTarget[label];
- if (target === "realtime") handleReplaceDetectorConfig({...MEDIAPIPE_REALTIME_PRESET});
- else if (target === "posthoc") handleReplaceDetectorConfig({...MEDIAPIPE_POSTHOC_PRESET});
- },
- [handleReplaceDetectorConfig]
+ [applyOrUpdatePipelineConfig, pipelineConfig, cameraNodeConfig]
);
useEffect(() => {
@@ -104,87 +66,118 @@ const RTPMediaPipeDetectorSettings: React.FC<
{/* Header */}
<div className="flex justify-content-space-between items-center">
- <SubactionHeader text="MediaPipe Settings" />
+ <SubactionHeader text="Skeleton Setup" />
<IconButton icon="close-icon" onClick={onClose} />
</div>
- {/* Preset dropdown */}
- <div className="flex p-1 flex-row gap-1 items-center justify-content-space-between">
- <span className="text-sm">Preset</span>
-
- <NameDropdownSelector
- key={currentPreset}
- options={PRESET_OPTIONS}
- initialValue={presetValueToLabel[currentPreset]}
- onChange={handlePresetChange}
- className="flex flex-row"
- />
- </div>
-
- {/* Min Detection Confidence */}
- <div className="flex p-1 flex-row gap-1 items-center justify-content-space-between">
- <span className="text-sm">Min detection confidence</span>
- <ValueSelector
- value={detectorConfig.min_detection_confidence}
- min={0}
- max={1}
- step={0.05}
- unit=""
- onChange={(v) => handleUpdateDetectorConfig({ min_detection_confidence: v })}
- />
- </div>
-
- {/* Min Tracking Confidence */}
+ {/* Detector toggle */}
<div className="flex p-1 flex-row gap-1 items-center justify-content-space-between">
- <span className="text-sm">Min tracking confidence</span>
- <ValueSelector
- value={detectorConfig.min_tracking_confidence}
- min={0}
- max={1}
- step={0.05}
- unit=""
- onChange={(v) => handleUpdateDetectorConfig({ min_tracking_confidence: v })}
- />
+ <span className="text-sm">Detector</span>
+ <div className="flex flex-row gap-1">
+ {(["rtmpose", "mediapipe"] as DetectorType[]).map((type) => (
+ <button
+ key={type}
+ className={`button sm br-1 ${detectorType === type ? "primary accent" : "quaternary"}`}
+ onClick={() => handleCameraNodeUpdate({ detector_type: type })}
+ >
+ {type === "rtmpose" ? "RTMPose" : "MediaPipe"}
+ </button>
+ ))}
+ </div>
</div>
- {/* Toggles */}
- <ToggleComponent
- text="Smooth landmarks"
- isToggled={detectorConfig.smooth_landmarks}
- onToggle={(checked) => handleUpdateDetectorConfig({ smooth_landmarks: checked })}
- disabled={isLoading}
- />
-
- <ToggleComponent
- text="Segmentation"
- isToggled={detectorConfig.enable_segmentation}
- onToggle={(checked) => handleUpdateDetectorConfig({ enable_segmentation: checked })}
- disabled={isLoading}
- />
-
- <ToggleComponent
- text="Smooth segmentation"
- isToggled={detectorConfig.smooth_segmentation}
- onToggle={(checked) => handleUpdateDetectorConfig({ smooth_segmentation: checked })}
- disabled={isLoading || !detectorConfig.enable_segmentation}
- />
-
- <ToggleComponent
- text="Refine face landmarks"
- isToggled={detectorConfig.refine_face_landmarks}
- onToggle={(checked) => handleUpdateDetectorConfig({ refine_face_landmarks: checked })}
- disabled={isLoading}
- />
-
- <ToggleComponent
- text="Static image mode"
- isToggled={detectorConfig.static_image_mode}
- onToggle={(checked) => handleUpdateDetectorConfig({ static_image_mode: checked })}
- disabled={isLoading}
- />
+ {/* RTMPose settings */}
+ {detectorType === "rtmpose" && (
+ <>
+ <p className="text-sm text-gray p-1">
+ 133 keypoints (body, hands, face) via YOLOX + RTMPose. Uses GPU batched inference when available.
+ </p>
+
+ {/* Model */}
+ <div className="flex p-1 flex-row gap-1 items-center justify-content-space-between">
+ <span className="text-sm">Model</span>
+ <div className="flex flex-row gap-1">
+ {RTMPOSE_MODELS.map(({ label, value }) => (
+ <button
+ key={value}
+ className={`button sm br-1 ${(cameraNodeConfig.rtmpose_model_name ?? "rtmw-x-l_256x192") === value ? "primary accent" : "quaternary"}`}
+ onClick={() => handleCameraNodeUpdate({ rtmpose_model_name: value })}
+ >
+ {label}
+ </button>
+ ))}
+ </div>
+ </div>
+
+ {/* Confidence threshold */}
+ <div className="flex p-1 flex-row gap-1 items-center justify-content-space-between">
+ <span className="text-sm">Confidence threshold</span>
+ <ValueSelector
+ value={cameraNodeConfig.rtmpose_confidence_threshold ?? 0.0025}
+ min={0} max={1} step={0.0005} unit=""
+ onChange={(v) => handleCameraNodeUpdate({ rtmpose_confidence_threshold: v })}
+ />
+ </div>
+ </>
+ )}
+
+ {/* MediaPipe settings */}
+ {detectorType === "mediapipe" && (
+ <>
+ <p className="text-sm text-gray p-1">
+ Body + hands + face via MediaPipe. CPU-only; runs per-camera without GPU batching.
+ </p>
+
+ {/* Model size */}
+ <div className="flex p-1 flex-row gap-1 items-center justify-content-space-between">
+ <span className="text-sm">Model size</span>
+ <div className="flex flex-row gap-1">
+ {MEDIAPIPE_COMPLEXITIES.map(({ label, value }) => (
+ <button
+ key={value}
+ className={`button sm br-1 ${(cameraNodeConfig.mediapipe_model_complexity ?? "lite") === value ? "primary accent" : "quaternary"}`}
+ onClick={() => handleCameraNodeUpdate({ mediapipe_model_complexity: value })}
+ >
+ {label}
+ </button>
+ ))}
+ </div>
+ </div>
+
+ {/* Detection confidence */}
+ <div className="flex p-1 flex-row gap-1 items-center justify-content-space-between">
+ <span className="text-sm">Detection confidence</span>
+ <ValueSelector
+ value={cameraNodeConfig.mediapipe_detection_confidence ?? 0.5}
+ min={0} max={1} step={0.05} unit=""
+ onChange={(v) => handleCameraNodeUpdate({ mediapipe_detection_confidence: v })}
+ />
+ </div>
+
+ {/* Presence confidence */}
+ <div className="flex p-1 flex-row gap-1 items-center justify-content-space-between">
+ <span className="text-sm">Presence confidence</span>
+ <ValueSelector
+ value={cameraNodeConfig.mediapipe_presence_confidence ?? 0.5}
+ min={0} max={1} step={0.05} unit=""
+ onChange={(v) => handleCameraNodeUpdate({ mediapipe_presence_confidence: v })}
+ />
+ </div>
+
+ {/* Tracking confidence */}
+ <div className="flex p-1 flex-row gap-1 items-center justify-content-space-between">
+ <span className="text-sm">Tracking confidence</span>
+ <ValueSelector
+ value={cameraNodeConfig.mediapipe_tracking_confidence ?? 0.5}
+ min={0} max={1} step={0.05} unit=""
+ onChange={(v) => handleCameraNodeUpdate({ mediapipe_tracking_confidence: v })}
+ />
+ </div>
+ </>
+ )}
</div>
</div>
);
};
-export default RTPMediaPipeDetectorSettings;
+export default RTPSkeletonSetup;
diff --git a/freemocap-ui/src/components/playback/RecordingBrowser.tsx b/freemocap-ui/src/components/playback/RecordingBrowser.tsx
index bd18a843..b05d4efd 100644
--- a/freemocap-ui/src/components/playback/RecordingBrowser.tsx
+++ b/freemocap-ui/src/components/playback/RecordingBrowser.tsx
@@ -234,7 +234,7 @@ export const RecordingBrowser: React.FC<RecordingBrowserProps> = ({
const recName = rec
? rec.name
: recordingPath.split(/[\\/]/).pop() || recordingPath;
- const parsed = rec?.path ? splitParentAndName(rec.path) : null;
+ const parsed = splitParentAndName(rec?.path ?? recordingPath);
const parentDir = parsed?.baseDirectory;
const videosUrl = serverUrls.endpoints.playbackVideos(recName);
diff --git a/freemocap-ui/src/components/ui-components/SettingsModal.tsx b/freemocap-ui/src/components/ui-components/SettingsModal.tsx
new file mode 100644
index 00000000..62b00379
--- /dev/null
+++ b/freemocap-ui/src/components/ui-components/SettingsModal.tsx
@@ -0,0 +1,207 @@
+import React, {useCallback, useEffect, useState} from 'react';
+import {useElectronIPC} from '@/services';
+import {useAppDispatch, useAppSelector} from '@/store';
+import {recordingDirectoryChanged, selectIsAnyRecording} from '@/store/slices/recording';
+import {activeRecordingBaseDirectoryChanged} from '@/store/slices/active-recording';
+import {recordingsDirFromBaseFolder} from '@/utils/dataFolder';
+import ButtonSm from '@/components/ui-components/ButtonSm';
+import IconButton from '@/components/ui-components/IconButton';
+import Checkbox from '@/components/ui-components/Checkbox';
+import SubactionHeader from '@/components/ui-components/SubactionHeader';
+
+interface SettingsModalProps {
+ open: boolean;
+ onClose: () => void;
+}
+
+/**
+ * Application settings, shown as a modal (mirrors the mocap-setup-modal pattern).
+ * Exposes the base data folder (change / reset-to-default / open) and the usage-pings toggle.
+ */
+export const SettingsModal: React.FC<SettingsModalProps> = ({open, onClose}) => {
+ const {isElectron, api} = useElectronIPC();
+ const dispatch = useAppDispatch();
+ const isRecording = useAppSelector(selectIsAnyRecording);
+
+ const [baseFolder, setBaseFolder] = useState<string>('');
+ const [telemetryEnabled, setTelemetryEnabled] = useState<boolean>(true);
+ const [loaded, setLoaded] = useState<boolean>(false);
+ const [busy, setBusy] = useState<boolean>(false);
+ const [status, setStatus] = useState<string | null>(null);
+
+ // Load current values whenever the modal opens
+ useEffect(() => {
+ if (!open) return;
+ let cancelled = false;
+ (async () => {
+ if (!isElectron || !api) {
+ setLoaded(true);
+ return;
+ }
+ try {
+ const [base, telemetry] = await Promise.all([
+ api.fileSystem.getBaseDataFolder.query(),
+ api.telemetry.getEnabled.query(),
+ ]);
+ if (cancelled) return;
+ setBaseFolder(base);
+ setTelemetryEnabled(telemetry);
+ } catch (err) {
+ console.error('Failed to load settings:', err);
+ } finally {
+ if (!cancelled) setLoaded(true);
+ }
+ })();
+ return () => {
+ cancelled = true;
+ };
+ }, [open, isElectron, api]);
+
+ // Close on Escape
+ useEffect(() => {
+ if (!open) return;
+ const onKeyDown = (e: KeyboardEvent) => {
+ if (e.key === 'Escape') onClose();
+ };
+ window.addEventListener('keydown', onKeyDown);
+ return () => window.removeEventListener('keydown', onKeyDown);
+ }, [open, onClose]);
+
+ const applyNewBaseFolder = useCallback((newBase: string) => {
+ setBaseFolder(newBase);
+ const recordingsDir = recordingsDirFromBaseFolder(newBase);
+ dispatch(recordingDirectoryChanged(recordingsDir));
+ dispatch(activeRecordingBaseDirectoryChanged(recordingsDir));
+ }, [dispatch]);
+
+ const handleChangeFolder = useCallback(async () => {
+ if (!api || busy || isRecording) return;
+ const selected = await api.fileSystem.selectDirectory.mutate();
+ if (!selected) return; // user canceled the picker
+ setBusy(true);
+ setStatus('Applying data folder…');
+ try {
+ const {baseFolder: newBase, serverRestarted} = await api.fileSystem.setBaseDataFolder.mutate({path: selected});
+ applyNewBaseFolder(newBase);
+ setStatus(serverRestarted
+ ? 'Data folder updated and server restarted. Existing recordings were not moved.'
+ : 'Data folder saved. Restart the FreeMoCap server to apply it. Existing recordings were not moved.');
+ } catch (err) {
+ console.error('Failed to set base data folder:', err);
+ setStatus('Failed to update the data folder. See logs for details.');
+ } finally {
+ setBusy(false);
+ }
+ }, [api, busy, isRecording, applyNewBaseFolder]);
+
+ const handleReset = useCallback(async () => {
+ if (!api || busy || isRecording) return;
+ setBusy(true);
+ setStatus('Resetting data folder…');
+ try {
+ const {baseFolder: newBase, serverRestarted} = await api.fileSystem.resetBaseDataFolder.mutate();
+ applyNewBaseFolder(newBase);
+ setStatus(serverRestarted
+ ? 'Reset to the default data folder and restarted the server.'
+ : 'Reset to the default data folder. Restart the FreeMoCap server to apply it.');
+ } catch (err) {
+ console.error('Failed to reset base data folder:', err);
+ setStatus('Failed to reset the data folder. See logs for details.');
+ } finally {
+ setBusy(false);
+ }
+ }, [api, busy, isRecording, applyNewBaseFolder]);
+
+ const handleOpenFolder = useCallback(async () => {
+ if (!api || !baseFolder) return;
+ await api.fileSystem.openFolder.mutate({path: baseFolder});
+ }, [api, baseFolder]);
+
+ const handleTelemetryToggle = useCallback(async (checked: boolean) => {
+ setTelemetryEnabled(checked);
+ try {
+ if (api) await api.telemetry.setEnabled.mutate({enabled: checked});
+ } catch (err) {
+ console.error('Failed to save telemetry preference:', err);
+ }
+ }, [api]);
+
+ if (!open) return null;
+
+ return (
+ <>
+ {/* Backdrop */}
+ <div className="pos-fixed inset-0 bg-surface-overlay z-10" onClick={onClose}/>
+
+ {/* Modal */}
+ <div className="settings-modal bg-primary border-1 border-black pos-fixed elevated-sharp p-1 flex flex-col br-2">
+ <div className="flex flex-col p-2 gap-2 bg-middark br-1">
+ <div className="flex justify-content-space-between items-center">
+ <SubactionHeader text="Settings"/>
+ <IconButton icon="close-icon" onClick={onClose}/>
+ </div>
+
+ {/* Data folder */}
+ <div className="flex flex-col gap-2 bg-secondary p-2 br-1">
+ <SubactionHeader text="Data folder" className="text-gray"/>
+ <p className="text sm text-gray">
+ Where FreeMoCap stores recordings, calibrations, and logs.
+ </p>
+ <p className="text sm text-white"
+ style={{fontFamily: 'monospace', wordBreak: 'break-all'}}>
+ {loaded ? (baseFolder || 'β€”') : 'Loading…'}
+ </p>
+ <div className="flex flex-row gap-2 flex-wrap">
+ <ButtonSm
+ text={busy ? 'Applying…' : 'Change…'}
+ textColor="text-white"
+ buttonType=""
+ className="primary accent"
+ onClick={handleChangeFolder}
+ disabled={busy || isRecording}
+ />
+ <ButtonSm
+ text="Reset to default"
+ buttonType="quaternary"
+ onClick={handleReset}
+ disabled={busy || isRecording}
+ />
+ <ButtonSm
+ text="Open folder"
+ buttonType="quaternary"
+ onClick={handleOpenFolder}
+ disabled={!baseFolder}
+ />
+ </div>
+ {isRecording && (
+ <p className="text sm text-gray">Stop the active recording to change the data folder.</p>
+ )}
+ {status && <p className="text sm text-gray">{status}</p>}
+ <p className="text sm text-darkgray">
+ Changing the folder restarts the server. Existing recordings are not moved.
+ </p>
+ </div>
+
+ {/* Privacy */}
+ <div className="flex flex-col gap-1 bg-secondary p-2 br-1">
+ <SubactionHeader text="Privacy" className="text-gray"/>
+ {loaded && (
+ <Checkbox
+ label="Send anonymous usage pings to help improve FreeMoCap"
+ checked={telemetryEnabled}
+ onChange={(e) => handleTelemetryToggle(e.target.checked)}
+ />
+ )}
+ </div>
+
+ {/* Bottom actions */}
+ <div className="flex flex-row gap-2" style={{justifyContent: 'flex-end'}}>
+ <ButtonSm text="Close" buttonType="quaternary" onClick={onClose}/>
+ </div>
+ </div>
+ </div>
+ </>
+ );
+};
+
+export default SettingsModal;
diff --git a/freemocap-ui/src/components/viewport3d/helpers/virtual-points.ts b/freemocap-ui/src/components/viewport3d/helpers/virtual-points.ts
index 5e3f07b6..b02bf2bd 100644
--- a/freemocap-ui/src/components/viewport3d/helpers/virtual-points.ts
+++ b/freemocap-ui/src/components/viewport3d/helpers/virtual-points.ts
@@ -26,11 +26,10 @@ const VIRTUAL_POINT_SPECS: Record<string, VirtualPointSpec> = {
neck_center: ['left_shoulder', 'right_shoulder'],
hips_center: ['left_hip', 'right_hip'],
},
- // Legacy MediaPipe-style schemas
- mediapipe_body: {
- head_center: ['body.left_ear', 'body.right_ear'],
- neck_center: ['body.left_shoulder', 'body.right_shoulder'],
- hips_center: ['body.left_hip', 'body.right_hip'],
+ mediapipe_wholebody: {
+ head_center: ['left_ear', 'right_ear'],
+ neck_center: ['left_shoulder', 'right_shoulder'],
+ hips_center: ['left_hip', 'right_hip'],
},
};
diff --git a/freemocap-ui/src/components/viewport3d/renderers/ConnectionRenderer.tsx b/freemocap-ui/src/components/viewport3d/renderers/ConnectionRenderer.tsx
index cdedd741..3eb7a3e2 100644
--- a/freemocap-ui/src/components/viewport3d/renderers/ConnectionRenderer.tsx
+++ b/freemocap-ui/src/components/viewport3d/renderers/ConnectionRenderer.tsx
@@ -223,6 +223,19 @@ export function ConnectionRenderer() {
}
};
+ // Clear stale skeleton data when the active schema changes (tracker switch).
+ // Without this, old point names from the previous tracker persist in
+ // pointsRef until the next skeleton frame overwrites them, causing ghost
+ // connections to briefly render with the wrong schema.
+ useEffect(() => {
+ const m = pointsRef.current;
+ for (const key of m.keys()) {
+ if (!isCalibPoint(key)) m.delete(key);
+ }
+ dirtyRef.current = true;
+ invalidate();
+ }, [activeSchema, invalidate]);
+
// Skeleton: FABRIK-fitted canonical body + hand landmarks. These drive
// the stick-figure connections. Each frame replaces the body/hand entries
// in pointsRef.
diff --git a/freemocap-ui/src/hooks/useHydrateDataFolder.ts b/freemocap-ui/src/hooks/useHydrateDataFolder.ts
new file mode 100644
index 00000000..065529c7
--- /dev/null
+++ b/freemocap-ui/src/hooks/useHydrateDataFolder.ts
@@ -0,0 +1,41 @@
+import {useEffect, useRef} from 'react';
+import {useElectronIPC} from '@/services/electron-ipc/electron-ipc';
+import {useAppDispatch, useAppSelector} from '@/store';
+import {recordingDirectoryChanged} from '@/store/slices/recording';
+import {activeRecordingBaseDirectoryChanged} from '@/store/slices/active-recording';
+import {recordingsDirFromBaseFolder} from '@/utils/dataFolder';
+
+/**
+ * On startup, resolve the base data folder from the Electron main process and seed the recording
+ * directories with `<baseFolder>/recordings`. Only fills in directories the user has not already
+ * chosen (persisted values are left untouched). Runs once per app launch.
+ */
+export function useHydrateDataFolder(): void {
+ const {isElectron, api} = useElectronIPC();
+ const dispatch = useAppDispatch();
+ const recordingDirectory = useAppSelector((s) => s.recording.recordingDirectory);
+ const activeBaseDirectory = useAppSelector((s) => s.activeRecording.baseDirectory);
+ const hasRun = useRef(false);
+
+ useEffect(() => {
+ if (hasRun.current || !isElectron || !api) return;
+ hasRun.current = true;
+
+ let cancelled = false;
+ (async () => {
+ try {
+ const baseFolder = await api.fileSystem.getBaseDataFolder.query();
+ if (cancelled || !baseFolder) return;
+ const recordingsDir = recordingsDirFromBaseFolder(baseFolder);
+ if (!recordingDirectory) dispatch(recordingDirectoryChanged(recordingsDir));
+ if (!activeBaseDirectory) dispatch(activeRecordingBaseDirectoryChanged(recordingsDir));
+ } catch (err) {
+ console.error('Failed to hydrate data folder from base folder:', err);
+ }
+ })();
+
+ return () => {
+ cancelled = true;
+ };
+ }, [isElectron, api, dispatch, recordingDirectory, activeBaseDirectory]);
+}
diff --git a/freemocap-ui/src/hooks/useMenuActions.ts b/freemocap-ui/src/hooks/useMenuActions.ts
index 7abf436b..c9625fa0 100644
--- a/freemocap-ui/src/hooks/useMenuActions.ts
+++ b/freemocap-ui/src/hooks/useMenuActions.ts
@@ -11,6 +11,7 @@ import {calibrationConfigUpdated} from '@/store/slices/calibration/calibration-s
import {pipelineSnackbarShown} from '@/store/slices/pipelines';
// import { localeChanged, selectLocale, localeToggled } from '@/store/slices/settings';
import {isElectron, useElectronIPC} from '@/services/electron-ipc/electron-ipc';
+import {recordingsDirFromBaseFolder} from '@/utils/dataFolder';
import {SUPPORTED_LOCALES} from '@/i18n';
import type {MenuAction} from '../../electron/main/services/menu-builder';
@@ -111,7 +112,7 @@ export function useMenuActions({ onToggleSidebar }: UseMenuActionsParams): void
navigate('/playback');
break;
case 'navigate-settings':
- navigate('/settings');
+ window.dispatchEvent(new CustomEvent('open-settings'));
break;
// View
@@ -176,9 +177,8 @@ export function useMenuActions({ onToggleSidebar }: UseMenuActionsParams): void
case 'load-test-data': {
if (!api) break;
try {
- const home: string = await api.fileSystem.getHomeDirectory.query();
- const sep = home.includes('\\') ? '\\' : '/';
- const baseDirectory = `${home}${sep}freemocap_data${sep}recordings`;
+ const baseFolder: string = await api.fileSystem.getBaseDataFolder.query();
+ const baseDirectory = recordingsDirFromBaseFolder(baseFolder);
dispatch(activeRecordingSet({
baseDirectory,
recordingName: 'freemocap_test_data',
diff --git a/freemocap-ui/src/hooks/useMocap.ts b/freemocap-ui/src/hooks/useMocap.ts
index 9c6ea3fe..c0717eae 100644
--- a/freemocap-ui/src/hooks/useMocap.ts
+++ b/freemocap-ui/src/hooks/useMocap.ts
@@ -5,22 +5,43 @@ import {useElectronIPC} from '@/services';
import {
calibrationTomlPathChanged,
calibrationTomlPathCleared,
+ DetectorType,
MediapipeDetectorConfig,
+ MediapipeModelComplexity,
MocapDirectoryInfo,
mocapDetectorConfigReplaced,
mocapDetectorConfigUpdated,
+ mocapDetectorTypeChanged,
mocapDirectoryInfoUpdated,
mocapErrorCleared,
+ mocapMediapipeComplexityChanged,
+ mocapMediapipeDetectionConfidenceChanged,
+ mocapMediapipeNumFacesChanged,
+ mocapMediapipeNumHandsChanged,
+ mocapMediapipePresenceConfidenceChanged,
+ mocapMediapipeTrackingConfidenceChanged,
+ mocapRtmPoseConfidenceThresholdChanged,
+ mocapRtmPoseModelNameChanged,
processMocapRecording,
RealtimeFilterConfig,
+ RTMPoseModelName,
selectCalibrationTomlPath,
selectCanProcessMocapRecording,
selectCanStartMocapRecording,
selectIsUsingManualMocapPath,
selectMocap,
selectMocapDetectorConfig,
+ selectMocapDetectorType,
selectMocapDirectoryInfo,
+ selectMocapMediapipeComplexity,
+ selectMocapMediapipeDetectionConfidence,
+ selectMocapMediapipeNumFaces,
+ selectMocapMediapipeNumHands,
+ selectMocapMediapipePresenceConfidence,
+ selectMocapMediapipeTrackingConfidence,
selectMocapRecordingPath,
+ selectMocapRtmPoseConfidenceThreshold,
+ selectMocapRtmPoseModelName,
selectSkeletonFilterConfig,
skeletonFilterConfigReplaced,
skeletonFilterConfigUpdated,
@@ -53,6 +74,15 @@ export function useMocap() {
const {api, isElectron} = useElectronIPC();
const mocapState = useAppSelector(selectMocap);
const detectorConfig = useAppSelector(selectMocapDetectorConfig);
+ const detectorType = useAppSelector(selectMocapDetectorType);
+ const rtmPoseModelName = useAppSelector(selectMocapRtmPoseModelName);
+ const rtmPoseConfidenceThreshold = useAppSelector(selectMocapRtmPoseConfidenceThreshold);
+ const mediapipeModelComplexity = useAppSelector(selectMocapMediapipeComplexity);
+ const mediapipeDetectionConfidence = useAppSelector(selectMocapMediapipeDetectionConfidence);
+ const mediapipePresenceConfidence = useAppSelector(selectMocapMediapipePresenceConfidence);
+ const mediapipeTrackingConfidence = useAppSelector(selectMocapMediapipeTrackingConfidence);
+ const mediapipeNumHands = useAppSelector(selectMocapMediapipeNumHands);
+ const mediapipeNumFaces = useAppSelector(selectMocapMediapipeNumFaces);
const skeletonFilterConfig = useAppSelector(selectSkeletonFilterConfig);
const canStartRecording = useAppSelector(selectCanStartMocapRecording);
const canProcessMocapRecording = useAppSelector(selectCanProcessMocapRecording);
@@ -61,6 +91,50 @@ export function useMocap() {
const isUsingManualPath = useAppSelector(selectIsUsingManualMocapPath);
const calibrationTomlPath = useAppSelector(selectCalibrationTomlPath);
+ const setDetectorType = useCallback(
+ (type: DetectorType) => {
+ dispatch(mocapDetectorTypeChanged(type));
+ },
+ [dispatch]
+ );
+
+ const setRtmPoseModelName = useCallback(
+ (modelName: RTMPoseModelName) => {
+ dispatch(mocapRtmPoseModelNameChanged(modelName));
+ },
+ [dispatch]
+ );
+
+ const setRtmPoseConfidenceThreshold = useCallback(
+ (threshold: number) => {
+ dispatch(mocapRtmPoseConfidenceThresholdChanged(threshold));
+ },
+ [dispatch]
+ );
+
+ const setMediapipeModelComplexity = useCallback(
+ (complexity: MediapipeModelComplexity) => {
+ dispatch(mocapMediapipeComplexityChanged(complexity));
+ },
+ [dispatch]
+ );
+
+ const setMediapipeDetectionConfidence = useCallback(
+ (v: number) => dispatch(mocapMediapipeDetectionConfidenceChanged(v)), [dispatch]
+ );
+ const setMediapipePresenceConfidence = useCallback(
+ (v: number) => dispatch(mocapMediapipePresenceConfidenceChanged(v)), [dispatch]
+ );
+ const setMediapipeTrackingConfidence = useCallback(
+ (v: number) => dispatch(mocapMediapipeTrackingConfidenceChanged(v)), [dispatch]
+ );
+ const setMediapipeNumHands = useCallback(
+ (v: number) => dispatch(mocapMediapipeNumHandsChanged(v)), [dispatch]
+ );
+ const setMediapipeNumFaces = useCallback(
+ (v: number) => dispatch(mocapMediapipeNumFacesChanged(v)), [dispatch]
+ );
+
const updateDetectorConfig = useCallback(
(updates: Partial<MediapipeDetectorConfig>) => {
dispatch(mocapDetectorConfigUpdated(updates));
@@ -190,6 +264,15 @@ export function useMocap() {
// State
config: mocapState.config,
detectorConfig,
+ detectorType,
+ rtmPoseModelName,
+ rtmPoseConfidenceThreshold,
+ mediapipeModelComplexity,
+ mediapipeDetectionConfidence,
+ mediapipePresenceConfidence,
+ mediapipeTrackingConfidence,
+ mediapipeNumHands,
+ mediapipeNumFaces,
skeletonFilterConfig,
error: mocapState.error,
isLoading: mocapState.isLoading,
@@ -204,6 +287,15 @@ export function useMocap() {
canProcessMocapRecording,
calibrationTomlPath,
// Actions
+ setDetectorType,
+ setRtmPoseModelName,
+ setRtmPoseConfidenceThreshold,
+ setMediapipeModelComplexity,
+ setMediapipeDetectionConfidence,
+ setMediapipePresenceConfidence,
+ setMediapipeTrackingConfidence,
+ setMediapipeNumHands,
+ setMediapipeNumFaces,
updateDetectorConfig,
replaceDetectorConfig,
updateSkeletonFilterConfig,
diff --git a/freemocap-ui/src/layout/content/SidePanelContent.tsx b/freemocap-ui/src/layout/content/SidePanelContent.tsx
index e1d3fd20..4080da76 100644
--- a/freemocap-ui/src/layout/content/SidePanelContent.tsx
+++ b/freemocap-ui/src/layout/content/SidePanelContent.tsx
@@ -8,7 +8,6 @@ import {CameraConfigTreeView} from '@/components/control-panels/camera-config-pa
import {RecordingPathPanel} from "@/components/control-panels/recording-info-panel/RecordingPathPanel";
import {RecordingControlPanel} from "@/components/control-panels/recording-info-panel/RecordingControlPanel";
import {RecordingInfoPanel as ProcessMocapPanel} from "@/components/control-panels/recording-info-panel/ProcessMocapPanel";
-import {MocapPanel} from "@/components/control-panels/mocap-control-panel/MocapPanel";
import {ServerConnectionStatus} from "@/components/control-panels/server-connection";
import {RecordingBrowserSection} from "@/components/playback/RecordingBrowserSection";
import CalibrationModule from "@/components/pipeline-progress/calibration-progress/calibration-module";
@@ -34,7 +33,6 @@ const SECTION_COMPONENTS: Record<SectionId, React.FC> = {
process_mocap: ProcessMocapPanel,
recording_path: RecordingPathPanel,
recording_control: RecordingControlPanel,
- mocap: MocapPanel,
recordings: RecordingBrowserSection,
};
@@ -299,12 +297,10 @@ export const SidePanelContent = ({ isCollapsed = false, onToggleCollapse, onOpen
order={index}
defaultSize={Math.max(defaultSizes[index], minSize)}
minSize={minSize}
-
- style={{ overflow: 'unset' }}
-
+ style={{ overflow: growable ? 'hidden' : 'unset' }}
>
{growable ? (
- <div className="h-full min-h-0 flex flex-col">
+ <div className="h-full min-h-0 flex flex-col overflow-hidden">
<Component />
</div>
) : (
diff --git a/freemocap-ui/src/services/server/ServerContextProvider.tsx b/freemocap-ui/src/services/server/ServerContextProvider.tsx
index 63373e38..33330ece 100644
--- a/freemocap-ui/src/services/server/ServerContextProvider.tsx
+++ b/freemocap-ui/src/services/server/ServerContextProvider.tsx
@@ -32,6 +32,7 @@ import {store} from "@/store";
import {pipelineProgressUpdated, PipelinePhase, PipelineType} from "@/store/slices/pipelines";
import {serverStateReceived, wsConnectionChanged, serverDisconnected} from "@/store/slices/connection/connection-slice";
import type {AppStateMessage} from "@/store/slices/connection/connection-types";
+import {loadCalibrationForRecording} from "@/store/slices/calibration";
// Type guard for the server's authoritative APP_STATE snapshot
function isAppState(data: any): data is AppStateMessage {
@@ -288,6 +289,16 @@ export const ServerContextProvider: React.FC<{ children: ReactNode }> = ({childr
const frame: KeypointsFrame = { pointNames, interleaved };
if (block.kind === BLOCK_KIND.KEYPOINTS_3D) {
+ // When a known-schema tracker sends a keypoints block, update the
+ // active tracker so the 3D viewport uses the matching connection schema.
+ if (
+ block.trackerId in trackerSchemasRef.current &&
+ activeTrackerIdRef.current !== block.trackerId
+ ) {
+ activeTrackerIdRef.current = block.trackerId;
+ setActiveTrackerId(block.trackerId);
+ canvasManagerRef.current?.setSchema(trackerSchemasRef.current, block.trackerId);
+ }
keypointsRef.current = frame;
for (const cb of keypointsSubscribersRef.current) cb(frame);
} else if (block.kind === BLOCK_KIND.SKELETON_3D) {
@@ -428,6 +439,17 @@ export const ServerContextProvider: React.FC<{ children: ReactNode }> = ({childr
type: 'calibration/calibrationPipelineProgressReceived',
payload: {phase: jsonData.phase},
});
+ if (jsonData.phase === 'complete' && jsonData.recording_name) {
+ const recordingPath: string = jsonData.recording_path ?? '';
+ const recordingName: string = jsonData.recording_name;
+ const parentDir = recordingPath.endsWith(recordingName)
+ ? recordingPath.slice(0, recordingPath.length - recordingName.length - 1)
+ : null;
+ store.dispatch(loadCalibrationForRecording({
+ recordingId: recordingName,
+ recordingParentDirectory: parentDir,
+ }));
+ }
}
}
}
diff --git a/freemocap-ui/src/services/server/server-helpers/canvas-manager.ts b/freemocap-ui/src/services/server/server-helpers/canvas-manager.ts
index 21d08e1d..449743b3 100644
--- a/freemocap-ui/src/services/server/server-helpers/canvas-manager.ts
+++ b/freemocap-ui/src/services/server/server-helpers/canvas-manager.ts
@@ -1,5 +1,5 @@
import type { CharucoObservation } from "@/services/server/server-helpers/image-overlay/charuco-types";
-import type { MediapipeObservation } from "@/services/server/server-helpers/image-overlay/mediapipe-types";
+import type { SkeletonObservation } from "@/services/server/server-helpers/image-overlay/skeleton-types";
import type { TrackedObjectDefinition } from "@/services/server/server-helpers/tracked-object-definition";
export interface CanvasWorker {
@@ -205,7 +205,7 @@ export class CanvasManager {
*/
public updateOverlays(
charuco: Record<string, CharucoObservation> | null | undefined,
- skeleton: Record<string, MediapipeObservation> | null | undefined,
+ skeleton: Record<string, SkeletonObservation> | null | undefined,
): void {
const cameraIds = new Set<string>();
if (charuco) for (const id of Object.keys(charuco)) cameraIds.add(id);
diff --git a/freemocap-ui/src/services/server/server-helpers/image-overlay/index.ts b/freemocap-ui/src/services/server/server-helpers/image-overlay/index.ts
index 2cf6ad5a..545cb45a 100644
--- a/freemocap-ui/src/services/server/server-helpers/image-overlay/index.ts
+++ b/freemocap-ui/src/services/server/server-helpers/image-overlay/index.ts
@@ -6,16 +6,11 @@ export * from './overlay-renderer-factory';
export {
- MediapipePointSchema,
- MediapipeOverlaySchema,
- MediapipeOverlayDataMessageSchema,
SkeletonPointSchema,
SkeletonOverlaySchema,
SkeletonOverlayDataMessageSchema,
- type MediapipePoint,
- type MediapipeObservation,
- type MediapipeOverlayDataMessage,
type SkeletonPoint,
type SkeletonObservation,
-} from './mediapipe-types';
-export { MediapipeOverlayRenderer } from './mediapipe-overlay-renderer';
+ type SkeletonOverlayDataMessage,
+} from './skeleton-types';
+export { SkeletonOverlayRenderer } from './skeleton-overlay-renderer';
diff --git a/freemocap-ui/src/services/server/server-helpers/image-overlay/overlay-renderer-factory.ts b/freemocap-ui/src/services/server/server-helpers/image-overlay/overlay-renderer-factory.ts
index 31926636..cc436de7 100644
--- a/freemocap-ui/src/services/server/server-helpers/image-overlay/overlay-renderer-factory.ts
+++ b/freemocap-ui/src/services/server/server-helpers/image-overlay/overlay-renderer-factory.ts
@@ -1,6 +1,6 @@
// overlay-renderer-factory.ts
import {CharucoOverlayRenderer} from './charuco-overlay-renderer';
-import {MediapipeObservation, MediapipeOverlayRenderer} from './mediapipe-overlay-renderer';
+import {SkeletonObservation, SkeletonOverlayRenderer} from './skeleton-overlay-renderer';
import {BaseOverlayRenderer, ModelInfo} from "@/services/server/server-helpers/image-overlay/image-overlay-system";
import {CharucoObservation} from "@/services/server/server-helpers/image-overlay/charuco-types";
import {TrackedObjectDefinition} from "@/services/server/server-helpers/tracked-object-definition";
@@ -51,23 +51,23 @@ export class OverlayRendererFactory {
/**
* Manager for handling overlay rendering across multiple cameras.
*
- * Composites both charuco and mediapipe overlays sequentially onto each
- * frame: source β†’ charuco β†’ mediapipe. Each renderer draws on top of
+ * Composites both charuco and skeleton overlays sequentially onto each
+ * frame: source β†’ charuco β†’ skeleton. Each renderer draws on top of
* the previous result rather than clearing and redrawing from scratch.
*/
export class OverlayManager {
private charucoRenderer: CharucoOverlayRenderer = new CharucoOverlayRenderer();
- private mediapipeRenderer: MediapipeOverlayRenderer = new MediapipeOverlayRenderer();
+ private skeletonRenderer: SkeletonOverlayRenderer = new SkeletonOverlayRenderer();
/**
* Composite both overlay types onto a single frame, chained sequentially.
- * The charuco overlay is drawn first, then mediapipe on top of the result.
+ * The charuco overlay is drawn first, then the skeleton overlay on top.
*/
public async processFrame(
cameraId: string,
sourceBitmap: ImageBitmap,
charucoObservation: CharucoObservation | null,
- mediapipeObservation: MediapipeObservation | null,
+ skeletonObservation: SkeletonObservation | null,
): Promise<ImageBitmap> {
let currentBitmap = sourceBitmap;
@@ -78,10 +78,10 @@ export class OverlayManager {
);
}
- if (mediapipeObservation) {
- currentBitmap = await this.mediapipeRenderer.compositeFrame(
+ if (skeletonObservation) {
+ currentBitmap = await this.skeletonRenderer.compositeFrame(
currentBitmap,
- mediapipeObservation,
+ skeletonObservation,
);
}
@@ -93,7 +93,7 @@ export class OverlayManager {
*/
public setModelInfo(modelInfo: ModelInfo): void {
this.charucoRenderer.setModelInfo(modelInfo);
- this.mediapipeRenderer.setModelInfo(modelInfo);
+ this.skeletonRenderer.setModelInfo(modelInfo);
}
/**
@@ -107,11 +107,11 @@ export class OverlayManager {
): void {
const keys = Object.keys(schemas);
if (keys.length === 0) {
- this.mediapipeRenderer.setSchema(null);
+ this.skeletonRenderer.setSchema(null);
return;
}
const id = activeTrackerId && schemas[activeTrackerId] ? activeTrackerId : keys[0];
- this.mediapipeRenderer.setSchema(schemas[id]);
+ this.skeletonRenderer.setSchema(schemas[id]);
}
/**
@@ -119,8 +119,8 @@ export class OverlayManager {
*/
public clearAll(): void {
this.charucoRenderer.destroy();
- this.mediapipeRenderer.destroy();
+ this.skeletonRenderer.destroy();
this.charucoRenderer = new CharucoOverlayRenderer();
- this.mediapipeRenderer = new MediapipeOverlayRenderer();
+ this.skeletonRenderer = new SkeletonOverlayRenderer();
}
}
diff --git a/freemocap-ui/src/services/server/server-helpers/image-overlay/mediapipe-overlay-renderer.ts b/freemocap-ui/src/services/server/server-helpers/image-overlay/skeleton-overlay-renderer.ts
similarity index 95%
rename from freemocap-ui/src/services/server/server-helpers/image-overlay/mediapipe-overlay-renderer.ts
rename to freemocap-ui/src/services/server/server-helpers/image-overlay/skeleton-overlay-renderer.ts
index fe66ca8d..a410f19c 100644
--- a/freemocap-ui/src/services/server/server-helpers/image-overlay/mediapipe-overlay-renderer.ts
+++ b/freemocap-ui/src/services/server/server-helpers/image-overlay/skeleton-overlay-renderer.ts
@@ -1,4 +1,4 @@
-// mediapipe-overlay-renderer.ts
+// skeleton-overlay-renderer.ts
//
// Schema-driven 2D skeleton overlay. Point names and connections come from a
// `TrackedObjectDefinition` pushed over the `tracker_schemas` handshake
@@ -12,7 +12,7 @@ import {
} from "@/services/server/server-helpers/image-overlay/image-overlay-system";
import {TrackedObjectDefinition} from "@/services/server/server-helpers/tracked-object-definition";
-export interface MediapipePoint {
+export interface SkeletonPoint {
name: string;
x: number;
y: number;
@@ -20,14 +20,14 @@ export interface MediapipePoint {
visibility?: number;
}
-export interface MediapipeObservation {
+export interface SkeletonObservation {
message_type: 'skeleton_overlay';
camera_id: string;
frame_number: number;
tracker_id: string;
image_width: number;
image_height: number;
- points: MediapipePoint[];
+ points: SkeletonPoint[];
// Debug: person bounding box in image pixel coords (xyxy). NaN = absent.
bbox_x1?: number;
bbox_y1?: number;
@@ -65,7 +65,7 @@ function classifyFace(name: string): boolean {
return lc.startsWith('face') || lc.startsWith('face_') || lc.startsWith('face.');
}
-export class MediapipeOverlayRenderer extends BaseOverlayRenderer {
+export class SkeletonOverlayRenderer extends BaseOverlayRenderer {
private schema: TrackedObjectDefinition | null = null;
// --- Styles keyed by classification ---
@@ -153,7 +153,7 @@ export class MediapipeOverlayRenderer extends BaseOverlayRenderer {
*/
public async compositeFrame(
sourceBitmap: ImageBitmap,
- observation: MediapipeObservation | null,
+ observation: SkeletonObservation | null,
): Promise<ImageBitmap> {
this.prepareCanvas(
sourceBitmap,
@@ -168,7 +168,7 @@ export class MediapipeOverlayRenderer extends BaseOverlayRenderer {
return this.createBitmap(sourceBitmap);
}
- private drawSkeletonOverlay(observation: MediapipeObservation): void {
+ private drawSkeletonOverlay(observation: SkeletonObservation): void {
this.ctx.save();
const { scaleX, scaleY } = this;
@@ -200,7 +200,7 @@ export class MediapipeOverlayRenderer extends BaseOverlayRenderer {
this.ctx.restore();
}
- private drawBbox(obs: MediapipeObservation): void {
+ private drawBbox(obs: SkeletonObservation): void {
const { bbox_x1, bbox_y1, bbox_x2, bbox_y2, bbox_from_detector } = obs;
if (bbox_x1 === undefined || bbox_y1 === undefined
|| bbox_x2 === undefined || bbox_y2 === undefined) return;
@@ -282,7 +282,7 @@ export class MediapipeOverlayRenderer extends BaseOverlayRenderer {
}
}
- private drawInfo(observation: MediapipeObservation): void {
+ private drawInfo(observation: SkeletonObservation): void {
const {points, frame_number, tracker_id} = observation;
this.ctx.fillStyle = this.INFO_BG;
diff --git a/freemocap-ui/src/services/server/server-helpers/image-overlay/mediapipe-types.ts b/freemocap-ui/src/services/server/server-helpers/image-overlay/skeleton-types.ts
similarity index 55%
rename from freemocap-ui/src/services/server/server-helpers/image-overlay/mediapipe-types.ts
rename to freemocap-ui/src/services/server/server-helpers/image-overlay/skeleton-types.ts
index 2d9ae69c..814bf98d 100644
--- a/freemocap-ui/src/services/server/server-helpers/image-overlay/mediapipe-types.ts
+++ b/freemocap-ui/src/services/server/server-helpers/image-overlay/skeleton-types.ts
@@ -20,20 +20,17 @@ export const SkeletonOverlaySchema = z.object({
image_width: z.number(),
image_height: z.number(),
points: z.array(SkeletonPointSchema),
+ // Debug: person bounding box in image pixel coords (xyxy). NaN = absent.
+ bbox_x1: z.number().optional(),
+ bbox_y1: z.number().optional(),
+ bbox_x2: z.number().optional(),
+ bbox_y2: z.number().optional(),
+ bbox_from_detector: z.boolean().optional(),
});
// Multi-camera message shape (matches CharucoOverlayDataMessage structure)
export const SkeletonOverlayDataMessageSchema = z.record(z.string(), SkeletonOverlaySchema);
-// Type exports β€” names kept as "Mediapipe*" to minimize churn in callers that
-// haven't been renamed yet. These are now tracker-agnostic.
-export type MediapipePoint = z.infer<typeof SkeletonPointSchema>;
-export type MediapipeObservation = z.infer<typeof SkeletonOverlaySchema>;
-export type MediapipeOverlayDataMessage = z.infer<typeof SkeletonOverlayDataMessageSchema>;
-
-// New preferred names for downstream code
-export type SkeletonPoint = MediapipePoint;
-export type SkeletonObservation = MediapipeObservation;
-export const MediapipePointSchema = SkeletonPointSchema;
-export const MediapipeOverlaySchema = SkeletonOverlaySchema;
-export const MediapipeOverlayDataMessageSchema = SkeletonOverlayDataMessageSchema;
+export type SkeletonPoint = z.infer<typeof SkeletonPointSchema>;
+export type SkeletonObservation = z.infer<typeof SkeletonOverlaySchema>;
+export type SkeletonOverlayDataMessage = z.infer<typeof SkeletonOverlayDataMessageSchema>;
diff --git a/freemocap-ui/src/services/server/server-helpers/offscreen-renderer.worker.ts b/freemocap-ui/src/services/server/server-helpers/offscreen-renderer.worker.ts
index 5cc30685..f55940df 100644
--- a/freemocap-ui/src/services/server/server-helpers/offscreen-renderer.worker.ts
+++ b/freemocap-ui/src/services/server/server-helpers/offscreen-renderer.worker.ts
@@ -8,7 +8,7 @@
import { OverlayManager } from "@/services/server/server-helpers/image-overlay/overlay-renderer-factory";
import type { CharucoObservation } from "@/services/server/server-helpers/image-overlay/charuco-types";
-import type { MediapipeObservation } from "@/services/server/server-helpers/image-overlay/mediapipe-types";
+import type { SkeletonObservation } from "@/services/server/server-helpers/image-overlay/skeleton-types";
import type { TrackedObjectDefinition } from "@/services/server/server-helpers/tracked-object-definition";
// tsconfig uses the DOM lib (no WebWorker lib); cast self for postMessage.
@@ -26,7 +26,7 @@ let renderScheduled = false;
// latest observation per type is all the state it needs.
const overlayManager = new OverlayManager();
let latestCharuco: CharucoObservation | null = null;
-let latestMediapipe: MediapipeObservation | null = null;
+let latestSkeleton: SkeletonObservation | null = null;
let lastOverlayTime = 0;
let charucoEnabled = true;
let skeletonEnabled = true;
@@ -36,7 +36,7 @@ interface FrameMessage { type: "frame"; pixelBuffer: ArrayBuffer; width: number;
interface OverlaysMessage {
type: "overlays";
charuco: CharucoObservation | null;
- skeleton: MediapipeObservation | null;
+ skeleton: SkeletonObservation | null;
}
interface VisibilityMessage { type: "visibility"; charuco: boolean; skeleton: boolean; }
interface SchemaMessage {
@@ -60,14 +60,14 @@ self.addEventListener("message", (event: MessageEvent) => {
case "overlays":
// null means "no update this message" (not "clear") β€” staleness evicts.
if (msg.charuco !== null) latestCharuco = msg.charuco;
- if (msg.skeleton !== null) latestMediapipe = msg.skeleton;
+ if (msg.skeleton !== null) latestSkeleton = msg.skeleton;
lastOverlayTime = performance.now();
break;
case "visibility":
charucoEnabled = msg.charuco;
skeletonEnabled = msg.skeleton;
if (!charucoEnabled) latestCharuco = null;
- if (!skeletonEnabled) latestMediapipe = null;
+ if (!skeletonEnabled) latestSkeleton = null;
break;
case "schema":
overlayManager.setTrackerSchemas(msg.schemas, msg.activeId ?? undefined);
@@ -83,10 +83,10 @@ function handleFrame(pixelBuffer: ArrayBuffer, width: number, height: number): v
const overlayFresh = performance.now() - lastOverlayTime <= OVERLAY_STALE_MS;
if (!overlayFresh) {
latestCharuco = null;
- latestMediapipe = null;
+ latestSkeleton = null;
}
const charucoObs = charucoEnabled && overlayFresh ? latestCharuco : null;
- const mediapipeObs = skeletonEnabled && overlayFresh ? latestMediapipe : null;
+ const skeletonObs = skeletonEnabled && overlayFresh ? latestSkeleton : null;
// Create ImageBitmap from raw pixels β€” this is the GPU upload step,
// happening independently in each per-camera worker instead of batched
@@ -98,9 +98,9 @@ function handleFrame(pixelBuffer: ArrayBuffer, width: number, height: number): v
height,
);
createImageBitmap(imageData).then((rawBitmap) => {
- if (charucoObs || mediapipeObs) {
+ if (charucoObs || skeletonObs) {
overlayManager
- .processFrame("", rawBitmap, charucoObs, mediapipeObs)
+ .processFrame("", rawBitmap, charucoObs, skeletonObs)
.then((composite) => setPending(composite))
.catch((err) => {
rawBitmap.close();
diff --git a/freemocap-ui/src/services/server/server-helpers/websocket-message-types.ts b/freemocap-ui/src/services/server/server-helpers/websocket-message-types.ts
index 2365c07c..bff4c469 100644
--- a/freemocap-ui/src/services/server/server-helpers/websocket-message-types.ts
+++ b/freemocap-ui/src/services/server/server-helpers/websocket-message-types.ts
@@ -5,10 +5,10 @@ import {
CharucoOverlayDataMessageSchema,
} from "@/services/server/server-helpers/image-overlay/charuco-types";
import {
- MediapipeObservation,
- MediapipeOverlayDataMessage,
- MediapipeOverlayDataMessageSchema,
-} from "@/services/server/server-helpers/image-overlay/mediapipe-types";
+ SkeletonObservation,
+ SkeletonOverlayDataMessage,
+ SkeletonOverlayDataMessageSchema,
+} from "@/services/server/server-helpers/image-overlay/skeleton-types";
import {ModelInfo} from "@/services/server/server-helpers/image-overlay/image-overlay-system";
import {OverlayRendererFactory} from "@/services/server/server-helpers/image-overlay/overlay-renderer-factory";
import {DetailedFramerate} from "@/services/server/server-helpers/framerate-store";
@@ -53,7 +53,7 @@ export interface FrontendPayloadMessage {
message_type: 'frontend_payload';
frame_number: number;
charuco_overlays: Record<string, CharucoObservation>
- skeleton_overlays: Record<string, MediapipeObservation>
+ skeleton_overlays: Record<string, SkeletonObservation>
center_of_mass: Point3d | null;
xcom: Point3d | null;
body_kinematics: BodyKinematics | null;
@@ -72,7 +72,7 @@ export function isFrontendPayload(data: any): data is FrontendPayloadMessage {
* Tracker-schema handshake message β€” sent once on WS connect and again whenever
* the pipeline's tracker configuration changes. `schemas` is keyed by tracker
* id (e.g. `"rtmpose_wholebody"`); overlays reference a schema via the
- * `tracker_id` field in `MediapipeObservation`.
+ * `tracker_id` field in `SkeletonObservation`.
*/
export interface TrackerSchemasMessage {
message_type: 'tracker_schemas';
diff --git a/freemocap-ui/src/store/slices/active-recording/active-recording-slice.ts b/freemocap-ui/src/store/slices/active-recording/active-recording-slice.ts
index 71d129ba..23bafcac 100644
--- a/freemocap-ui/src/store/slices/active-recording/active-recording-slice.ts
+++ b/freemocap-ui/src/store/slices/active-recording/active-recording-slice.ts
@@ -18,7 +18,8 @@ export interface ActiveRecordingState {
layoutPreset: RecordingLayoutPresetName;
}
-const DEFAULT_BASE_DIRECTORY = '~/freemocap_data/recordings';
+// Empty until hydrated from the base data folder at startup (see useHydrateDataFolder).
+const DEFAULT_BASE_DIRECTORY = '';
const DEFAULT_LAYOUT_PRESET: RecordingLayoutPresetName = 'canonical';
interface PersistedActiveRecording {
diff --git a/freemocap-ui/src/store/slices/mocap/mocap-slice.ts b/freemocap-ui/src/store/slices/mocap/mocap-slice.ts
index 3fc09bb4..7b2ed168 100644
--- a/freemocap-ui/src/store/slices/mocap/mocap-slice.ts
+++ b/freemocap-ui/src/store/slices/mocap/mocap-slice.ts
@@ -15,17 +15,17 @@ import {
// ==================== Types ====================
/**
- * Mirrors skellytracker MediapipeModelComplexity enum.
+ * Legacy numeric complexity levels for the old MediaPipe realtime detector config.
* 0 = LITE (fastest), 1 = FULL (balanced), 2 = HEAVY (most accurate)
*/
-export type MediapipeModelComplexity = 0 | 1 | 2;
+export type LegacyMediapipeModelComplexity = 0 | 1 | 2;
/**
* Mirrors skellytracker MediapipeDetectorConfig.
* Field names use snake_case to match the backend JSON.
*/
export interface MediapipeDetectorConfig {
- model_complexity: MediapipeModelComplexity;
+ model_complexity: LegacyMediapipeModelComplexity;
min_detection_confidence: number;
min_tracking_confidence: number;
confidence_threshold: number;
@@ -70,12 +70,31 @@ export interface RealtimeFilterConfig {
prediction_velocity_decay: number;
}
+export type DetectorType = "rtmpose" | "mediapipe";
+export type RTMPoseModelName = "rtmw-x-l_256x192" | "rtmw-x-l_384x288" | "rtmw-l-m_256x192";
+export type MediapipeModelComplexity = "lite" | "full" | "heavy";
+
+export const RTMPOSE_MODELS: { label: string; value: RTMPoseModelName }[] = [
+ { label: "Default", value: "rtmw-x-l_256x192" },
+ { label: "High Res", value: "rtmw-x-l_384x288" },
+ { label: "Fast", value: "rtmw-l-m_256x192" },
+];
+
/**
* Mirrors backend MocapPipelineConfig.
*/
export interface MocapConfig {
detector: MediapipeDetectorConfig;
skeleton_filter: RealtimeFilterConfig;
+ detectorType: DetectorType;
+ rtmPoseModelName: RTMPoseModelName;
+ rtmPoseConfidenceThreshold: number;
+ mediapipeModelComplexity: MediapipeModelComplexity;
+ mediapipeDetectionConfidence: number;
+ mediapipePresenceConfidence: number;
+ mediapipeTrackingConfidence: number;
+ mediapipeNumHands: number;
+ mediapipeNumFaces: number;
}
/** Realtime preset matching MEDIAPIPE_TRACKER_REALTIME_PRESET on the backend. */
@@ -193,6 +212,15 @@ const initialState: MocapState = {
config: _persistedMocapConfig ?? {
detector: { ...MEDIAPIPE_REALTIME_PRESET },
skeleton_filter: { ...DEFAULT_REALTIME_FILTER_CONFIG },
+ detectorType: "rtmpose" as DetectorType,
+ rtmPoseModelName: "rtmw-x-l_256x192" as RTMPoseModelName,
+ rtmPoseConfidenceThreshold: 0.004,
+ mediapipeModelComplexity: "heavy" as MediapipeModelComplexity,
+ mediapipeDetectionConfidence: 0.5,
+ mediapipePresenceConfidence: 0.5,
+ mediapipeTrackingConfidence: 0.5,
+ mediapipeNumHands: 2,
+ mediapipeNumFaces: 1,
},
isRecording: false,
recordingProgress: 0,
@@ -210,6 +238,44 @@ export const mocapSlice = createSlice({
name: 'mocap',
initialState,
reducers: {
+ /** Switch between rtmpose and mediapipe detector backends. */
+ mocapDetectorTypeChanged: (state, action: PayloadAction<DetectorType>) => {
+ state.config.detectorType = action.payload;
+ },
+
+ /** Change the RTMPose model variant. */
+ mocapRtmPoseModelNameChanged: (state, action: PayloadAction<RTMPoseModelName>) => {
+ state.config.rtmPoseModelName = action.payload;
+ },
+
+ /** Change the RTMPose keypoint confidence threshold. */
+ mocapRtmPoseConfidenceThresholdChanged: (state, action: PayloadAction<number>) => {
+ state.config.rtmPoseConfidenceThreshold = action.payload;
+ },
+
+ /** Change the MediaPipe model complexity (lite/full/heavy). */
+ mocapMediapipeComplexityChanged: (state, action: PayloadAction<MediapipeModelComplexity>) => {
+ state.config.mediapipeModelComplexity = action.payload;
+ },
+
+ /** Update a shared MediaPipe confidence value (applies to pose, hands, and face). */
+ mocapMediapipeDetectionConfidenceChanged: (state, action: PayloadAction<number>) => {
+ state.config.mediapipeDetectionConfidence = action.payload;
+ },
+ mocapMediapipePresenceConfidenceChanged: (state, action: PayloadAction<number>) => {
+ state.config.mediapipePresenceConfidence = action.payload;
+ },
+ mocapMediapipeTrackingConfidenceChanged: (state, action: PayloadAction<number>) => {
+ state.config.mediapipeTrackingConfidence = action.payload;
+ },
+
+ mocapMediapipeNumHandsChanged: (state, action: PayloadAction<number>) => {
+ state.config.mediapipeNumHands = action.payload;
+ },
+ mocapMediapipeNumFacesChanged: (state, action: PayloadAction<number>) => {
+ state.config.mediapipeNumFaces = action.payload;
+ },
+
/** Replace the entire detector config (e.g. applying a preset). */
mocapDetectorConfigReplaced: (state, action: PayloadAction<MediapipeDetectorConfig>) => {
state.config.detector = action.payload;
@@ -317,6 +383,15 @@ export const selectMocap = (state: RootState) => state.mocap;
export const selectMocapConfig = (state: RootState) => state.mocap.config;
export const selectMocapDetectorConfig = (state: RootState) => state.mocap.config.detector;
export const selectSkeletonFilterConfig = (state: RootState) => state.mocap.config.skeleton_filter;
+export const selectMocapDetectorType = (state: RootState) => state.mocap.config.detectorType;
+export const selectMocapRtmPoseModelName = (state: RootState) => state.mocap.config.rtmPoseModelName;
+export const selectMocapRtmPoseConfidenceThreshold = (state: RootState) => state.mocap.config.rtmPoseConfidenceThreshold;
+export const selectMocapMediapipeComplexity = (state: RootState) => state.mocap.config.mediapipeModelComplexity;
+export const selectMocapMediapipeDetectionConfidence = (state: RootState) => state.mocap.config.mediapipeDetectionConfidence;
+export const selectMocapMediapipePresenceConfidence = (state: RootState) => state.mocap.config.mediapipePresenceConfidence;
+export const selectMocapMediapipeTrackingConfidence = (state: RootState) => state.mocap.config.mediapipeTrackingConfidence;
+export const selectMocapMediapipeNumHands = (state: RootState) => state.mocap.config.mediapipeNumHands;
+export const selectMocapMediapipeNumFaces = (state: RootState) => state.mocap.config.mediapipeNumFaces;
export const selectMocapIsLoading = (state: RootState) => state.mocap.isLoading;
export const selectMocapIsRecording = (state: RootState) => state.mocap.isRecording;
export const selectMocapProgress = (state: RootState) => state.mocap.recordingProgress;
@@ -366,6 +441,15 @@ export const selectCanProcessMocapRecording = createSelector(
// ==================== Actions Export ====================
export const {
+ mocapDetectorTypeChanged,
+ mocapRtmPoseModelNameChanged,
+ mocapRtmPoseConfidenceThresholdChanged,
+ mocapMediapipeComplexityChanged,
+ mocapMediapipeDetectionConfidenceChanged,
+ mocapMediapipePresenceConfidenceChanged,
+ mocapMediapipeTrackingConfidenceChanged,
+ mocapMediapipeNumHandsChanged,
+ mocapMediapipeNumFacesChanged,
mocapDetectorConfigReplaced,
mocapDetectorConfigUpdated,
skeletonFilterConfigReplaced,
diff --git a/freemocap-ui/src/store/slices/mocap/mocap-thunks.ts b/freemocap-ui/src/store/slices/mocap/mocap-thunks.ts
index df1752b2..29a63b74 100644
--- a/freemocap-ui/src/store/slices/mocap/mocap-thunks.ts
+++ b/freemocap-ui/src/store/slices/mocap/mocap-thunks.ts
@@ -4,6 +4,30 @@ import {selectMocapRecordingPath} from "./mocap-slice";
import {getDetailedErrorMessage} from "@/store/slices/thunk-helpers";
import {serverUrls} from "@/services";
import {pipelineProgressUpdated, PipelinePhase, PipelineType} from "@/store/slices/pipelines";
+import {selectLoadedCalibration} from "@/store/slices/calibration";
+
+function buildPosthocConfig(state: RootState) {
+ const { config } = state.mocap;
+ const blender = state.blender;
+ // Explicit override wins; fall back to the calibration loaded in the calibration panel
+ const calibrationTomlPath =
+ state.mocap.calibrationTomlPath ?? selectLoadedCalibration(state)?.path ?? null;
+ return {
+ detectorType: config.detectorType,
+ rtmPoseModelName: config.rtmPoseModelName,
+ rtmPoseConfidenceThreshold: config.rtmPoseConfidenceThreshold,
+ mediapipeModelComplexity: config.mediapipeModelComplexity,
+ mediapipeDetectionConfidence: config.mediapipeDetectionConfidence,
+ mediapipePresenceConfidence: config.mediapipePresenceConfidence,
+ mediapipeTrackingConfidence: config.mediapipeTrackingConfidence,
+ mediapipeNumHands: config.mediapipeNumHands,
+ mediapipeNumFaces: config.mediapipeNumFaces,
+ calibrationTomlPath,
+ exportToBlender: blender.exportToBlenderEnabled,
+ blenderExePath: blender.blenderExePath ?? blender.detectedBlenderExePath,
+ autoOpenBlendFile: blender.autoOpenBlendFile,
+ };
+}
export const startMocapRecording = createAsyncThunk<
{ success: boolean; message?: string; mocapRecordingPath?: string },
@@ -14,22 +38,13 @@ export const startMocapRecording = createAsyncThunk<
async (_, { getState, rejectWithValue }) => {
try {
const state = getState();
- const mocapTaskConfig = state.mocap.config;
const mocapRecordingDirectory = selectMocapRecordingPath(state);
if (!mocapRecordingDirectory) {
return rejectWithValue('Recording directory is not set');
}
- const calibrationTomlPath = state.mocap.calibrationTomlPath;
- const blender = state.blender;
- const configWithCalibration = {
- ...mocapTaskConfig,
- calibrationTomlPath: calibrationTomlPath,
- exportToBlender: blender.exportToBlenderEnabled,
- blenderExePath: blender.blenderExePath ?? blender.detectedBlenderExePath,
- autoOpenBlendFile: blender.autoOpenBlendFile,
- };
+ const configWithCalibration = buildPosthocConfig(state);
console.log('🎬 Starting mocap recording with:', {
mocapRecordingDirectory,
@@ -70,18 +85,7 @@ export const stopMocapRecording = createAsyncThunk<
async (_, { getState, rejectWithValue, dispatch }) => {
try {
const state = getState();
- const mocapTaskConfig = state.mocap.config;
-
-
- const calibrationTomlPath = state.mocap.calibrationTomlPath;
- const blender = state.blender;
- const configWithCalibration = {
- ...mocapTaskConfig,
- calibrationTomlPath: calibrationTomlPath,
- exportToBlender: blender.exportToBlenderEnabled,
- blenderExePath: blender.blenderExePath ?? blender.detectedBlenderExePath,
- autoOpenBlendFile: blender.autoOpenBlendFile,
- };
+ const configWithCalibration = buildPosthocConfig(state);
console.log(`🎬 Stopping mocap recording and starting mocap with: ${JSON.stringify(configWithCalibration, null, 2)}`);
@@ -127,28 +131,19 @@ export const processMocapRecording = createAsyncThunk<
async (_, { getState, rejectWithValue, dispatch }) => {
try {
const state = getState();
- const mocapTaskConfig = state.mocap.config;
const mocapRecordingDirectory = selectMocapRecordingPath(state);
if (!mocapRecordingDirectory) {
return rejectWithValue('No mocap recording path available. Please set a recording directory or record a mocap first.');
}
- console.log('πŸ”§ Calibrating recording:', {
+ const configWithCalibration = buildPosthocConfig(state);
+
+ console.log('πŸ”§ Processing recording:', {
mocapRecordingDirectory,
- mocapTaskConfig,
+ mocapTaskConfig: configWithCalibration,
});
- const calibrationTomlPath = state.mocap.calibrationTomlPath;
- const blender = state.blender;
- const configWithCalibration = {
- ...mocapTaskConfig,
- calibrationTomlPath: calibrationTomlPath,
- exportToBlender: blender.exportToBlenderEnabled,
- blenderExePath: blender.blenderExePath ?? blender.detectedBlenderExePath,
- autoOpenBlendFile: blender.autoOpenBlendFile,
- };
-
const response = await fetch(serverUrls.endpoints.processMocapRecording, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
diff --git a/freemocap-ui/src/store/slices/realtime/realtime-thunks.ts b/freemocap-ui/src/store/slices/realtime/realtime-thunks.ts
index 816787ae..d1f62abd 100644
--- a/freemocap-ui/src/store/slices/realtime/realtime-thunks.ts
+++ b/freemocap-ui/src/store/slices/realtime/realtime-thunks.ts
@@ -2,7 +2,7 @@ import {createAsyncThunk} from "@reduxjs/toolkit";
import {RootState, selectRealtimeEnabledCameraConfigs, selectSelectedCameraConfigs} from "@/store";
import {serverUrls} from "@/services";
import {PipelineApplyResponse, RealtimePipelineConfig} from "@/store/slices/realtime/realtime-types";
-import {selectCalibrationConfig} from "@/store/slices/calibration/calibration-slice";
+import {selectCalibrationConfig, selectCalibrationDirectoryInfo} from "@/store/slices/calibration/calibration-slice";
export const applyRealtimePipeline = createAsyncThunk<
PipelineApplyResponse,
@@ -14,14 +14,26 @@ export const applyRealtimePipeline = createAsyncThunk<
const cameraConfigs = selectSelectedCameraConfigs(getState());
const realtimeCameraIds = Object.keys(selectRealtimeEnabledCameraConfigs(getState()));
const calibrationConfig = selectCalibrationConfig(getState());
+ const calibrationDirectoryInfo = selectCalibrationDirectoryInfo(getState());
+
+ // Auto-inject the last-successful calibration path when none is explicitly set.
+ // This ensures the realtime triangulation uses the same calibration the user
+ // ran most recently, rather than whatever happens to be on disk when the
+ // aggregator process starts.
+ const calibrationTomlPath =
+ realtimeConfig.aggregator_config.calibration_toml_path
+ ?? calibrationDirectoryInfo?.lastSuccessfulCalibrationTomlPath
+ ?? null;
const configWithBoard: RealtimePipelineConfig = {
...realtimeConfig,
camera_node_config: {
...realtimeConfig.camera_node_config,
- charuco_detector_config: {
- board: calibrationConfig.charucoBoard,
- },
+ charuco_board: calibrationConfig.charucoBoard,
+ },
+ aggregator_config: {
+ ...realtimeConfig.aggregator_config,
+ calibration_toml_path: calibrationTomlPath,
},
};
diff --git a/freemocap-ui/src/store/slices/realtime/realtime-types.ts b/freemocap-ui/src/store/slices/realtime/realtime-types.ts
index 519b1556..e539f465 100644
--- a/freemocap-ui/src/store/slices/realtime/realtime-types.ts
+++ b/freemocap-ui/src/store/slices/realtime/realtime-types.ts
@@ -1,3 +1,5 @@
+import {DetectorType, MediapipeModelComplexity, RTMPoseModelName} from "@/store/slices/mocap";
+
export interface CharucoBoardConfigForPipeline {
squares_x: number;
squares_y: number;
@@ -7,7 +9,16 @@ export interface CharucoBoardConfigForPipeline {
export interface CameraNodeConfig {
charuco_tracking_enabled: boolean;
skeleton_tracking_enabled: boolean;
- charuco_detector_config?: { board: CharucoBoardConfigForPipeline } | null;
+ charuco_board?: CharucoBoardConfigForPipeline;
+ detector_type?: DetectorType;
+ rtmpose_model_name?: RTMPoseModelName;
+ rtmpose_confidence_threshold?: number;
+ mediapipe_model_complexity?: MediapipeModelComplexity;
+ mediapipe_detection_confidence?: number;
+ mediapipe_presence_confidence?: number;
+ mediapipe_tracking_confidence?: number;
+ mediapipe_num_hands?: number;
+ mediapipe_num_faces?: number;
}
export interface RealtimeAggregatorNodeConfig {
@@ -28,6 +39,15 @@ export const defaultRealtimePipelineConfig: RealtimePipelineConfig = {
camera_node_config: {
charuco_tracking_enabled: true,
skeleton_tracking_enabled: true,
+ detector_type: "rtmpose",
+ rtmpose_model_name: "rtmw-x-l_256x192",
+ rtmpose_confidence_threshold: 0.0025,
+ mediapipe_model_complexity: "lite",
+ mediapipe_detection_confidence: 0.5,
+ mediapipe_presence_confidence: 0.5,
+ mediapipe_tracking_confidence: 0.5,
+ mediapipe_num_hands: 2,
+ mediapipe_num_faces: 1,
},
aggregator_config: {
calibration_toml_path: null,
diff --git a/freemocap-ui/src/store/slices/recording/recording-slice.ts b/freemocap-ui/src/store/slices/recording/recording-slice.ts
index 99e01f71..7975e4ee 100644
--- a/freemocap-ui/src/store/slices/recording/recording-slice.ts
+++ b/freemocap-ui/src/store/slices/recording/recording-slice.ts
@@ -42,7 +42,8 @@ const computeRecordingPath = (
};
};
-const DEFAULT_RECORDING_DIRECTORY = '~/freemocap_data/recordings';
+// Empty until hydrated from the base data folder at startup (see useHydrateDataFolder).
+const DEFAULT_RECORDING_DIRECTORY = '';
const DEFAULT_RECORDING_CONFIG: RecordingConfig = {
useDelayStart: false,
diff --git a/freemocap-ui/src/styles/components.css b/freemocap-ui/src/styles/components.css
index 00814db6..3f4b02e8 100644
--- a/freemocap-ui/src/styles/components.css
+++ b/freemocap-ui/src/styles/components.css
@@ -565,6 +565,16 @@
.inner-container-settings {
height: 569px;
}
+.settings-modal {
+ min-width: 460px;
+ max-width: 560px;
+ max-height: 80vh;
+ overflow-y: auto;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ z-index: 1000;
+}
.bottom-area-action-container {
height: 66px;
}
diff --git a/freemocap-ui/src/utils/dataFolder.ts b/freemocap-ui/src/utils/dataFolder.ts
new file mode 100644
index 00000000..f9d425c0
--- /dev/null
+++ b/freemocap-ui/src/utils/dataFolder.ts
@@ -0,0 +1,20 @@
+/**
+ * Helpers for deriving paths from the FreeMoCap base data folder.
+ *
+ * The base data folder itself is owned by the Electron main process (see
+ * electron/main/base-folder.ts) and fetched via `api.fileSystem.getBaseDataFolder`.
+ * The renderer only derives subpaths from it β€” it never hardcodes the folder name.
+ */
+
+/** The recordings subdirectory that lives inside the base data folder. */
+export const RECORDINGS_SUBDIR = 'recordings';
+
+/**
+ * Join the base data folder with the recordings subdirectory, preserving the platform's
+ * path separator (backslash on Windows, forward slash elsewhere).
+ */
+export function recordingsDirFromBaseFolder(baseFolder: string): string {
+ const sep = baseFolder.includes('\\') ? '\\' : '/';
+ const trimmed = baseFolder.replace(/[\\/]+$/, '');
+ return `${trimmed}${sep}${RECORDINGS_SUBDIR}`;
+}
diff --git a/freemocap.spec b/freemocap.spec
index 959f4bcf..f531801e 100644
--- a/freemocap.spec
+++ b/freemocap.spec
@@ -84,28 +84,42 @@ hiddenimports.extend([
# skellytracker's rtmpose_detector does `find_spec("nvidia")` +
# `nvidia_root.glob("*/bin")` at runtime to discover CUDA libraries.
#
-# Included β€” required by ONNX Runtime CUDA execution provider:
-# nvidia.cublas (737 MB) β€” GEMM/BLAS for GPU tensor ops
-# nvidia.cuda_runtime (11 MB) β€” core CUDA runtime (cudart)
-# nvidia.cudnn (1006 MB) β€” cuDNN: primitives for deep neural network inference
+# `onnxruntime_providers_cuda.dll` imports exactly five CUDA libraries. All five
+# must be bundled or the provider DLL fails to load, ONNX Runtime silently drops
+# CUDAExecutionProvider from its list, and every model runs on CPU (~1-2 fps
+# instead of ~20). Verified against the provider DLL's PE import table:
+# cublas64_12.dll + cublaslt64_12.dll <- nvidia.cublas (737 MB)
+# cudart64_12.dll <- nvidia.cuda_runtime (11 MB)
+# cudnn64_9.dll <- nvidia.cudnn (1006 MB)
+# cufft64_11.dll <- nvidia.cufft (275 MB)
#
-# Excluded β€” only needed by TensorRT EP (not currently functional):
-# nvidia.cufft (275 MB) β€” FFT library, not used by ONNX inference
-# nvidia.cuda_nvrtc (179 MB) β€” runtime compilation, TensorRT-only
-# nvidia.nvjitlink (84 MB) β€” JIT linker, TensorRT-only
-for nvidia_subpkg in [
- 'nvidia.cublas',
- 'nvidia.cuda_runtime',
- 'nvidia.cudnn',
-]:
- try:
- nv_datas, nv_binaries, nv_hidden = collect_all(nvidia_subpkg)
- datas.extend(nv_datas)
- binaries.extend(nv_binaries)
- hiddenimports.extend(nv_hidden)
- except Exception as e:
- print(f"[freemocap.spec] WARNING: could not collect '{nvidia_subpkg}' "
- f"β€” GPU acceleration may not work in the frozen build. ({e})")
+# Excluded β€” imported by neither the CUDA provider nor its transitive deps:
+# nvidia.cuda_nvrtc (179 MB) β€” runtime NVRTC compilation
+# nvidia.nvjitlink (84 MB) β€” JIT linker
+#
+# Skipped entirely for CPU-only builds (`FREEMOCAP_BUILD_VARIANT=cpu`, set by
+# the CI matrix's `variant` axis) β€” those envs never install the `nvidia.*`
+# packages in the first place, since `uv sync --extra cpu` pulls
+# skellytracker[all-cpu] instead of [all-cuda].
+build_variant = os.environ.get('FREEMOCAP_BUILD_VARIANT', 'cuda').lower()
+if build_variant == 'cuda':
+ for nvidia_subpkg in [
+ 'nvidia.cublas',
+ 'nvidia.cuda_runtime',
+ 'nvidia.cudnn',
+ 'nvidia.cufft',
+ ]:
+ try:
+ nv_datas, nv_binaries, nv_hidden = collect_all(nvidia_subpkg)
+ datas.extend(nv_datas)
+ binaries.extend(nv_binaries)
+ hiddenimports.extend(nv_hidden)
+ except Exception as e:
+ print(f"[freemocap.spec] WARNING: could not collect '{nvidia_subpkg}' "
+ f"β€” GPU acceleration may not work in the frozen build. ({e})")
+else:
+ print(f"[freemocap.spec] FREEMOCAP_BUILD_VARIANT={build_variant} β€” "
+ f"skipping NVIDIA CUDA runtime bundling (CPU-only build).")
# ── onnxruntime (GPU build β€” only DLLs + capi bindings; exclude dev tools) ──
binaries.extend(collect_dynamic_libs('onnxruntime'))
@@ -205,17 +219,14 @@ pyz = PYZ(a.pure, a.zipped_data)
exe = EXE(
pyz,
a.scripts,
- a.binaries,
- a.zipfiles,
- a.datas,
[],
+ exclude_binaries=True,
name='freemocap_server',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=['nvcuda', 'nvrtc', 'cudnn', 'cublas', 'cufft', 'cudart'],
- runtime_tmpdir=None,
console=True,
disable_windowed_traceback=False,
argv_emulation=False,
@@ -223,3 +234,14 @@ exe = EXE(
codesign_identity=None,
entitlements_file=None,
)
+
+coll = COLLECT(
+ exe,
+ a.binaries,
+ a.zipfiles,
+ a.datas,
+ strip=False,
+ upx=True,
+ upx_exclude=['nvcuda', 'nvrtc', 'cudnn', 'cublas', 'cufft', 'cudart'],
+ name='freemocap_server',
+)
diff --git a/freemocap/api/http/mocap/mocap_router.py b/freemocap/api/http/mocap/mocap_router.py
index 692e2933..98f878ad 100644
--- a/freemocap/api/http/mocap/mocap_router.py
+++ b/freemocap/api/http/mocap/mocap_router.py
@@ -142,6 +142,11 @@ async def process_mocap_recording(request: ProcessMocapRecordingRequest) -> Moca
app = get_freemocap_app()
try:
recording_info = request.to_recording_info()
+ logger.info(
+ f"Processing mocap recording with detector_type='{request.mocap_config.detector_type}', "
+ f"tracker_config stages: {[s.name for s in request.mocap_config.tracker_config.stages]}, "
+ f"keypoint_detectors: {[[d.detector_type for d in s.keypoint_detectors] for s in request.mocap_config.tracker_config.stages]}"
+ )
pipeline = await app.create_posthoc_mocap_pipeline(
recording_info=recording_info,
mocap_config=request.mocap_config,
diff --git a/freemocap/api/websocket/tracker_schema_message.py b/freemocap/api/websocket/tracker_schema_message.py
index 67412c97..172e5d58 100644
--- a/freemocap/api/websocket/tracker_schema_message.py
+++ b/freemocap/api/websocket/tracker_schema_message.py
@@ -3,24 +3,23 @@ Tracker-schema handshake message.
Sent once when a WebSocket client connects, and rebroadcast if the pipeline's
tracker configuration changes. Carries every active tracker's
-`TrackedObjectDefinition` so the frontend can render points and connections
+`TrackerDefinition` so the frontend can render points and connections
without hardcoding any tracker schema.
"""
from typing import Any
import msgspec
-from skellytracker.trackers.base_tracker.tracked_object_definition import TrackedObjectDefinition
-from skellytracker.trackers.rtmpose_tracker.names_and_connections import RTMPOSE_WHOLEBODY_DEFINITION
from freemocap.api.websocket.websocket_message_types import WebsocketMessageType
+from freemocap.core.tracking.tracker_definitions import TrackerDefinition, RTMPOSE_WHOLEBODY_DEFINITION, MEDIAPIPE_WHOLEBODY_DEFINITION
class TrackerSchemasMessage(msgspec.Struct):
- """Dict of ``tracker_id -> TrackedObjectDefinition.model_dump()``.
+ """Dict of ``tracker_id -> TrackerDefinition.model_dump()``.
Values are pre-serialized to plain dicts because msgspec.Struct cannot
carry arbitrary Pydantic models directly. The frontend treats the inner
- dicts as the canonical TS ``TrackedObjectDefinition`` shape.
+ dicts as the canonical TS ``TrackerDefinition`` shape.
"""
schemas: dict[str, dict[str, Any]]
message_type: WebsocketMessageType = WebsocketMessageType.TRACKER_SCHEMAS
@@ -31,29 +30,16 @@ def _build_canonical_schema(
name: str,
landmark_names: list[str],
segment_connections: dict[str, dict[str, str]] | None,
-) -> TrackedObjectDefinition | None:
- """Build a ``TrackedObjectDefinition`` from canonical anatomical data.
-
- Parameters
- ----------
- name : str
- Schema identifier (e.g. ``"canonical_body"``).
- landmark_names : list of str
- All landmark names (tracked + virtual markers).
- segment_connections : dict or None
- Mapping of segment name β†’ ``{"proximal": name, "distal": name}``.
- If ``None``, the schema carries no connections.
- """
+) -> TrackerDefinition | None:
+ """Build a ``TrackerDefinition`` from canonical anatomical data."""
connections: tuple[tuple[str, str], ...] = ()
if segment_connections is not None:
connections = tuple(
(conn["proximal"], conn["distal"])
for conn in segment_connections.values()
)
- return TrackedObjectDefinition(
+ return TrackerDefinition(
name=name,
- tracker_type="canonical",
- landmark_schema="canonical",
tracked_points=tuple(landmark_names),
connections=connections,
)
@@ -72,8 +58,9 @@ def collect_active_tracker_schemas() -> dict[str, dict[str, Any]]:
CanonicalHandModelInfo,
)
- active: dict[str, TrackedObjectDefinition] = {
+ active: dict[str, TrackerDefinition] = {
RTMPOSE_WHOLEBODY_DEFINITION.name: RTMPOSE_WHOLEBODY_DEFINITION,
+ MEDIAPIPE_WHOLEBODY_DEFINITION.name: MEDIAPIPE_WHOLEBODY_DEFINITION,
}
# Canonical body schema
diff --git a/freemocap/api/websocket/websocket_server.py b/freemocap/api/websocket/websocket_server.py
index 209bfdb4..cf315512 100644
--- a/freemocap/api/websocket/websocket_server.py
+++ b/freemocap/api/websocket/websocket_server.py
@@ -385,10 +385,18 @@ class WebsocketServer:
self.last_received_frontend_confirmation = data["frameNumber"]
raw_sizes = data.get("displayImageSizes", None)
if raw_sizes is not None:
- self._display_image_sizes = {
+ parsed = {
cam_id: {k: float(v) for k, v in dims.items()}
for cam_id, dims in raw_sizes.items()
}
+ # Drop any entries where the display container hasn't
+ # been laid out yet (zero width or height would make
+ # cv2.resize fail with an assertion error).
+ self._display_image_sizes = {
+ cam_id: dims
+ for cam_id, dims in parsed.items()
+ if dims.get("width", 0) > 0 and dims.get("height", 0) > 0
+ } or None
else:
self._display_image_sizes = None
else:
diff --git a/freemocap/app/app.py b/freemocap/app/app.py
index 6f79ce9a..54815441 100644
--- a/freemocap/app/app.py
+++ b/freemocap/app/app.py
@@ -29,6 +29,7 @@ from freemocap.app.freemocap_application import create_freemocap_app
from freemocap.system.default_paths import (
get_default_freemocap_base_folder_path, FREEMOCAP_FAVICON_ICO_PATH
)
+from freemocap.system.telemetry.telemetry import initialize_telemetry, shutdown_telemetry
logger = logging.getLogger(__name__)
@@ -341,6 +342,9 @@ async def app_lifespan(
base_path.mkdir(parents=True, exist_ok=True)
logger.info(f"Base folder: {base_path}")
+ # Start anonymous usage telemetry (no-op if the user opted out)
+ initialize_telemetry()
+
app_url = f"{PROTOCOL}://{HOSTNAME}:{app.state.port}"
logger.success(
@@ -353,6 +357,9 @@ async def app_lifespan(
# ===== SHUTDOWN =====
logger.api("FreeMoCap API shutting down...")
+ # Flush any buffered telemetry before we tear the app down
+ shutdown_telemetry()
+
app.state.global_kill_flag.value = True
logger.success("FreeMoCap API shutdown complete - Goodbye! πŸ‘‹")
diff --git a/freemocap/build_info.py b/freemocap/build_info.py
new file mode 100644
index 00000000..8cb792bf
--- /dev/null
+++ b/freemocap/build_info.py
@@ -0,0 +1,18 @@
+"""Build metadata and secrets populated by CI at build time.
+
+During local development these remain at their default values. The CI workflow
+(.github/workflows/build-installers-pyinstaller.yml) overwrites this file before
+PyInstaller runs. The placeholder telemetry secret fails HMAC validation on the
+server, so dev / from-source builds send unverified telemetry.
+"""
+
+# ── Build metadata ──
+BUILD_GIT_SHA: str = "dev"
+BUILD_GIT_SHA_SHORT: str = "dev"
+BUILD_NUMBER: str = "local"
+BUILD_TIMESTAMP: str = "unknown"
+BUILD_TAG: str = "untagged"
+
+# ── Telemetry ──
+SKELLYPINGS_SERVER_URL: str = "https://skellypings-401698866387.northamerica-northeast1.run.app"
+SKELLYPINGS_SECRET: str = "not-configured"
diff --git a/freemocap/core/blender/export_to_blender.py b/freemocap/core/blender/export_to_blender.py
index 887387a2..8bc80a51 100644
--- a/freemocap/core/blender/export_to_blender.py
+++ b/freemocap/core/blender/export_to_blender.py
@@ -9,7 +9,7 @@ import freemocap_blender_addon
from freemocap.core.blender.helpers import run_blender_export as run_blender_export_module
from freemocap.core.blender.helpers.run_blender_export import run_blender_export
from freemocap.core.blender.helpers.get_best_guess_of_blender_path import get_best_guess_of_blender_path
-from freemocap.system.recording_status.recording_status import raise_if_not_blender_ready
+from freemocap.system.recording_status.recording_status import raise_if_not_blender_ready, REQUIRED_BLENDER_INPUT_FILES
from freemocap.utilities.open_file import open_file
logger = logging.getLogger(__name__)
@@ -47,7 +47,18 @@ def export_to_blender(
try:
raise_if_not_blender_ready(recording_folder_path)
except FileNotFoundError:
- logger.error("Missing required files to run AJC addon, did something go wrong during processing?")
+ output_data = Path(recording_folder_path) / "output_data"
+ non_mediapipe_equivalents_present = all(
+ any(output_data.glob(f.replace("mediapipe_", "*")))
+ for f in REQUIRED_BLENDER_INPUT_FILES
+ )
+ if non_mediapipe_equivalents_present:
+ logger.warning(
+ "Blender export skipped: the freemocap_blender_addon only supports recordings "
+ "processed with MediaPipe. Re-process with MediaPipe to export to Blender."
+ )
+ else:
+ logger.error("Missing required files to run AJC addon, did something go wrong during processing?")
raise
if blender_exe_path is None:
diff --git a/freemocap/core/kinematics/body_kinematics_state.py b/freemocap/core/kinematics/body_kinematics_state.py
index eb5bec08..d908dea3 100644
--- a/freemocap/core/kinematics/body_kinematics_state.py
+++ b/freemocap/core/kinematics/body_kinematics_state.py
@@ -7,7 +7,7 @@ references. H_G / omega are added in Phase 2.
from __future__ import annotations
import msgspec
-from skellyforge.data_models.trajectory_3d import Point3d
+from skellyforge.data_models.trajectory_3d import Point3d # noqa: TC002
class BodyKinematicsState(msgspec.Struct):
diff --git a/freemocap/core/pipeline/pipeline_timing_reporter.py b/freemocap/core/pipeline/pipeline_timing_reporter.py
index 42c047f6..c2a4334e 100644
--- a/freemocap/core/pipeline/pipeline_timing_reporter.py
+++ b/freemocap/core/pipeline/pipeline_timing_reporter.py
@@ -96,7 +96,7 @@ class PipelineTimingReporter:
self._thread.join(timeout=timeout)
def _run(self) -> None:
- from freemocap.pubsub.pubsub_topics import PipelineTimingMessage
+ from freemocap.pubsub.pubsub_topics import PipelineTimingMessage # noqa: TC001
last_report = time.perf_counter()
try:
diff --git a/freemocap/core/pipeline/posthoc/annotation_style.py b/freemocap/core/pipeline/posthoc/annotation_style.py
new file mode 100644
index 00000000..8fe0ff57
--- /dev/null
+++ b/freemocap/core/pipeline/posthoc/annotation_style.py
@@ -0,0 +1,125 @@
+"""Builds a posthoc annotation StageAnnotationSchema that matches the realtime
+browser overlay's region-based coloring (see freemocap-ui's
+skeleton-overlay-renderer.ts: classifySide/classifyHand/classifyFace/styleFor).
+"""
+from __future__ import annotations
+
+from skellytracker.core.annotation.keypoint_annotator import (
+ ConnectionGroupSchema,
+ StageAnnotationSchema,
+)
+
+# BGR (cv2 convention) equivalents of the realtime renderer's hex colors.
+_CENTER_COLOR = (0, 170, 0) # #00AA00
+_RIGHT_COLOR = (68, 68, 255) # #FF4444
+_LEFT_COLOR = (255, 136, 68) # #4488FF
+_RIGHT_HAND_COLOR = (0, 100, 255) # #FF6400
+_LEFT_HAND_COLOR = (255, 170, 0) # #00AAFF
+_FACE_COLOR = (0, 215, 255) # #FFD700
+
+_BOX_COLOR_DETECTED = (0, 255, 0) # #00FF00
+_BOX_COLOR_REUSED = (0, 140, 255) # #FF8C00
+
+
+def _classify_hand(name: str) -> str | None:
+ lc = name.lower()
+ if lc.startswith("left_hand"):
+ return "left_hand"
+ if lc.startswith("right_hand"):
+ return "right_hand"
+ return None
+
+
+def _classify_face(name: str) -> bool:
+ lc = name.lower()
+ return lc.startswith("face")
+
+
+def _classify_side(name: str) -> str:
+ lc = name.lower()
+ if "left" in lc:
+ return "left"
+ if "right" in lc:
+ return "right"
+ return "center"
+
+
+def _is_center(name: str) -> bool:
+ return (
+ not _classify_face(name)
+ and _classify_hand(name) is None
+ and _classify_side(name) == "center"
+ )
+
+
+def _color_for(name: str) -> tuple[int, int, int]:
+ if _classify_face(name):
+ return _FACE_COLOR
+ hand = _classify_hand(name)
+ if hand == "left_hand":
+ return _LEFT_HAND_COLOR
+ if hand == "right_hand":
+ return _RIGHT_HAND_COLOR
+ side = _classify_side(name)
+ if side == "left":
+ return _LEFT_COLOR
+ if side == "right":
+ return _RIGHT_COLOR
+ return _CENTER_COLOR
+
+
+def _thickness_for(name: str) -> int:
+ # 1px face lines match the realtime canvas overlay but don't survive H.264
+ # compression in the saved video (thin diagonal strokes get smoothed away
+ # while the solid keypoint dots don't), so use 2px here instead.
+ return 2
+
+
+def build_skeleton_stage_schema(
+ connections: tuple[tuple[str, str], ...],
+ tracked_points: tuple[str, ...],
+) -> StageAnnotationSchema:
+ """Build a StageAnnotationSchema whose connection_groups reproduce the
+ realtime overlay's per-region coloring for the given connection list.
+
+ Point color and line color are computed independently, matching the
+ realtime renderer: each point is colored by its own name (`styleFor`),
+ while each line takes its non-center endpoint's color. `KeypointAnnotator`
+ only exposes per-point color via a connection group's shared
+ `keypoint_color` (applied to both of that connection's endpoints), so line
+ groups leave `keypoint_color` unset and a separate set of single-point
+ "self-connection" groups carries the actual per-point colors.
+ """
+ line_buckets: dict[tuple[int, int, int], list[tuple[str, str]]] = {}
+ for name_a, name_b in connections:
+ color = _color_for(name_b) if _is_center(name_a) else _color_for(name_a)
+ line_buckets.setdefault(color, []).append((name_a, name_b))
+
+ point_buckets: dict[tuple[int, int, int], list[str]] = {}
+ for name in tracked_points:
+ point_buckets.setdefault(_color_for(name), []).append(name)
+
+ connection_groups = tuple(
+ ConnectionGroupSchema(
+ connections=tuple(group_connections),
+ connection_color=color,
+ connection_thickness=_thickness_for(group_connections[0][0]),
+ )
+ for color, group_connections in line_buckets.items()
+ ) + tuple(
+ ConnectionGroupSchema(
+ connections=tuple((name, name) for name in names),
+ connection_color=color,
+ connection_thickness=1,
+ keypoint_color=color,
+ )
+ for color, names in point_buckets.items()
+ )
+
+ return StageAnnotationSchema(
+ connections=connections,
+ connection_groups=connection_groups,
+ draw_boxes=True,
+ box_color_detected=_BOX_COLOR_DETECTED,
+ box_color_reused=_BOX_COLOR_REUSED,
+ )
diff --git a/freemocap/core/pipeline/posthoc/posthoc_aggregation_node.py b/freemocap/core/pipeline/posthoc/posthoc_aggregation_node.py
index f8505431..75fd7576 100644
--- a/freemocap/core/pipeline/posthoc/posthoc_aggregation_node.py
+++ b/freemocap/core/pipeline/posthoc/posthoc_aggregation_node.py
@@ -9,7 +9,7 @@ The task function signature must be:
def my_task(
*,
- frame_observations: list[dict[CameraIdString, BaseObservation]],
+ frame_observations: list[dict[CameraIdString, Observation]],
recording_info: RecordingInfo,
video_metadata: dict[CameraIdString, VideoMetadata],
reporter: TaskProgressReporter | None = None,
diff --git a/freemocap/core/pipeline/posthoc/posthoc_pipeline.py b/freemocap/core/pipeline/posthoc/posthoc_pipeline.py
index 0b6f1088..e17a80be 100644
--- a/freemocap/core/pipeline/posthoc/posthoc_pipeline.py
+++ b/freemocap/core/pipeline/posthoc/posthoc_pipeline.py
@@ -18,7 +18,7 @@ from multiprocessing.sharedctypes import Synchronized
from skellycam.core.ipc.process_management.worker_registry import WorkerRegistry
from skellycam.core.recorders.videos.recording_info import RecordingInfo
-from skellytracker.trackers.base_tracker.base_tracker_abcs import BaseDetectorConfig
+from skellytracker.core import TrackerConfig
from freemocap.core.pipeline.abcs.pipeline_abc import PipelineABC
from freemocap.core.pipeline.abcs.pipeline_ipc import PipelineIPC
@@ -80,7 +80,7 @@ class PosthocPipeline(PipelineABC):
cls,
*,
recording_info: RecordingInfo,
- detector_config: BaseDetectorConfig,
+ detector_config: TrackerConfig,
aggregation_task_fn: PosthocAggregationNodeTaskFn,
pipeline_type: PosthocPipelineType,
worker_registry: WorkerRegistry,
diff --git a/freemocap/core/pipeline/posthoc/posthoc_pipeline_manager.py b/freemocap/core/pipeline/posthoc/posthoc_pipeline_manager.py
index 1479f7cf..f22ec6db 100644
--- a/freemocap/core/pipeline/posthoc/posthoc_pipeline_manager.py
+++ b/freemocap/core/pipeline/posthoc/posthoc_pipeline_manager.py
@@ -143,7 +143,7 @@ class PosthocPipelineManager(PipelineManagerABC):
)
pipeline = PosthocPipeline.create(
recording_info=recording_info,
- detector_config=mocap_config.skeleton_detector_config,
+ detector_config=mocap_config.tracker_config,
aggregation_task_fn=mocap_task_fn,
pipeline_type=PosthocPipelineType.MOCAP,
worker_registry=self.worker_registry,
diff --git a/freemocap/core/pipeline/posthoc/task_progress_reporter.py b/freemocap/core/pipeline/posthoc/task_progress_reporter.py
index cb3fa173..5a3378a0 100644
--- a/freemocap/core/pipeline/posthoc/task_progress_reporter.py
+++ b/freemocap/core/pipeline/posthoc/task_progress_reporter.py
@@ -9,7 +9,7 @@ or when the aggregation node has no WebSocket queue available).
"""
from __future__ import annotations
-from collections.abc import Callable
+from collections.abc import Callable # noqa: TC003
class TaskProgressReporter:
diff --git a/freemocap/core/pipeline/posthoc/video_node.py b/freemocap/core/pipeline/posthoc/video_node.py
index 02eae722..c9877339 100644
--- a/freemocap/core/pipeline/posthoc/video_node.py
+++ b/freemocap/core/pipeline/posthoc/video_node.py
@@ -1,31 +1,33 @@
"""
-VideoNode: reads frames from a video file, runs a detector, publishes observations.
+VideoNode: reads frames from a video file, runs a tracker, publishes observations.
-Generic video processing node parameterized by BaseDetectorConfig β€” the same node
-handles charuco detection, mediapipe detection, or any future detector type.
+Generic video processing node parameterized by TrackerConfig β€” the same node
+handles charuco detection, RTMPose skeleton detection, or any future tracker type.
Optionally saves annotated video output. If an existing annotated video is found
in the annotated_videos/ folder, new annotations are drawn on top of those frames
-(allowing layering of e.g. charuco + mediapipe annotations). Otherwise, annotations
+(allowing layering of e.g. charuco + skeleton annotations). Otherwise, annotations
are drawn on the source video frames.
"""
import csv
import logging
import multiprocessing
import pickle
-from dataclasses import dataclass
+from dataclasses import dataclass, replace
from multiprocessing.sharedctypes import Synchronized
from pathlib import Path
import cv2
from tqdm import tqdm
from skellycam.core.ipc.process_management.worker_registry import WorkerRegistry
-from skellytracker.trackers.base_tracker.base_tracker_abcs import BaseDetectorConfig, BaseObservation
-from skellytracker.trackers.base_tracker.detector_helpers import create_detector_from_config, \
- create_annotator_from_config
-from skellytracker.trackers.charuco_tracker.charuco_observation import CharucoObservation
-from skellytracker.trackers.charuco_tracker.charuco_tracker_config import CharucoDetectorConfig
-from skellytracker.trackers.charuco_tracker.charuco_board_definition import CharucoBoardDefinition
+from skellytracker.core import TrackerConfig
+from skellytracker.core.data_primitives.observation import Observation
+from skellytracker.core.detectors.keypoint_detectors.charuco import (
+ CharucoDetectorConfig,
+ CharucoBoardDefinition,
+)
+from skellytracker.core.tracker.tracker import Tracker
+from skellytracker.core.tracker.tracker_state import TrackerState
from freemocap.core.pipeline.abcs.pipeline_ipc import PipelineIPC
from freemocap.core.pipeline.abcs.source_node_abc import SourceNode
@@ -43,6 +45,115 @@ from freemocap.system.default_paths import ANNOTATED_VIDEOS_FOLDER_NAME
logger = logging.getLogger(__name__)
+def _is_charuco_config(tracker_config: TrackerConfig) -> bool:
+ """Return True if this TrackerConfig is for charuco board detection."""
+ for stage in tracker_config.stages:
+ for kp_det in stage.keypoint_detectors:
+ if isinstance(kp_det, CharucoDetectorConfig):
+ return True
+ return False
+
+
+def _extract_board_def(tracker_config: TrackerConfig) -> CharucoBoardDefinition:
+ for stage in tracker_config.stages:
+ for kp_det in stage.keypoint_detectors:
+ if isinstance(kp_det, CharucoDetectorConfig):
+ return kp_det.board
+ return CharucoBoardDefinition.create_letter_size_5x3()
+
+
+def _is_mediapipe_config(tracker_config: TrackerConfig) -> bool:
+ """Return True if this TrackerConfig uses MediaPipe keypoint detectors."""
+ try:
+ from skellytracker.core.detectors.keypoint_detectors.mediapipe.body.mediapipe_pose_detector import (
+ MediapipePoseDetectorConfig,
+ )
+ except ImportError:
+ return False
+ for stage in tracker_config.stages:
+ for kp_det in stage.keypoint_detectors:
+ if isinstance(kp_det, MediapipePoseDetectorConfig):
+ return True
+ return False
+
+
+def _build_tracker(tracker_config: TrackerConfig) -> tuple[Tracker, object]:
+ """Build a (Tracker, session) pair from a TrackerConfig.
+
+ For charuco configs, returns (Tracker, CpuSession).
+ For mediapipe configs, returns (Tracker, MediaPipeSession).
+ For RTMPose/ONNX configs, returns (Tracker, OnnxSession).
+ """
+ from freemocap.core.tracking.tracker_factory import (
+ build_charuco_tracker,
+ build_skeleton_onnx_session,
+ )
+ from skellytracker.core.detectors.keypoint_detectors.rtmpose import RTMPoseDetectorConfig
+ from skellytracker.core.tracker.tracker import Tracker
+
+ if _is_charuco_config(tracker_config):
+ board_def = _extract_board_def(tracker_config)
+ return build_charuco_tracker(board_def)
+
+ if _is_mediapipe_config(tracker_config):
+ import skellytracker.core.detectors.keypoint_detectors.mediapipe # noqa: F401 (registry)
+ from skellytracker.core.sessions.mediapipe_session import (
+ MediaPipeSession,
+ MediaPipeSessionConfig,
+ )
+ session = MediaPipeSession.create(MediaPipeSessionConfig())
+ tracker = Tracker.create(tracker_config, {"mediapipe": session})
+ return tracker, session
+
+ model_name = "rtmw-x-l_256x192"
+ for stage in tracker_config.stages:
+ for kp_det in stage.keypoint_detectors:
+ if isinstance(kp_det, RTMPoseDetectorConfig):
+ model_name = kp_det.model_name
+ break
+ onnx_session = build_skeleton_onnx_session(batch_size=1, model_name=model_name)
+ tracker = Tracker.create(tracker_config, {"onnx": onnx_session})
+ return tracker, onnx_session
+
+
+def _build_annotator(tracker_config: TrackerConfig):
+ """Build an Annotator for the given TrackerConfig."""
+ from skellytracker.core.annotation.keypoint_annotator import (
+ KeypointAnnotator,
+ KeypointAnnotatorConfig,
+ )
+ from skellytracker.core.detectors.keypoint_detectors.charuco.charuco_observation_annotator import (
+ CharucoObservationAnnotator,
+ _CharucoObservationAnnotatorConfig,
+ )
+
+ if _is_charuco_config(tracker_config):
+ board_def = _extract_board_def(tracker_config)
+ return CharucoObservationAnnotator.create(
+ _CharucoObservationAnnotatorConfig(board_def=board_def)
+ )
+
+ from freemocap.core.pipeline.posthoc.annotation_style import build_skeleton_stage_schema
+ from freemocap.core.tracking.tracker_definitions import (
+ MEDIAPIPE_WHOLEBODY_DEFINITION,
+ RTMPOSE_WHOLEBODY_DEFINITION,
+ )
+
+ tracker_definition = (
+ MEDIAPIPE_WHOLEBODY_DEFINITION
+ if _is_mediapipe_config(tracker_config)
+ else RTMPOSE_WHOLEBODY_DEFINITION
+ )
+ return KeypointAnnotator(
+ config=KeypointAnnotatorConfig(
+ stage_schemas={
+ "body": build_skeleton_stage_schema(
+ tracker_definition.connections, tracker_definition.tracked_points
+ )
+ }
+ )
+ )
+
@dataclass
class VideoNode(SourceNode):
@@ -56,7 +167,7 @@ class VideoNode(SourceNode):
*,
camera_id: CameraIdString,
video_path: Path,
- detector_config: BaseDetectorConfig,
+ detector_config: TrackerConfig,
worker_registry: WorkerRegistry,
ipc: PipelineIPC,
pubsub: PubSubTopicManager,
@@ -100,23 +211,11 @@ class VideoNode(SourceNode):
recording_path: Path,
video_path: Path,
) -> tuple[Path, Path | None]:
- """
- Determine the output path for the annotated video and check if an
- existing annotated video can be used as the base for layered annotation.
-
- Returns:
- (output_path, existing_base_path_or_none)
- """
annotated_dir = recording_path / ANNOTATED_VIDEOS_FOLDER_NAME
annotated_dir.mkdir(parents=True, exist_ok=True)
output_path = annotated_dir / f"{video_path.stem}_annotated{video_path.suffix}"
-
-
-
- # If an annotated video already exists, rename it so we can read from it
- # while writing the new layered version
existing_base_path: Path | None = None
if output_path.exists():
existing_base_path = output_path.with_suffix(
@@ -137,7 +236,7 @@ class VideoNode(SourceNode):
*,
camera_id: CameraIdString,
video_path: Path,
- detector_config: BaseDetectorConfig,
+ detector_config: TrackerConfig,
ipc: PipelineIPC,
video_output_pub: TopicPublicationQueue,
video_progress_pub: TopicPublicationQueue,
@@ -147,28 +246,20 @@ class VideoNode(SourceNode):
pipeline_id: PipelineIdString,
pipeline_type: PosthocPipelineType,
) -> None:
- # Compound pipeline_id groups this camera node under the base pipeline on the frontend.
node_pipeline_id = f"{pipeline_id}:{camera_id}"
- # Emit immediately so the frontend shows the pipeline before the (potentially slow) model load.
video_progress_pub.put(VideoNodeProgressMessage(
camera_id=camera_id,
pipeline_id=node_pipeline_id,
pipeline_type=str(pipeline_type),
phase=VideoNodePhase.SETTING_UP,
progress_fraction=0.0,
- detail="Loading detector...",
+ detail="Loading tracker...",
recording_name=recording_path.name,
recording_path=str(recording_path),
))
- detector = create_detector_from_config(detector_config)
-
- # Try to reuse Charuco observations captured by the realtime pipeline
- # during the calibration recording. The cache is keyed by connection frame
- # number; the recording's timestamps CSV maps each recorded (positional)
- # video frame to its connection frame number. We resolve both into a
- # {recording_frame_number: observation} map so detection is skipped only for
- # frames we actually have β€” every miss falls back to detection, so the
- # result is identical to a full detect, just faster.
+ tracker, session = _build_tracker(detector_config)
+ tracker_state = TrackerState()
+
cache = _build_recording_frame_cache(
recording_path=recording_path,
camera_id=camera_id,
@@ -195,7 +286,6 @@ class VideoNode(SourceNode):
recording_path=str(recording_path),
))
- # Set up annotation pipeline if requested
annotator = None
video_writer: cv2.VideoWriter | None = None
base_reader: cv2.VideoCapture | None = None
@@ -205,13 +295,12 @@ class VideoNode(SourceNode):
_error_occurred = False
try:
if save_annotated_video:
- annotator = create_annotator_from_config(detector_config)
+ annotator = _build_annotator(detector_config)
annotated_output_path, prev_annotated_path = VideoNode._resolve_annotated_video_paths(
recording_path=recording_path,
video_path=video_path,
)
- # Open base reader if we have a previous annotated video to layer on
if prev_annotated_path is not None:
base_reader = cv2.VideoCapture(str(prev_annotated_path), cv2.CAP_FFMPEG)
if not base_reader.isOpened():
@@ -221,13 +310,9 @@ class VideoNode(SourceNode):
)
base_reader = None
- # Create video writer matching source video properties
fps = video_reader.get(cv2.CAP_PROP_FPS)
width = int(video_reader.get(cv2.CAP_PROP_FRAME_WIDTH))
height = int(video_reader.get(cv2.CAP_PROP_FRAME_HEIGHT))
- # Prefer H.264 ("avc1") so annotated videos play directly in browsers/Electron's
- # <video> element. Fall back to "mp4v" if the local OpenCV/ffmpeg build lacks an
- # H.264 encoder β€” playable in desktop players but not in <video> tags.
video_writer = cv2.VideoWriter(
str(annotated_output_path), cv2.VideoWriter_fourcc(*"avc1"), fps, (width, height)
)
@@ -235,7 +320,7 @@ class VideoNode(SourceNode):
video_writer.release()
logger.warning(
f"H.264 ('avc1') encoder unavailable for {video_path.stem} β€” "
- f"falling back to 'mp4v' (annotated video will not play in browser <video> tags)"
+ f"falling back to 'mp4v'"
)
video_writer = cv2.VideoWriter(
str(annotated_output_path), cv2.VideoWriter_fourcc(*"mp4v"), fps, (width, height)
@@ -258,10 +343,11 @@ class VideoNode(SourceNode):
) as pbar:
success, image = video_reader.read()
while success and not shutdown_self_flag.value and ipc.should_continue:
- observation = _get_observation(
+ observation, tracker_state = _get_observation(
frame_number=frame_number,
image=image,
- detector=detector,
+ tracker=tracker,
+ state=tracker_state,
cache=cache,
)
video_output_pub.put(
@@ -272,9 +358,7 @@ class VideoNode(SourceNode):
),
)
- # Annotate and write frame if enabled
if annotator is not None and video_writer is not None:
- # Use previous annotated frame as base if available, else source frame
if base_reader is not None:
base_ok, base_frame = base_reader.read()
if not base_ok or base_frame is None:
@@ -290,10 +374,7 @@ class VideoNode(SourceNode):
else:
annotation_base = image
- annotated_frame = annotator.annotate_image(
- image=annotation_base,
- observation=observation,
- )
+ annotated_frame = annotator.annotate(annotation_base, observation)
video_writer.write(annotated_frame)
success, image = video_reader.read()
@@ -331,10 +412,8 @@ class VideoNode(SourceNode):
recording_path=str(recording_path),
))
ipc.shutdown_pipeline()
- # Do NOT re-raise: unhandled exceptions here kill the worker, and the WorkerRegistry
- # child monitor escalates that to a parent-process shutdown (exit code 15).
- # The error is surfaced via the progress message so the frontend can report it.
finally:
+ tracker.close()
video_reader.release()
if not _error_occurred:
video_progress_pub.put(VideoNodeProgressMessage(
@@ -350,7 +429,6 @@ class VideoNode(SourceNode):
video_writer.release()
if base_reader is not None:
base_reader.release()
- # Clean up the .prev file after we're done reading from it
if prev_annotated_path is not None and prev_annotated_path.exists():
prev_annotated_path.unlink()
logger.debug(f"VideoNode for {video_path.stem} exiting")
@@ -373,19 +451,9 @@ def _build_recording_frame_cache(
*,
recording_path: Path,
camera_id: CameraIdString,
- detector_config: BaseDetectorConfig,
-) -> dict[int, BaseObservation] | None:
- """Resolve the realtime cache into a {recording_frame_number: observation} map.
-
- The realtime cache is keyed by connection frame number; the recording's
- per-camera timestamps CSV maps each recorded (positional) video frame to its
- connection frame number. BOTH are required to align: a cache with no CSV cannot
- be trusted to any video frame, so we detect everything in that case.
-
- Returns ``None`` (β†’ full detection) when the cache is absent/inapplicable or
- cannot be aligned. Otherwise returns only the frames we have observations for;
- the caller detects every frame not present in the returned map.
- """
+ detector_config: TrackerConfig,
+) -> dict[int, Observation] | None:
+ """Resolve the realtime cache into a {recording_frame_number: observation} map."""
cache_by_connection_frame = _load_cache_by_connection_frame(
recording_path=recording_path,
camera_id=camera_id,
@@ -405,11 +473,13 @@ def _build_recording_frame_cache(
)
return None
- cache_by_recording_frame: dict[int, BaseObservation] = {}
+ cache_by_recording_frame: dict[int, Observation] = {}
for recording_frame_number, connection_frame_number in recording_to_connection.items():
observation = cache_by_connection_frame.get(connection_frame_number)
if observation is not None:
- cache_by_recording_frame[recording_frame_number] = observation
+ cache_by_recording_frame[recording_frame_number] = replace(
+ observation, frame_number=recording_frame_number
+ )
if not cache_by_recording_frame:
logger.info(
@@ -429,24 +499,12 @@ def _load_cache_by_connection_frame(
*,
recording_path: Path,
camera_id: CameraIdString,
- detector_config: BaseDetectorConfig,
-) -> dict[int, BaseObservation] | None:
- """Load this camera's realtime observations keyed by connection frame number.
-
- Returns ``None`` when the cache is missing or genuinely does not apply (a
- non-Charuco detector, or a board that does not match). A cache that exists but
- is structurally wrong is logged LOUDLY and rejected β€” never silently swallowed.
- """
- # The cache only applies to Charuco calibration detection. We compare against
- # the board directly (both CharucoBoardDefinition) rather than the detector
- # config's delegating properties, which are NOT 1:1 β€” e.g. the config exposes
- # ``square_length``, not ``square_length_mm``. Accessing the latter is what
- # previously raised AttributeError and got silently swallowed, disabling the
- # whole feature without a trace.
- if not isinstance(detector_config, CharucoDetectorConfig):
+ detector_config: TrackerConfig,
+) -> dict[int, Observation] | None:
+ """Load realtime charuco observations keyed by connection frame number."""
+ if not _is_charuco_config(detector_config):
logger.debug(
- f"VideoNode [{camera_id}]: detector is "
- f"{type(detector_config).__name__}, not Charuco β€” realtime cache N/A"
+ f"VideoNode [{camera_id}]: not a charuco config β€” realtime cache N/A"
)
return None
@@ -456,10 +514,6 @@ def _load_cache_by_connection_frame(
return None
try:
- # Trusted source: this pickle was written by our own CharucoRecorderNode
- # into this recording's output_data folder during the same session. It
- # holds typed objects (CharucoObservation with numpy arrays, the pydantic
- # board) that aren't cleanly JSON-serializable, so pickle is appropriate.
with open(cache_path, "rb") as f:
cache_data = pickle.load(f)
except Exception:
@@ -475,11 +529,11 @@ def _load_cache_by_connection_frame(
logger.warning(
f"VideoNode [{camera_id}]: cache board_definition is "
f"{type(cached_board).__name__}, expected CharucoBoardDefinition β€” "
- f"rejecting cache (cache-format bug, not an expected miss)"
+ f"rejecting cache (stale cache format)"
)
return None
- request_board = detector_config.board
+ request_board = _extract_board_def(detector_config)
if (
cached_board.squares_x != request_board.squares_x
or cached_board.squares_y != request_board.squares_y
@@ -515,8 +569,7 @@ def _load_cache_by_connection_frame(
if not isinstance(obs_by_connection_frame, dict):
logger.warning(
f"VideoNode [{camera_id}]: cached observations are "
- f"{type(obs_by_connection_frame).__name__}, expected a dict keyed by "
- f"connection frame number (stale cache format?) β€” rejecting cache"
+ f"{type(obs_by_connection_frame).__name__}, expected dict β€” rejecting cache"
)
return None
@@ -532,13 +585,6 @@ def _load_recording_to_connection_frame_map(
recording_path: Path,
camera_id: CameraIdString,
) -> dict[int, int] | None:
- """Map recording_frame_number (positional video index) β†’ connection_frame_number.
-
- Reads skellycam's per-camera timestamps CSV β€” the authoritative record of which
- connection frame each recorded video frame came from, written during recording
- finalization. Returns ``None`` (β†’ full detection) if the CSV is missing or
- unreadable.
- """
recording_info = RecordingInfo(
recording_name=recording_path.name,
recording_directory=str(recording_path.parent),
@@ -573,23 +619,13 @@ def _get_observation(
*,
frame_number: int,
image,
- detector,
- cache: dict[int, BaseObservation] | None,
-) -> BaseObservation:
- """Get observation for a frame β€” from cache if available, else detect.
-
- ``cache`` is keyed by recording_frame_number (the positional video index), so a
- hit is the realtime observation for exactly this frame. We re-stamp its
- ``frame_number`` to the recording index so cached and detected observations share
- identical frame numbering downstream (anipose rows, cross-camera correspondence).
- The video I/O loop is otherwise unchanged.
- """
+ tracker: Tracker,
+ state: TrackerState,
+ cache: dict[int, Observation] | None,
+) -> tuple[Observation, TrackerState]:
+ """Get observation for a frame β€” from cache if available, else detect."""
if cache is not None and frame_number in cache:
observation = cache[frame_number]
- observation.frame_number = frame_number
- return observation
+ return observation, state
- return detector.detect(
- frame_number=frame_number,
- image=image,
- )
+ return tracker.process_image(image, frame_number, state)
diff --git a/freemocap/core/pipeline/realtime/camera_node.py b/freemocap/core/pipeline/realtime/camera_node.py
index 90989860..3e95e1cb 100644
--- a/freemocap/core/pipeline/realtime/camera_node.py
+++ b/freemocap/core/pipeline/realtime/camera_node.py
@@ -1,9 +1,9 @@
"""
-RealtimeCameraNode: reads frames from shared memory, runs enabled detectors,
+RealtimeCameraNode: reads frames from shared memory, runs enabled trackers,
publishes CameraNodeOutputMessages.
Runs indefinitely until shutdown. Responds to pipeline config updates
-(toggling detectors, changing charuco board params, etc).
+(toggling trackers, changing charuco board params, etc).
"""
import logging
import queue
@@ -15,7 +15,6 @@ from skellycam.core.ipc.process_management.worker_registry import WorkerRegistry
from skellycam.core.ipc.shared_memory.camera_shared_memory_ring_buffer import CameraSharedMemoryRingBuffer
from skellycam.core.ipc.shared_memory.ring_buffer_shared_memory import SharedMemoryRingBufferDTO
from skellycam.core.types.type_overloads import CameraIdString, TopicSubscriptionQueue
-# from skellytracker.trackers.legacy_mediapipe_tracker.legacy_mediapipe_detector import LegacyMediapipeDetector
from freemocap.core.pipeline.abcs.pipeline_ipc import PipelineIPC
from freemocap.core.pipeline.abcs.source_node_abc import SourceNode
@@ -35,11 +34,56 @@ from freemocap.pubsub.pubsub_topics import (
)
import numpy as np
-from skellytracker.trackers.rtmpose_tracker.rtmpose_detector import RTMPoseDetector
logger = logging.getLogger(__name__)
+def _build_charuco_tracker_from_config(node_config: CameraNodeConfig):
+ """Return (Tracker, CpuSession) for charuco detection."""
+ from skellytracker.core.detectors.keypoint_detectors.charuco import (
+ CharucoDetectorConfig,
+ CharucoBoardDefinition,
+ )
+ from freemocap.core.tracking.tracker_factory import build_charuco_tracker
+
+ board_def = CharucoBoardDefinition.create_letter_size_5x3()
+ for stage in node_config.charuco_tracker_config.stages:
+ for kp_det in stage.keypoint_detectors:
+ if isinstance(kp_det, CharucoDetectorConfig):
+ board_def = kp_det.board
+ break
+ return build_charuco_tracker(board_def)
+
+
+def _build_skeleton_tracker_from_config(node_config: CameraNodeConfig):
+ """Return (Tracker, session) for skeleton detection in per-camera mode."""
+ if node_config.detector_type == "mediapipe":
+ from freemocap.core.tracking.tracker_factory import build_mediapipe_tracker
+ return build_mediapipe_tracker(
+ model_complexity=node_config.mediapipe_model_complexity,
+ detection_confidence=node_config.mediapipe_detection_confidence,
+ presence_confidence=node_config.mediapipe_presence_confidence,
+ tracking_confidence=node_config.mediapipe_tracking_confidence,
+ num_hands=node_config.mediapipe_num_hands,
+ num_faces=node_config.mediapipe_num_faces,
+ )
+
+ from freemocap.core.tracking.tracker_factory import (
+ build_skeleton_onnx_session,
+ build_skeleton_tracker,
+ )
+
+ model_name = node_config.rtmpose_model_name
+ confidence_threshold = node_config.rtmpose_confidence_threshold
+ onnx_session = build_skeleton_onnx_session(batch_size=1, model_name=model_name)
+ tracker = build_skeleton_tracker(
+ onnx_session=onnx_session,
+ model_name=model_name,
+ confidence_threshold=confidence_threshold,
+ )
+ return tracker, onnx_session
+
+
@dataclass
class CameraNode(SourceNode):
camera_id: CameraIdString
@@ -105,7 +149,7 @@ class CameraNode(SourceNode):
log_pipeline_times: bool = False,
) -> None:
import cv2
- from skellytracker.trackers.charuco_tracker.charuco_detector import CharucoDetector
+ from skellytracker.core.tracker.tracker_state import TrackerState
logger.debug(f"RealtimeCameraNode [{camera_id}] initializing")
camera_shm = CameraSharedMemoryRingBuffer.recreate(
@@ -113,29 +157,24 @@ class CameraNode(SourceNode):
read_only=False,
)
- charuco_detector: CharucoDetector | None = None
- skeleton_detector: RTMPoseDetector | None = None
- # skeleton_detector: LegacyMediapipeDetector | None = None
+ charuco_tracker = None
+ charuco_session = None
+ charuco_state = TrackerState()
+ skeleton_tracker = None
+ skeleton_session = None
+ skeleton_state = TrackerState()
+
+ if config.charuco_tracking_enabled and config.charuco_tracker_config is not None:
+ charuco_tracker, charuco_session = _build_charuco_tracker_from_config(config)
- if config.charuco_tracking_enabled and config.charuco_detector_config is not None:
- charuco_detector = CharucoDetector.create(
- config=config.charuco_detector_config,
- )
if (
config.skeleton_tracking_enabled
- and config.skeleton_detector_config is not None
+ and config.skeleton_tracker_config is not None
and not skeleton_inference_centralized
):
# In centralized GPU mode, the dedicated SkeletonInferenceNode owns
# the ONNX session and serves all cameras via batched inference.
- # Skipping per-camera construction here is what avoids spawning
- # N independent CUDA contexts on a single GPU.
- # skeleton_detector = LegacyMediapipeDetector.create(
- # config=config.skeleton_detector_config ,
- # )
- skeleton_detector = RTMPoseDetector.create(
- config=config.skeleton_detector_config,
- )
+ skeleton_tracker, skeleton_session = _build_skeleton_tracker_from_config(config)
keypoint_filter: RealtimeKeypointFilter | None = None
if config.enable_keypoint_filter:
@@ -163,25 +202,32 @@ class CameraNode(SourceNode):
new_config: CameraNodeConfig = update_msg.pipeline_config.camera_node_config
logger.debug(f"RealtimeCameraNode [{camera_id}] received config update")
- if new_config.charuco_tracking_enabled and new_config.charuco_detector_config is not None:
- charuco_detector = CharucoDetector.create(
- config=new_config.charuco_detector_config,
- )
+ if new_config.charuco_tracking_enabled and new_config.charuco_tracker_config is not None:
+ if charuco_tracker is not None:
+ charuco_tracker.close()
+ charuco_tracker, charuco_session = _build_charuco_tracker_from_config(new_config)
+ charuco_state = TrackerState()
elif not new_config.charuco_tracking_enabled:
- charuco_detector = None
+ if charuco_tracker is not None:
+ charuco_tracker.close()
+ charuco_tracker = None
+ charuco_session = None
if (
new_config.skeleton_tracking_enabled
- and new_config.skeleton_detector_config is not None
+ and new_config.skeleton_tracker_config is not None
and not skeleton_inference_centralized
):
- skeleton_detector = RTMPoseDetector.create(
- config=new_config.skeleton_detector_config,
- )
+ if skeleton_tracker is not None:
+ skeleton_tracker.close()
+ skeleton_tracker, skeleton_session = _build_skeleton_tracker_from_config(new_config)
+ skeleton_state = TrackerState()
elif not new_config.skeleton_tracking_enabled or skeleton_inference_centralized:
- skeleton_detector = None
+ if skeleton_tracker is not None:
+ skeleton_tracker.close()
+ skeleton_tracker = None
+ skeleton_session = None
- # Recreate keypoint filter if config changed.
if new_config.enable_keypoint_filter:
keypoint_filter = RealtimeKeypointFilter(
dims=2,
@@ -203,8 +249,6 @@ class CameraNode(SourceNode):
break
# ---- Block until a frame request arrives (up to 5ms) ----
- # Replaces the busy-poll (empty() check + 1ms sleep) with an
- # efficient OS-level wait, cutting latency and CPU waste.
try:
frame_msg: ProcessFrameNumberMessage = process_frame_number_sub.get(timeout=0.005)
except queue.Empty:
@@ -218,7 +262,6 @@ class CameraNode(SourceNode):
image = cv2.rotate(
src=frame_recarray.image[0],
rotateCode=frame_recarray.frame_metadata.camera_info.rotation[0]
-
)
else:
image = frame_recarray.image[0]
@@ -227,7 +270,9 @@ class CameraNode(SourceNode):
actual_camera_id: CameraIdString = frame_recarray.frame_metadata.camera_info.camera_id[0]
if actual_camera_id != camera_id:
raise RuntimeError(
- f"RealtimeCameraNode [{camera_id}]: expected camera ID {camera_id} but got frame with camera ID {actual_camera_id}")
+ f"RealtimeCameraNode [{camera_id}]: expected camera ID {camera_id} "
+ f"but got frame with camera ID {actual_camera_id}"
+ )
if actual_frame_number != frame_msg.frame_number:
logger.warning(
f"RealtimeCameraNode [{camera_id}]: requested frame {frame_msg.frame_number} "
@@ -236,62 +281,53 @@ class CameraNode(SourceNode):
skeleton_observation = None
charuco_observation = None
t_frame_start = time.perf_counter() if timer is not None else 0.0
- if skeleton_detector is not None:
+
+ if skeleton_tracker is not None:
t0 = time.perf_counter() if timer is not None else 0.0
- skeleton_observation = skeleton_detector.detect(
- frame_number=actual_frame_number,
- image=image,
+ skeleton_observation, skeleton_state = skeleton_tracker.process_image(
+ image, actual_frame_number, skeleton_state
)
if timer is not None:
timer.record("skeleton_detection", (time.perf_counter() - t0) * 1e3)
- # Apply 1€ filter to 2D keypoints before publishing.
- if keypoint_filter is not None and skeleton_observation is not None:
- t0 = time.perf_counter() if timer is not None else 0.0
- raw_2d = skeleton_observation.points.to_named_dict(dimensions=2)
- filtered_2d = keypoint_filter.filter(
- t=time.perf_counter(),
- raw_keypoints=raw_2d,
- )
- # Write filtered xy back into the PointCloud in place.
- xyz = skeleton_observation.points.xyz
- for name, coords in filtered_2d.items():
- try:
- idx = skeleton_observation.points.names.index(name)
- xyz[idx, 0] = coords[0]
- xyz[idx, 1] = coords[1]
- except ValueError:
- pass # predicted keypoint not in schema β€” skip
- if timer is not None:
- timer.record("keypoint_filter_2d", (time.perf_counter() - t0) * 1e3)
-
- # ---- Confidence gating: NaN-out low-confidence 2D keypoints ----
- # Runs after the 1€ filter so the filter doesn't propagate
- # held positions for keypoints that are actually garbage.
- # Does NOT mutate visibility β€” only zeroes xy so triangulation
- # sees NaN and skips these points.
- if (
- skeleton_observation is not None
- and config.skeleton_detector_config is not None
- ):
- conf_threshold = config.skeleton_detector_config.confidence_threshold
- visibility = skeleton_observation.points.visibility
- low_conf = visibility < conf_threshold
+ body_stage = skeleton_observation.stages.get("body")
+ if body_stage is not None and body_stage.keypoints is not None:
+ # Apply 1€ filter to 2D keypoints before publishing.
+ if keypoint_filter is not None:
+ t0 = time.perf_counter() if timer is not None else 0.0
+ kpts = body_stage.keypoints
+ raw_2d = kpts.to_named_dict(dimensions=2)
+ filtered_2d = keypoint_filter.filter(
+ t=time.perf_counter(),
+ raw_keypoints=raw_2d,
+ )
+ xyz = kpts.xyz
+ for name, coords in filtered_2d.items():
+ try:
+ idx = kpts.index_of(name)
+ xyz[idx, 0] = coords[0]
+ xyz[idx, 1] = coords[1]
+ except KeyError:
+ pass
+ if timer is not None:
+ timer.record("keypoint_filter_2d", (time.perf_counter() - t0) * 1e3)
+
+ # Confidence gating: NaN-out low-confidence 2D keypoints.
+ kpts = body_stage.keypoints
+ low_conf = kpts.visibility < config.confidence_threshold
if low_conf.any():
- skeleton_observation.points.xyz[low_conf, :2] = np.nan
+ kpts.xyz[low_conf, :2] = np.nan
if timer is not None:
- timer.record(
- "confidence_gate_dropped",
- int(low_conf.sum()),
- )
- if charuco_detector is not None:
+ timer.record("confidence_gate_dropped", float(low_conf.sum()))
+
+ if charuco_tracker is not None:
t0 = time.perf_counter() if timer is not None else 0.0
- charuco_observation = charuco_detector.detect(
- frame_number=actual_frame_number,
- image=image,
+ charuco_observation, charuco_state = charuco_tracker.process_image(
+ image, actual_frame_number, charuco_state
)
if timer is not None:
timer.record("charuco_detection", (time.perf_counter() - t0) * 1e3)
+
if timer is not None:
timer.record("total_camera_node", (time.perf_counter() - t_frame_start) * 1e3)
@@ -315,4 +351,8 @@ class CameraNode(SourceNode):
ipc.kill_everything()
raise
finally:
+ if charuco_tracker is not None:
+ charuco_tracker.close()
+ if skeleton_tracker is not None:
+ skeleton_tracker.close()
logger.debug(f"RealtimeCameraNode [{camera_id}] exiting")
diff --git a/freemocap/core/pipeline/realtime/camera_node_config.py b/freemocap/core/pipeline/realtime/camera_node_config.py
index 49e82f4d..f50a49b3 100644
--- a/freemocap/core/pipeline/realtime/camera_node_config.py
+++ b/freemocap/core/pipeline/realtime/camera_node_config.py
@@ -1,24 +1,92 @@
-from pydantic import BaseModel, Field
+from typing import Literal
+
+from pydantic import BaseModel, Field, model_validator
from skellycam.core.ipc.process_management.managed_worker import WorkerMode
-from skellytracker.trackers.base_tracker.detector_helpers import SkeletonDetectorConfig
-from skellytracker.trackers.charuco_tracker.charuco_tracker_config import CharucoDetectorConfig
-from skellytracker.trackers.rtmpose_tracker.rtmpose_detector_config import RTMPoseDetectorConfig
+from skellytracker.core import TrackerConfig, DetectionStageConfig
+from skellytracker.core.detectors.keypoint_detectors.charuco import (
+ CharucoBoardDefinition,
+ CharucoDetectorConfig,
+)
+from skellytracker.core.detectors.keypoint_detectors.mediapipe.mediapipe_model_manager import (
+ MediapipePoseModelComplexity,
+)
+from skellytracker.core.detectors.keypoint_detectors.rtmpose import RTMPoseDetectorConfig
+from skellytracker.core.detectors.object_detectors.yolox import YoloxPersonDetectorConfig
+from skellytracker.core.temporal_processing.temporal_processing_config import (
+ BBoxPolicyConfig,
+ BBoxSmoothingConfig,
+ KeypointsWithinBBoxRatioConfig,
+)
+
+
+_REDETECT_SECONDS = 5.0
+_ASSUMED_CAMERA_FPS = 30.0
+
+
+def _default_skeleton_tracker_config() -> TrackerConfig:
+ redetect_interval = max(1, round(_REDETECT_SECONDS * _ASSUMED_CAMERA_FPS))
+ return TrackerConfig(
+ stages=[
+ DetectionStageConfig(
+ name="body",
+ object_detector=YoloxPersonDetectorConfig(),
+ keypoint_detectors=[
+ RTMPoseDetectorConfig(
+ model_name="rtmw-x-l_256x192",
+ confidence_threshold=0.0025,
+ )
+ ],
+ bbox_policy=BBoxPolicyConfig(
+ redetect_interval=redetect_interval,
+ keypoint_bbox_expansion=0.05,
+ fitness_checks=[KeypointsWithinBBoxRatioConfig(threshold=0.5)],
+ min_shrink_ratio_per_frame=0.995,
+ min_bbox_size_px=80.0,
+ ),
+ bbox_smoothing=BBoxSmoothingConfig(alpha=0.4),
+ )
+ ]
+ )
+
+
+def _charuco_tracker_config_for_board(board: CharucoBoardDefinition) -> TrackerConfig:
+ return TrackerConfig(
+ stages=[
+ DetectionStageConfig(
+ name="charuco",
+ keypoint_detectors=[CharucoDetectorConfig(board=board)],
+ )
+ ]
+ )
class CameraNodeConfig(BaseModel):
worker_mode: WorkerMode = WorkerMode.PROCESS
charuco_tracking_enabled: bool = True
skeleton_tracking_enabled: bool = True
- charuco_detector_config: CharucoDetectorConfig|None = Field(default_factory=CharucoDetectorConfig)
- # max_persons=1: we only support single-person tracking for now. Capping
+ detector_type: Literal["rtmpose", "mediapipe"] = "rtmpose"
+ # RTMPose config (only used when detector_type="rtmpose")
+ rtmpose_model_name: Literal["rtmw-x-l_256x192", "rtmw-x-l_384x288", "rtmw-l-m_256x192"] = "rtmw-x-l_256x192"
+ rtmpose_confidence_threshold: float = 0.0025
+ # MediaPipe config (only used when detector_type="mediapipe")
+ mediapipe_model_complexity: MediapipePoseModelComplexity = MediapipePoseModelComplexity.LITE
+ mediapipe_detection_confidence: float = 0.5
+ mediapipe_presence_confidence: float = 0.5
+ mediapipe_tracking_confidence: float = 0.5
+ mediapipe_num_hands: int = 2
+ mediapipe_num_faces: int = 1
+ charuco_board: CharucoBoardDefinition = Field(
+ default_factory=CharucoBoardDefinition.create_letter_size_5x3
+ )
+ # Always rebuilt from charuco_board by _sync_charuco_tracker_config below.
+ charuco_tracker_config: TrackerConfig | None = None
+ # max_persons: we only support single-person tracking for now. Capping
# detections to one crop per camera keeps the pose batch a fixed size
# (N cameras), which prevents the ONNX Runtime GPU arena from growing on
- # frames with spurious detections (the cause of intermittent OOMs). Bump to
- # a higher value or None when multi-person tracking lands.
- skeleton_detector_config: SkeletonDetectorConfig|None = Field(default_factory=lambda: RTMPoseDetectorConfig(mode="lightweight",
- confidence_threshold=0.0025,
- max_persons=1))
- # skeleton_detector_config: LegacyMediapipeDetectorConfig|None = Field(default_factory=LegacyMediapipeDetectorConfig)
+ # frames with spurious detections (the cause of intermittent OOMs).
+ skeleton_tracker_config: TrackerConfig | None = Field(
+ default_factory=_default_skeleton_tracker_config
+ )
# ---- 2D keypoint One Euro filter ----
# When True, applies per-keypoint temporal smoothing to the 2D pixel
@@ -34,6 +102,22 @@ class CameraNodeConfig(BaseModel):
# Velocity-estimate filter cutoff (Hz).
keypoint_filter_d_cutoff: float = 1.0
+ # Confidence gating threshold β€” keypoints below this visibility score
+ # have their xy NaN-ed before publication so triangulation skips them.
+ confidence_threshold: float = 0.0025
+
@property
def tracking2d_enabled(self) -> bool:
return self.charuco_tracking_enabled or self.skeleton_tracking_enabled
+
+ @model_validator(mode="after")
+ def _sync_charuco_tracker_config(self) -> "CameraNodeConfig":
+ """Keep charuco_tracker_config's board in sync with charuco_board.
+
+ charuco_board is the field clients set; charuco_tracker_config is the
+ full skellytracker TrackerConfig that downstream code (CameraNode,
+ RealtimePipeline, posthoc video_node reprocessing) reads the board out
+ of via stages[0].keypoint_detectors[0].board.
+ """
+ self.charuco_tracker_config = _charuco_tracker_config_for_board(self.charuco_board)
+ return self
diff --git a/freemocap/core/pipeline/realtime/charuco_recorder_node.py b/freemocap/core/pipeline/realtime/charuco_recorder_node.py
index cb9a364b..53f6042f 100644
--- a/freemocap/core/pipeline/realtime/charuco_recorder_node.py
+++ b/freemocap/core/pipeline/realtime/charuco_recorder_node.py
@@ -11,8 +11,8 @@ from multiprocessing.sharedctypes import Synchronized
from skellycam.core.ipc.process_management.worker_registry import WorkerRegistry
from skellycam.core.types.type_overloads import CameraIdString
-from skellytracker.trackers.charuco_tracker.charuco_board_definition import CharucoBoardDefinition
-from skellytracker.trackers.charuco_tracker.charuco_observation import CharucoObservation
+from skellytracker.core.detectors.keypoint_detectors.charuco import CharucoBoardDefinition
+from skellytracker.core.data_primitives.observation import Observation
from freemocap.core.pipeline.abcs.pipeline_ipc import PipelineIPC
from freemocap.core.pipeline.abcs.source_node_abc import SourceNode
@@ -33,7 +33,7 @@ OUTPUT_DATA_DIR = "output_data"
@dataclass
class CharucoRecorderNode(SourceNode):
- """Buffers CharucoObservations during calibration recordings.
+ """Buffers Observations during calibration recordings.
Subscribes to CameraNodeOutputTopic (for observations) and
CalibrationRecordingStateTopic (for start/stop signals).
@@ -97,7 +97,7 @@ class CharucoRecorderNode(SourceNode):
# `connection_frame_number` in the per-camera timestamps CSV, so posthoc
# calibration can map each recorded video frame back to its observation
# even though the realtime pipeline drops frames it can't keep up with.
- buffer: dict[CameraIdString, dict[int, CharucoObservation]] = {
+ buffer: dict[CameraIdString, dict[int, Observation]] = {
cid: {} for cid in camera_ids
}
recording_info = None
@@ -176,13 +176,13 @@ class CharucoRecorderNode(SourceNode):
def _flush_buffer(
*,
- buffer: dict[CameraIdString, dict[int, CharucoObservation]],
+ buffer: dict[CameraIdString, dict[int, Observation]],
recording_info,
board_config: CharucoBoardDefinition,
) -> None:
"""Write the buffer to a pickle file.
- ``observations`` maps camera_id -> {connection_frame_number: CharucoObservation}.
+ ``observations`` maps camera_id -> {connection_frame_number: Observation}.
The connection frame number is the stable identifier shared with the recording's
per-camera timestamps CSV, so posthoc calibration can align each recorded video
frame to its realtime observation regardless of how many frames realtime dropped.
diff --git a/freemocap/core/pipeline/realtime/realtime_aggregator_node.py b/freemocap/core/pipeline/realtime/realtime_aggregator_node.py
index 2d4d8163..ef575fbb 100644
--- a/freemocap/core/pipeline/realtime/realtime_aggregator_node.py
+++ b/freemocap/core/pipeline/realtime/realtime_aggregator_node.py
@@ -30,7 +30,7 @@ from pathlib import Path
import numpy as np
from freemocap.core.tasks.mocap.center_of_mass import (
- load_rtmpose_biomechanics,
+ load_body_biomechanics,
CenterOfMassResult,
calculate_center_of_mass_per_frame,
calculate_center_of_mass_from_canonical,
@@ -84,6 +84,15 @@ from freemocap.pubsub.pubsub_topics import (
# camera nodes lag (e.g. one camera unplugged). Older entries get dropped.
_MAX_PENDING_SKELETON_RESULTS: int = 2
+# Max time to wait for a specific frame's skeleton-inference result before
+# giving up on it and proceeding without a skeleton for that frame. Without
+# this, a SkeletonInferenceNode restart (e.g. detector swap) orphans whatever
+# frame request the old node's process was mid-flight on β€” its pub/sub
+# subscription dies with it and the new node's subscription only sees
+# requests published after it was created β€” so waiting unconditionally here
+# would deadlock the whole pipeline (camera feed included) forever.
+_SKELETON_RESULT_WAIT_TIMEOUT_SECONDS: float = 2.0
+
logger = logging.getLogger(__name__)
# How often (seconds) to poll the calibration file for changes
@@ -217,11 +226,14 @@ class RealtimeAggregatorNode(AggregatorNode):
max_rejected_streak=filter_config.max_rejected_streak,
)
- # Load RTMPose body biomechanics for per-frame center of mass calculation.
- # Validated once at init via skellyforge's AnatomicalStructure β€” no Pydantic
- # in the hot loop.
+ # Load body biomechanics for per-frame center of mass calculation, using
+ # the tracker->canonical mapping that matches the configured detector
+ # (RTMPose and MediaPipe use different keypoint naming conventions).
+ # Validated once at init via skellyforge's AnatomicalStructure β€” no
+ # Pydantic in the hot loop.
+ detector_type = pipeline_config.camera_node_config.detector_type
biomechanics = (
- load_rtmpose_biomechanics()
+ load_body_biomechanics(detector_type)
if aggregator_config.center_of_mass_enabled
else None
)
@@ -232,6 +244,7 @@ class RealtimeAggregatorNode(AggregatorNode):
skeleton_rigidifier: RealtimeSkeletonRigidifier | None = None
if aggregator_config.skeleton_fitting_enabled:
skeleton_rigidifier = RealtimeSkeletonRigidifier.create(
+ detector_type=detector_type,
height_mm=filter_config.height_mm,
buffer_capacity=filter_config.segment_length_buffer_capacity,
decay_tau_s=filter_config.segment_length_decay_s,
@@ -257,9 +270,14 @@ class RealtimeAggregatorNode(AggregatorNode):
# by the centralized SkeletonInferenceNode (when GPU mode is on);
# consumed when the matching camera outputs arrive for that frame.
pending_skeleton_results: dict[int, dict[CameraIdString, object | None]] = {}
+ # Wall-clock time we started waiting on the currently-expected frame's
+ # skeleton result; None when not waiting. Reset whenever the wait
+ # resolves (found, or times out and is abandoned).
+ skeleton_wait_started_at: float | None = None
latest_requested_frame: int = -1
last_received_frame: int = -1
last_calibration_poll: float = time.perf_counter()
+ _empty_3d_logged: bool = False # Rate-limit the "no 3D keypoints" warning
log_pipeline_times = pipeline_config.log_pipeline_times
timer = PipelineStageTimer(name=f"AggregatorNode-{camera_group_id}") if log_pipeline_times else None
t_frame_requested: float = time.perf_counter() if timer is not None else 0.0
@@ -319,6 +337,41 @@ class RealtimeAggregatorNode(AggregatorNode):
f"calibration from {calibration.calibration_path}"
)
+ # Rebuild biomechanics / skeleton rigidifier if the detector
+ # type changed (RTMPose <-> MediaPipe use different tracker
+ # keypoint names, so the loaded canonical mapping would
+ # otherwise silently go stale) or if center-of-mass /
+ # skeleton-fitting were toggled on/off.
+ new_detector_type = pipeline_config.camera_node_config.detector_type
+ detector_type_changed = new_detector_type != detector_type
+ detector_type = new_detector_type
+
+ if aggregator_config.center_of_mass_enabled:
+ if biomechanics is None or detector_type_changed:
+ biomechanics = load_body_biomechanics(detector_type)
+ logger.info(
+ f"RealtimeAggregationNode [{camera_group_id}] "
+ f"(re)loaded body biomechanics for detector_type={detector_type}"
+ )
+ else:
+ biomechanics = None
+
+ if aggregator_config.skeleton_fitting_enabled:
+ if skeleton_rigidifier is None or detector_type_changed:
+ skeleton_rigidifier = RealtimeSkeletonRigidifier.create(
+ detector_type=detector_type,
+ height_mm=filter_config.height_mm,
+ buffer_capacity=filter_config.segment_length_buffer_capacity,
+ decay_tau_s=filter_config.segment_length_decay_s,
+ plausibility_tol=filter_config.segment_length_plausibility_tol,
+ )
+ logger.info(
+ f"RealtimeAggregationNode [{camera_group_id}] "
+ f"(re)created skeleton rigidifier for detector_type={detector_type}"
+ )
+ else:
+ skeleton_rigidifier = None
+
# ---- Handle skeleton fitter reset signals ----
# Drain unconditionally so the queue can't grow while skeleton
# fitting is disabled; reset once if anything was requested.
@@ -433,23 +486,44 @@ class RealtimeAggregatorNode(AggregatorNode):
continue
# ---- In GPU mode, also wait for the skeleton inference result ----
- if (pipeline_config.use_centralized_gpu_inference
+ if (pipeline_config.use_centralized_inference
and pipeline_config.camera_node_config.skeleton_tracking_enabled):
expected_frame = next(iter(camera_node_outputs.values())).frame_number
if expected_frame not in pending_skeleton_results:
- # Camera outputs are ready but skeleton inference hasn't
- # caught up yet. Loop again β€” `camera_node_outputs` stays
- # populated, and the skeleton result will land in the
- # `skeleton_inference_sub` drain at the top of the next
- # iteration.
- continue
- # Splice the per-camera skeletons into each CameraNodeOutputMessage
- # so downstream triangulation code (which reads
- # `output.skeleton_observation`) needs no changes.
- skeleton_per_camera = pending_skeleton_results.pop(expected_frame)
- for cam_id, output_msg in camera_node_outputs.items():
- if output_msg is not None:
- output_msg.skeleton_observation = skeleton_per_camera.get(cam_id)
+ now = time.perf_counter()
+ if skeleton_wait_started_at is None:
+ skeleton_wait_started_at = now
+ continue
+ elif now - skeleton_wait_started_at > _SKELETON_RESULT_WAIT_TIMEOUT_SECONDS:
+ # The result for this frame is never coming β€” most
+ # likely the SkeletonInferenceNode was restarted
+ # (e.g. detector swap) mid-flight and its pub/sub
+ # subscription was orphaned. Give up on this frame's
+ # skeleton rather than deadlocking the pipeline
+ # (which would also freeze the frontend camera feed,
+ # since it's served from this node's output).
+ logger.warning(
+ f"RealtimeAggregationNode [{camera_group_id}] gave up waiting "
+ f"on skeleton result for frame {expected_frame} after "
+ f"{_SKELETON_RESULT_WAIT_TIMEOUT_SECONDS}s β€” proceeding without it"
+ )
+ skeleton_wait_started_at = None
+ else:
+ # Camera outputs are ready but skeleton inference hasn't
+ # caught up yet. Loop again β€” `camera_node_outputs` stays
+ # populated, and the skeleton result will land in the
+ # `skeleton_inference_sub` drain at the top of the next
+ # iteration.
+ continue
+ else:
+ # Splice the per-camera skeletons into each CameraNodeOutputMessage
+ # so downstream triangulation code (which reads
+ # `output.skeleton_observation`) needs no changes.
+ skeleton_per_camera = pending_skeleton_results.pop(expected_frame)
+ for cam_id, output_msg in camera_node_outputs.items():
+ if output_msg is not None:
+ output_msg.skeleton_observation = skeleton_per_camera.get(cam_id)
+ skeleton_wait_started_at = None
frame_numbers = [
msg.frame_number
@@ -540,6 +614,16 @@ class RealtimeAggregatorNode(AggregatorNode):
if timer is not None:
timer.record("charuco_triangulation", (time.perf_counter() - t0) * 1e3)
+ if not raw_keypoints and skeleton_observations_by_camera and not _empty_3d_logged:
+ _empty_3d_logged = True
+ logger.warning(
+ f"RealtimeAggregationNode [{camera_group_id}]: "
+ f"skeleton observations received from {len(skeleton_observations_by_camera)} camera(s) "
+ f"but triangulation produced zero 3D keypoints. "
+ f"Check backend logs for 'no keypoints visible in β‰₯2 cameras' or reprojection error warnings. "
+ f"Calibration path: {calibration.calibration_path}"
+ )
+
# One Euro filter: smooth raw keypoints and gap-fill brief occlusions
if raw_keypoints:
t0 = time.perf_counter() if timer is not None else 0.0
diff --git a/freemocap/core/pipeline/realtime/realtime_aggregator_node_config.py b/freemocap/core/pipeline/realtime/realtime_aggregator_node_config.py
index fdefa1b6..a5d06d9d 100644
--- a/freemocap/core/pipeline/realtime/realtime_aggregator_node_config.py
+++ b/freemocap/core/pipeline/realtime/realtime_aggregator_node_config.py
@@ -7,7 +7,6 @@ from freemocap.core.tasks.triangulation.helpers.triangulation_config import Tria
class RealtimeAggregatorNodeConfig(BaseModel):
calibration_toml_path: str | None = Field(
default=None,
- alias="calibrationTomlPath",
description="Path to calibration TOML. If None, the most-recent successful calibration is used (and hot-reloaded).",
)
triangulation_enabled: bool = True
diff --git a/freemocap/core/pipeline/realtime/realtime_pipeline.py b/freemocap/core/pipeline/realtime/realtime_pipeline.py
index c5ca56f2..f3ee9d1b 100644
--- a/freemocap/core/pipeline/realtime/realtime_pipeline.py
+++ b/freemocap/core/pipeline/realtime/realtime_pipeline.py
@@ -17,7 +17,7 @@ from dataclasses import dataclass
from queue import Empty
from pydantic import BaseModel, ConfigDict
-from skellytracker.trackers.rtmpose_tracker.names_and_connections import RTMPOSE_WHOLEBODY_DEFINITION
+from freemocap.core.tracking.tracker_definitions import RTMPOSE_WHOLEBODY_DEFINITION, MEDIAPIPE_WHOLEBODY_DEFINITION
from skellycam.core.camera.config.camera_config import CameraConfigs
from skellycam.core.camera_group.camera_group import CameraGroup
from skellycam.core.ipc.process_management.managed_worker import WorkerMode
@@ -145,14 +145,16 @@ class RealtimePipeline:
config=pipeline_config.camera_node_config,
ipc=ipc,
pubsub=pubsub,
- skeleton_inference_centralized=pipeline_config.use_centralized_gpu_inference,
+ skeleton_inference_centralized=(
+ pipeline_config.use_centralized_inference
+ ),
log_pipeline_times=pipeline_config.log_pipeline_times,
)
for camera_id in pipeline_camera_ids
}
skeleton_inference_node: RealtimeSkeletonInferenceNode | None = None
- if (pipeline_config.use_centralized_gpu_inference
+ if (pipeline_config.use_centralized_inference
and pipeline_config.camera_node_config.skeleton_tracking_enabled):
skeleton_inference_node = RealtimeSkeletonInferenceNode.create(
camera_group_id=camera_group.id,
@@ -173,7 +175,7 @@ class RealtimePipeline:
camera_ids=pipeline_camera_ids,
ipc=ipc,
pubsub=pubsub,
- board_config=pipeline_config.camera_node_config.charuco_detector_config.board,
+ board_config=pipeline_config.camera_node_config.charuco_tracker_config.stages[0].keypoint_detectors[0].board,
worker_registry=worker_registry,
)
@@ -297,10 +299,15 @@ class RealtimePipeline:
"""Push a config update to all pipeline workers via pubsub.
Also manages SkeletonInferenceNode lifecycle when skeleton_tracking_enabled
- transitions between True and False.
+ transitions between True and False, or when detector_type changes while
+ skeleton tracking stays enabled (the centralized inference node holds its
+ tracker/session for its whole lifetime, so a detector swap requires a
+ fresh node rather than an in-place config update).
"""
old_skeleton = self.config.camera_node_config.skeleton_tracking_enabled
new_skeleton = new_config.camera_node_config.skeleton_tracking_enabled
+ old_detector = self.config.camera_node_config.detector_type
+ new_detector = new_config.camera_node_config.detector_type
self.config = new_config
logger.trace(f"Pushing new config to realtime pipeline: {self.id} \n {new_config.model_dump_json(indent=4)}")
@@ -316,7 +323,7 @@ class RealtimePipeline:
self.skeleton_inference_node.shutdown()
self.skeleton_inference_node = None
- elif not old_skeleton and new_skeleton and new_config.use_centralized_gpu_inference:
+ elif not old_skeleton and new_skeleton and new_config.use_centralized_inference:
# Skeleton tracking re-enabled: create and start a fresh inference node.
logger.info(
f"Starting centralized SkeletonInferenceNode for pipeline [{self.id}] β€” "
@@ -333,6 +340,33 @@ class RealtimePipeline:
)
self.skeleton_inference_node.start()
+ elif (
+ old_skeleton
+ and new_skeleton
+ and old_detector != new_detector
+ and new_config.use_centralized_inference
+ ):
+ # Detector swapped while tracking stayed on: the centralized inference
+ # node's tracker/session are built once at startup and never rebuilt
+ # from a config update, so it must be torn down and recreated to pick
+ # up the new detector.
+ logger.info(
+ f"RealtimePipeline [{self.id}]: detector_type changed ({old_detector} -> {new_detector}) β€” "
+ f"restarting SkeletonInferenceNode"
+ )
+ if self.skeleton_inference_node is not None and self.skeleton_inference_node.is_alive:
+ self.skeleton_inference_node.shutdown()
+ self.skeleton_inference_node = RealtimeSkeletonInferenceNode.create(
+ camera_group_id=self.camera_group.id,
+ camera_ids=self.camera_group.camera_ids,
+ worker_registry=self.worker_registry,
+ camera_group_shm_dto=self.camera_group.shm.to_dto(),
+ config=new_config,
+ ipc=self.ipc,
+ pubsub=self.pubsub,
+ )
+ self.skeleton_inference_node.start()
+
def enter_calibration_charuco_only_mode(self) -> None:
"""Pause skeleton inference for the duration of a calibration recording.
@@ -440,13 +474,35 @@ class RealtimePipeline:
)
if payload is not None:
frames_bytearray, mf_timestamp = payload
- keypoints_binary_payload = build_keypoints_payload(
- frame_number=aggregation_output.frame_number,
- tracker_id=RTMPOSE_WHOLEBODY_DEFINITION.name,
- point_names=RTMPOSE_WHOLEBODY_DEFINITION.tracked_points,
- keypoints_arrays=aggregation_output.keypoints_arrays,
- skeleton_arrays=aggregation_output.skeleton,
- )
+ detector_type = aggregation_output.pipeline_config.camera_node_config.detector_type
+ if detector_type == "mediapipe":
+ # Mediapipe keypoints use body.{point} naming (stage-prefixed). Embed names
+ # in both the KEYPOINTS_3D block and a SKELETON_3D block so ConnectionRenderer
+ # can draw connections using the mediapipe_wholebody schema. No rigidified
+ # skeleton is available for mediapipe, so raw keypoints serve as the skeleton.
+ keypoints_binary_payload = build_keypoints_payload(
+ frame_number=aggregation_output.frame_number,
+ tracker_id=MEDIAPIPE_WHOLEBODY_DEFINITION.name,
+ point_names=list(aggregation_output.keypoints_arrays.keys()),
+ keypoints_arrays=aggregation_output.keypoints_arrays,
+ skeleton_arrays=aggregation_output.keypoints_arrays,
+ embed_keypoint_names=True,
+ )
+ else:
+ # The rigidified skeleton covers body + hands but not face.
+ # Merge raw face keypoints from keypoints_arrays so the frontend's
+ # SKELETON_3D block includes face points and can draw face connections.
+ rtm_skeleton = dict(aggregation_output.skeleton) if aggregation_output.skeleton else {}
+ for name, coords in aggregation_output.keypoints_arrays.items():
+ if name.startswith("face_"):
+ rtm_skeleton[name] = coords
+ keypoints_binary_payload = build_keypoints_payload(
+ frame_number=aggregation_output.frame_number,
+ tracker_id=RTMPOSE_WHOLEBODY_DEFINITION.name,
+ point_names=RTMPOSE_WHOLEBODY_DEFINITION.tracked_points,
+ keypoints_arrays=aggregation_output.keypoints_arrays,
+ skeleton_arrays=rtm_skeleton,
+ )
return FrontendImagePacket(
images_bytearray=frames_bytearray,
multiframe_timestamp=mf_timestamp,
diff --git a/freemocap/core/pipeline/realtime/realtime_pipeline_config.py b/freemocap/core/pipeline/realtime/realtime_pipeline_config.py
index 652b81e6..ac98e3b3 100644
--- a/freemocap/core/pipeline/realtime/realtime_pipeline_config.py
+++ b/freemocap/core/pipeline/realtime/realtime_pipeline_config.py
@@ -16,11 +16,10 @@ class RealtimePipelineConfig(BaseModel):
aggregator_config: RealtimeAggregatorNodeConfig = Field(
default_factory=RealtimeAggregatorNodeConfig,
)
- # When True, skeleton inference runs in a single dedicated worker process
- # that batches frames from all cameras (one CUDA context, one ONNX session).
- # When False, each camera node runs its own RTMPoseDetector inline (legacy
- # behavior; suitable for CPU-only machines or for A/B comparison).
- use_centralized_gpu_inference: bool = True
+ # When True, skeleton inference runs in a single dedicated worker process that
+ # reads all camera ring buffers directly and dispatches inference via process_batch.
+ # When False, each camera node runs its own tracker inline (legacy per-process path).
+ use_centralized_inference: bool = True
log_pipeline_times: bool = True
skeleton_inference_node_config: RealtimeSkeletonInferenceNodeConfig = Field(
diff --git a/freemocap/core/pipeline/realtime/realtime_skeleton_inference_node.py b/freemocap/core/pipeline/realtime/realtime_skeleton_inference_node.py
index 3478f0d2..6181078a 100644
--- a/freemocap/core/pipeline/realtime/realtime_skeleton_inference_node.py
+++ b/freemocap/core/pipeline/realtime/realtime_skeleton_inference_node.py
@@ -1,28 +1,31 @@
"""
-RealtimeSkeletonInferenceNode: dedicated GPU worker that owns one ONNX session
-for skeleton detection and serves all cameras via batched inference.
+RealtimeSkeletonInferenceNode: centralized worker that owns one tracker session
+for skeleton detection and serves all cameras from a single process.
Why this exists:
- Per-camera RTMPoseDetector construction (the legacy path) creates one CUDA
- context per camera process. On consumer Windows GPUs there is no cooperative
- context scheduling (no MPS), so N processes hammering one GPU serialize
- kernel-by-kernel and pay per-context overhead. This node centralizes
- inference: one CUDA context, one batched ONNX call per multi-camera frame.
+ Per-camera processes (the legacy path) pay IPC serialization cost to transfer
+ frames from shared memory to each camera process. This node eliminates that
+ overhead by reading all camera ring buffers directly and dispatching inference
+ in one call.
+
+ For ONNX-backed trackers (RTMPose): one CUDA context, one batched ORT call per
+ multi-camera frame avoids per-context overhead on consumer GPUs without MPS.
+
+ For MediaPipe: no batch tensor API exists, but process_batch dispatches per-camera
+ detectors via a ThreadPoolExecutor, exploiting MediaPipe's GIL-releasing C++
+ inference for real concurrency within a single process.
Topology:
- - Subscribes to ProcessFrameNumberTopic (the same topic the camera nodes
- use as their "process frame N" trigger).
- - Reads frame N's image directly from each camera's shared-memory ring buffer
- (the same DTO the aggregator already gets).
- - Calls RTMPoseSession.predict_batch(images) β€” one session.run for all cameras.
- - Publishes a single SkeletonInferenceResultMessage per frame, keyed by
- frame_number, with per-camera RTMPoseObservation.
- - The aggregator merges this with per-camera CameraNodeOutputMessage
- (charuco-only in GPU mode) by frame_number.
+ - Subscribes to ProcessFrameNumberTopic (same trigger the camera nodes use).
+ - Reads frame N's image directly from each camera's shared-memory ring buffer.
+ - Calls tracker.process_batch(images_dict, ...) β€” one call for all cameras.
+ - Publishes a SkeletonInferenceResultMessage per frame with per-camera Observations.
+ - The aggregator merges this with per-camera CameraNodeOutputMessage (charuco only
+ in centralized mode) by frame_number.
Backpressure:
Drains ProcessFrameNumberTopic to the latest message every iteration; older
- messages are dropped rather than queued. If the GPU falls behind the camera
+ messages are dropped rather than queued. If inference falls behind the camera
group's frame rate, we lose frames instead of accumulating lag.
"""
import gc
@@ -49,19 +52,10 @@ from skellycam.core.types.type_overloads import (
TopicSubscriptionQueue,
)
from skellycam.utilities.wait_functions import wait_1ms
-from skellytracker.trackers.base_tracker.base_tracker_abcs import BaseObservation
-from skellytracker.trackers.rtmpose_tracker.rtmpose_detector import RTMPoseDetectorConfig
-from skellytracker.trackers.rtmpose_tracker.rtmpose_observation import RTMPoseObservation
-from skellytracker.trackers.rtmpose_tracker.rtmpose_session import (
- RTMPoseSession,
- RTMPoseSessionConfig,
-)
-from skellytracker.trackers.rtmpose_tracker.rtmpose_annotator import (
- draw_text_with_background,
-)
-from skellytracker.trackers.rtmpose_tracker.rtmpose_tracking_state import (
- PersonTrackingState,
-)
+from skellytracker.core.data_primitives.observation import Observation # noqa: TC002
+from skellytracker.core.tracker.tracker import Tracker
+from skellytracker.core.tracker.tracker_state import TrackerState # noqa: TC002
+from skellytracker.core.sessions.onnx_session import OnnxSession
from freemocap.core.pipeline.abcs.pipeline_ipc import PipelineIPC
from freemocap.core.pipeline.abcs.source_node_abc import SourceNode
@@ -84,7 +78,7 @@ logger = logging.getLogger(__name__)
@dataclass
class RealtimeSkeletonInferenceNode(SourceNode):
- """Worker node that hosts one batched RTMPoseSession for all cameras."""
+ """Worker node that centralizes skeleton inference for all cameras."""
@classmethod
def create(
@@ -140,9 +134,6 @@ class RealtimeSkeletonInferenceNode(SourceNode):
shm_dto=camera_group_shm_dto,
read_only=True,
)
- # Per-camera ring buffer handles for direct image reads. We mirror
- # `camera_node.py`'s recreate call but read-only since this worker
- # never writes frames.
camera_shms: dict[CameraIdString, CameraSharedMemoryRingBuffer] = {
camera_id: CameraSharedMemoryRingBuffer.recreate(
dto=camera_group_shm_dto.camera_shm_dtos[camera_id],
@@ -151,39 +142,37 @@ class RealtimeSkeletonInferenceNode(SourceNode):
for camera_id in camera_ids
}
- session = _build_session(pipeline_config)
- if session is None:
+ tracker, session = _build_session_and_tracker(pipeline_config, num_cameras=len(camera_ids))
+ if tracker is None:
logger.error(
f"RealtimeSkeletonInferenceNode [{camera_group_id}] could not "
- f"construct RTMPoseSession; exiting."
+ f"construct tracker/session; exiting."
)
ipc.kill_everything()
return
log_pipeline_times = pipeline_config.log_pipeline_times
- timer = PipelineStageTimer(name=f"SkeletonInferenceNode-{camera_group_id}") if log_pipeline_times else None
+ timer = (
+ PipelineStageTimer(name=f"SkeletonInferenceNode-{camera_group_id}")
+ if log_pipeline_times else None
+ )
_MAX_SESSION_RESTARTS = 3
session_restart_count = 0
- # Per-camera scratch recarrays (avoids reallocating each frame).
+
frame_recarrays: dict[CameraIdString, np.recarray | None] = {
cam_id: None for cam_id in camera_ids
}
- # Per-camera tracking state for YOLOX-skip logic. When tracking is
- # enabled, these are threaded through predict_batch_with_tracking()
- # and updated each frame with the latest bbox + pose confidence.
- tracking_states: dict[CameraIdString, PersonTrackingState] = {
- cam_id: PersonTrackingState() for cam_id in camera_ids
- }
+ # Per-camera temporal state; empty dict means first frame auto-inits.
+ tracker_states: dict[CameraIdString, TrackerState] = {}
try:
logger.debug(
- f"RealtimeSkeletonInferenceNode [{camera_group_id}] entering main loop "
- f"(active_provider={session.active_provider!r})"
+ f"RealtimeSkeletonInferenceNode [{camera_group_id}] entering main loop"
)
while ipc.should_continue and not shutdown_self_flag.value:
wait_1ms()
- # ---- Handle config updates (only act on flips that change session shape) ----
+ # ---- Handle config updates ----
while True:
try:
msg: PipelineConfigUpdateMessage = pipeline_config_sub.get_nowait()
@@ -192,8 +181,7 @@ class RealtimeSkeletonInferenceNode(SourceNode):
pipeline_config = msg.pipeline_config
logger.debug(
f"RealtimeSkeletonInferenceNode [{camera_group_id}] "
- f"received config update (no hot-reload of session; "
- f"changes to detector mode require a pipeline restart)"
+ f"received config update (session changes require pipeline restart)"
)
# ---- Drain to latest frame number (drop stale) ----
@@ -233,53 +221,30 @@ class RealtimeSkeletonInferenceNode(SourceNode):
timer.record("frame_read", (time.perf_counter() - t_read) * 1e3)
if not images:
- # Ring buffer didn't have the frame for any camera (e.g.
- # overwritten during slow init). Publish a null result so the
- # aggregator doesn't hang waiting for a result that never comes.
- skeleton_result_pub.put(
- SkeletonInferenceResultMessage(
- frame_number=requested_frame_number,
- per_camera_skeleton={cam_id: None for cam_id in camera_ids},
- ),
- )
+ skeleton_result_pub.put(
+ SkeletonInferenceResultMessage(
+ frame_number=requested_frame_number,
+ per_camera_skeleton={cam_id: None for cam_id in camera_ids},
+ ),
+ )
+ continue
# ---- Batched skeleton inference ----
t_inf = time.perf_counter() if timer is not None else 0.0
+ images_dict = {
+ cam_id: img
+ for cam_id, img in zip(ordered_camera_ids, images)
+ }
try:
- if session._tracking_enabled:
- # Build tracking state list parallel to ordered_camera_ids.
- states_list = [
- tracking_states[cid] for cid in ordered_camera_ids
- ]
- batch_results, updated_states = (
- session.predict_batch_with_tracking(
- images, states_list,
- )
- )
- # Write back updated states.
- for cid, new_state in zip(
- ordered_camera_ids, updated_states,
- ):
- tracking_states[cid] = new_state
-
- # ---- Debug: draw bboxes on inference images ----
- if pipeline_config.skeleton_inference_node_config.debug_draw_bboxes:
- _debug_write_bbox_frames(
- camera_ids=ordered_camera_ids,
- images=images,
- tracking_states=updated_states,
- frame_number=requested_frame_number,
- )
- else:
- batch_results = session.predict_batch(images)
+ observations, tracker_states = tracker.process_batch(
+ images_dict, requested_frame_number, tracker_states
+ )
except Exception as mem_err:
- # Catch Python MemoryError (raised by rtmpose_session when it
- # detects a BFC Arena OOM) and any ONNX RuntimeException that
- # slips through with an OOM message β€” both indicate GPU VRAM
- # exhaustion and should trigger the session restart below.
- if not (isinstance(mem_err, MemoryError)
- or "BFCArena" in str(mem_err)
- or "Available memory" in str(mem_err)):
+ if not (
+ isinstance(mem_err, MemoryError)
+ or "BFCArena" in str(mem_err)
+ or "Available memory" in str(mem_err)
+ ):
raise
logger.error(
f"RealtimeSkeletonInferenceNode [{camera_group_id}] GPU OOM during "
@@ -293,64 +258,42 @@ class RealtimeSkeletonInferenceNode(SourceNode):
)
ipc.kill_everything()
return
- del session
+ tracker.close()
gc.collect()
- session = _build_session(pipeline_config)
- if session is None:
+ tracker, session = _build_session_and_tracker(pipeline_config, num_cameras=len(camera_ids))
+ if tracker is None:
logger.error(
f"RealtimeSkeletonInferenceNode [{camera_group_id}] failed to rebuild "
- f"session after MemoryError β€” giving up."
+ f"tracker after MemoryError β€” giving up."
)
ipc.kill_everything()
return
+ tracker_states = {}
session_restart_count += 1
logger.info(
- f"RealtimeSkeletonInferenceNode [{camera_group_id}] session rebuilt "
+ f"RealtimeSkeletonInferenceNode [{camera_group_id}] tracker rebuilt "
f"successfully after MemoryError."
)
- continue # skip this frame, resume on next
+ continue
+
if timer is not None:
inf_ms = (time.perf_counter() - t_inf) * 1e3
timer.record("predict_batch", inf_ms)
- # Per-camera-equivalent latency, for comparing with the legacy
- # per-camera `skeleton_detection` timer in camera_node logs.
timer.record("predict_per_camera", inf_ms / max(len(images), 1))
- # ---- Build per-camera observations ----
- per_camera_skeleton: dict[CameraIdString, BaseObservation | None] = {}
- bboxes = session.last_bboxes
- bbox_from_det = session.last_bboxes_from_detector
- conf_threshold: float = (
- pipeline_config.camera_node_config.skeleton_detector_config.confidence_threshold
- if pipeline_config.camera_node_config.skeleton_detector_config is not None
- else 0.004
- )
- for idx, (camera_id, image, (keypoints, scores)) in enumerate(
- zip(ordered_camera_ids, images, batch_results),
- ):
- raw_bb = bboxes[idx] if bboxes and idx < len(bboxes) else None
- cam_bbox = (
- np.asarray(raw_bb, dtype=np.float64) if raw_bb is not None and len(raw_bb) > 0 else None
- )
- cam_bbox_src = (
- bbox_from_det[idx] if bbox_from_det and idx < len(bbox_from_det) else True
- )
- obs = RTMPoseObservation.from_detection_results(
- frame_number=requested_frame_number,
- keypoints=keypoints,
- scores=scores,
- image_size=(int(image.shape[0]), int(image.shape[1])),
- bbox=cam_bbox,
- bbox_from_detector=cam_bbox_src,
- )
- # ---- Confidence gating: NaN-out low-confidence 2D keypoints ----
- low_conf = obs.points.visibility < conf_threshold
- if low_conf.any():
- obs.points.xyz[low_conf, :2] = np.nan
+ # ---- Apply confidence gating per camera ----
+ conf_threshold = pipeline_config.camera_node_config.confidence_threshold
+ per_camera_skeleton: dict[CameraIdString, Observation | None] = {}
+ for camera_id, obs in observations.items():
+ body_stage = obs.stages.get("body")
+ if body_stage is not None and body_stage.keypoints is not None:
+ kpts = body_stage.keypoints
+ low_conf = kpts.visibility < conf_threshold
+ if low_conf.any():
+ kpts.xyz[low_conf, :2] = np.nan
per_camera_skeleton[camera_id] = obs
- # Cameras whose frame we couldn't read get None β€” aggregator
- # treats this as "no skeleton this frame for this camera"
- # (same semantics as today's missing-detection path).
+
+ # Cameras whose frame we couldn't read get None.
for camera_id in camera_ids:
per_camera_skeleton.setdefault(camera_id, None)
@@ -374,6 +317,8 @@ class RealtimeSkeletonInferenceNode(SourceNode):
ipc.kill_everything()
raise
finally:
+ if tracker is not None:
+ tracker.close()
logger.debug(f"RealtimeSkeletonInferenceNode [{camera_group_id}] exiting")
@@ -382,56 +327,61 @@ class RealtimeSkeletonInferenceNode(SourceNode):
# ---------------------------------------------------------------------------
-def _build_session(pipeline_config: RealtimePipelineConfig) -> RTMPoseSession | None:
- """Construct the centralized RTMPoseSession from the pipeline config.
+def _build_session_and_tracker(
+ pipeline_config: RealtimePipelineConfig,
+ num_cameras: int = 1,
+) -> tuple[Tracker | None, object | None]:
+ """Construct the session and Tracker from the pipeline config.
- Reads model size / mode from `camera_node_config.skeleton_detector_config`
- so a single source of truth governs which model is used in either pipeline
- mode. Reads provider / cache settings from `skeleton_inference_node_config`.
- Returns None if the skeleton detector isn't an RTMPose config (caller
- should treat this as a fatal misconfiguration in GPU mode).
+ Returns (None, None) on failure β€” caller should treat this as fatal.
"""
- skel_config = pipeline_config.camera_node_config.skeleton_detector_config
- if not isinstance(skel_config, RTMPoseDetectorConfig):
- logger.warning(
- f"Centralized GPU inference is enabled but the skeleton detector "
- f"config is not RTMPoseDetectorConfig (got {type(skel_config).__name__}). "
- f"Falling back to legacy per-camera inference."
- )
- return None
+ camera_node_config = pipeline_config.camera_node_config
- inf_config = pipeline_config.skeleton_inference_node_config
- #TODO - this is dumb, I think? WE should be able to just use the inference node config directly without this nonsense?
-
- # Pick mode safely. RTMPoseSessionConfig accepts a Literal of three values;
- # other strings (e.g. legacy values) get coerced to "balanced" rather than
- # failing pydantic validation β€” keeps the pipeline alive on weird configs.
- mode = skel_config.mode if skel_config.mode in ("performance", "lightweight", "balanced") else "balanced"
-
- session_config = RTMPoseSessionConfig(
- mode=mode,
- execution_provider=inf_config.execution_provider,
- engine_cache_dir=inf_config.engine_cache_dir,
- max_batch_size=inf_config.max_batch_size,
- on_provider_missing="fallback" if inf_config.fallback_on_missing_provider else "raise",
- # Forward the per-frame detector knobs that the centralized path would
- # otherwise drop. `max_persons` bounds the pose batch (single-person =
- # 1 crop/camera) so the ONNX arena can't grow without limit; `device_id`
- # lets an explicit GPU choice override auto-selection.
- max_persons=skel_config.max_persons,
- device_id=skel_config.device_id,
- yolox_image_scale=inf_config.yolox_image_scale,
- enable_tracking_skip=inf_config.enable_tracking_skip,
+ if camera_node_config.detector_type == "mediapipe":
+ from freemocap.core.tracking.tracker_factory import build_mediapipe_tracker
+ try:
+ tracker, session = build_mediapipe_tracker(
+ model_complexity=camera_node_config.mediapipe_model_complexity,
+ detection_confidence=camera_node_config.mediapipe_detection_confidence,
+ presence_confidence=camera_node_config.mediapipe_presence_confidence,
+ tracking_confidence=camera_node_config.mediapipe_tracking_confidence,
+ num_hands=camera_node_config.mediapipe_num_hands,
+ num_faces=camera_node_config.mediapipe_num_faces,
+ )
+ return tracker, session
+ except Exception as e:
+ logger.error(f"Failed to construct MediaPipe tracker: {e!r}", exc_info=True)
+ return None, None
+
+ from freemocap.core.tracking.tracker_factory import (
+ build_skeleton_onnx_session,
+ build_skeleton_tracker,
)
+ inf_config = pipeline_config.skeleton_inference_node_config
+ model_name = camera_node_config.rtmpose_model_name
+ confidence_threshold = camera_node_config.rtmpose_confidence_threshold
+
try:
- return RTMPoseSession.create(session_config)
+ batch_size = min(inf_config.max_batch_size, num_cameras)
+ onnx_session = build_skeleton_onnx_session(
+ batch_size=batch_size,
+ execution_provider=inf_config.execution_provider,
+ model_name=model_name,
+ )
+ tracker = build_skeleton_tracker(
+ onnx_session=onnx_session,
+ model_name=model_name,
+ confidence_threshold=confidence_threshold,
+ )
+ return tracker, onnx_session
except Exception as e:
logger.error(
- f"Failed to construct RTMPoseSession with provider={inf_config.execution_provider!r}: {e!r}",
+ f"Failed to construct OnnxSession/Tracker with provider="
+ f"{inf_config.execution_provider!r}: {e!r}",
exc_info=True,
)
- return None
+ return None, None
def _read_frames(
@@ -441,17 +391,7 @@ def _read_frames(
frame_recarrays: dict[CameraIdString, np.recarray | None],
requested_frame_number: int,
) -> tuple[list[NDArray[np.uint8]], list[CameraIdString]]:
- """Read frame `requested_frame_number` from each camera's ring buffer.
-
- Returns parallel lists `(images, camera_ids)` for the cameras whose ring
- buffer actually contained the requested frame. Cameras whose buffer was
- overwritten or whose frame metadata mismatched are silently skipped (the
- aggregator already tolerates missing per-camera observations on a frame).
-
- Mirrors the rotation-handling logic from `camera_node.py:171-178` so the
- image fed to ONNX is identical to what the legacy per-camera path would
- have inferred over.
- """
+ """Read frame `requested_frame_number` from each camera's ring buffer."""
images: list[NDArray[np.uint8]] = []
ordered_camera_ids: list[CameraIdString] = []
@@ -472,8 +412,6 @@ def _read_frames(
actual_frame_number = int(frame_recarray.frame_metadata.frame_number[0])
if actual_frame_number != requested_frame_number:
- # Ring buffer has moved on β€” use the frame that's actually there
- # rather than dropping the camera entirely.
logger.warning(
f"SkeletonInferenceNode: requested frame {requested_frame_number} "
f"from camera {camera_id} but got {actual_frame_number} β€” "
@@ -493,54 +431,3 @@ def _read_frames(
ordered_camera_ids.append(camera_id)
return images, ordered_camera_ids
-
-
-def _debug_write_bbox_frames(
- *,
- camera_ids: list[str],
- images: list[NDArray[np.uint8]],
- tracking_states: list[object], # PersonTrackingState
- frame_number: int,
-) -> None:
- """Write debug images with bbox overlays (every 10th frame).
-
- Green = YOLOX, orange = tracking-predicted.
- """
- if frame_number % 10 != 0:
- return
- import os
- from pathlib import Path
-
- out_dir = Path(os.environ.get("FREEMOCAP_DATA", Path.home() / "freemocap_data")) / "debug_bboxes"
- out_dir.mkdir(parents=True, exist_ok=True)
-
- GREEN = (0, 255, 0)
- ORANGE = (0, 165, 255)
-
- for cid, img, st in zip(camera_ids, images, tracking_states):
- bb = getattr(st, "bbox", None)
- if bb is None:
- continue
- bbox_arr = bb[0] if bb.ndim == 2 else bb
- x1, y1, x2, y2 = int(bbox_arr[0]), int(bbox_arr[1]), int(bbox_arr[2]), int(bbox_arr[3])
- # YOLOX ran this frame iff consecutive_skips was just reset to 0
- # (update_tracking_state does this when from_detector=True, and
- # predict_batch_with_tracking skips the increment in that case).
- consecutive_skips: int = getattr(st, "consecutive_skips", 0)
- from_detector = consecutive_skips == 0
- color = GREEN if from_detector else ORANGE
-
- # Build compact stats line.
- conf: float = getattr(st, "pose_confidence", 0.0)
- parts = ["YOLOX" if from_detector else "track", f"conf:{conf:.2f}", f"skips:{consecutive_skips}"]
- stats_text = " ".join(parts)
-
- debug_img = img.copy()
- cv2.rectangle(debug_img, (x1, y1), (x2, y2), color, 2)
- draw_text_with_background(
- debug_img, stats_text,
- anchor_xy=(x1, y1 - 2),
- anchor_edge="bottom",
- text_color=color,
- )
- cv2.imwrite(str(out_dir / f"f{frame_number:06d}_{cid}.jpg"), debug_img)
diff --git a/freemocap/core/pipeline/realtime/realtime_skeleton_inference_node_config.py b/freemocap/core/pipeline/realtime/realtime_skeleton_inference_node_config.py
index a7aa871c..b4d93f1c 100644
--- a/freemocap/core/pipeline/realtime/realtime_skeleton_inference_node_config.py
+++ b/freemocap/core/pipeline/realtime/realtime_skeleton_inference_node_config.py
@@ -1,17 +1,6 @@
-"""Config for the centralized RealtimeSkeletonInferenceNode.
-
-Kept separate from CameraNodeConfig so it can be toggled / tuned independently
-of the per-camera detector knobs. The node-level skeleton detector config
-(mode, model size, etc.) is still read from `CameraNodeConfig.skeleton_detector_config`
-so a single source of truth governs which model is used in either pipeline mode."""
-from pathlib import Path
-
-from pydantic import BaseModel, Field
-from skellytracker.utilities.gpu_utils.execution_provider_name import ExecutionProviderName
-
-
-def _default_engine_cache_dir() -> Path:
- return Path.home() / ".cache" / "skellytracker" / "trt_engines"
+"""Config for the centralized RealtimeSkeletonInferenceNode."""
+from pydantic import BaseModel
+from skellytracker.core.sessions.execution_provider_name import ExecutionProviderName
class RealtimeSkeletonInferenceNodeConfig(BaseModel):
@@ -20,30 +9,14 @@ class RealtimeSkeletonInferenceNodeConfig(BaseModel):
# single-CUDA-context win.
max_batch_size: int = 8
- # Where TensorRT engine + timing caches live. First TRT run compiles to here
- # (slow, 1-5 minutes); subsequent runs are a cache hit and load instantly.
- engine_cache_dir: Path = Field(default_factory=_default_engine_cache_dir)
-
- # If the requested execution provider isn't available, fall back automatically
- # (trt -> cuda -> cpu) instead of raising.
- fallback_on_missing_provider: bool = True
-
+ # None: auto-select best available (trt β†’ cuda β†’ coreml β†’ cpu) β€” recommended.
# "trt": TensorRT EP β€” 2-5x faster than CUDA EP, requires NVIDIA GPU +
- # `pip install tensorrt`. Compiles engines on first run (1-5 min),
- # cached to engine_cache_dir on all subsequent runs.
+ # `pip install tensorrt`. Compiles engines on first run (1-5 min).
# "cuda": CUDA EP β€” requires NVIDIA GPU + onnxruntime-gpu, no extra install.
# "cpu": CPU EP β€” no GPU required, slowest.
- execution_provider: ExecutionProviderName = "cuda"
- # Downscale images before YOLOX person detection (0 < scale ≀ 1.0).
- # Lower = faster YOLOX pass, but too low may miss small/distant people.
- # The RTMPose skeleton estimator always crops from the original full-res
- # image, so pose accuracy is unaffected β€” only detection recall changes.
- # 0.5 = half resolution. 1.0 = no downscaling (most reliable).
- yolox_image_scale: float = 1.0
- # When True, skip YOLOX by reusing the previous frame's keypoint-derived
- # bbox (expanded by a small margin). YOLOX re-runs every ~5 seconds and
- # whenever pose confidence drops.
- enable_tracking_skip: bool = True
+ # Note: explicit provider raises immediately if unavailable; None silently falls back.
+ execution_provider: ExecutionProviderName | None = None
+
# When True, writes debug frames with bbox overlays to
- # {freemocap_data}/debug_bboxes/. Green = YOLOX bbox, orange = tracking.
- debug_draw_bboxes: bool = True
+ # {freemocap_data}/debug_bboxes/. (requires GPU mode)
+ debug_draw_bboxes: bool = False
diff --git a/freemocap/core/tasks/calibration/anipose_calibration/helpers/anipose_calibration_helpers.py b/freemocap/core/tasks/calibration/anipose_calibration/helpers/anipose_calibration_helpers.py
index 3fde92b3..e7ac475b 100644
--- a/freemocap/core/tasks/calibration/anipose_calibration/helpers/anipose_calibration_helpers.py
+++ b/freemocap/core/tasks/calibration/anipose_calibration/helpers/anipose_calibration_helpers.py
@@ -10,8 +10,7 @@ from pathlib import Path
import cv2
import numpy as np
from skellycam.core.types.type_overloads import CameraIdString
-from skellytracker.trackers.base_tracker.base_tracker_abcs import BaseRecorder
-from skellytracker.trackers.charuco_tracker.charuco_observation import CharucoObservation
+from skellytracker.core.detectors.keypoint_detectors.charuco import CharucoBoardDefinition
from freemocap.core.tasks.calibration.anipose_calibration.helpers.camera_model_solver_ops import (
apply_extrinsics,
@@ -19,7 +18,6 @@ from freemocap.core.tasks.calibration.anipose_calibration.helpers.camera_model_s
stack_translations,
)
from freemocap.core.tasks.calibration.shared.camera_model import CameraModel
-from skellytracker.trackers.charuco_tracker import CharucoBoardDefinition
from freemocap.core.tasks.calibration.shared.groundplane_alignment import GroundPlaneResult
from freemocap.core.tasks.calibration.shared.groundplane_math import (
CharucoGeometryError,
@@ -28,11 +26,10 @@ from freemocap.core.tasks.calibration.shared.groundplane_math import (
estimate_board_groundplane,
)
from freemocap.core.tasks.calibration.shared.interpolate_trajectories import interpolate_trajectory_data
+from freemocap.core.tracking.observation_buffer import ObservationBuffer
logger = logging.getLogger(__name__)
-CharucoObservations = dict[CameraIdString, CharucoObservation | None]
-
class GroundPlaneSuccess:
def __init__(self, success: bool, error: str | None = None):
@@ -41,11 +38,7 @@ class GroundPlaneSuccess:
def pin_camera_zero_to_origin(cameras: list[CameraModel]) -> list[CameraModel]:
- """Re-express all camera extrinsics relative to camera 0.
-
- Camera 0 ends up with identity rotation and zero translation.
- All other cameras are expressed relative to camera 0.
- """
+ """Re-express all camera extrinsics relative to camera 0."""
rvecs = stack_rodrigues(cameras)
tvecs = stack_translations(cameras)
@@ -56,7 +49,6 @@ def pin_camera_zero_to_origin(cameras: list[CameraModel]) -> list[CameraModel]:
Ri_new, _ = cv2.Rodrigues(Ri @ R0.T)
rvecs_new[i] = Ri_new.flatten()
- # Use R0_new (identity for camera 0 after alignment) β€” not original R0
R0_new, _ = cv2.Rodrigues(rvecs_new[0])
delta_to_origin_world = -R0_new.T @ tvecs[0, :]
tvecs_new = np.zeros_like(tvecs)
@@ -71,7 +63,7 @@ def pin_camera_zero_to_origin(cameras: list[CameraModel]) -> list[CameraModel]:
def set_charuco_board_as_groundplane(
*,
- observation_recorders: dict[CameraIdString, BaseRecorder],
+ observation_buffers: dict[CameraIdString, ObservationBuffer],
cameras: list[CameraModel],
board: CharucoBoardDefinition,
recording_folder_path: "Path | None" = None,
@@ -81,13 +73,15 @@ def set_charuco_board_as_groundplane(
logger.info("Getting 2D Charuco data")
data2d_by_camera: dict[CameraIdString, np.ndarray] = {}
- if len(observation_recorders) == 0:
- raise ValueError("No observation recorders provided to process.")
-
- for camera_id, recorder in observation_recorders.items():
- if not all(isinstance(observation, CharucoObservation) for observation in recorder.observations):
- raise TypeError(f"Recorder for camera ID {camera_id} contains non-Charuco observations.")
- data2d_fr_id_xyc = recorder.to_array.copy()
+ if len(observation_buffers) == 0:
+ raise ValueError("No observation buffers provided to process.")
+
+ for camera_id, buf in observation_buffers.items():
+ for obs in buf.observations:
+ if "charuco" not in obs.stages:
+ raise TypeError(f"Buffer for camera ID {camera_id} contains non-charuco observations.")
+ # (frames, n_corners, 3) β€” xyz with z=0 for 2D detections
+ data2d_fr_id_xyc = buf.to_stage_array("charuco", n_points=board.n_corners).copy()
logger.info(f"Processing camera ID: {camera_id} with 2D data shape: {data2d_fr_id_xyc.shape}")
data2d_by_camera[camera_id] = data2d_fr_id_xyc[..., :2]
diff --git a/freemocap/core/tasks/calibration/anipose_calibration/helpers/bundle_adjust.py b/freemocap/core/tasks/calibration/anipose_calibration/helpers/bundle_adjust.py
index ebecea83..dba11ff3 100644
--- a/freemocap/core/tasks/calibration/anipose_calibration/helpers/bundle_adjust.py
+++ b/freemocap/core/tasks/calibration/anipose_calibration/helpers/bundle_adjust.py
@@ -7,13 +7,13 @@ and overwrites intrinsics fields per `camera_model_solver_ops`.
from __future__ import annotations
import logging
-import multiprocessing.synchronize
+import multiprocessing.synchronize # noqa: TC003
from typing import Any
import cv2
import numpy as np
from freemocap.core.tasks.calibration.shared.transform_math import build_transformation_matrix, get_rtvec
-from numpy.typing import NDArray
+from numpy.typing import NDArray # noqa: TC002
from scipy import optimize
from scipy.sparse import dok_matrix
from skellycam.core.types.type_overloads import CameraIdString
@@ -38,8 +38,8 @@ from freemocap.core.tasks.calibration.anipose_calibration.helpers.freemocap_anip
transform_points, BoardObservations,
)
from freemocap.core.tasks.calibration.shared.camera_extrinsics import CameraExtrinsics
-from freemocap.core.tasks.calibration.shared.camera_model import CameraModel
-from skellytracker.trackers.charuco_tracker import CharucoBoardDefinition
+from freemocap.core.tasks.calibration.shared.camera_model import CameraModel # noqa: TC001
+from skellytracker.core.detectors.keypoint_detectors.charuco import CharucoBoardDefinition # noqa: TC002
logger = logging.getLogger(__name__)
diff --git a/freemocap/core/tasks/calibration/anipose_calibration/helpers/camera_model_solver_ops.py b/freemocap/core/tasks/calibration/anipose_calibration/helpers/camera_model_solver_ops.py
index f49c4a41..c93cd4fa 100644
--- a/freemocap/core/tasks/calibration/anipose_calibration/helpers/camera_model_solver_ops.py
+++ b/freemocap/core/tasks/calibration/anipose_calibration/helpers/camera_model_solver_ops.py
@@ -6,10 +6,10 @@ functions here keep the shared CameraModel free of solver concerns.
from __future__ import annotations
import numpy as np
-from numpy.typing import NDArray
+from numpy.typing import NDArray # noqa: TC002
from freemocap.core.tasks.calibration.shared.camera_extrinsics import CameraExtrinsics
-from freemocap.core.tasks.calibration.shared.camera_model import CameraModel
+from freemocap.core.tasks.calibration.shared.camera_model import CameraModel # noqa: TC001
# Parameter layout per camera: [rvec(3), tvec(3), focal(1), dist0(1)] = 8 floats.
diff --git a/freemocap/core/tasks/calibration/anipose_calibration/helpers/freemocap_anipose.py b/freemocap/core/tasks/calibration/anipose_calibration/helpers/freemocap_anipose.py
index 411e698a..199d084c 100644
--- a/freemocap/core/tasks/calibration/anipose_calibration/helpers/freemocap_anipose.py
+++ b/freemocap/core/tasks/calibration/anipose_calibration/helpers/freemocap_anipose.py
@@ -13,7 +13,7 @@ from freemocap.core.tasks.calibration.charuco_board.charuco_board_ops import get
from numpy.typing import NDArray
from skellycam.core.types.type_overloads import CameraIdString
-from skellytracker.trackers.charuco_tracker import CharucoBoardDefinition
+from skellytracker.core.detectors.keypoint_detectors.charuco import CharucoBoardDefinition
from freemocap.core.tasks.calibration.shared.transform_math import build_maximum_spanning_tree, build_transformation_matrix, \
robust_average_transforms, find_spanning_tree_pairs, get_rtvec
diff --git a/freemocap/core/tasks/calibration/anipose_calibration/run_anipose_calibration.py b/freemocap/core/tasks/calibration/anipose_calibration/run_anipose_calibration.py
index 2e3c9417..774346ca 100644
--- a/freemocap/core/tasks/calibration/anipose_calibration/run_anipose_calibration.py
+++ b/freemocap/core/tasks/calibration/anipose_calibration/run_anipose_calibration.py
@@ -9,8 +9,8 @@ from pathlib import Path
from skellycam.core.recorders.videos.recording_info import RecordingInfo
from skellycam.core.types.type_overloads import CameraIdString
-from skellytracker.trackers.base_tracker.base_tracker_abcs import BaseRecorder
-from skellytracker.trackers.charuco_tracker.charuco_observation import CharucoObservation
+from skellytracker.core.data_primitives.observation import Observation
+from skellytracker.core.detectors.keypoint_detectors.charuco import CharucoBoardDefinition
from freemocap.core.pipeline.posthoc.video_group_helper import VideoMetadata
from freemocap.core.tasks.calibration.anipose_calibration.helpers.anipose_calibration_helpers import (
@@ -24,26 +24,23 @@ from freemocap.core.tasks.calibration.shared.camera_intrinsics import CameraIntr
from freemocap.core.tasks.calibration.shared.camera_extrinsics import CameraExtrinsics
from freemocap.core.tasks.calibration.shared.camera_model import CameraModel
from freemocap.core.tasks.calibration.shared.calibration_result import CalibrationResult
-from skellytracker.trackers.charuco_tracker import CharucoBoardDefinition
from freemocap.core.tasks.calibration.charuco_board.charuco_observation_aggregator import CharucoObservationAggregator
from freemocap.core.tasks.calibration.shared.groundplane_alignment import GroundPlaneResult
+from freemocap.core.tracking.observation_buffer import ObservationBuffer
logger = logging.getLogger(__name__)
def run_anipose_calibration(
*,
- charuco_observations_by_frame: list[dict[CameraIdString, CharucoObservation]],
+ charuco_observations_by_frame: list[dict[CameraIdString, Observation]],
board: CharucoBoardDefinition,
video_metadata: dict[CameraIdString, VideoMetadata],
recording_info: RecordingInfo,
pin_camera_0_to_origin: bool = True,
use_charuco_as_groundplane: bool = True,
) -> tuple[CalibrationResult, GroundPlaneResult | None]:
- """Run anipose calibration from charuco observations.
-
- Returns a CalibrationResult with optimized camera models.
- """
+ """Run anipose calibration from charuco observations."""
t_start = time.perf_counter()
cameras: list[CameraModel] = [
@@ -77,7 +74,9 @@ def run_anipose_calibration(
if charuco_observation_aggregator is None:
raise ValueError("No charuco observations were provided for calibration")
- all_camera_rows = charuco_observation_aggregator.to_anipose_rows(n_corners=board.n_corners)
+ all_camera_rows = charuco_observation_aggregator.to_anipose_rows(
+ n_corners=board.n_corners, board_def=board
+ )
logger.info(f"Aggregated charuco observations for {len(all_camera_rows)} cameras")
error, merged, charuco_frame_numbers = calibrate_cameras_from_rows(
@@ -94,21 +93,16 @@ def run_anipose_calibration(
ground_plane_result: GroundPlaneResult | None = None
if use_charuco_as_groundplane:
- observation_recorders_by_camera: dict[CameraIdString, BaseRecorder] = {
- camera_id: BaseRecorder() for camera_id in charuco_observations_by_frame[0].keys()
+ observation_buffers: dict[CameraIdString, ObservationBuffer] = {
+ camera_id: ObservationBuffer()
+ for camera_id in charuco_observations_by_frame[0].keys()
}
- for frame_number, charuco_observations_by_camera in enumerate(charuco_observations_by_frame):
- if not all(
- isinstance(output, CharucoObservation) for output in charuco_observations_by_camera.values()
- ):
- raise ValueError(
- f"Non-CharucoObservation found in frame {frame_number} observations"
- )
- for camera_id, recorder in observation_recorders_by_camera.items():
- recorder.add_observation(observation=charuco_observations_by_camera[camera_id])
+ for charuco_observations_by_camera in charuco_observations_by_frame:
+ for camera_id, buf in observation_buffers.items():
+ buf.add_observation(charuco_observations_by_camera[camera_id])
cameras, groundplane_success, ground_plane_result = set_charuco_board_as_groundplane(
- observation_recorders=observation_recorders_by_camera,
+ observation_buffers=observation_buffers,
cameras=cameras,
board=board,
recording_folder_path=Path(recording_info.full_recording_path),
diff --git a/freemocap/core/tasks/calibration/calibration_task_config.py b/freemocap/core/tasks/calibration/calibration_task_config.py
index 480b0a05..6733a6b4 100644
--- a/freemocap/core/tasks/calibration/calibration_task_config.py
+++ b/freemocap/core/tasks/calibration/calibration_task_config.py
@@ -1,10 +1,13 @@
from enum import Enum
from pydantic import BaseModel, ConfigDict, Field
-from skellytracker.trackers.charuco_tracker.charuco_tracker_config import CharucoDetectorConfig
+from skellytracker.core import DetectionStageConfig, TrackerConfig
+from skellytracker.core.detectors.keypoint_detectors.charuco import (
+ CharucoBoardDefinition,
+ CharucoDetectorConfig,
+)
from freemocap.core.tasks.calibration.pyceres_calibration.helpers.models import PyceresCalibrationSolverConfig
-from skellytracker.trackers.charuco_tracker import CharucoBoardDefinition
from freemocap.core.tasks.triangulation.helpers.triangulation_config import TriangulationConfig
@@ -51,5 +54,12 @@ class PosthocCalibrationPipelineConfig(BaseModel):
)
@property
- def detector_config(self) -> CharucoDetectorConfig:
- return CharucoDetectorConfig(board=self.charuco_board)
+ def detector_config(self) -> TrackerConfig:
+ return TrackerConfig(
+ stages=[
+ DetectionStageConfig(
+ name="charuco",
+ keypoint_detectors=[CharucoDetectorConfig(board=self.charuco_board)],
+ )
+ ]
+ )
diff --git a/freemocap/core/tasks/calibration/charuco_board/charuco_board_ops.py b/freemocap/core/tasks/calibration/charuco_board/charuco_board_ops.py
index a5c25385..29cc81d7 100644
--- a/freemocap/core/tasks/calibration/charuco_board/charuco_board_ops.py
+++ b/freemocap/core/tasks/calibration/charuco_board/charuco_board_ops.py
@@ -23,8 +23,8 @@ from numpy.typing import NDArray
# avoid beartype rejecting a valid but narrower dtype.
IntArray = np.ndarray
-from freemocap.core.tasks.calibration.shared.camera_model import CameraModel
-from skellytracker.trackers.charuco_tracker import CharucoBoardDefinition
+from freemocap.core.tasks.calibration.shared.camera_model import CameraModel # noqa: TC001
+from skellytracker.core.detectors.keypoint_detectors.charuco import CharucoBoardDefinition # noqa: TC002
diff --git a/freemocap/core/tasks/calibration/charuco_board/charuco_observation_aggregator.py b/freemocap/core/tasks/calibration/charuco_board/charuco_observation_aggregator.py
index 516277ee..4504951f 100644
--- a/freemocap/core/tasks/calibration/charuco_board/charuco_observation_aggregator.py
+++ b/freemocap/core/tasks/calibration/charuco_board/charuco_observation_aggregator.py
@@ -1,24 +1,25 @@
"""Aggregates charuco observations for the anipose calibration path.
-Collects CharucoObservation objects from skellytracker and converts them
-directly to anipose row dicts via CharucoObservation.to_anipose_camera_row().
+Collects Observation objects from skellytracker and converts them
+to anipose row dicts via the new to_anipose_camera_row helper.
"""
-from pydantic import BaseModel, Field, ConfigDict, Extra
+from pydantic import BaseModel, Field, ConfigDict
from skellycam.core.types.type_overloads import CameraIdString
-from skellytracker.trackers.charuco_tracker.charuco_observation import CharucoObservation
+from skellytracker.core.data_primitives.observation import Observation
+from skellytracker.core.detectors.keypoint_detectors.charuco import CharucoBoardDefinition
+from skellytracker.core.detectors.keypoint_detectors.charuco.anipose_export import to_anipose_camera_row
-CharucoObservations = dict[CameraIdString, CharucoObservation | None]
+CharucoObservations = dict[CameraIdString, Observation | None]
class CharucoObservationAggregator(BaseModel):
- """Collects CharucoObservation objects across frames per camera."""
+ """Collects Observation objects across frames per camera."""
model_config = ConfigDict(
arbitrary_types_allowed=True,
- extra="forbid",
)
anipose_camera_ordering: list[CameraIdString]
- individual_camera_observations: dict[CameraIdString, list[CharucoObservation]] = Field(
+ individual_camera_observations: dict[CameraIdString, list[Observation]] = Field(
default_factory=dict
)
@@ -31,12 +32,12 @@ class CharucoObservationAggregator(BaseModel):
if set(charuco_observations_by_camera.keys()) != set(anipose_camera_ordering):
raise ValueError("charuco_observations_by_camera and anipose_camera_ordering must have the same camera ids")
- camera_observations: dict[CameraIdString, list[CharucoObservation]] = {}
+ camera_observations: dict[CameraIdString, list[Observation]] = {}
for camera_id, obs in charuco_observations_by_camera.items():
if obs is None:
raise ValueError(
"Cannot create CharucoObservationAggregator from payload with None observations "
- "β€” use nan-filled CharucoObservation instead"
+ "β€” use empty-stage Observation instead"
)
camera_observations[camera_id] = [obs]
@@ -46,13 +47,21 @@ class CharucoObservationAggregator(BaseModel):
)
@property
- def all_observations_by_camera(self) -> dict[CameraIdString, list[CharucoObservation]]:
+ def all_observations_by_camera(self) -> dict[CameraIdString, list[Observation]]:
return {cam_id: self.individual_camera_observations[cam_id] for cam_id in self.anipose_camera_ordering}
- def to_anipose_rows(self, n_corners: int) -> list[list[dict]]:
+ def to_anipose_rows(self, n_corners: int, board_def: CharucoBoardDefinition) -> list[list[dict]]:
"""Convert stored observations to anipose row dicts for calibrate_rows()."""
return [
- [obs.to_anipose_camera_row() for obs in self.individual_camera_observations[cam_id]]
+ [
+ to_anipose_camera_row(
+ keypoints=obs.stages["charuco"].keypoints,
+ board_def=board_def,
+ frame_number=obs.frame_number,
+ )
+ for obs in self.individual_camera_observations[cam_id]
+ if "charuco" in obs.stages and obs.stages["charuco"].keypoints is not None
+ ]
for cam_id in self.anipose_camera_ordering
]
@@ -61,6 +70,6 @@ class CharucoObservationAggregator(BaseModel):
if obs is None:
raise ValueError(
"Cannot add None observations to CharucoObservationAggregator "
- "β€” use nan-filled CharucoObservation instead"
+ "β€” use empty-stage Observation instead"
)
self.individual_camera_observations[camera_id].append(obs)
diff --git a/freemocap/core/tasks/calibration/posthoc_calibration_task.py b/freemocap/core/tasks/calibration/posthoc_calibration_task.py
index 01765068..0165b7db 100644
--- a/freemocap/core/tasks/calibration/posthoc_calibration_task.py
+++ b/freemocap/core/tasks/calibration/posthoc_calibration_task.py
@@ -19,8 +19,8 @@ from pathlib import Path
import numpy as np
from skellycam.core.recorders.videos.recording_info import RecordingInfo
from skellycam.core.types.type_overloads import CameraIdString
-from skellytracker.trackers.base_tracker.base_tracker_abcs import BaseRecorder
-from skellytracker.trackers.charuco_tracker.charuco_observation import CharucoObservation
+from skellytracker.core.data_primitives.observation import Observation
+from skellytracker.core.detectors.keypoint_detectors.charuco import CharucoBoardDefinition
from freemocap.core.pipeline.posthoc.pipeline_phases import CalibrationStage
from freemocap.core.pipeline.posthoc.task_progress_reporter import TaskProgressReporter
@@ -30,12 +30,12 @@ from freemocap.core.tasks.calibration.calibration_task_config import PosthocCali
CalibrationSolverMethod
from freemocap.core.tasks.calibration.shared.calibration_result import CalibrationResult
from freemocap.core.tasks.calibration.charuco_board.charuco_corners import CornerObservation, CharucoCornersObservation
-from skellytracker.trackers.charuco_tracker import CharucoBoardDefinition
from freemocap.core.tasks.calibration.shared.calibration_paths import get_last_successful_calibration_toml_path
from freemocap.core.tasks.calibration.shared.calibration_save import save_calibration_copies
from freemocap.core.tasks.calibration.shared.compare_calibrations import compute_calibration_health
from freemocap.core.tasks.calibration.shared.groundplane_alignment import GroundPlaneResult
from freemocap.core.tasks.mocap.mocap_helpers.charuco_model_from_observations import charuco_model_from_observations
+from freemocap.core.tracking.observation_buffer import ObservationBuffer
from freemocap.utilities.toml_mixin import numpy_to_python
logger = logging.getLogger(__name__)
@@ -47,7 +47,7 @@ logger = logging.getLogger(__name__)
def _create_board(task_config: PosthocCalibrationPipelineConfig) -> CharucoBoardDefinition:
- """Create the shared charuco board definition from pipeline config. """
+ """Create the shared charuco board definition from pipeline config."""
return CharucoBoardDefinition(
squares_x=task_config.charuco_board.squares_x,
squares_y=task_config.charuco_board.squares_y,
@@ -60,28 +60,42 @@ def _create_board(task_config: PosthocCalibrationPipelineConfig) -> CharucoBoard
# =============================================================================
-def _charuco_observation_to_frame_observation(
+def _observation_to_frame_observation(
*,
- charuco_obs: CharucoObservation,
+ observation: Observation,
+ board_def: CharucoBoardDefinition,
camera_name: str,
frame_index: int,
) -> CharucoCornersObservation:
- """Convert a skellytracker CharucoObservation to a CharucoCornersObservation.
+ """Convert a charuco Observation to a CharucoCornersObservation.
- CharucoObservation.to_2d_array() returns shape (n_corners, 2) with NaN for
- undetected corners. The array index IS the corner ID.
+ Extracts the charuco stage keypoints; the first n_corners keypoints are
+ charuco corners (named "CharucoCorner-{id}"). NaN or zero-visibility
+ points are skipped.
"""
- points_2d = charuco_obs.to_2d_array() # (n_corners, 2)
+ stage = observation.stages.get("charuco")
+ if stage is None or stage.keypoints is None:
+ return CharucoCornersObservation(
+ camera_name=camera_name,
+ frame_index=frame_index,
+ corners=[],
+ )
+ kpts = stage.keypoints
+ n_corners = board_def.n_corners
corners: list[CornerObservation] = []
- for corner_id in range(points_2d.shape[0]):
- xy = points_2d[corner_id]
- if np.isnan(xy).any():
+
+ for corner_id in range(n_corners):
+ name = f"CharucoCorner-{corner_id}"
+ if not kpts.has_name(name):
+ continue
+ idx = kpts.index_of(name)
+ if kpts.visibility[idx] <= 0.0 or np.isnan(kpts.xyz[idx, 0]):
continue
corners.append(
CornerObservation(
corner_id=corner_id,
- pixel_xy=xy,
+ pixel_xy=kpts.xyz[idx, :2].copy(),
)
)
@@ -94,15 +108,17 @@ def _charuco_observation_to_frame_observation(
def _convert_all_observations(
*,
- charuco_observations_by_frame: list[dict[CameraIdString, CharucoObservation]],
+ charuco_observations_by_frame: list[dict[CameraIdString, Observation]],
+ board_def: CharucoBoardDefinition,
) -> list[CharucoCornersObservation]:
"""Convert all charuco observations to CharucoCornersObservation models."""
all_frame_obs: list[CharucoCornersObservation] = []
for frame_idx, frame_obs_by_camera in enumerate(charuco_observations_by_frame):
- for camera_name, charuco_obs in frame_obs_by_camera.items():
- frame_obs = _charuco_observation_to_frame_observation(
- charuco_obs=charuco_obs,
+ for camera_name, obs in frame_obs_by_camera.items():
+ frame_obs = _observation_to_frame_observation(
+ observation=obs,
+ board_def=board_def,
camera_name=camera_name,
frame_index=frame_idx,
)
@@ -130,7 +146,7 @@ def _save_result(
"recording_info": recording_info.model_dump(),
}
if ground_plane is not None:
- groundplane_metadata = {
+ groundplane_metadata = {
"groundplane_applied": True,
"groundplane_method": ground_plane.method,
"groundplane_recording_id": recording_info.recording_name,
@@ -160,9 +176,6 @@ def _run_pyceres_path(
video_metadata: dict[CameraIdString, VideoMetadata],
) -> tuple[CalibrationResult, GroundPlaneResult | None]:
"""Run calibration using the pyceres bundle adjustment solver."""
- # Lazy import: pyceres is an optional dependency and its native (C++/Ceres)
- # library is only loaded when the pyceres solver is actually selected. This
- # keeps it out of the default (anipose) path entirely.
from freemocap.core.tasks.calibration.pyceres_calibration.pyceres_calibration_pipeline import run_pyceres_calibration
if len(all_observations) == 0:
@@ -198,7 +211,7 @@ def _run_pyceres_path(
def _run_anipose_path(
*,
- charuco_observations_by_frame: list[dict[CameraIdString, CharucoObservation]],
+ charuco_observations_by_frame: list[dict[CameraIdString, Observation]],
board: CharucoBoardDefinition,
task_config: PosthocCalibrationPipelineConfig,
recording_info: RecordingInfo,
@@ -229,33 +242,28 @@ def _run_anipose_path(
def run_posthoc_calibration_task(
*,
- frame_observations: list[dict[CameraIdString, CharucoObservation]],
+ frame_observations: list[dict[CameraIdString, Observation]],
recording_info: RecordingInfo,
video_metadata: dict[CameraIdString, VideoMetadata],
task_config: PosthocCalibrationPipelineConfig,
reporter: TaskProgressReporter | None = None,
) -> None:
- """Run posthoc calibration on collected charuco observations.
-
- Routes to either the anipose or pyceres solver based on
- task_config.solver_method. Both paths produce a CalibrationResult
- that is saved via the same anipose-compatible TOML format.
- """
+ """Run posthoc calibration on collected charuco observations."""
_reporter = reporter or TaskProgressReporter.noop()
camera_ids = list(video_metadata.keys())
_reporter.report(stage=CalibrationStage.VALIDATING_OBSERVATIONS, detail="Validating charuco observations")
- # ---- Validate all observations are CharucoObservation ----
- charuco_observations_by_frame: list[dict[CameraIdString, CharucoObservation]] = []
+ # ---- Validate all observations have charuco stage ----
+ charuco_observations_by_frame: list[dict[CameraIdString, Observation]] = []
for frame_idx, frame_obs in enumerate(frame_observations):
- frame_charuco: dict[CameraIdString, CharucoObservation] = {}
+ frame_charuco: dict[CameraIdString, Observation] = {}
for camera_id, obs in frame_obs.items():
- if not isinstance(obs, CharucoObservation):
+ if "charuco" not in obs.stages:
raise TypeError(
- f"Expected CharucoObservation for video {camera_id} frame {frame_idx}, "
- f"got {type(obs).__name__}"
+ f"Expected charuco Observation for video {camera_id} frame {frame_idx}, "
+ f"but observation has stages: {list(obs.stages.keys())}"
)
frame_charuco[camera_id] = obs
charuco_observations_by_frame.append(frame_charuco)
@@ -268,6 +276,7 @@ def run_posthoc_calibration_task(
# ---- Convert to shared observation format (used by pyceres and health check) ----
all_observations = _convert_all_observations(
charuco_observations_by_frame=charuco_observations_by_frame,
+ board_def=board,
)
# Save observations so comparison tools can run board reconstruction tests
@@ -280,7 +289,6 @@ def run_posthoc_calibration_task(
_reporter.report(stage=CalibrationStage.RUNNING_SOLVER, detail=f"Running {task_config.solver_method.value} solver")
- # ---- Route to solver ----
logger.info(f"Using calibration solver: {task_config.solver_method.value}")
ground_plane: GroundPlaneResult | None = None
@@ -305,7 +313,6 @@ def run_posthoc_calibration_task(
_reporter.report(stage=CalibrationStage.SAVING_CALIBRATION, detail="Saving calibration result")
- # ---- Save calibration result (unified for both paths) ----
_save_result(
result=result,
recording_info=recording_info,
@@ -313,7 +320,7 @@ def run_posthoc_calibration_task(
ground_plane=ground_plane,
)
- # ---- Log calibration health (including board reconstruction accuracy) ----
+ # ---- Log calibration health ----
health = compute_calibration_health(
result=result,
label=task_config.solver_method.value,
@@ -322,15 +329,16 @@ def run_posthoc_calibration_task(
logger.info(f"\n{health.summary}")
# ---- Build charuco board model from observations ----
- observation_recorders_by_video: dict[CameraIdString, BaseRecorder] = {
- camera_id: BaseRecorder() for camera_id in camera_ids
+ observation_buffers: dict[CameraIdString, ObservationBuffer] = {
+ camera_id: ObservationBuffer() for camera_id in camera_ids
}
for charuco_obs_by_camera in charuco_observations_by_frame:
- for camera_id, recorder in observation_recorders_by_video.items():
- recorder.add_observation(observation=charuco_obs_by_camera[camera_id])
+ for camera_id, buf in observation_buffers.items():
+ buf.add_observation(charuco_obs_by_camera[camera_id])
charuco_model_from_observations(
- observation_recorders=observation_recorders_by_video,
+ observation_buffers=observation_buffers,
+ board_def=board,
calibration_toml_path=get_last_successful_calibration_toml_path(),
output_data_folder=Path(recording_info.full_recording_path) / "output_data",
)
diff --git a/freemocap/core/tasks/calibration/pyceres_calibration/helpers/initialization.py b/freemocap/core/tasks/calibration/pyceres_calibration/helpers/initialization.py
index a9ef111e..dbb302ca 100644
--- a/freemocap/core/tasks/calibration/pyceres_calibration/helpers/initialization.py
+++ b/freemocap/core/tasks/calibration/pyceres_calibration/helpers/initialization.py
@@ -20,7 +20,7 @@ from scipy.spatial.transform import Rotation
from freemocap.core.tasks.calibration.shared.camera_intrinsics import CameraIntrinsics
from freemocap.core.tasks.calibration.shared.camera_extrinsics import CameraExtrinsics
from freemocap.core.tasks.calibration.charuco_board.charuco_corners import CharucoCornersObservation
-from skellytracker.trackers.charuco_tracker import CharucoBoardDefinition
+from skellytracker.core.detectors.keypoint_detectors.charuco import CharucoBoardDefinition
from freemocap.core.tasks.calibration.shared.transform_math import build_transformation_matrix, robust_average_transforms, \
build_maximum_spanning_tree, find_spanning_tree_pairs, get_rtvec
diff --git a/freemocap/core/tasks/calibration/pyceres_calibration/helpers/postprocessing.py b/freemocap/core/tasks/calibration/pyceres_calibration/helpers/postprocessing.py
index f866ccbf..b943ed04 100644
--- a/freemocap/core/tasks/calibration/pyceres_calibration/helpers/postprocessing.py
+++ b/freemocap/core/tasks/calibration/pyceres_calibration/helpers/postprocessing.py
@@ -13,7 +13,7 @@ from scipy.spatial.transform import Rotation
from freemocap.core.tasks.calibration.shared.camera_extrinsics import CameraExtrinsics
from freemocap.core.tasks.calibration.shared.camera_model import CameraModel
from freemocap.core.tasks.calibration.charuco_board.charuco_corners import CharucoCornersObservation
-from skellytracker.trackers.charuco_tracker import CharucoBoardDefinition
+from skellytracker.core.detectors.keypoint_detectors.charuco import CharucoBoardDefinition
from freemocap.core.tasks.calibration.shared.camera_id_resolution import resolve_camera_id_or_raise
from freemocap.core.tasks.calibration.shared.groundplane_alignment import GroundPlaneResult, \
apply_groundplane_to_cameras
diff --git a/freemocap/core/tasks/calibration/pyceres_calibration/helpers/solver.py b/freemocap/core/tasks/calibration/pyceres_calibration/helpers/solver.py
index 8050580e..adbc5d5b 100644
--- a/freemocap/core/tasks/calibration/pyceres_calibration/helpers/solver.py
+++ b/freemocap/core/tasks/calibration/pyceres_calibration/helpers/solver.py
@@ -21,7 +21,7 @@ from freemocap.core.tasks.calibration.shared.camera_extrinsics import CameraExtr
from freemocap.core.tasks.calibration.shared.camera_model import CameraModel
from freemocap.core.tasks.calibration.shared.calibration_result import CalibrationResult
from freemocap.core.tasks.calibration.charuco_board.charuco_corners import CharucoCornersObservation
-from skellytracker.trackers.charuco_tracker import CharucoBoardDefinition
+from skellytracker.core.detectors.keypoint_detectors.charuco import CharucoBoardDefinition
logger = logging.getLogger(__name__)
diff --git a/freemocap/core/tasks/calibration/pyceres_calibration/pyceres_calibration_pipeline.py b/freemocap/core/tasks/calibration/pyceres_calibration/pyceres_calibration_pipeline.py
index 22820d96..5a4705a7 100644
--- a/freemocap/core/tasks/calibration/pyceres_calibration/pyceres_calibration_pipeline.py
+++ b/freemocap/core/tasks/calibration/pyceres_calibration/pyceres_calibration_pipeline.py
@@ -21,7 +21,7 @@ from freemocap.core.tasks.calibration.pyceres_calibration.helpers.solver import
from freemocap.core.tasks.calibration.shared.camera_model import CameraModel
from freemocap.core.tasks.calibration.shared.calibration_result import CalibrationResult
from freemocap.core.tasks.calibration.charuco_board.charuco_corners import CharucoCornersObservation
-from skellytracker.trackers.charuco_tracker import CharucoBoardDefinition
+from skellytracker.core.detectors.keypoint_detectors.charuco import CharucoBoardDefinition
from freemocap.core.tasks.calibration.shared.groundplane_alignment import GroundPlaneResult
logger = logging.getLogger(__name__)
diff --git a/freemocap/core/tasks/calibration/shared/calibration_result.py b/freemocap/core/tasks/calibration/shared/calibration_result.py
index da355c48..d5992a38 100644
--- a/freemocap/core/tasks/calibration/shared/calibration_result.py
+++ b/freemocap/core/tasks/calibration/shared/calibration_result.py
@@ -2,7 +2,7 @@ from pathlib import Path
import numpy as np
import toml
-from skellytracker.trackers.charuco_tracker import CharucoBoardDefinition
+from skellytracker.core.detectors.keypoint_detectors.charuco import CharucoBoardDefinition
from freemocap.core.tasks.calibration.shared.camera_intrinsics import CameraIntrinsics
from freemocap.core.tasks.calibration.shared.camera_extrinsics import CameraExtrinsics
from freemocap.core.tasks.calibration.shared.camera_model import CameraModel
diff --git a/freemocap/core/tasks/calibration/shared/calibration_state.py b/freemocap/core/tasks/calibration/shared/calibration_state.py
index 0f6659f0..a2e4a362 100644
--- a/freemocap/core/tasks/calibration/shared/calibration_state.py
+++ b/freemocap/core/tasks/calibration/shared/calibration_state.py
@@ -15,7 +15,7 @@ from freemocap.core.pipeline.pipeline_stage_timer import PipelineStageTimer
import numpy as np
from numpy.typing import NDArray
from skellycam.core.types.type_overloads import CameraIdString
-from skellytracker.trackers.base_tracker.base_tracker_abcs import BaseObservation
+from skellytracker.core.data_primitives.observation import Observation
from freemocap.core.tasks.calibration.shared.calibration_result import CalibrationResult
from freemocap.core.tasks.calibration.shared.calibration_paths import get_last_successful_calibration_toml_path
@@ -30,6 +30,16 @@ logger = logging.getLogger(__name__)
MAX_CONSECUTIVE_FAILURES: int = 10
+def _strip_stage_prefix(name: str) -> str:
+ """Strip the stage prefix that Observation.to_keypoints() adds.
+
+ "body.nose" β†’ "nose", "charuco.CharucoCorner-0" β†’ "CharucoCorner-0".
+ Names without a dot are returned unchanged.
+ """
+ dot = name.find(".")
+ return name[dot + 1:] if dot != -1 else name
+
+
class CalibrationStateTracker:
"""Tracks whether we have a valid calibration and provides safe triangulation.
@@ -64,6 +74,9 @@ class CalibrationStateTracker:
self._cam_id_name_cache: dict[str, str] = {}
# Last seen frozenset of incoming camera IDs, for detecting camera set changes.
self._last_incoming_cam_ids: frozenset | None = None
+ # Rate-limit per-frame diagnostic logs (fire once per root cause category).
+ self._logged_no_visible_pts: bool = False
+ self._logged_all_reproj_bad: bool = False
# self._timer = PipelineStageTimer(name="CalibrationStateTracker")
@classmethod
@@ -147,7 +160,10 @@ class CalibrationStateTracker:
logger.info(f"Found calibration file at {path}")
return self._try_load_from_path(path)
else:
- logger.debug(f"No calibration file found at {path}")
+ logger.warning(
+ f"No calibration file found at {path}. "
+ f"Triangulation will be disabled until a calibration TOML is present at this path."
+ )
return False
except Exception as e:
logger.debug(f"No existing calibration found: {e}")
@@ -181,6 +197,8 @@ class CalibrationStateTracker:
self._subset_triangulator_cache.clear()
self._cam_id_name_cache.clear()
self._last_incoming_cam_ids = None
+ self._logged_no_visible_pts = False
+ self._logged_all_reproj_bad = False
return True
except Exception as e:
logger.warning(f"Failed to load calibration from {path}: {e}", exc_info=True)
@@ -190,13 +208,13 @@ class CalibrationStateTracker:
self,
*,
frame_number: int,
- frame_observations_by_camera: dict[CameraIdString, BaseObservation],
+ frame_observations_by_camera: dict[CameraIdString, Observation],
max_reprojection_error_px: float,
triangulation_config: TriangulationConfig | None = None,
) -> dict[str, NDArray[np.float64]] | None:
"""Attempt triangulation with reprojection error gating.
- Uses to_tracked_points() to get named 2D observations from each camera,
+ Uses to_keypoints() to get named 2D observations from each camera,
finds points visible in β‰₯2 cameras, triangulates via DLT, and rejects
points whose mean reprojection error exceeds max_reprojection_error_px.
@@ -225,7 +243,7 @@ class CalibrationStateTracker:
self._last_incoming_cam_ids = incoming_cam_ids
# Resolve runtime cam_id -> calibration camera name once per cam.
- matched_obs_by_cam: dict[str, BaseObservation] = {}
+ matched_obs_by_cam: dict[str, Observation] = {}
for cam_id, obs in frame_observations_by_camera.items():
if cam_id not in self._cam_id_name_cache:
self._cam_id_name_cache[cam_id] = _match_camera_name(
@@ -260,71 +278,37 @@ class CalibrationStateTracker:
ordered_cam_names: list[str] = sub_triangulator.camera_ids
n_cameras = len(ordered_cam_names)
- # Fast path: when every observation type uses the canonical
- # PointCloud-only `to_tracked_points` (i.e. doesn't add any extra
- # named points beyond `obs.points`), and all cameras share the same
- # PointCloud names tuple, we can stack `xyz[:, :2]` arrays directly
- # and skip per-keypoint dict construction. RTMPose hits this path.
- ordered_obs: list[BaseObservation] = [
+ # All observations are now the same Observation type; use to_keypoints()
+ # uniformly. Stack (n_cameras, n_points, 2) then filter to β‰₯2-camera points.
+ ordered_obs: list[Observation] = [
matched_obs_by_cam[c] for c in ordered_cam_names
]
- first_obs = ordered_obs[0]
- canonical_names: tuple[str, ...] = first_obs.points.names
- fast_path = (
- type(first_obs).to_tracked_points is BaseObservation.to_tracked_points
- and all(
- type(o).to_tracked_points is BaseObservation.to_tracked_points
- and o.points.names == canonical_names
- for o in ordered_obs[1:]
- )
- )
+ first_kpts = ordered_obs[0].to_keypoints()
+ canonical_names: tuple[str, ...] = first_kpts.names
_t0 = time.perf_counter()
- if fast_path:
- # Build (n_cameras, n_points, 2) by stacking xy slices.
- stacked = np.stack(
- [np.ascontiguousarray(o.points.xy, dtype=np.float64) for o in ordered_obs]
- )
- point_names_seq: tuple[str, ...] = canonical_names
- # Filter to points visible in β‰₯2 cameras
- visible_per_point = (~np.isnan(stacked[..., 0])).sum(axis=0)
- keep_mask = visible_per_point >= 2
- if not bool(keep_mask.any()):
- return {}
- if not bool(keep_mask.all()):
- stacked = stacked[:, keep_mask, :]
- point_names_seq = tuple(
- n for n, k in zip(canonical_names, keep_mask.tolist()) if k
+ stacked = np.stack(
+ [np.ascontiguousarray(obs.to_keypoints().xyz[:, :2], dtype=np.float64)
+ for obs in ordered_obs]
+ )
+ point_names_seq: tuple[str, ...] = canonical_names
+ # Filter to points visible in β‰₯2 cameras
+ visible_per_point = (~np.isnan(stacked[..., 0])).sum(axis=0)
+ keep_mask = visible_per_point >= 2
+ if not bool(keep_mask.any()):
+ if not self._logged_no_visible_pts:
+ self._logged_no_visible_pts = True
+ logger.warning(
+ f"Triangulation frame {frame_number}: no keypoints visible in β‰₯2 cameras "
+ f"(all {len(canonical_names)} keypoints are NaN in at least {n_cameras - 1} cameras). "
+ f"Check that the person is visible to multiple cameras and confidence gating is not too aggressive."
)
- else:
- # Fallback for observations whose `to_tracked_points` adds extra
- # named points (e.g. CharucoObservation injects per-aruco-corner
- # entries). Original dict-based assembly.
- tracked_by_cam: dict[str, dict[str, NDArray[np.float64]]] = {
- cam_name: {
- name: np.asarray(pt, dtype=np.float64)[:2]
- for name, pt in matched_obs_by_cam[cam_name].to_tracked_points().items()
- }
- for cam_name in ordered_cam_names
- }
- all_point_names: set[str] = set()
- for pts in tracked_by_cam.values():
- all_point_names.update(pts.keys())
- point_names_list: list[str] = sorted(
- name for name in all_point_names
- if sum(1 for cam in ordered_cam_names if name in tracked_by_cam[cam]) >= 2
- )
- if not point_names_list:
- return {}
- point_names_seq = tuple(point_names_list)
- stacked = np.full(
- (n_cameras, len(point_names_seq), 2), np.nan, dtype=np.float64
+ return {}
+ if not bool(keep_mask.all()):
+ stacked = stacked[:, keep_mask, :]
+ point_names_seq = tuple(
+ n for n, k in zip(canonical_names, keep_mask.tolist()) if k
)
- for cam_idx, cam_name in enumerate(ordered_cam_names):
- cam_points = tracked_by_cam[cam_name]
- for pt_idx, pt_name in enumerate(point_names_seq):
- if pt_name in cam_points:
- stacked[cam_idx, pt_idx, :] = cam_points[pt_name]
# self._timer.record("build_stacked", (time.perf_counter() - _t0) * 1e3)
# Triangulate the single frame
@@ -344,14 +328,28 @@ class CalibrationStateTracker:
) # (n_points,)
bad_mask = mean_reproj_error > max_reprojection_error_px
if np.any(bad_mask):
+ n_bad = int(np.sum(bad_mask))
+ n_total = len(point_names_seq)
+ if n_bad == n_total and not self._logged_all_reproj_bad:
+ self._logged_all_reproj_bad = True
+ logger.warning(
+ f"Triangulation frame {frame_number}: ALL {n_total} keypoints rejected by "
+ f"reprojection error gate (threshold={max_reprojection_error_px}px, "
+ f"min_error={float(mean_reproj_error.min()):.1f}px, "
+ f"max_error={float(mean_reproj_error.max()):.1f}px). "
+ f"Calibration may be stale or cameras may have moved. "
+ f"Try re-running calibration or increasing max_reprojection_error_px in filter settings."
+ )
points_3d[bad_mask] = np.nan
# self._timer.record("mean_reproj_error", (time.perf_counter() - _t0) * 1e3)
- # Build result dict, excluding NaN points
+ # Build result dict, excluding NaN points.
+ # Strip the stage prefix that to_keypoints() adds (e.g. "body.nose" β†’ "nose")
+ # so downstream code sees the canonical unprefixed names.
_t0 = time.perf_counter()
valid_pt_mask = ~np.isnan(points_3d).any(axis=1)
result: dict[str, NDArray[np.float64]] = {
- name: points_3d[i]
+ _strip_stage_prefix(name): points_3d[i]
for i, name in enumerate(point_names_seq)
if valid_pt_mask[i]
}
diff --git a/freemocap/core/tasks/calibration/shared/compare_calibrations.py b/freemocap/core/tasks/calibration/shared/compare_calibrations.py
index d9b11819..f04faf5c 100644
--- a/freemocap/core/tasks/calibration/shared/compare_calibrations.py
+++ b/freemocap/core/tasks/calibration/shared/compare_calibrations.py
@@ -14,7 +14,7 @@ from pydantic import BaseModel, ConfigDict
from freemocap.core.tasks.calibration.shared.camera_model import CameraModel
from freemocap.core.tasks.calibration.shared.calibration_result import CalibrationResult
from freemocap.core.tasks.calibration.charuco_board.charuco_corners import CharucoCornersObservation
-from skellytracker.trackers.charuco_tracker import CharucoBoardDefinition
+from skellytracker.core.detectors.keypoint_detectors.charuco import CharucoBoardDefinition
from skellycam.core.types.type_overloads import CameraIdString, CameraIndexInt
logger = logging.getLogger(__name__)
diff --git a/freemocap/core/tasks/mocap/center_of_mass.py b/freemocap/core/tasks/mocap/center_of_mass.py
index ec0f785e..ae828fd6 100644
--- a/freemocap/core/tasks/mocap/center_of_mass.py
+++ b/freemocap/core/tasks/mocap/center_of_mass.py
@@ -1,8 +1,9 @@
"""
Per-frame center of mass calculation for the real-time pipeline.
-Loads RTMPose body biomechanics from the existing skellyforge YAML
-(validated once at init via AnatomicalStructure), then computes
+Loads body biomechanics from the existing skellyforge YAML (validated once
+at init via AnatomicalStructure, using the tracker→canonical mapping for
+whichever detector β€” RTMPose or MediaPipe β€” is configured), then computes
whole-body and per-segment center of mass from a dict[str, np.ndarray]
of named 3D keypoint positions β€” the exact format the real-time
aggregator node already produces.
@@ -32,13 +33,12 @@ from __future__ import annotations
from dataclasses import dataclass
from enum import IntEnum
+from pathlib import Path
+from typing import Literal
import numpy as np
from pydantic import BaseModel, ConfigDict
-from pathlib import Path
-
-import skellytracker
from skellyforge.skellymodels.models.anatomical_structure import AnatomicalStructure
from skellyforge.skellymodels.models.tracking_model_info import CanonicalBodyModelInfo
from skellyforge.skellymodels.utils.types import (
@@ -46,16 +46,23 @@ from skellyforge.skellymodels.utils.types import (
SegmentConnection,
SegmentName,
)
-from skellytracker.trackers.base_tracker.tracker_mapping import TrackerMapping
+from skellytracker.core.detectors.keypoint_detectors.mediapipe.body.mediapipe_pose_detector import (
+ MediapipePoseKeypointDetector,
+)
+from skellytracker.core.detectors.keypoint_detectors.rtmpose.body.rtmpose_body_detector import (
+ RTMPoseBodyDetector,
+)
+from skellytracker.core.io.tracker_mapping import TrackerMapping
# Tracker→canonical body mapping (shipped with skellytracker). This is the
# single derivation of the computed centers (head/neck/trunk/hips_center) from
-# RTMPose keypoints β€” the same mapping the realtime skeleton fitter uses.
-_RTMPOSE_BODY_MAPPING_YAML = (
- Path(skellytracker.__file__).parent
- / "trackers" / "rtmpose_tracker" / "names_and_connections"
- / "rtmpose_body_to_canonical_mapping.yaml"
-)
+# raw tracker keypoints β€” the same mapping the realtime skeleton fitter uses.
+# Keyed by CameraNodeConfig.detector_type so the loader can pick the mapping
+# that actually matches the keypoint names the configured detector produces.
+_BODY_MAPPING_YAML_BY_DETECTOR: dict[str, Path] = {
+ "rtmpose": RTMPoseBodyDetector.canonical_mapping_path(),
+ "mediapipe": MediapipePoseKeypointDetector.canonical_mapping_path(),
+}
# ---------------------------------------------------------------------------
# Anatomical limb chains, distal β†’ proximal.
@@ -111,14 +118,16 @@ def _build_mass_lookup(
return {seg: info["segment_com_percentage"] for seg, info in com_defs.items()}
-class RTMPoseBodyBiomechanics(BaseModel):
- """Validated body biomechanics for the RTMPose pipeline, loaded once at
+class BodyBiomechanics(BaseModel):
+ """Validated body biomechanics for the realtime pipeline, loaded once at
aggregator init.
Mirrors the relevant fields of skellyforge's canonical ``AnatomicalStructure``
so the hot loop never touches Pydantic validation. ``tracker_mapping`` is the
one tracker→canonical mapping used to derive the computed centers
- (head/neck/trunk/hips_center) from RTMPose keypoints each frame.
+ (head/neck/trunk/hips_center) from the configured detector's raw keypoints
+ each frame β€” selected by detector type at load time, see
+ ``load_body_biomechanics``.
"""
tracked_point_names: list[str]
@@ -163,12 +172,15 @@ class CenterOfMassResult:
# ---------------------------------------------------------------------------
-def load_rtmpose_biomechanics() -> RTMPoseBodyBiomechanics:
+def load_body_biomechanics(
+ detector_type: Literal["rtmpose", "mediapipe"] = "rtmpose",
+) -> BodyBiomechanics:
"""Load body biomechanics from the single canonical skellyforge model.
Segment connections + Winter COM table come from the canonical body model;
the computed centers are derived each frame via the skellytracker
- RTMPose→canonical mapping (the same one the skeleton fitter uses).
+ tracker→canonical mapping for the given ``detector_type`` (the same one
+ the skeleton fitter uses).
"""
body_structure: AnatomicalStructure = AnatomicalStructure.from_model_info(
model_info=CanonicalBodyModelInfo(), aspect_name="body"
@@ -176,9 +188,9 @@ def load_rtmpose_biomechanics() -> RTMPoseBodyBiomechanics:
com_defs = body_structure.center_of_mass_definitions or {}
- return RTMPoseBodyBiomechanics(
+ return BodyBiomechanics(
tracked_point_names=body_structure.tracked_point_names,
- tracker_mapping=TrackerMapping.from_yaml(_RTMPOSE_BODY_MAPPING_YAML),
+ tracker_mapping=TrackerMapping.from_yaml(_BODY_MAPPING_YAML_BY_DETECTOR[detector_type]),
segment_connections=body_structure.segment_connections,
center_of_mass_definitions=com_defs,
mass_percentages=_build_mass_lookup(com_defs),
@@ -221,7 +233,7 @@ def _calculate_all_segments_com_per_frame(
def _calculate_total_body_com_with_redistribution(
segment_com_data: dict[str, np.ndarray],
- biomechanics: RTMPoseBodyBiomechanics,
+ biomechanics: BodyBiomechanics,
) -> tuple[np.ndarray, float]:
"""Weighted total body CoM with mass redistribution along limb chains.
@@ -327,7 +339,7 @@ def calculate_xcom(
def calculate_center_of_mass_per_frame(
keypoints: dict[str, np.ndarray],
- biomechanics: RTMPoseBodyBiomechanics,
+ biomechanics: BodyBiomechanics,
) -> CenterOfMassResult:
"""Compute center of mass from raw RTMPose **tracker** keypoints for one frame.
@@ -341,7 +353,7 @@ def calculate_center_of_mass_per_frame(
def calculate_center_of_mass_from_canonical(
canonical_positions: dict[str, np.ndarray],
- biomechanics: RTMPoseBodyBiomechanics,
+ biomechanics: BodyBiomechanics,
) -> CenterOfMassResult:
"""Compute center of mass from already-canonical-named positions for one frame.
diff --git a/freemocap/core/tasks/mocap/mocap_helpers/charuco_model_from_observations.py b/freemocap/core/tasks/mocap/mocap_helpers/charuco_model_from_observations.py
index 7a94c3a6..d2db2718 100644
--- a/freemocap/core/tasks/mocap/mocap_helpers/charuco_model_from_observations.py
+++ b/freemocap/core/tasks/mocap/mocap_helpers/charuco_model_from_observations.py
@@ -14,26 +14,27 @@ from skellyforge.post_processing.interpolation.apply_interpolation import interp
from skellyforge.post_processing.interpolation.interpolation_config import InterpolationConfig
from skellyforge.skellymodels.managers.board import Board
from skellyforge.skellymodels.models.tracking_model_info import CharucoBoard5x3ModelInfo
-from skellytracker.trackers.base_tracker.base_tracker_abcs import BaseRecorder
-from skellytracker.trackers.charuco_tracker.charuco_observation import CharucoObservation
+from skellytracker.core.detectors.keypoint_detectors.charuco import CharucoBoardDefinition
from freemocap.core.tasks.calibration.shared.calibration_result import CalibrationResult
from freemocap.core.tasks.mocap.mocap_helpers.triangulate_trajectory_array import triangulate_dict
from freemocap.core.tasks.triangulation.helpers.triangulation_config import TriangulationConfig
+from freemocap.core.tracking.observation_buffer import ObservationBuffer
from skellycam.core.types.type_overloads import CameraIdString
from freemocap.core.tasks.triangulation.triangulator import Triangulator
-from skellyforge.data_models.trajectory_3d import Trajectory3d
-import numpy as np
+from skellyforge.data_models.trajectory_3d import Trajectory3d # noqa: TC002
+import numpy as np # noqa: TC002
logger = logging.getLogger(__name__)
def charuco_model_from_observations(
*,
- observation_recorders: dict[CameraIdString, BaseRecorder],
+ observation_buffers: dict[CameraIdString, ObservationBuffer],
+ board_def: CharucoBoardDefinition,
output_data_folder: Path | str,
calibration_toml_path: Path | str | None,
triangulator: Triangulator | None = None,
@@ -60,13 +61,14 @@ def charuco_model_from_observations(
Path(output_data_folder).mkdir(parents=True, exist_ok=True)
data2d_by_camera: dict[CameraIdString, np.ndarray] = {}
- if len(observation_recorders) == 0:
- raise ValueError("No observation recorders provided to process.")
-
- for camera_id, recorder in observation_recorders.items():
- if not all(isinstance(observation, CharucoObservation) for observation in recorder.observations):
- raise TypeError(f"Recorder for camera ID {camera_id} contains non-Charuco observations.")
- data2d_fr_id_xyc = recorder.to_array.copy()
+ if len(observation_buffers) == 0:
+ raise ValueError("No observation buffers provided to process.")
+
+ for camera_id, buf in observation_buffers.items():
+ for obs in buf.observations:
+ if "charuco" not in obs.stages:
+ raise TypeError(f"Buffer for camera ID {camera_id} contains non-charuco observations.")
+ data2d_fr_id_xyc = buf.to_stage_array("charuco", n_points=board_def.n_corners).copy()
logger.info(f"Processing camera ID: {camera_id} with 2D data shape: {data2d_fr_id_xyc.shape}")
data2d_by_camera[camera_id] = data2d_fr_id_xyc[..., :2]
diff --git a/freemocap/core/tasks/mocap/mocap_helpers/skeleton_from_mediapipe_observations.py b/freemocap/core/tasks/mocap/mocap_helpers/skeleton_from_mediapipe_observations.py
index 2690ae3e..175d3fb5 100644
--- a/freemocap/core/tasks/mocap/mocap_helpers/skeleton_from_mediapipe_observations.py
+++ b/freemocap/core/tasks/mocap/mocap_helpers/skeleton_from_mediapipe_observations.py
@@ -9,11 +9,11 @@ from skellyforge.post_processing.filters.filter_config import FilterConfig
from skellyforge.post_processing.interpolation.apply_interpolation import interpolate_trajectory
from skellyforge.post_processing.interpolation.interpolation_config import InterpolationConfig
from skellyforge.skellymodels.managers.human import Human
-from skellyforge.skellymodels.models.tracking_model_info import MediapipeModelInfo
-from skellytracker.trackers.base_tracker.base_tracker_abcs import BaseRecorder
+
from freemocap.core.tasks.calibration.shared.calibration_result import CalibrationResult
from freemocap.core.tasks.triangulation.helpers.triangulation_config import TriangulationConfig
+from freemocap.core.tracking.observation_buffer import ObservationBuffer
from skellycam.core.types.type_overloads import CameraIdString
from freemocap.core.tasks.triangulation.helpers.project_single_camera import project_2d_batch_to_3d
@@ -23,14 +23,15 @@ logger = logging.getLogger(__name__)
def skeleton_from_mediapipe_observation_recorders(
- observation_recorders: dict[CameraIdString, BaseRecorder],
+ detector:str,
+ observation_recorders: dict[CameraIdString, ObservationBuffer],
path_to_calibration_toml: Path | str,
path_to_output_data_folder: Path | str,
triangulation_config: TriangulationConfig | None = None,
interp_config: InterpolationConfig | None = None,
filter_config: FilterConfig | None = None,
) -> Human:
- """Triangulate mediapipe 2D observations into a 3D skeleton.
+ """Triangulate skeleton 2D observations into a 3D skeleton.
Camera matching: observation_recorders keys (CameraIdString)
are matched to calibration camera names. Each key must have an exact match
@@ -48,10 +49,10 @@ def skeleton_from_mediapipe_observation_recorders(
if len(observation_recorders) == 0:
raise ValueError("No observation recorders provided to process.")
- # Extract 2D data from observation recorders
+ # Extract 2D data from observation buffers
data2d_by_camera: dict[CameraIdString, np.ndarray] = {}
- for camera_id, recorder in observation_recorders.items():
- data2d_fr_id_xyc = recorder.to_array.copy()
+ for camera_id, buf in observation_recorders.items():
+ data2d_fr_id_xyc = buf.to_keypoints_array().copy()
logger.info(f"Processing camera ID: {camera_id} with 2D data shape: {data2d_fr_id_xyc.shape}")
data2d_by_camera[camera_id] = data2d_fr_id_xyc[..., :2]
@@ -99,12 +100,25 @@ def skeleton_from_mediapipe_observation_recorders(
config=filter_config,
)
+ match detector:
+ case "mediapipe":
+ from skellyforge.skellymodels.models.tracking_model_info import MediapipeModelInfo
+ model_info = MediapipeModelInfo()
+ case "rtmpose":
+ from skellyforge.skellymodels.models.tracking_model_info import RTMPoseModelInfo
+ model_info = RTMPoseModelInfo()
+ case _:
+ raise ValueError(f"Unknown detector: {detector}")
+
skeleton: Human = Human.from_tracked_points_numpy_array(
name="human",
- model_info=MediapipeModelInfo(),
+ model_info=model_info,
tracked_points_numpy_array=filtered_trajectory_3d.triangulated_data,
)
+ print("DETECTOR: ", detector)
+ print("MODEL INFO: ", model_info)
+ print(f"SKELETON: {skeleton}")
if len(camera_ids) > 1 and not calibration.groundplane_aligned:
try:
diff --git a/freemocap/core/tasks/mocap/mocap_task_config.py b/freemocap/core/tasks/mocap/mocap_task_config.py
index b3780c5a..7f2e7300 100644
--- a/freemocap/core/tasks/mocap/mocap_task_config.py
+++ b/freemocap/core/tasks/mocap/mocap_task_config.py
@@ -1,13 +1,98 @@
-from pydantic import BaseModel, ConfigDict, Field
-from skellytracker.trackers.base_tracker.detector_helpers import SkeletonDetectorConfig
-from skellytracker.trackers.rtmpose_tracker.rtmpose_detector import RTMPoseDetectorConfig
-from skellytracker.trackers.mediapipe_tracker import MediapipeDetectorConfig
+from typing import Literal
+
+from pydantic import BaseModel, ConfigDict, Field, model_validator
+from skellytracker.core import DetectionStageConfig, TrackerConfig
+from skellytracker.core.detectors.keypoint_detectors.mediapipe.body.mediapipe_pose_detector import (
+ MediapipePoseDetectorConfig,
+)
+from skellytracker.core.detectors.keypoint_detectors.mediapipe.face.mediapipe_face_detector import (
+ MediapipeFaceDetectorConfig,
+)
+from skellytracker.core.detectors.keypoint_detectors.mediapipe.hands.mediapipe_hand_detector import (
+ MediapipeHandDetectorConfig,
+)
+from skellytracker.core.detectors.keypoint_detectors.mediapipe.mediapipe_model_manager import (
+ MediapipePoseModelComplexity,
+)
+from skellytracker.core.detectors.keypoint_detectors.rtmpose import RTMPoseDetectorConfig
+from skellytracker.core.detectors.object_detectors.yolox import YoloxPersonDetectorConfig
+from skellytracker.core.temporal_processing.temporal_processing_config import (
+ BBoxPolicyConfig,
+ BBoxSmoothingConfig,
+ KeypointsWithinBBoxRatioConfig,
+)
+
class PosthocMocapPipelineConfig(BaseModel):
model_config = ConfigDict(populate_by_name=True)
- skeleton_detector_config: SkeletonDetectorConfig = Field(default_factory= MediapipeDetectorConfig)#LegacyMediapipeDetectorConfig)
+ detector_type: Literal["rtmpose", "mediapipe"] = Field(
+ default="rtmpose",
+ alias="detectorType",
+ description="Which pose detector to use: 'rtmpose' (default, more accurate) or 'mediapipe' (faster, CPU-friendly).",
+ )
+ # RTMPose settings
+ rtmpose_model_name: Literal["rtmw-x-l_256x192", "rtmw-x-l_384x288", "rtmw-l-m_256x192"] = Field(
+ default="rtmw-x-l_256x192",
+ alias="rtmPoseModelName",
+ description="RTMPose wholebody model variant. Only used when detector_type='rtmpose'.",
+ )
+ rtmpose_confidence_threshold: float = Field(
+ default=0.004,
+ alias="rtmPoseConfidenceThreshold",
+ ge=0.0,
+ le=1.0,
+ description="Keypoint confidence threshold for RTMPose. Only used when detector_type='rtmpose'.",
+ )
+ # MediaPipe settings (shared across pose/hands/face detectors)
+ mediapipe_model_complexity: MediapipePoseModelComplexity = Field(
+ default=MediapipePoseModelComplexity.HEAVY,
+ alias="mediapipeModelComplexity",
+ description="MediaPipe pose model size. Only used when detector_type='mediapipe'.",
+ )
+ mediapipe_detection_confidence: float = Field(
+ default=0.5,
+ alias="mediapipeDetectionConfidence",
+ ge=0.0,
+ le=1.0,
+ description="Minimum detection confidence for all MediaPipe detectors.",
+ )
+ mediapipe_presence_confidence: float = Field(
+ default=0.5,
+ alias="mediapipePresenceConfidence",
+ ge=0.0,
+ le=1.0,
+ description="Minimum presence confidence for all MediaPipe detectors.",
+ )
+ mediapipe_tracking_confidence: float = Field(
+ default=0.5,
+ alias="mediapipeTrackingConfidence",
+ ge=0.0,
+ le=1.0,
+ description="Minimum tracking confidence for all MediaPipe detectors.",
+ )
+ mediapipe_num_hands: int = Field(
+ default=2,
+ alias="mediapipeNumHands",
+ ge=1,
+ le=4,
+ description="Number of hands to detect. Only used when detector_type='mediapipe'.",
+ )
+ mediapipe_num_faces: int = Field(
+ default=1,
+ alias="mediapipeNumFaces",
+ ge=1,
+ le=4,
+ description="Number of faces to detect. Only used when detector_type='mediapipe'.",
+ )
+ video_fps: float = Field(
+ default=30.0,
+ alias="videoFps",
+ gt=0.0,
+ description="Frames per second of the recorded video. Used to compute redetect_interval (redetect every 5 s). Set this from cv2.CAP_PROP_FPS before constructing the config for accurate cadence.",
+ )
+ tracker_config: TrackerConfig | None = Field(default=None)
calibration_toml_path: str | None = Field(
default=None,
alias="calibrationTomlPath",
@@ -29,3 +114,59 @@ class PosthocMocapPipelineConfig(BaseModel):
description="If True, open the .blend file in Blender after export completes.",
)
+ @model_validator(mode="after")
+ def _build_tracker_config_from_detector_type(self) -> "PosthocMocapPipelineConfig":
+ if self.detector_type == "mediapipe":
+ self.tracker_config = TrackerConfig(
+ stages=[
+ DetectionStageConfig(
+ name="body",
+ keypoint_detectors=[
+ MediapipePoseDetectorConfig(
+ model_complexity=self.mediapipe_model_complexity,
+ num_poses=1,
+ min_pose_detection_confidence=self.mediapipe_detection_confidence,
+ min_pose_presence_confidence=self.mediapipe_presence_confidence,
+ min_pose_tracking_confidence=self.mediapipe_tracking_confidence,
+ ),
+ MediapipeHandDetectorConfig(
+ num_hands=self.mediapipe_num_hands,
+ min_hand_detection_confidence=self.mediapipe_detection_confidence,
+ min_hand_presence_confidence=self.mediapipe_presence_confidence,
+ min_hand_tracking_confidence=self.mediapipe_tracking_confidence,
+ ),
+ MediapipeFaceDetectorConfig(
+ num_faces=self.mediapipe_num_faces,
+ min_face_detection_confidence=self.mediapipe_detection_confidence,
+ min_face_presence_confidence=self.mediapipe_presence_confidence,
+ min_face_tracking_confidence=self.mediapipe_tracking_confidence,
+ ),
+ ],
+ )
+ ]
+ )
+ else:
+ redetect_interval = max(1, round(5.0 * self.video_fps))
+ self.tracker_config = TrackerConfig(
+ stages=[
+ DetectionStageConfig(
+ name="body",
+ object_detector=YoloxPersonDetectorConfig(),
+ keypoint_detectors=[
+ RTMPoseDetectorConfig(
+ model_name=self.rtmpose_model_name,
+ confidence_threshold=self.rtmpose_confidence_threshold,
+ )
+ ],
+ bbox_policy=BBoxPolicyConfig(
+ redetect_interval=redetect_interval,
+ keypoint_bbox_expansion=0.05,
+ fitness_checks=[KeypointsWithinBBoxRatioConfig(threshold=0.5)],
+ min_shrink_ratio_per_frame=0.995,
+ min_bbox_size_px=80.0,
+ ),
+ bbox_smoothing=BBoxSmoothingConfig(alpha=0.4),
+ )
+ ]
+ )
+ return self
diff --git a/freemocap/core/tasks/mocap/posthoc_mocap_task.py b/freemocap/core/tasks/mocap/posthoc_mocap_task.py
index fb38a177..d67b8af5 100644
--- a/freemocap/core/tasks/mocap/posthoc_mocap_task.py
+++ b/freemocap/core/tasks/mocap/posthoc_mocap_task.py
@@ -12,8 +12,6 @@ import json
import logging
import shutil
from pathlib import Path
-from typing import TYPE_CHECKING
-
# Load pyarrow FIRST, before the native libs pulled in by the imports below.
# pandas>=3.0 uses the pyarrow-backed string dtype by default, so writing the
# output CSV/parquet calls into pyarrow's native code. On Windows, if another
@@ -23,13 +21,9 @@ from typing import TYPE_CHECKING
# up front makes it win the DLL load-order race. Do not remove or reorder.
import pyarrow # noqa: F401
-from freemocap.core.tasks.mocap.mocap_task_config import PosthocMocapPipelineConfig
-from skellytracker.trackers.rtmpose_tracker.rtmpose_observation import RTMPoseObservation
-
-if TYPE_CHECKING:
- pass
-from skellycam.core.recorders.videos.recording_info import RecordingInfo
-from skellytracker.trackers.base_tracker.base_tracker_abcs import BaseObservation, BaseRecorder
+from freemocap.core.tasks.mocap.mocap_task_config import PosthocMocapPipelineConfig # noqa: TC001
+from skellytracker.core.data_primitives.observation import Observation # noqa: TC002
+from skellycam.core.recorders.videos.recording_info import RecordingInfo # noqa: TC002
from freemocap.core.blender.export_to_blender import export_to_blender
from freemocap.core.pipeline.posthoc.pipeline_phases import MocapStage
@@ -37,28 +31,27 @@ from freemocap.core.pipeline.posthoc.task_progress_reporter import TaskProgressR
from freemocap.core.tasks.calibration.shared.calibration_paths import get_last_successful_calibration_toml_path
from freemocap.core.tasks.mocap.mocap_helpers.skeleton_from_mediapipe_observations import \
skeleton_from_mediapipe_observation_recorders
-from skellycam.core.types.type_overloads import CameraIdString
+from freemocap.core.tracking.observation_buffer import ObservationBuffer
+from freemocap.core.tracking.tracker_definitions import RTMPOSE_WHOLEBODY_DEFINITION
+from skellycam.core.types.type_overloads import CameraIdString # noqa: TC002
-from freemocap.core.pipeline.posthoc.video_group_helper import VideoMetadata
-from skellytracker.trackers.mediapipe_tracker import MediapipeObservation
-from skellytracker.trackers.mediapipe_tracker.names_and_connections import MEDIAPIPE_HOLISTIC_DEFINITION
-from skellytracker.trackers.rtmpose_tracker.names_and_connections import RTMPOSE_WHOLEBODY_DEFINITION
+from freemocap.core.pipeline.posthoc.video_group_helper import VideoMetadata # noqa: TC001
logger = logging.getLogger(__name__)
def run_posthoc_mocap_aggregator_task(
*,
- frame_observations: list[dict[CameraIdString, BaseObservation]],
+ frame_observations: list[dict[CameraIdString, Observation]],
recording_info: RecordingInfo,
video_metadata: dict[CameraIdString, VideoMetadata],
task_config: PosthocMocapPipelineConfig,
reporter: TaskProgressReporter | None = None,
) -> None:
"""
- Run posthoc motion capture on collected mediapipe observations.
+ Run posthoc motion capture on collected skeleton observations.
Args:
- frame_observations: Per-frame dict of {camera_id: MediapipeObservation}.
+ frame_observations: Per-frame dict of {camera_id: Observation}.
recording_info: Recording metadata.
video_metadata: Per-camera metadata.
reporter: Progress reporter for named stage updates.
@@ -67,21 +60,16 @@ def run_posthoc_mocap_aggregator_task(
_reporter = reporter or TaskProgressReporter.noop()
camera_ids = list(video_metadata.keys())
- # ---- Build observation recorders ----
- _reporter.report(stage=MocapStage.BUILDING_RECORDERS, detail="Building observation recorders")
+ # ---- Build observation buffers ----
+ _reporter.report(stage=MocapStage.BUILDING_RECORDERS, detail="Building observation buffers")
- observation_recorders: dict[CameraIdString, BaseRecorder] = {
- cam_id: BaseRecorder() for cam_id in camera_ids
+ observation_recorders: dict[CameraIdString, ObservationBuffer] = {
+ cam_id: ObservationBuffer() for cam_id in camera_ids
}
for frame_idx, frame_obs in enumerate(frame_observations):
for cam_id, obs in frame_obs.items():
- if not isinstance(obs, RTMPoseObservation) and not isinstance(obs, MediapipeObservation):
- raise TypeError(
- f"Expected MediapipeObservation for camera {cam_id} frame {frame_idx}, "
- f"got {type(obs).__name__}"
- )
- observation_recorders[cam_id].add_observation(observation=obs)
+ observation_recorders[cam_id].add_observation(obs)
# ---- Get calibration path: explicit path wins; else fall back to most-recent ----
if task_config.calibration_toml_path:
@@ -103,8 +91,11 @@ def run_posthoc_mocap_aggregator_task(
# ---- Copy calibration file into recording folder ----
recording_folder = Path(recording_info.full_recording_path)
recording_calibration_copy = recording_folder / calibration_toml_path.name
- shutil.copy2(calibration_toml_path, recording_calibration_copy)
- logger.info(f"Copied calibration file to recording folder: {recording_calibration_copy}")
+ if calibration_toml_path.resolve() != recording_calibration_copy.resolve():
+ shutil.copy2(calibration_toml_path, recording_calibration_copy)
+ logger.info(f"Copied calibration file to recording folder: {recording_calibration_copy}")
+ else:
+ logger.info(f"Calibration file already in recording folder, skipping copy: {recording_calibration_copy}")
# ---- Run skeleton triangulation ----
_reporter.report(stage=MocapStage.TRIANGULATING, detail="Triangulating skeleton")
@@ -113,17 +104,14 @@ def run_posthoc_mocap_aggregator_task(
output_folder = Path(recording_info.full_recording_path) / "output_data"
skeleton = skeleton_from_mediapipe_observation_recorders(
+ detector= task_config.detector_type,
observation_recorders=observation_recorders,
path_to_calibration_toml=calibration_toml_path,
path_to_output_data_folder=output_folder,
)
# ---- Save tracker schema alongside outputs ----
- first_obs = next(iter(frame_observations[0].values()))
- if isinstance(first_obs, MediapipeObservation):
- definition = MEDIAPIPE_HOLISTIC_DEFINITION
- else:
- definition = RTMPOSE_WHOLEBODY_DEFINITION
+ definition = RTMPOSE_WHOLEBODY_DEFINITION
schema_path = recording_folder / "tracker_schema.json"
schema_path.write_text(json.dumps(definition.model_dump(), indent=2))
diff --git a/freemocap/core/tasks/mocap/rigid_body/skeleton_rigidifier.py b/freemocap/core/tasks/mocap/rigid_body/skeleton_rigidifier.py
index 2009af68..a8c83f73 100644
--- a/freemocap/core/tasks/mocap/rigid_body/skeleton_rigidifier.py
+++ b/freemocap/core/tasks/mocap/rigid_body/skeleton_rigidifier.py
@@ -21,32 +21,45 @@ import time
from collections import deque
from dataclasses import dataclass, field
from pathlib import Path
+from typing import Literal
import numpy as np
-import skellytracker
from skellyforge.skellymodels.models.anatomical_structure import AnatomicalStructure
from skellyforge.skellymodels.models.tracking_model_info import (
CanonicalBodyModelInfo,
CanonicalHandModelInfo,
)
-from skellytracker.trackers.base_tracker.tracker_mapping import TrackerMapping
+from skellytracker.core.detectors.keypoint_detectors.mediapipe.body.mediapipe_pose_detector import (
+ MediapipePoseKeypointDetector,
+)
+from skellytracker.core.detectors.keypoint_detectors.mediapipe.hands.mediapipe_hand_detector import (
+ MediapipeHandKeypointDetector,
+)
+from skellytracker.core.detectors.keypoint_detectors.rtmpose.body.rtmpose_body_detector import (
+ RTMPoseBodyDetector,
+)
+from skellytracker.core.detectors.keypoint_detectors.rtmpose.hand.rtmpose_hand_detector import (
+ RTMPoseHandDetector,
+)
+from skellytracker.core.io.tracker_mapping import TrackerMapping
from freemocap.core.tasks.mocap.rigid_body.online_segment_lengths import OnlineBoneLengths
# Direction used for a bone that has never been observed (no carried direction).
_FALLBACK_DIRECTION: np.ndarray = np.array([0.0, 1.0, 0.0])
-# Tracker->canonical mapping YAMLs (shipped with the skellytracker package).
-_SKELLYTRACKER_TRACKERS_DIR = Path(skellytracker.__file__).parent / "trackers"
-_RTMPOSE_BODY_MAPPING_YAML = (
- _SKELLYTRACKER_TRACKERS_DIR
- / "rtmpose_tracker" / "names_and_connections" / "rtmpose_body_to_canonical_mapping.yaml"
-)
-_RTMPOSE_HAND_MAPPING_YAML = (
- _SKELLYTRACKER_TRACKERS_DIR
- / "rtmpose_tracker" / "names_and_connections" / "rtmpose_hand_to_canonical_mapping.yaml"
-)
+# Tracker->canonical mapping YAMLs (shipped with skellytracker), keyed by
+# CameraNodeConfig.detector_type so RealtimeSkeletonRigidifier.create() can
+# pick the mapping that matches the configured detector's keypoint names.
+_BODY_MAPPING_YAML_BY_DETECTOR: dict[str, Path] = {
+ "rtmpose": RTMPoseBodyDetector.canonical_mapping_path(),
+ "mediapipe": MediapipePoseKeypointDetector.canonical_mapping_path(),
+}
+_HAND_MAPPING_YAML_BY_DETECTOR: dict[str, Path] = {
+ "rtmpose": RTMPoseHandDetector.canonical_mapping_path(),
+ "mediapipe": MediapipeHandKeypointDetector.canonical_mapping_path(),
+}
class TreeRigidifier:
@@ -139,11 +152,11 @@ class TreeRigidifier:
def _build_hand_mapping(yaml_path: Path, *, side: str) -> tuple[TrackerMapping, dict[str, str]]:
"""Build a hand tracker->canonical mapping + a canonical->tracker reverse map.
- RTMPose composes hand landmarks with a uniform ``{side}_hand_`` prefix
- (``right_hand_thumb1`` ...), so the mapping strips that prefix to match the
- unprefixed entries in the mapping YAML (``thumb1`` ...). The reverse map
- converts fitted canonical hand names back to tracker names so they key into
- the frontend's RTMPose hand schema.
+ Both RTMPose and MediaPipe compose hand landmarks with a uniform
+ ``{side}_hand_`` prefix (``right_hand_thumb1`` ...), so the mapping strips
+ that prefix to match the unprefixed entries in the mapping YAML
+ (``thumb1`` ...). The reverse map converts fitted canonical hand names back
+ to tracker names so they key into the frontend's hand schema.
"""
import yaml
with open(yaml_path, "r", encoding="utf-8") as fh:
@@ -193,9 +206,10 @@ def _hand_errors(
Parameters
----------
errors : dict[str, float] | None
- Per-tracker-keypoint reprojection errors (px), keyed by RTMPose
- tracker names (e.g. ``"right_hand_thumb1"``). ``None`` means no
- errors are available β€” all samples are treated as equally confident.
+ Per-tracker-keypoint reprojection errors (px), keyed by the configured
+ detector's side-prefixed tracker names (e.g. ``"right_hand_thumb1"``
+ for RTMPose). ``None`` means no errors are available β€” all samples are
+ treated as equally confident.
name_to_tracker : dict[str, str]
Reverse map from canonical hand landmark name to side-prefixed
tracker name, as built by ``_build_hand_mapping``. For example
@@ -227,9 +241,11 @@ def _hand_errors(
class RigidifyResult:
"""Rigidified skeleton positions for one frame.
- Body positions use canonical landmark names; hand positions use RTMPose
- tracker names (``right_hand_thumb1`` ...) so they key into the frontend's
- hand schema. Trees with insufficient data (missing root) come back empty.
+ Body positions use canonical landmark names; hand positions use the
+ configured detector's side-prefixed tracker names (``right_hand_thumb1``
+ for RTMPose, ``right_hand_thumb_cmc`` for MediaPipe) so they key into the
+ frontend's hand schema. Trees with insufficient data (missing root) come
+ back empty.
"""
body_positions: dict[str, np.ndarray]
@@ -241,8 +257,10 @@ class RigidifyResult:
class RealtimeSkeletonRigidifier:
"""Per-frame rigid-body skeleton correction: map -> estimate -> rigidify.
- Created once at aggregator init. Each frame: map RTMPose keypoints onto the
- canonical body + hand models, update each bone's online length estimate
+ Created once at aggregator init for a specific detector type (RTMPose or
+ MediaPipe β€” see ``create``). Each frame: map the configured detector's raw
+ keypoints onto the canonical body + hand models, update each bone's online
+ length estimate
(a best-K-by-reprojection-error median), and run a single closed-form
forward pass that holds those lengths while following the observed pose.
@@ -272,6 +290,7 @@ class RealtimeSkeletonRigidifier:
def create(
cls,
*,
+ detector_type: Literal["rtmpose", "mediapipe"] = "rtmpose",
height_mm: float = 1750.0,
buffer_capacity: int = 64,
decay_tau_s: float = 30.0,
@@ -283,6 +302,11 @@ class RealtimeSkeletonRigidifier:
Parameters
----------
+ detector_type : "rtmpose" | "mediapipe"
+ Which detector's raw keypoint names to map from β€” must match
+ ``CameraNodeConfig.detector_type`` for the pipeline this rigidifier
+ is attached to, since the two detectors use different keypoint
+ naming conventions.
height_mm : float
Subject standing height (mm); scales the anthropometric bone-length
seeds used until real observations accumulate.
@@ -307,9 +331,10 @@ class RealtimeSkeletonRigidifier:
if hand_anatomy.joint_hierarchy is None:
raise ValueError("Canonical hand model has no joint_hierarchy")
- body_mapping = TrackerMapping.from_yaml(_RTMPOSE_BODY_MAPPING_YAML)
- hand_mapping_r, name_to_tracker_r = _build_hand_mapping(_RTMPOSE_HAND_MAPPING_YAML, side="right")
- hand_mapping_l, name_to_tracker_l = _build_hand_mapping(_RTMPOSE_HAND_MAPPING_YAML, side="left")
+ body_mapping = TrackerMapping.from_yaml(_BODY_MAPPING_YAML_BY_DETECTOR[detector_type])
+ hand_yaml = _HAND_MAPPING_YAML_BY_DETECTOR[detector_type]
+ hand_mapping_r, name_to_tracker_r = _build_hand_mapping(hand_yaml, side="right")
+ hand_mapping_l, name_to_tracker_l = _build_hand_mapping(hand_yaml, side="left")
body_seeds = _seeds_from_ratios(
joint_hierarchy=body_anatomy.joint_hierarchy,
@@ -354,14 +379,15 @@ class RealtimeSkeletonRigidifier:
t: float | None = None,
errors: dict[str, float] | None = None,
) -> RigidifyResult:
- """Rigidify one frame of RTMPose keypoints.
+ """Rigidify one frame of the configured detector's raw keypoints.
``errors`` (optional) maps **tracker** keypoint name -> reprojection
error (px); the bone-length estimator uses it to rank/gate samples so
- high-error frames don't corrupt the lengths. Body limb landmarks share
- names with the canonical model (1:1 COCO), so they are used directly;
- hand errors are remapped from the side-prefixed tracker names. When
- absent, samples are treated as equally confident.
+ high-error frames don't corrupt the lengths. Most body limb landmarks
+ share names with the canonical model directly (both RTMPose and
+ MediaPipe use core COCO limb names); hand errors are remapped from the
+ side-prefixed tracker names. When absent, samples are treated as
+ equally confident.
"""
if t is None:
t = time.perf_counter()
diff --git a/freemocap/core/tasks/triangulation/helpers/project_single_camera.py b/freemocap/core/tasks/triangulation/helpers/project_single_camera.py
index 89ae6547..1af394a5 100644
--- a/freemocap/core/tasks/triangulation/helpers/project_single_camera.py
+++ b/freemocap/core/tasks/triangulation/helpers/project_single_camera.py
@@ -16,24 +16,27 @@ from freemocap.core.tasks.triangulation.helpers.triangulation_result import Tria
def project_2d_observation_to_3d(
*,
- observation, # BaseObservation
+ observation, # skellytracker.core.data_primitives.observation.Observation
) -> dict[str, NDArray[np.float64]]:
"""Project a single camera's per-frame observation to 3D on the Y=0 plane.
- Uses the fast-path convention: observation.points.xy + observation.points.names.
Returns {point_name: ndarray(3,)} β€” the same shape try_angulate() returns
for multi-camera triangulation.
"""
- xy = observation.points.xy # (n_points, 2)
- names = observation.points.names # tuple[str, ...]
+ kpts = observation.to_keypoints()
+ xy = kpts.xyz[:, :2] # (n_points, 2)
+ names = kpts.names # tuple[str, ...]
h, w = observation.image_size # (height, width) in pixels
+ # Strip the stage prefix that Observation.to_keypoints() adds ("body.nose" β†’ "nose")
result: dict[str, NDArray[np.float64]] = {}
for i, name in enumerate(names):
u, v = xy[i]
if np.isnan(u) or np.isnan(v):
continue
- result[name] = np.array([u - w / 2, 0.0, h - v], dtype=np.float64)
+ dot = name.find(".")
+ canonical = name[dot + 1:] if dot != -1 else name
+ result[canonical] = np.array([u - w / 2, 0.0, h - v], dtype=np.float64)
return result
diff --git a/freemocap/core/tracking/__init__.py b/freemocap/core/tracking/__init__.py
new file mode 100644
index 00000000..e69de29b
diff --git a/freemocap/core/tracking/observation_buffer.py b/freemocap/core/tracking/observation_buffer.py
new file mode 100644
index 00000000..773543a8
--- /dev/null
+++ b/freemocap/core/tracking/observation_buffer.py
@@ -0,0 +1,66 @@
+"""ObservationBuffer: lightweight replacement for skellytracker's BaseRecorder.
+
+Collects per-frame Observation objects from the new skellytracker API and
+provides array-conversion helpers used by triangulation and calibration tasks.
+"""
+from __future__ import annotations
+
+import numpy as np
+from numpy.typing import NDArray # noqa: TC002
+from skellytracker.core.data_primitives.observation import Observation # noqa: TC002
+
+
+class ObservationBuffer:
+ """Collects Observation objects and converts them to numpy arrays.
+
+ Replaces the old skellytracker BaseRecorder which is no longer part of
+ the public API.
+ """
+
+ def __init__(self) -> None:
+ self.observations: list[Observation] = []
+
+ def add_observation(self, observation: Observation) -> None:
+ self.observations.append(observation)
+
+ def to_keypoints_array(self) -> NDArray[np.float64]:
+ """Return (frames, keypoints, 3) array by merging all stages per frame.
+
+ Equivalent to the old BaseRecorder.to_array which called
+ observation.to_2d_array() (which itself returned full xyz).
+ """
+ return np.stack([obs.to_keypoints().xyz for obs in self.observations]).astype(np.float64)
+
+ def to_stage_array(self, stage_name: str, n_points: int | None = None) -> NDArray[np.float64]:
+ """Return (frames, n_points, 3) array from a single named stage.
+
+ Undetected points have visibility=0 in the source and NaN xy in the
+ returned array. If n_points is given, only the first n_points keypoints
+ are returned (useful for charuco, which prefixes charuco corners before
+ aruco marker corners).
+
+ Args:
+ stage_name: Key in Observation.stages (e.g., "charuco", "body").
+ n_points: If set, clamp output to the first n_points keypoints.
+ """
+ arrays: list[NDArray[np.float64]] = []
+ for obs in self.observations:
+ stage = obs.stages.get(stage_name)
+ if stage is None or stage.keypoints is None:
+ raise ValueError(
+ f"ObservationBuffer.to_stage_array: stage {stage_name!r} missing "
+ f"from observation at frame {obs.frame_number}"
+ )
+ kpts = stage.keypoints
+ xyz = kpts.xyz if n_points is None else kpts.xyz[:n_points]
+ vis = kpts.visibility if n_points is None else kpts.visibility[:n_points]
+ xyz_out = xyz.copy().astype(np.float64)
+ xyz_out[vis <= 0.0] = np.nan
+ arrays.append(xyz_out)
+ return np.stack(arrays)
+
+ def clear(self) -> None:
+ self.observations.clear()
+
+ def __len__(self) -> int:
+ return len(self.observations)
diff --git a/freemocap/core/tracking/tracker_definitions.py b/freemocap/core/tracking/tracker_definitions.py
new file mode 100644
index 00000000..520b9eb2
--- /dev/null
+++ b/freemocap/core/tracking/tracker_definitions.py
@@ -0,0 +1,94 @@
+"""Lightweight definitions for tracker keypoint schemas.
+
+Provides RTMPOSE_WHOLEBODY_DEFINITION and MEDIAPIPE_BODY_DEFINITION as simple
+named objects with .name, .tracked_points, and .connections fields, loaded from
+the new skellytracker core YAML files. These replace imports from the old
+skellytracker.trackers.*.names_and_connections modules.
+"""
+from __future__ import annotations
+
+from pathlib import Path
+
+from pydantic import BaseModel
+
+import skellytracker
+from skellytracker.core.detectors.keypoint_detectors._schema_loader import (
+ load_connections,
+ load_point_names,
+)
+
+_CORE_DETECTORS = Path(skellytracker.__file__).parent / "core" / "detectors" / "keypoint_detectors"
+
+
+class TrackerDefinition(BaseModel):
+ """Schema of named keypoints + skeleton connections for a tracker."""
+
+ name: str
+ tracked_points: tuple[str, ...]
+ connections: tuple[tuple[str, str], ...]
+
+
+def _load(yaml_path: Path, name: str) -> TrackerDefinition:
+ return TrackerDefinition(
+ name=name,
+ tracked_points=load_point_names(yaml_path),
+ connections=load_connections(yaml_path),
+ )
+
+
+RTMPOSE_WHOLEBODY_DEFINITION: TrackerDefinition = _load(
+ _CORE_DETECTORS / "rtmpose" / "wholebody" / "rtmpose_wholebody.yaml",
+ name="rtmpose_wholebody",
+)
+
+MEDIAPIPE_BODY_DEFINITION: TrackerDefinition = _load(
+ _CORE_DETECTORS / "mediapipe" / "body" / "mediapipe_body.yaml",
+ name="mediapipe_body",
+)
+
+_BODY_YAML = _CORE_DETECTORS / "mediapipe" / "body" / "mediapipe_body.yaml"
+_HAND_YAML = _CORE_DETECTORS / "mediapipe" / "hands" / "mediapipe_hand.yaml"
+_FACE_YAML = _CORE_DETECTORS / "mediapipe" / "face" / "mediapipe_face_contour.yaml"
+_MEDIAPIPE_STAGE = "body"
+
+
+def _build_mediapipe_wholebody() -> TrackerDefinition:
+ """Build a composite MediaPipe wholebody definition matching the runtime point names.
+
+ Both the single-camera projection path and the multi-camera triangulation
+ path strip the stage prefix that Observation.to_keypoints() adds, so
+ keypoints_arrays keys arrive without any "body." prefix:
+ - Body: nose, left_shoulder, ...
+ - Hands: right_hand_wrist, left_hand_wrist, ... (hand detector adds
+ right_hand_/left_hand_ prefix internally; stage prefix is then stripped)
+ - Face: face_0000, face_0007, ...
+ """
+ body_points = load_point_names(_BODY_YAML)
+ body_connections = load_connections(_BODY_YAML)
+ hand_points = load_point_names(_HAND_YAML)
+ hand_connections = load_connections(_HAND_YAML)
+ face_points = load_point_names(_FACE_YAML)
+ face_connections = load_connections(_FACE_YAML)
+
+ tracked_points: tuple[str, ...] = (
+ tuple(body_points)
+ + tuple(f"right_hand_{p}" for p in hand_points)
+ + tuple(f"left_hand_{p}" for p in hand_points)
+ + tuple(face_points)
+ )
+
+ connections: tuple[tuple[str, str], ...] = (
+ tuple(body_connections)
+ + tuple((f"right_hand_{a}", f"right_hand_{b}") for a, b in hand_connections)
+ + tuple((f"left_hand_{a}", f"left_hand_{b}") for a, b in hand_connections)
+ + tuple(face_connections)
+ )
+
+ return TrackerDefinition(
+ name="mediapipe_wholebody",
+ tracked_points=tracked_points,
+ connections=connections,
+ )
+
+
+MEDIAPIPE_WHOLEBODY_DEFINITION: TrackerDefinition = _build_mediapipe_wholebody()
diff --git a/freemocap/core/tracking/tracker_factory.py b/freemocap/core/tracking/tracker_factory.py
new file mode 100644
index 00000000..b446dc60
--- /dev/null
+++ b/freemocap/core/tracking/tracker_factory.py
@@ -0,0 +1,211 @@
+"""Factory functions for building skellytracker Tracker instances.
+
+Centralizes all Tracker.create() calls so import side-effects (detector
+registration), config construction, and session creation live in one place.
+
+All other modules should import from here rather than calling Tracker.create()
+directly, so the registry-side-effect imports are guaranteed to have run.
+"""
+from __future__ import annotations
+
+import logging
+from pathlib import Path
+
+import skellytracker.core.detectors.keypoint_detectors.charuco # noqa: F401 (registry)
+import skellytracker.core.detectors.keypoint_detectors.mediapipe # noqa: F401 (registry)
+import skellytracker.core.detectors.keypoint_detectors.rtmpose # noqa: F401 (registry)
+import skellytracker.core.detectors.object_detectors.yolox # noqa: F401 (registry)
+
+from skellytracker.core import (
+ DetectionStageConfig,
+ Tracker,
+ TrackerConfig,
+)
+from skellytracker.core.detectors.keypoint_detectors.charuco import (
+ CharucoBoardDefinition,
+ CharucoDetectorConfig,
+)
+from skellytracker.core.detectors.keypoint_detectors.rtmpose import (
+ RTMPoseDetectorConfig,
+)
+from skellytracker.core.detectors.object_detectors.yolox import (
+ YoloxPersonDetector,
+ YoloxPersonDetectorConfig,
+)
+from skellytracker.core.sessions.cpu_session import CpuSession, CpuSessionConfig
+from skellytracker.core.sessions.onnx_session import OnnxSession, OnnxSessionConfig
+from skellytracker.core.sessions.execution_provider_name import ExecutionProviderName # noqa: TC002
+from skellytracker.core.temporal_processing.temporal_processing_config import (
+ BBoxPolicyConfig,
+ BBoxSmoothingConfig,
+ KeypointResetPolicyConfig,
+ KeypointsWithinBBoxRatioConfig,
+)
+
+logger = logging.getLogger(__name__)
+
+
+def build_charuco_tracker(board_def: CharucoBoardDefinition) -> tuple[Tracker, CpuSession]:
+ """Build a charuco board tracker backed by a CpuSession.
+
+ Returns both the Tracker and the underlying CpuSession so the caller can
+ call tracker.close() / session.close() when done.
+ """
+ session = CpuSession.create(CpuSessionConfig())
+ config = TrackerConfig(
+ stages=[
+ DetectionStageConfig(
+ name="charuco",
+ keypoint_detectors=[CharucoDetectorConfig(board=board_def)],
+ )
+ ]
+ )
+ tracker = Tracker.create(config, {"cpu": session})
+ return tracker, session
+
+
+def build_skeleton_onnx_session(
+ *,
+ batch_size: int,
+ execution_provider: ExecutionProviderName | None = None,
+ device_id: int | None = None,
+ model_name: str = "rtmw-x-l_256x192",
+ yolox_model_name: str = "yolox-m",
+) -> OnnxSession:
+ """Create an OnnxSession for RTMPose+YOLOX inference.
+
+ Args:
+ batch_size: Number of cameras (images) per batched inference call.
+ execution_provider: Force a specific provider ('cuda', 'trt', 'cpu',
+ etc.). None = auto-detect best available.
+ device_id: GPU device index. None = auto-select.
+ model_name: RTMPose model variant.
+ yolox_model_name: YOLOX person detector model variant.
+ """
+ from skellytracker.core.detectors.keypoint_detectors.rtmpose import (
+ RTMPoseKeypointDetector,
+ RTMPOSE_MODEL_SPECS,
+ )
+
+ yolox_spec = YoloxPersonDetector.model_spec(yolox_model_name)
+ rtmpose_spec = RTMPoseKeypointDetector.model_spec(model_name)
+
+ session = OnnxSession.create(
+ OnnxSessionConfig(
+ batch_size=batch_size,
+ models=[yolox_spec, rtmpose_spec],
+ execution_provider=execution_provider,
+ device_id=device_id,
+ )
+ )
+ return session
+
+
+_REDETECT_SECONDS = 5.0
+
+
+def build_skeleton_tracker(
+ *,
+ onnx_session: OnnxSession,
+ model_name: str = "rtmw-x-l_256x192",
+ confidence_threshold: float = 0.004,
+ video_fps: float = 30.0,
+ keypoint_bbox_expansion: float = 0.05,
+) -> Tracker:
+ """Build a body-pose Tracker (RTMPose + YOLOX) backed by an OnnxSession.
+
+ The session must have been created with build_skeleton_onnx_session() using
+ matching model names.
+ """
+ redetect_interval = max(1, round(_REDETECT_SECONDS * video_fps))
+ config = TrackerConfig(
+ stages=[
+ DetectionStageConfig(
+ name="body",
+ object_detector=YoloxPersonDetectorConfig(),
+ keypoint_detectors=[
+ RTMPoseDetectorConfig(
+ model_name=model_name,
+ confidence_threshold=confidence_threshold,
+ )
+ ],
+ bbox_policy=BBoxPolicyConfig(
+ redetect_interval=redetect_interval,
+ keypoint_bbox_expansion=keypoint_bbox_expansion,
+ fitness_checks=[KeypointsWithinBBoxRatioConfig(threshold=0.5)],
+ min_shrink_ratio_per_frame=0.995,
+ min_bbox_size_px=80.0,
+ ),
+ bbox_smoothing=BBoxSmoothingConfig(alpha=0.4),
+ )
+ ]
+ )
+ return Tracker.create(config, {"onnx": onnx_session})
+
+
+def build_mediapipe_tracker(
+ *,
+ model_complexity=None,
+ detection_confidence: float = 0.5,
+ presence_confidence: float = 0.5,
+ tracking_confidence: float = 0.5,
+ num_hands: int = 2,
+ num_faces: int = 1,
+) -> tuple[Tracker, object]:
+ """Build a MediaPipe body+hands+face Tracker backed by a MediaPipeSession.
+
+ Returns (tracker, session). The session type is MediaPipeSession from
+ skellytracker.core.sessions.mediapipe_session.
+ """
+ from skellytracker.core.detectors.keypoint_detectors.mediapipe.body.mediapipe_pose_detector import (
+ MediapipePoseDetectorConfig,
+ )
+ from skellytracker.core.detectors.keypoint_detectors.mediapipe.face.mediapipe_face_detector import (
+ MediapipeFaceDetectorConfig,
+ )
+ from skellytracker.core.detectors.keypoint_detectors.mediapipe.hands.mediapipe_hand_detector import (
+ MediapipeHandDetectorConfig,
+ )
+ from skellytracker.core.detectors.keypoint_detectors.mediapipe.mediapipe_model_manager import (
+ MediapipePoseModelComplexity,
+ )
+ from skellytracker.core.sessions.mediapipe_session import (
+ MediaPipeSession,
+ MediaPipeSessionConfig,
+ )
+
+ if model_complexity is None:
+ model_complexity = MediapipePoseModelComplexity.HEAVY
+
+ session = MediaPipeSession.create(MediaPipeSessionConfig())
+ config = TrackerConfig(
+ stages=[
+ DetectionStageConfig(
+ name="body",
+ keypoint_detectors=[
+ MediapipePoseDetectorConfig(
+ model_complexity=model_complexity,
+ num_poses=1,
+ min_pose_detection_confidence=detection_confidence,
+ min_pose_presence_confidence=presence_confidence,
+ min_pose_tracking_confidence=tracking_confidence,
+ ),
+ MediapipeHandDetectorConfig(
+ num_hands=num_hands,
+ min_hand_detection_confidence=detection_confidence,
+ min_hand_presence_confidence=presence_confidence,
+ min_hand_tracking_confidence=tracking_confidence,
+ ),
+ MediapipeFaceDetectorConfig(
+ num_faces=num_faces,
+ min_face_detection_confidence=detection_confidence,
+ min_face_presence_confidence=presence_confidence,
+ min_face_tracking_confidence=tracking_confidence,
+ ),
+ ],
+ keypoint_reset_policy=KeypointResetPolicyConfig(max_consecutive_misses=10),
+ )
+ ]
+ )
+ tracker = Tracker.create(config, {"mediapipe": session})
+ return tracker, session
diff --git a/freemocap/core/viz/frontend_keypoints_serializer.py b/freemocap/core/viz/frontend_keypoints_serializer.py
index c2a86d63..fb47ced1 100644
--- a/freemocap/core/viz/frontend_keypoints_serializer.py
+++ b/freemocap/core/viz/frontend_keypoints_serializer.py
@@ -119,11 +119,13 @@ def build_keypoints_payload(
point_names: tuple[str, ...] | list[str],
keypoints_arrays: dict[str, np.ndarray],
skeleton_arrays: dict[str, np.ndarray] | None = None,
+ embed_keypoint_names: bool = False,
) -> bytearray:
"""Serialize the per-frame 3D keypoints + skeleton into the binary wire format.
Emits, in order:
- * a schema-backed KEYPOINTS_3D block of RTMPose points,
+ * a KEYPOINTS_3D block (schema-backed when embed_keypoint_names=False,
+ self-describing when embed_keypoint_names=True),
* an embedded-names KEYPOINTS_3D block for charuco/aruco calibration
corners (no tracker schema on the frontend), when present,
* an embedded-names SKELETON_3D block of the rigidified canonical
@@ -131,13 +133,15 @@ def build_keypoints_payload(
"""
blocks: list[bytes] = []
- # RTMPose keypoints (schema-backed β€” point names from tracker_schemas).
+ # Primary keypoints block. RTMPose uses schema-backed (no embedded names);
+ # mediapipe uses embedded names since there is no frontend schema for it.
blocks.append(
_build_block(
kind=BlockKind.KEYPOINTS_3D,
tracker_id=tracker_id,
point_names=point_names,
sparse_arrays=keypoints_arrays,
+ embed_names=embed_keypoint_names,
)
)
diff --git a/freemocap/core/viz/image_overlay/charuco_overlay_data.py b/freemocap/core/viz/image_overlay/charuco_overlay_data.py
index 702fae2e..c17d34c8 100644
--- a/freemocap/core/viz/image_overlay/charuco_overlay_data.py
+++ b/freemocap/core/viz/image_overlay/charuco_overlay_data.py
@@ -1,6 +1,6 @@
import msgspec
from skellycam.core.types.type_overloads import CameraIdString
-from skellytracker.trackers.charuco_tracker.charuco_observation import CharucoObservation
+from skellytracker.core.data_primitives.observation import Observation
class CharucoPointModel(msgspec.Struct):
@@ -22,7 +22,6 @@ class CharucoMetadataModel(msgspec.Struct):
n_charuco_total: int
n_aruco_detected: int
n_aruco_total: int
- has_pose: bool
image_width: int
image_height: int
@@ -37,66 +36,81 @@ class CharucoOverlayData(msgspec.Struct):
aruco_markers: list[ArucoMarkerModel] = []
@classmethod
- def from_charuco_observation(
+ def from_observation(
cls,
*,
camera_id: CameraIdString,
- observation: CharucoObservation,
- scale: float = 1.0, ):
- """
- Convert CharucoObservation to Pydantic message model for websocket transmission.
+ observation: Observation,
+ scale: float = 1.0,
+ ) -> "CharucoOverlayData":
+ stage = observation.stages.get("charuco")
+ if stage is None or stage.keypoints is None:
+ return cls(
+ camera_id=camera_id,
+ frame_number=observation.frame_number,
+ charuco_corners=[],
+ aruco_markers=[],
+ metadata=CharucoMetadataModel(
+ n_charuco_detected=0, n_charuco_total=0,
+ n_aruco_detected=0, n_aruco_total=0,
+ image_width=observation.image_size[1],
+ image_height=observation.image_size[0],
+ ),
+ )
- Args:
- camera_id: ID of the camera that produced this observation
- observation: The CharucoObservation to serialize
-
- Returns:
- CharucoObservationMessage ready for JSON serialization
- """
-
- # Build Charuco corner models
+ kpts = stage.keypoints
charuco_corners: list[CharucoPointModel] = []
- if not observation.charuco_empty:
- for corner_id, corner_coords in observation.charuco_corners_dict.items():
- charuco_corners.append(
- CharucoPointModel(
- id=int(corner_id),
- x=float(corner_coords[0]) * scale,
- y=float(corner_coords[1]) * scale,
+ # marker_id -> list of 4 corner coords, indexed by j
+ aruco_corner_map: dict[int, list[tuple[float, float] | None]] = {}
+ n_charuco_total = 0
+ n_aruco_markers = 0
+
+ for i, name in enumerate(kpts.names):
+ if name.startswith("CharucoCorner-"):
+ corner_id = int(name.split("-")[1])
+ n_charuco_total += 1
+ if kpts.visibility[i] > 0.0:
+ charuco_corners.append(
+ CharucoPointModel(
+ id=corner_id,
+ x=float(kpts.xyz[i, 0]) * scale,
+ y=float(kpts.xyz[i, 1]) * scale,
+ )
+ )
+ elif name.startswith("ArucoMarkerCorner-"):
+ parts = name.split("-")
+ marker_id = int(parts[1])
+ j = int(parts[2])
+ if marker_id not in aruco_corner_map:
+ aruco_corner_map[marker_id] = [None] * 4
+ n_aruco_markers += 1
+ if kpts.visibility[i] > 0.0:
+ aruco_corner_map[marker_id][j] = (
+ float(kpts.xyz[i, 0]) * scale,
+ float(kpts.xyz[i, 1]) * scale,
)
- )
- # Build ArUco marker models
aruco_markers: list[ArucoMarkerModel] = []
- if not observation.aruco_empty:
- for marker_id, marker_corners in observation.aruco_corners_dict.items():
+ n_aruco_detected = 0
+ for marker_id, corners in aruco_corner_map.items():
+ filled = [corner for corner in corners if corner is not None]
+ if len(filled) == 4:
aruco_markers.append(
- ArucoMarkerModel(
- id=int(marker_id),
- corners=[
- (float(marker_corners[i][0] * scale),
- float(marker_corners[i][1] * scale))
- for i in range(4)
- ],
- )
+ ArucoMarkerModel(id=marker_id, corners=filled)
)
+ n_aruco_detected += 1
- # Build metadata model
- metadata = CharucoMetadataModel(
- n_charuco_detected=0 if observation.charuco_empty else len(observation.detected_charuco_corner_ids),
- n_charuco_total=len(observation.all_charuco_ids),
- n_aruco_detected=0 if observation.aruco_empty else len(observation.detected_aruco_marker_ids),
- n_aruco_total=len(observation.all_aruco_ids),
- has_pose=observation.charuco_board_translation_vector is not None,
- image_width=observation.image_size[1],
- image_height=observation.image_size[0],
- )
-
- # Build complete message
return cls(
camera_id=camera_id,
frame_number=observation.frame_number,
charuco_corners=charuco_corners,
aruco_markers=aruco_markers,
- metadata=metadata,
+ metadata=CharucoMetadataModel(
+ n_charuco_detected=len(charuco_corners),
+ n_charuco_total=n_charuco_total,
+ n_aruco_detected=n_aruco_detected,
+ n_aruco_total=n_aruco_markers,
+ image_width=observation.image_size[1],
+ image_height=observation.image_size[0],
+ ),
)
diff --git a/freemocap/core/viz/image_overlay/skeleton_overlay_data.py b/freemocap/core/viz/image_overlay/skeleton_overlay_data.py
index b4d0eb71..b593f734 100644
--- a/freemocap/core/viz/image_overlay/skeleton_overlay_data.py
+++ b/freemocap/core/viz/image_overlay/skeleton_overlay_data.py
@@ -13,8 +13,9 @@ not editing renderer code on either side.
import msgspec
import numpy as np
from skellycam.core.types.type_overloads import CameraIdString
-from skellytracker.trackers.rtmpose_tracker.names_and_connections import RTMPOSE_WHOLEBODY_DEFINITION
-from skellytracker.trackers.rtmpose_tracker.rtmpose_observation import RTMPoseObservation
+from skellytracker.core.data_primitives.observation import Observation
+
+from freemocap.core.tracking.tracker_definitions import RTMPOSE_WHOLEBODY_DEFINITION, MEDIAPIPE_WHOLEBODY_DEFINITION
class SkeletonPointModel(msgspec.Struct):
@@ -46,64 +47,69 @@ class SkeletonOverlayData(msgspec.Struct):
bbox_y1: float = float("nan")
bbox_x2: float = float("nan")
bbox_y2: float = float("nan")
- # True = bbox from YOLOX detector, False = from tracking prediction.
- bbox_from_detector: bool = True
+ # True when the YOLOX detector actually ran this frame (redetect); False when the
+ # bbox was carried over/predicted from tracked keypoints.
+ bbox_from_detector: bool = False
@classmethod
- def from_rtmpose_observation(
+ def from_observation(
cls,
*,
camera_id: CameraIdString,
- observation: RTMPoseObservation,
+ observation: Observation,
scale: float = 1.0,
+ tracker_definition_name: str = RTMPOSE_WHOLEBODY_DEFINITION.name,
) -> "SkeletonOverlayData":
- """Flatten an RTMPose COCO-WholeBody observation into the schema-driven
- payload.
+ """Flatten a skeleton Observation into the schema-driven payload.
- Names come straight from `observation.points.names`, which already match
- the prefixed names in `RTMPOSE_WHOLEBODY_DEFINITION.tracked_points`
- (`body.*`, `face.*`, `left_hand.*`, `right_hand.*`). NaN rows are dropped.
- RTMPose is 2D only so z is always 0.
+ Names come from the "body" stage keypoints directly (unqualified, e.g.
+ "nose", "right_hand_wrist") so they match the schema connection names.
+ NaN rows are dropped. z is always 0.
"""
- xyz: np.ndarray = observation.points.xyz * scale
- visibility: np.ndarray = observation.points.visibility
- names: tuple[str, ...] = observation.points.names
+ body_stage = observation.stages.get("body")
points: list[SkeletonPointModel] = []
- for i, name in enumerate(names):
- x, y, z = xyz[i]
- if np.isnan(x) or np.isnan(y) or np.isnan(z):
- continue
- points.append(
- SkeletonPointModel(
- name=name,
- x=float(x),
- y=float(y),
- z=float(z),
- visibility=float(visibility[i]),
+ if body_stage is not None and body_stage.keypoints is not None:
+ kpts = body_stage.keypoints
+ xyz: np.ndarray = kpts.xyz * scale
+ visibility: np.ndarray = kpts.visibility
+ names: tuple[str, ...] = kpts.names
+
+ for i, name in enumerate(names):
+ x, y, z = xyz[i]
+ if np.isnan(x) or np.isnan(y):
+ continue
+ points.append(
+ SkeletonPointModel(
+ name=name,
+ x=float(x),
+ y=float(y),
+ z=float(z),
+ visibility=float(visibility[i]),
+ )
)
- )
- # Bbox: (4,) or (1,4) xyxy, or None. Flatten and apply the same scale
- # as the skeleton points so the bbox aligns with the displayed overlay.
- bb = observation.bbox
- if bb is not None:
- flat = np.asarray(bb, dtype=np.float64).reshape(-1)
- if len(flat) < 4:
- bb = None
- else:
- bb = flat[:4] * scale # (4,) float64, scaled to display coords
+ bbox_x1 = bbox_y1 = bbox_x2 = bbox_y2 = float("nan")
+ bbox_from_detector = False
+ if body_stage is not None and body_stage.bounding_boxes:
+ bb = body_stage.bounding_boxes[0]
+ bbox_x1 = float(bb.x1) * scale
+ bbox_y1 = float(bb.y1) * scale
+ bbox_x2 = float(bb.x2) * scale
+ bbox_y2 = float(bb.y2) * scale
+ bbox_from_detector = bool(body_stage.detector_ran)
+
return cls(
camera_id=camera_id,
frame_number=observation.frame_number,
- tracker_id=RTMPOSE_WHOLEBODY_DEFINITION.name,
+ tracker_id=tracker_definition_name,
image_width=observation.image_size[1],
image_height=observation.image_size[0],
message_type="skeleton_overlay",
points=points,
- bbox_x1=float(bb[0]) if bb is not None else float("nan"),
- bbox_y1=float(bb[1]) if bb is not None else float("nan"),
- bbox_x2=float(bb[2]) if bb is not None else float("nan"),
- bbox_y2=float(bb[3]) if bb is not None else float("nan"),
- bbox_from_detector=observation.bbox_from_detector,
+ bbox_x1=bbox_x1,
+ bbox_y1=bbox_y1,
+ bbox_x2=bbox_x2,
+ bbox_y2=bbox_y2,
+ bbox_from_detector=bbox_from_detector,
)
diff --git a/freemocap/pubsub/pubsub_topics.py b/freemocap/pubsub/pubsub_topics.py
index a2e89a84..88f505c5 100644
--- a/freemocap/pubsub/pubsub_topics.py
+++ b/freemocap/pubsub/pubsub_topics.py
@@ -12,7 +12,7 @@ import numpy as np
from skellycam.core.recorders.videos.recording_info import RecordingInfo
from skellycam.core.types.type_overloads import CameraGroupIdString, CameraIdString, MultiframeTimestampFloat
from skellyforge.data_models.trajectory_3d import Point3d
-from skellytracker.trackers.base_tracker.base_tracker_abcs import BaseObservation
+from skellytracker.core.data_primitives.observation import Observation
from freemocap.core.kinematics.body_kinematics_state import BodyKinematicsState
from freemocap.core.pipeline.realtime.realtime_pipeline_config import RealtimePipelineConfig
@@ -25,7 +25,6 @@ from freemocap.core.types.type_overloads import (
from freemocap.pubsub.pubsub_abcs import TopicMessageABC, create_topic
if TYPE_CHECKING:
- from skellytracker.trackers.charuco_tracker.charuco_observation import CharucoObservation
from freemocap.core.viz.image_overlay.charuco_overlay_data import CharucoOverlayData
from freemocap.core.viz.image_overlay.skeleton_overlay_data import SkeletonOverlayData
@@ -62,8 +61,8 @@ class PipelineConfigUpdateMessage(TopicMessageABC):
class CameraNodeOutputMessage(TopicMessageABC):
camera_id: CameraIdString = ""
frame_number: FrameNumberInt = 0
- charuco_observation: BaseObservation | None = None
- skeleton_observation: BaseObservation | None = None
+ charuco_observation: Observation | None = None
+ skeleton_observation: Observation | None = None
def __post_init__(self) -> None:
if self.frame_number < 0:
@@ -82,7 +81,7 @@ class CameraNodeOutputMessage(TopicMessageABC):
@dataclass
class SkeletonInferenceResultMessage(TopicMessageABC):
frame_number: FrameNumberInt = 0
- per_camera_skeleton: dict[CameraIdString, BaseObservation | None] = field(default_factory=dict)
+ per_camera_skeleton: dict[CameraIdString, Observation | None] = field(default_factory=dict)
def __post_init__(self) -> None:
if self.frame_number < 0:
@@ -97,7 +96,7 @@ class SkeletonInferenceResultMessage(TopicMessageABC):
class VideoNodeOutputMessage(TopicMessageABC):
camera_id: CameraIdString = ""
frame_number: FrameNumberInt = 0
- observation: BaseObservation = None
+ observation: Observation = None
def __post_init__(self) -> None:
if self.frame_number < 0:
@@ -134,13 +133,12 @@ class AggregationNodeOutputMessage(TopicMessageABC):
@property
def charuco_overlay_data(self) -> dict:
- from skellytracker.trackers.charuco_tracker.charuco_observation import CharucoObservation
from freemocap.core.viz.image_overlay.charuco_overlay_data import CharucoOverlayData
overlay_data: dict[CameraIdString, CharucoOverlayData] = {}
for camera_id, cam_output in self.camera_node_outputs.items():
- if cam_output.charuco_observation is not None and isinstance(cam_output.charuco_observation, CharucoObservation):
- overlay_data[camera_id] = CharucoOverlayData.from_charuco_observation(
+ if cam_output.charuco_observation is not None:
+ overlay_data[camera_id] = CharucoOverlayData.from_observation(
camera_id=camera_id,
observation=cam_output.charuco_observation,
)
@@ -148,18 +146,27 @@ class AggregationNodeOutputMessage(TopicMessageABC):
@property
def skeleton_overlay_data(self) -> dict:
- # from skellytracker.trackers.legacy_mediapipe_tracker import LegacyMediapipeObservation
from freemocap.core.viz.image_overlay.skeleton_overlay_data import SkeletonOverlayData
- from skellytracker.trackers.rtmpose_tracker.rtmpose_observation import RTMPoseObservation
+ from freemocap.core.tracking.tracker_definitions import RTMPOSE_WHOLEBODY_DEFINITION, MEDIAPIPE_WHOLEBODY_DEFINITION
+
+ detector_type = (
+ self.pipeline_config.camera_node_config.detector_type
+ if self.pipeline_config is not None
+ else "rtmpose"
+ )
+ tracker_def_name = (
+ MEDIAPIPE_WHOLEBODY_DEFINITION.name
+ if detector_type == "mediapipe"
+ else RTMPOSE_WHOLEBODY_DEFINITION.name
+ )
overlay_data: dict[CameraIdString, SkeletonOverlayData] = {}
for camera_id, cam_output in self.camera_node_outputs.items():
- # if cam_output.mediapipe_observation is not None and isinstance(cam_output.mediapipe_observation, LegacyMediapipeObservation):
- if cam_output.skeleton_observation is not None and isinstance(cam_output.skeleton_observation, RTMPoseObservation):
- # overlay_data[camera_id] = SkeletonOverlayData.from_mediapipe_observation(
- overlay_data[camera_id] = SkeletonOverlayData.from_rtmpose_observation(
+ if cam_output.skeleton_observation is not None:
+ overlay_data[camera_id] = SkeletonOverlayData.from_observation(
camera_id=camera_id,
observation=cam_output.skeleton_observation,
+ tracker_definition_name=tracker_def_name,
)
return overlay_data
diff --git a/freemocap/system/default_paths.py b/freemocap/system/default_paths.py
index 7e75e77f..a18a194a 100644
--- a/freemocap/system/default_paths.py
+++ b/freemocap/system/default_paths.py
@@ -1,8 +1,14 @@
+import os
import time
from datetime import datetime
from pathlib import Path
DEFAULT_FREEMOCAP_BASE_FOLDER_NAME = "freemocap_data"
+
+# The Electron shell passes the user-chosen data folder to the Python server via this
+# environment variable. When the server runs standalone (dev/tests) it is unset and we
+# fall back to `~/freemocap_data`. This is the single point where the base folder is resolved.
+FREEMOCAP_BASE_FOLDER_ENV_VAR = "FREEMOCAP_BASE_FOLDER"
SYNCHRONIZED_VIDEOS_FOLDER_NAME = "synchronized_videos"
ANNOTATED_VIDEOS_FOLDER_NAME = "annotated_videos"
LOGS_INFO_AND_SETTINGS_FOLDER_NAME = "logs_info_and_settings"
@@ -31,6 +37,9 @@ def os_independent_home_dir() -> str:
def get_default_freemocap_base_folder_path() -> str:
+ override = os.environ.get(FREEMOCAP_BASE_FOLDER_ENV_VAR)
+ if override:
+ return str(Path(override))
return str(Path(os_independent_home_dir()) / DEFAULT_FREEMOCAP_BASE_FOLDER_NAME)
diff --git a/freemocap/system/telemetry/__init__.py b/freemocap/system/telemetry/__init__.py
new file mode 100644
index 00000000..e69de29b
diff --git a/freemocap/system/telemetry/telemetry.py b/freemocap/system/telemetry/telemetry.py
new file mode 100644
index 00000000..afcb0fcb
--- /dev/null
+++ b/freemocap/system/telemetry/telemetry.py
@@ -0,0 +1,100 @@
+"""
+Telemetry integration for FreeMoCap.
+
+Initializes the skellypings TelemetryClient on startup and sends an `app_opened` event with
+anonymous system specifications. Respects the user's opt-in/opt-out choice stored in
+telemetry_config.json (written by the Electron UI's Settings/Welcome toggle).
+
+The telemetry secret is injected at CI build time via build_info.py. During local development
+the default placeholder sends events as unverified (the server accepts them but stores them
+separately).
+"""
+
+import logging
+import platform
+from pathlib import Path
+
+import psutil
+
+import freemocap
+from freemocap.build_info import SKELLYPINGS_SECRET, SKELLYPINGS_SERVER_URL
+from freemocap.system.default_paths import get_default_freemocap_base_folder_path
+from freemocap.system.telemetry.telemetry_config import read_telemetry_enabled
+from skellypings import TelemetryClient
+
+logger = logging.getLogger(__name__)
+
+_client: TelemetryClient | None = None
+
+
+def _get_user_id_file() -> Path:
+ return Path(get_default_freemocap_base_folder_path()) / "telemetry_uid"
+
+
+def _collect_system_specs() -> dict[str, object]:
+ """Collect anonymous system specifications."""
+ mem = psutil.virtual_memory()
+ return {
+ "os": platform.system(),
+ "os_version": platform.version(),
+ "os_release": platform.release(),
+ "architecture": platform.machine(),
+ "python_version": platform.python_version(),
+ "cpu_count_physical": psutil.cpu_count(logical=False),
+ "cpu_count_logical": psutil.cpu_count(logical=True),
+ "ram_total_gb": round(mem.total / (1024 ** 3), 1),
+ }
+
+
+def initialize_telemetry() -> None:
+ """Start the skellypings telemetry client and send an app_opened event, if enabled."""
+ global _client
+
+ if not read_telemetry_enabled():
+ logger.info("Skellypings telemetry is disabled by user preference")
+ return
+
+ secret_status: str = "CONFIGURED" if SKELLYPINGS_SECRET != "not-configured" else "NOT CONFIGURED (events will be unverified)"
+ logger.info(
+ "Skellypings telemetry initializing: server_url=%s, secret=%s, app_version=%s",
+ SKELLYPINGS_SERVER_URL,
+ secret_status,
+ freemocap.__version__,
+ )
+
+ user_id_file: Path = _get_user_id_file()
+ logger.info("Skellypings user_id_file: %s", user_id_file)
+
+ _client = TelemetryClient(
+ server_url=SKELLYPINGS_SERVER_URL,
+ secret=SKELLYPINGS_SECRET,
+ app_name="freemocap",
+ app_version=freemocap.__version__,
+ user_id_file=user_id_file,
+ )
+
+ specs: dict[str, object] = _collect_system_specs()
+ logger.info("Skellypings sending 'app_opened' event with payload: %s", specs)
+ _client.track("app_opened", payload=specs)
+ logger.info(
+ "Skellypings telemetry initialized (user_id=%s, flush_interval=%.1fs)",
+ _client.user_id,
+ _client._flush_interval,
+ )
+
+
+def shutdown_telemetry() -> None:
+ """Flush remaining skellypings events and stop the telemetry client."""
+ global _client
+ if _client is not None:
+ logger.info("Skellypings telemetry shutting down, flushing remaining events...")
+ _client.shutdown()
+ _client = None
+ logger.info("Skellypings telemetry shut down")
+
+
+def track_event(event_type: str, payload: dict[str, object] | None = None) -> None:
+ """Track a skellypings telemetry event. No-op if telemetry is disabled."""
+ if _client is not None:
+ logger.info("Skellypings tracking event: type=%s, payload=%s", event_type, payload)
+ _client.track(event_type=event_type, payload=payload)
diff --git a/freemocap/system/telemetry/telemetry_config.py b/freemocap/system/telemetry/telemetry_config.py
new file mode 100644
index 00000000..0a1b1fbc
--- /dev/null
+++ b/freemocap/system/telemetry/telemetry_config.py
@@ -0,0 +1,45 @@
+"""
+Telemetry opt-in/out configuration, stored at <freemocap_base_folder>/telemetry_config.json.
+
+ { "telemetry_enabled": true }
+
+The Electron UI writes this file (the Settings / Welcome opt-out toggle); the Python backend
+reads it here. Both sides resolve the base folder the same way, so they agree on the path.
+"""
+
+import json
+import logging
+from pathlib import Path
+
+from freemocap.system.default_paths import get_default_freemocap_base_folder_path
+
+logger = logging.getLogger(__name__)
+
+TELEMETRY_CONFIG_FILENAME: str = "telemetry_config.json"
+
+
+def _get_telemetry_config_path() -> Path:
+ return Path(get_default_freemocap_base_folder_path()) / TELEMETRY_CONFIG_FILENAME
+
+
+def read_telemetry_enabled() -> bool:
+ """Read telemetry opt-in status. Defaults to True if no config file exists."""
+ config_path = _get_telemetry_config_path()
+ if not config_path.exists():
+ # First launch: default to enabled, write the file so the UI can read it back
+ write_telemetry_enabled(enabled=True)
+ return True
+
+ try:
+ data = json.loads(config_path.read_text())
+ return bool(data.get("telemetry_enabled", True))
+ except (json.JSONDecodeError, OSError) as e:
+ logger.warning("Failed to read telemetry config, defaulting to enabled: %s", e)
+ return True
+
+
+def write_telemetry_enabled(enabled: bool) -> None:
+ """Write telemetry opt-in status."""
+ config_path = _get_telemetry_config_path()
+ config_path.parent.mkdir(parents=True, exist_ok=True)
+ config_path.write_text(json.dumps({"telemetry_enabled": enabled}, indent=2) + "\n")
diff --git a/freemocap/tests/calibration/test_groundplane_math.py b/freemocap/tests/calibration/test_groundplane_math.py
index 35f97522..9f8b575c 100644
--- a/freemocap/tests/calibration/test_groundplane_math.py
+++ b/freemocap/tests/calibration/test_groundplane_math.py
@@ -2,7 +2,7 @@
import numpy as np
import pytest
from scipy.spatial.transform import Rotation
-from skellytracker.trackers.charuco_tracker import CharucoBoardDefinition
+from skellytracker.core.detectors.keypoint_detectors.charuco import CharucoBoardDefinition
from freemocap.core.tasks.calibration.shared.groundplane_math import (
CharucoGeometryError,
diff --git a/freemocap/tests/pipelines/anthropometry.py b/freemocap/tests/pipelines/anthropometry.py
index 8e8e5d8b..e71a9589 100644
--- a/freemocap/tests/pipelines/anthropometry.py
+++ b/freemocap/tests/pipelines/anthropometry.py
@@ -9,25 +9,22 @@ each adapter just collects ``{landmark_name: (n_frames, 3)}``.
"""
from __future__ import annotations
-from pathlib import Path
+from pathlib import Path # noqa: TC003
import numpy as np
-from freemocap.core.kinematics.segment_lengths import load_body_positions_from_csv
-
-# Posthoc body 3D CSV is long-format: frame, keypoint, x, y, z
-_POSTHOC_BODY_CSV = "mediapipe_body_3d_xyz.csv"
+from freemocap.core.kinematics.segment_lengths import find_body_csv, load_body_positions_from_csv
def load_posthoc_body_positions(output_dir: Path) -> dict[str, np.ndarray]:
"""Load the posthoc body 3D trajectories as ``{landmark_name: (n_frames, 3)}``.
- Thin wrapper over the core ``load_body_positions_from_csv`` for the posthoc
- pipeline's ``mediapipe_body_3d_xyz.csv``.
+ Thin wrapper over the core ``find_body_csv``/``load_body_positions_from_csv``.
+ The CSV is named after the tracking model (e.g. ``charuco_board_5_3_body_3d_xyz.csv``),
+ not a fixed ``mediapipe_body_3d_xyz.csv``, so resolution is delegated to
+ ``find_body_csv`` rather than hardcoding a filename here.
"""
- csv_path = Path(output_dir) / _POSTHOC_BODY_CSV
- if not csv_path.exists():
- raise FileNotFoundError(f"Posthoc body CSV not found: {csv_path}")
+ csv_path = find_body_csv(output_dir)
return load_body_positions_from_csv(csv_path)
diff --git a/freemocap/tests/pipelines/conftest.py b/freemocap/tests/pipelines/conftest.py
index 8c1425d3..e923d3de 100644
--- a/freemocap/tests/pipelines/conftest.py
+++ b/freemocap/tests/pipelines/conftest.py
@@ -4,17 +4,26 @@ These tests run the REAL posthoc + realtime pipelines against the canonical test
recording at ``FREEMOCAP_TEST_DATA_PATH`` (3 synchronized videos, 222 frames: a
7x5 charuco calibration sequence followed by mocap movement). Pipelines run
in-place in the recording folder, exactly as the app runs them.
+
+If the recording isn't found locally, it's downloaded once per session (lazily,
+on first use of the ``test_recording_path`` fixture) and cached under
+``~/.cache/freemocap/test_data`` (mirrors the download-once-and-cache pattern in
+skellytracker's conftest.py β€” see ``_get_or_download_test_recording``). Any
+failure there just records an error string; tests that need the recording skip
+with that message rather than the whole session failing to collect.
"""
import logging
import multiprocessing
import time
+import zipfile
from pathlib import Path
import pytest
+import requests
from skellycam.core.ipc.process_management.managed_worker import WorkerMode
from skellycam.core.ipc.process_management.worker_registry import WorkerRegistry
from skellycam.core.recorders.videos.recording_info import RecordingInfo
-from skellytracker.trackers.charuco_tracker import CharucoBoardDefinition
+from skellytracker.core.detectors.keypoint_detectors.charuco import CharucoBoardDefinition
from freemocap.core.kinematics.segment_lengths import (
SegmentLengthReport,
@@ -35,6 +44,72 @@ from freemocap.tests.pipelines.helpers import wait_for_pipeline
logger = logging.getLogger(__name__)
+_TEST_RECORDING_URL = "https://github.com/freemocap/skellysamples/releases/download/test_data_v06_09_25/freemocap_test_data.zip"
+_MAX_RETRIES = 3
+_VIDEO_CACHE_DIR = Path.home() / ".cache" / "freemocap" / "test_data"
+
+
+class _SessionInfo:
+ """Populated once in pytest_sessionstart; read by the test_recording_path fixture."""
+ test_recording_path: Path | None = None
+ test_recording_error: str | None = None
+
+
+def _has_synchronized_videos(path: Path) -> bool:
+ sync_videos = path / "synchronized_videos"
+ return sync_videos.exists() and bool(list(sync_videos.glob("*.mp4")))
+
+
+def _find_recording_root(search_root: Path) -> Path | None:
+ """Recursively find a synchronized_videos/ dir with .mp4s; return its parent
+ (the recording root), regardless of how the zip's top-level folder is named."""
+ candidates = [
+ c for c in search_root.rglob("synchronized_videos")
+ if c.is_dir() and list(c.glob("*.mp4"))
+ ]
+ return candidates[0].parent if candidates else None
+
+
+def _get_or_download_test_recording() -> Path | None:
+ """Three-tier lookup: canonical freemocap_data path, then cache, then download."""
+ canonical = Path(FREEMOCAP_TEST_DATA_PATH)
+ if _has_synchronized_videos(canonical):
+ logger.debug(f"Using existing test recording at {canonical}")
+ return canonical
+
+ cached_root = _find_recording_root(_VIDEO_CACHE_DIR)
+ if cached_root is not None and _has_synchronized_videos(cached_root):
+ logger.debug(f"Using cached test recording at {cached_root}")
+ return cached_root
+
+ _VIDEO_CACHE_DIR.mkdir(parents=True, exist_ok=True)
+ zip_path = _VIDEO_CACHE_DIR / "freemocap_test_data.zip"
+
+ for attempt in range(_MAX_RETRIES):
+ try:
+ r = requests.get(_TEST_RECORDING_URL, timeout=(10, 300), allow_redirects=True, stream=True)
+ r.raise_for_status()
+ with open(zip_path, "wb") as f:
+ for chunk in r.iter_content(chunk_size=1 << 20):
+ f.write(chunk)
+ break
+ except Exception as e:
+ logger.warning(f"Recording download attempt {attempt + 1} failed: {e}")
+ if zip_path.exists():
+ zip_path.unlink()
+ else:
+ return None
+
+ try:
+ with zipfile.ZipFile(zip_path, "r") as zf:
+ zf.extractall(_VIDEO_CACHE_DIR)
+ except zipfile.BadZipFile as e:
+ logger.warning(f"Downloaded zip is corrupt: {e}")
+ zip_path.unlink(missing_ok=True)
+ return None
+
+ return _find_recording_root(_VIDEO_CACHE_DIR)
+
def pytest_addoption(parser):
parser.addoption(
@@ -57,6 +132,48 @@ def pytest_addoption(parser):
"instead of the default freemocap_test_data (222 frames)."
),
)
+ parser.addoption(
+ "--fail-on-skip",
+ action="store_true",
+ default=False,
+ help="Fail (rather than skip) any test that would otherwise be skipped.",
+ )
+
+
[email protected](hookwrapper=True)
+def pytest_runtest_makereport(item: pytest.Item, call: pytest.CallInfo):
+ outcome = yield
+ report = outcome.get_result()
+ if report.skipped and item.config.getoption("--fail-on-skip", default=False):
+ report.outcome = "failed"
+ report.longrepr = f"[--fail-on-skip] {report.longrepr}"
+
+
+def _resolve_test_recording_once() -> None:
+ """Populate _SessionInfo on first call; subsequent calls are no-ops.
+
+ Deliberately NOT a pytest_sessionstart hook: this conftest.py lives in a
+ subdirectory (freemocap/tests/pipelines/), and pytest only auto-imports
+ "initial" conftests along the path of the args given on the command line
+ before sessionstart fires. When invoked against a parent dir (e.g. the CI
+ command `pytest freemocap/tests/`), this conftest isn't imported yet at
+ that point, so a pytest_sessionstart hook defined here would silently
+ never run. A session-scoped fixture already only executes once per
+ session regardless of hook-loading order, so resolving lazily here is
+ both correct and sufficient β€” no per-test cost either way.
+ """
+ if _SessionInfo.test_recording_path is not None or _SessionInfo.test_recording_error is not None:
+ return
+ result = _get_or_download_test_recording()
+ if result is None:
+ _SessionInfo.test_recording_error = (
+ f"Could not find test recording at {FREEMOCAP_TEST_DATA_PATH}, in the "
+ f"cache at {_VIDEO_CACHE_DIR}, or by downloading from {_TEST_RECORDING_URL} "
+ f"after {_MAX_RETRIES} attempts."
+ )
+ logger.warning(_SessionInfo.test_recording_error)
+ else:
+ _SessionInfo.test_recording_path = result
@pytest.fixture(scope="session")
@@ -69,17 +186,17 @@ def realtime_max_frames(request) -> int:
@pytest.fixture(scope="session")
def sample_recording_path() -> Path:
- """The full (non-downsampled, ~1100-frame) sample recording."""
+ """The full (non-downsampled, ~1100-frame) sample recording.
+
+ No download source is known for this one (unlike freemocap_test_data), so
+ it's local-only: skip if it isn't already on disk.
+ """
path = Path(FREEMOCAP_TEST_DATA_PATH).parent / "freemocap_sample_data"
logger.info(f"Looking for sample recording at: {path}")
- if not path.exists():
+ if not _has_synchronized_videos(path):
logger.warning(f"Sample data not found at {path} β€” skipping")
pytest.skip(f"Sample data not found at {path}")
- sync_videos = path / "synchronized_videos"
- if not sync_videos.exists() or not list(sync_videos.glob("*.mp4")):
- logger.warning(f"No synchronized_videos in {path} β€” skipping")
- pytest.skip(f"No synchronized_videos found in {path}")
- videos = sorted(sync_videos.glob("*.mp4"))
+ videos = sorted((path / "synchronized_videos").glob("*.mp4"))
logger.info(f"Sample recording found: {path} ({len(videos)} videos)")
return path
@@ -97,20 +214,19 @@ def test_recording_path(request) -> Path:
if use_sample:
path = Path(FREEMOCAP_TEST_DATA_PATH).parent / "freemocap_sample_data"
label = "sample data (~1100 frames)"
+ if not _has_synchronized_videos(path):
+ logger.warning(f"{label} not found at {path} β€” skipping")
+ pytest.skip(f"{label} not found at {path}.")
else:
- path = Path(FREEMOCAP_TEST_DATA_PATH)
label = "test data (222 frames)"
- logger.info(f"test_recording_path: using {label} at {path}")
- if not path.exists():
- logger.warning(f"{label} not found at {path} β€” skipping")
- pytest.skip(f"{label} not found at {path}.")
- sync_videos = path / "synchronized_videos"
- if not sync_videos.exists() or not list(sync_videos.glob("*.mp4")):
- logger.warning(f"No synchronized_videos in {path} β€” skipping")
- pytest.skip(f"No synchronized_videos found in {path}")
- videos = sorted(sync_videos.glob("*.mp4"))
+ _resolve_test_recording_once()
+ if _SessionInfo.test_recording_error is not None:
+ pytest.skip(_SessionInfo.test_recording_error)
+ path = _SessionInfo.test_recording_path
+
+ videos = sorted((path / "synchronized_videos").glob("*.mp4"))
logger.info(
- f"Recording ready: {path.name} | {len(videos)} videos | "
+ f"Recording ready ({label}): {path} | {len(videos)} videos | "
+ ", ".join(v.name for v in videos)
)
return path
diff --git a/freemocap/tests/pipelines/test_calibration_cache_alignment.py b/freemocap/tests/pipelines/test_calibration_cache_alignment.py
index 54593f8d..c814f5ef 100644
--- a/freemocap/tests/pipelines/test_calibration_cache_alignment.py
+++ b/freemocap/tests/pipelines/test_calibration_cache_alignment.py
@@ -18,14 +18,21 @@ import csv
import logging
import pickle
from pathlib import Path
-from typing import Literal
+from unittest.mock import MagicMock
import pytest
from skellycam.core.recorders.videos.recording_info import RecordingInfo
-from skellytracker.trackers.base_tracker.base_tracker_abcs import BaseDetectorConfig, TrackerType
-from skellytracker.trackers.charuco_tracker.charuco_board_definition import CharucoBoardDefinition
-from skellytracker.trackers.charuco_tracker.charuco_observation import CharucoObservation
-from skellytracker.trackers.charuco_tracker.charuco_tracker_config import CharucoDetectorConfig
+from skellytracker.core import DetectionStageConfig, TrackerConfig
+from skellytracker.core.data_primitives.observation import Observation
+from skellytracker.core.detectors.keypoint_detectors.charuco import (
+ CharucoBoardDefinition,
+ CharucoDetectorConfig,
+)
+from skellytracker.core.detectors.keypoint_detectors.mediapipe.body.mediapipe_pose_detector import (
+ MediapipePoseDetectorConfig,
+)
+from skellytracker.core.tracker.tracker import Tracker
+from skellytracker.core.tracker.tracker_state import TrackerState
from freemocap.core.pipeline.posthoc.video_node import (
CACHE_FILENAME,
@@ -42,8 +49,8 @@ BOARD = CharucoBoardDefinition(squares_x=5, squares_y=3, square_length_mm=54.0,
# Helpers
# ---------------------------------------------------------------------------
-def _obs(connection_frame_number: int) -> CharucoObservation:
- return CharucoObservation(frame_number=connection_frame_number)
+def _obs(connection_frame_number: int) -> Observation:
+ return Observation(frame_number=connection_frame_number, image_size=(0, 0))
def _write_cache(recording_path: Path, observations: dict, board: CharucoBoardDefinition = BOARD) -> None:
@@ -76,8 +83,10 @@ def _write_camera_csv(recording_path: Path, camera_id: str, recording_to_connect
writer.writerow([recording_frame, connection_frame, 0.0])
-def _charuco_config(board: CharucoBoardDefinition = BOARD) -> CharucoDetectorConfig:
- return CharucoDetectorConfig(board=board)
+def _charuco_config(board: CharucoBoardDefinition = BOARD) -> TrackerConfig:
+ return TrackerConfig(
+ stages=[DetectionStageConfig(name="charuco", keypoint_detectors=[CharucoDetectorConfig(board=board)])]
+ )
@pytest.fixture
@@ -114,7 +123,13 @@ class TestPosthocCacheAlignment:
# The cached obs carried its CONNECTION number (102). After lookup at
# recorded frame 2 it must carry the RECORDING number so anipose rows align
# with detected frames and across cameras.
- out = _get_observation(frame_number=2, image=None, detector=None, cache=cache)
+ out, _ = _get_observation(
+ frame_number=2,
+ image=None,
+ tracker=MagicMock(spec=Tracker),
+ state=MagicMock(spec=TrackerState),
+ cache=cache,
+ )
assert out.frame_number == 2
def test_per_camera_drop_patterns_do_not_cross_contaminate(self, rec_path):
@@ -163,7 +178,7 @@ class TestPosthocCacheValidation:
def test_board_mismatch_rejected_visibly(self, rec_path, caplog):
_write_cache(rec_path, {"cam0": {0: _obs(0)}}, board=BOARD) # 5x3, 54mm
- wrong = CharucoDetectorConfig(
+ wrong = _charuco_config(
board=CharucoBoardDefinition(squares_x=7, squares_y=5, square_length_mm=58.0),
)
with caplog.at_level(logging.INFO):
@@ -188,11 +203,11 @@ class TestPosthocCacheValidation:
def test_non_charuco_detector_returns_none(self, rec_path):
_write_cache(rec_path, {"cam0": {0: _obs(0)}})
- class _MediapipeishConfig(BaseDetectorConfig):
- tracker_type: Literal[TrackerType.MEDIAPIPE] = TrackerType.MEDIAPIPE
-
+ mediapipe_config = TrackerConfig(
+ stages=[DetectionStageConfig(name="body", keypoint_detectors=[MediapipePoseDetectorConfig()])]
+ )
loaded = _load_cache_by_connection_frame(
- recording_path=rec_path, camera_id="cam0", detector_config=_MediapipeishConfig(),
+ recording_path=rec_path, camera_id="cam0", detector_config=mediapipe_config,
)
assert loaded is None
diff --git a/freemocap/tests/pipelines/test_calibration_cache_e2e.py b/freemocap/tests/pipelines/test_calibration_cache_e2e.py
index 450fcbf3..6aaf831b 100644
--- a/freemocap/tests/pipelines/test_calibration_cache_e2e.py
+++ b/freemocap/tests/pipelines/test_calibration_cache_e2e.py
@@ -15,8 +15,11 @@ import pytest
from skellycam.core.recorders.videos.recording_info import RecordingInfo
from skellycam.core.ipc.process_management.managed_worker import WorkerMode
from skellycam.core.ipc.process_management.worker_registry import WorkerRegistry
-from skellytracker.trackers.charuco_tracker.charuco_board_definition import CharucoBoardDefinition
-from skellytracker.trackers.charuco_tracker.charuco_tracker_config import CharucoDetectorConfig
+from skellytracker.core import DetectionStageConfig, TrackerConfig
+from skellytracker.core.detectors.keypoint_detectors.charuco import (
+ CharucoBoardDefinition,
+ CharucoDetectorConfig,
+)
from freemocap.core.pipeline.realtime.camera_node_config import CameraNodeConfig
from freemocap.core.pipeline.realtime.realtime_aggregator_node_config import (
@@ -47,7 +50,14 @@ def _build_charuco_pipeline_config(charuco_board: CharucoBoardDefinition) -> Rea
worker_mode=WorkerMode.THREAD,
charuco_tracking_enabled=True,
skeleton_tracking_enabled=False,
- charuco_detector_config=CharucoDetectorConfig(board=charuco_board),
+ charuco_tracker_config=TrackerConfig(
+ stages=[
+ DetectionStageConfig(
+ name="charuco",
+ keypoint_detectors=[CharucoDetectorConfig(board=charuco_board)],
+ )
+ ]
+ ),
)
aggregator_config = RealtimeAggregatorNodeConfig(
triangulation_enabled=True,
@@ -57,7 +67,7 @@ def _build_charuco_pipeline_config(charuco_board: CharucoBoardDefinition) -> Rea
return RealtimePipelineConfig(
camera_node_config=camera_node_config,
aggregator_config=aggregator_config,
- use_centralized_gpu_inference=False,
+ use_centralized_inference=False,
log_pipeline_times=False,
)
@@ -184,7 +194,8 @@ class TestCalibrationCacheE2E:
total_frames = max(total_frames, len(obs_by_connection_frame))
detected = sum(
1 for obs in obs_by_connection_frame.values()
- if obs is not None and not obs.charuco_empty
+ if obs is not None and obs.stages.get("charuco") is not None
+ and obs.stages["charuco"].keypoints is not None
)
total_detected += detected
logger.info(
diff --git a/freemocap/tests/pipelines/test_charuco_recorder.py b/freemocap/tests/pipelines/test_charuco_recorder.py
index 9805966c..4cbfffa3 100644
--- a/freemocap/tests/pipelines/test_charuco_recorder.py
+++ b/freemocap/tests/pipelines/test_charuco_recorder.py
@@ -9,11 +9,11 @@ original defect: it silently mis-aligned the cache to the calibration videos.)
import pickle
from pathlib import Path
-import cv2
import numpy as np
from skellycam.core.recorders.videos.recording_info import RecordingInfo
-from skellytracker.trackers.charuco_tracker.charuco_board_definition import CharucoBoardDefinition
-from skellytracker.trackers.charuco_tracker.charuco_observation import CharucoObservation
+from skellytracker.core.data_primitives.keypoints import Keypoints
+from skellytracker.core.data_primitives.observation import Observation, StageObservation
+from skellytracker.core.detectors.keypoint_detectors.charuco import CharucoBoardDefinition
from freemocap.core.pipeline.realtime.charuco_recorder_node import (
CACHE_FILENAME,
@@ -22,58 +22,34 @@ from freemocap.core.pipeline.realtime.charuco_recorder_node import (
# ---------------------------------------------------------------------------
-# Helpers: build real CharucoObservations
+# Helpers: build real Observations for a "charuco" stage
# ---------------------------------------------------------------------------
-def _board_observation_data(board_def: CharucoBoardDefinition) -> dict:
- charuco_board = cv2.aruco.CharucoBoard(
- size=(board_def.squares_x, board_def.squares_y),
- squareLength=board_def.square_length_mm,
- markerLength=board_def.aruco_marker_length_mm,
- dictionary=board_def.aruco_dictionary,
- )
- return {
- "all_charuco_ids": list(range(board_def.n_corners)),
- "all_charuco_corners_in_object_coordinates": board_def.corner_positions_board_frame.astype(np.float32),
- "all_aruco_ids": [int(i) for i in charuco_board.getIds()],
- "all_aruco_corners_in_object_coordinates": np.array(charuco_board.getObjPoints(), dtype=np.float32),
- }
-
-
-def make_detected_charuco_observation(frame_number: int = 0) -> CharucoObservation:
- board_def = CharucoBoardDefinition.create_test_data_7x5()
- obs_data = _board_observation_data(board_def)
- charuco_corners = np.array(
- [[[100.0, 200.0]], [[150.0, 200.0]], [[200.0, 200.0]], [[250.0, 200.0]]],
- dtype=np.float32,
+_CHARUCO_CORNER_NAMES = tuple(f"CharucoCorner-{i}" for i in range(4))
+
+
+def make_detected_charuco_observation(frame_number: int = 0) -> Observation:
+ xyz = np.array(
+ [[100.0, 200.0, 0.0], [150.0, 200.0, 0.0], [200.0, 200.0, 0.0], [250.0, 200.0, 0.0]],
+ dtype=np.float64,
)
- charuco_ids = np.array([0, 1, 2, 3], dtype=np.int32).reshape(-1, 1)
- marker_corners_list = [
- np.array([[[0.0, 0.0]], [[10.0, 0.0]], [[10.0, 10.0]], [[0.0, 10.0]]], dtype=np.float32)
- ]
- marker_ids = np.array([obs_data["all_aruco_ids"][0]], dtype=np.int32).reshape(-1, 1)
- return CharucoObservation.from_detection_results(
+ visibility = np.ones(4, dtype=np.float64)
+ keypoints = Keypoints(names=_CHARUCO_CORNER_NAMES, xyz=xyz, visibility=visibility)
+ return Observation(
frame_number=frame_number,
- detected_charuco_corners=charuco_corners,
- detected_charuco_corner_ids=charuco_ids,
- detected_aruco_marker_corners=marker_corners_list,
- detected_aruco_marker_ids=marker_ids,
- image_size=(1920, 1080),
- **obs_data,
+ image_size=(1080, 1920),
+ stages={"charuco": StageObservation(name="charuco", keypoints=keypoints)},
)
-def make_empty_charuco_observation(frame_number: int = 0) -> CharucoObservation:
- board_def = CharucoBoardDefinition.create_test_data_7x5()
- obs_data = _board_observation_data(board_def)
- return CharucoObservation.from_detection_results(
+def make_empty_charuco_observation(frame_number: int = 0) -> Observation:
+ xyz = np.full((4, 3), np.nan, dtype=np.float64)
+ visibility = np.zeros(4, dtype=np.float64)
+ keypoints = Keypoints(names=_CHARUCO_CORNER_NAMES, xyz=xyz, visibility=visibility)
+ return Observation(
frame_number=frame_number,
- detected_charuco_corners=None,
- detected_charuco_corner_ids=None,
- detected_aruco_marker_corners=None,
- detected_aruco_marker_ids=None,
- image_size=(1920, 1080),
- **obs_data,
+ image_size=(1080, 1920),
+ stages={"charuco": StageObservation(name="charuco", keypoints=keypoints)},
)
@@ -121,7 +97,7 @@ class TestCharucoRecorderFlush:
assert set(observations["cam_1"].keys()) == {10, 11}
# The object at a key is the observation captured at THAT connection frame.
assert observations["cam_0"][10].frame_number == 10
- assert observations["cam_0"][13].charuco_empty
+ assert np.isnan(observations["cam_0"][13].stages["charuco"].keypoints.xyz).all()
# Board round-trips; frame_range is the min/max connection number seen.
assert data["board_definition"].squares_x == board.squares_x
assert data["frame_range"] == (10, 13)
diff --git a/freemocap/tests/pipelines/test_realtime_pipeline.py b/freemocap/tests/pipelines/test_realtime_pipeline.py
index d72f7ed3..6b878f7e 100644
--- a/freemocap/tests/pipelines/test_realtime_pipeline.py
+++ b/freemocap/tests/pipelines/test_realtime_pipeline.py
@@ -6,7 +6,8 @@ import time
import pytest
from skellycam.core.ipc.process_management.managed_worker import WorkerMode
from skellycam.core.ipc.process_management.worker_registry import WorkerRegistry
-from skellytracker.trackers.charuco_tracker.charuco_tracker_config import CharucoDetectorConfig
+from skellytracker.core import DetectionStageConfig, TrackerConfig
+from skellytracker.core.detectors.keypoint_detectors.charuco import CharucoDetectorConfig
from freemocap.core.pipeline.realtime.camera_node_config import CameraNodeConfig
from freemocap.core.pipeline.realtime.realtime_aggregator_node_config import (
@@ -122,8 +123,16 @@ def _build_pipeline_config(mode: str, charuco_board) -> RealtimePipelineConfig:
worker_mode=WorkerMode.THREAD,
charuco_tracking_enabled=charuco_enabled,
skeleton_tracking_enabled=skeleton_enabled,
- charuco_detector_config=(
- CharucoDetectorConfig(board=charuco_board) if charuco_enabled else None
+ charuco_tracker_config=(
+ TrackerConfig(
+ stages=[
+ DetectionStageConfig(
+ name="charuco",
+ keypoint_detectors=[CharucoDetectorConfig(board=charuco_board)],
+ )
+ ]
+ )
+ if charuco_enabled else None
),
)
aggregator_config = RealtimeAggregatorNodeConfig(
@@ -134,7 +143,7 @@ def _build_pipeline_config(mode: str, charuco_board) -> RealtimePipelineConfig:
return RealtimePipelineConfig(
camera_node_config=camera_node_config,
aggregator_config=aggregator_config,
- use_centralized_gpu_inference=False,
+ use_centralized_inference=True,
log_pipeline_times=False,
)
diff --git a/freemocap/tests/test_center_of_mass.py b/freemocap/tests/test_center_of_mass.py
index 7e1e95f4..41477060 100644
--- a/freemocap/tests/test_center_of_mass.py
+++ b/freemocap/tests/test_center_of_mass.py
@@ -11,7 +11,7 @@ from freemocap.core.tasks.mocap.center_of_mass import (
CoMConfidence,
calculate_center_of_mass_from_canonical,
calculate_center_of_mass_per_frame,
- load_rtmpose_biomechanics,
+ load_body_biomechanics,
)
@@ -32,7 +32,7 @@ def _upright_rtmpose_pose() -> dict[str, np.ndarray]:
def test_center_of_mass_uses_canonical_model():
- bio = load_rtmpose_biomechanics()
+ bio = load_body_biomechanics()
assert bio.segment_connections is not None
assert bio.center_of_mass_definitions is not None
assert bio.tracker_mapping is not None
@@ -48,7 +48,7 @@ def test_center_of_mass_uses_canonical_model():
def test_com_from_canonical_matches_tracker_path():
# The refactor must be behaviour-preserving: feeding canonical positions
# directly equals mapping tracker keypoints then computing CoM.
- bio = load_rtmpose_biomechanics()
+ bio = load_body_biomechanics()
pose = _upright_rtmpose_pose()
via_tracker = calculate_center_of_mass_per_frame(pose, bio)
diff --git a/pyproject.toml b/pyproject.toml
index 4628b65c..bd471a3c 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -22,21 +22,27 @@ dependencies = [
"freemocap_blender_addon",
"skellycam",
"skellyforge",
- # "skellytracker[rtmpose-gpu]",
- # "skellytracker[mediapipe]",
- "skellytracker[recommended]; sys_platform != 'darwin'",
- "skellytracker[rtmpose-cpu,mediapipe]; sys_platform == 'darwin'",
#skelly utils
"skellylogs",
"skellypings",
# "skellymodels",
]
+# Published, pip-installable variant selection β€” for PyPI users, not `uv sync`
+# (which gets skellytracker automatically via the "tracker-default" dependency
+# group below; dependency-groups aren't part of a package's published metadata,
+# so this is the only channel pip users have):
+# pip install freemocap[cuda] (Windows/Linux, NVIDIA GPU acceleration)
+# pip install freemocap[cpu] (macOS, or Windows/Linux without a supported GPU)
+[project.optional-dependencies]
+cuda = ["skellytracker[all-cuda]"]
+cpu = ["skellytracker[all-cpu]"]
+
[tool.uv.sources]
-skellycam = { git = "https://github.com/freemocap/skellycam", branch = "development" }
-skellytracker = { git = "https://github.com/freemocap/skellytracker", branch = "development"}
-skellyforge = { git = "https://github.com/freemocap/skellyforge", branch = "development" }
-freemocap_blender_addon = { git = "https://github.com/freemocap/freemocap_blender_addon", branch = "development" }
+skellycam = { git = "https://github.com/freemocap/skellycam", branch = "main" }
+skellytracker = { git = "https://github.com/freemocap/skellytracker", branch = "main"}
+skellyforge = { git = "https://github.com/freemocap/skellyforge", branch = "main" }
+freemocap_blender_addon = { git = "https://github.com/freemocap/freemocap_blender_addon", branch = "main" }
skellylogs = { git = "https://github.com/freemocap/skellylogs" }
skellypings = { git = "https://github.com/freemocap/skellypings" }
@@ -54,14 +60,47 @@ packages = ["freemocap"]
"sys_platform == 'linux' and platform_machine == 'x86_64'",
"sys_platform == 'win32' and platform_machine == 'AMD64'",
]
+ # Plain `uv sync` always installs a working skellytracker via the "tracker-default"
+ # group below, which platform-switches between CUDA (Windows/Linux) and CPU
+ # (macOS) automatically. To force a specific variant regardless of platform β€”
+ # e.g. the CI build matrix building a CPU installer on a Windows/Linux runner β€”
+ # bypass the default and pick a group explicitly:
+ # uv sync --no-default-groups --group cuda
+ # uv sync --no-default-groups --group cpu
+ # (--no-default-groups is required β€” cuda and cpu both ship skellytracker with a
+ # different onnxruntime backend and can't coexist on disk, see the rtmlib note below.)
+ default-groups = ["tracker-default"]
override-dependencies = [
"numpy>=2.3.4,<2.5", # <2.5: NumPy 2.5 changed ScalarT internals, breaking beartype's NDArray introspection
+ "pandas>=2.2.2,<3", # pandas<2.2.2 wheels are built against the NumPy 1.x C ABI and crash importing against NumPy 2.x; <3 avoids the major-version jump
]
+ # This project uses opencv-contrib-python (a superset of opencv-python); having
+ # both installed causes a file-collision error.
+ exclude-dependencies = ["opencv-python"]
+
[[tool.uv.index]]
name = "nvidia"
url = "https://pypi.nvidia.com"
+# rtmlib==0.0.14 hard-depends on the CPU `onnxruntime` package. skellytracker[all-cuda]
+# pulls in `onnxruntime-gpu`. Both share the same top-level `onnxruntime` import and
+# cannot coexist on disk β€” whichever installs last clobbers the other's
+# `onnxruntime_pybind11_state.pyd`, so the CPU build wins and CUDA/TensorRT execution
+# providers disappear from `onnxruntime.get_available_providers()`.
+#
+# `[[tool.uv.dependency-metadata]]` is only honored for the root project, so
+# skellytracker's own copy of this override does not apply when freemocap resolves β€”
+# it must be repeated here to strip rtmlib's onnxruntime dep from the resolution graph.
+# rtmlib still imports fine at runtime because onnxruntime-gpu satisfies the import.
+#
+# [[tool.uv.dependency-metadata]] must come after all plain [tool.uv] keys because
+# TOML array tables absorb subsequent sibling keys into their scope.
+[[tool.uv.dependency-metadata]]
+name = "rtmlib"
+version = "0.0.14"
+requires-dist = ["numpy", "opencv-contrib-python", "opencv-python", "tqdm"]
+
[tool.bumpver]
current_version = "v1.4.7"
version_pattern = "vMAJOR.MINOR.PATCH[-TAG]"
@@ -85,6 +124,16 @@ push = true
# =============================================================================
[dependency-groups]
+# skellytracker's CUDA vs. CPU onnxruntime backend β€” mutually exclusive, select
+# exactly one via --group (see the default-groups note under [tool.uv] above).
+cuda = ["skellytracker[all-cuda]"]
+cpu = ["skellytracker[all-cpu]"]
+# Platform-switched default used by plain `uv sync` (via [tool.uv] default-groups):
+# CUDA on Windows/Linux, CPU on macOS β€” mirrors the old sys_platform-marker setup.
+tracker-default = [
+ "skellytracker[all-cuda]; sys_platform != 'darwin'",
+ "skellytracker[all-cpu]; sys_platform == 'darwin'",
+]
pyceres = [
"pyceres>=2.5",
]
diff --git a/uv.lock b/uv.lock
index 38b8c9e4..3effc8b4 100644
--- a/uv.lock
+++ b/uv.lock
@@ -16,15 +16,24 @@ supported-markers = [
]
[manifest]
-overrides = [{ name = "numpy", specifier = ">=2.3.4,<2.5" }]
+overrides = [
+ { name = "numpy", specifier = ">=2.3.4,<2.5" },
+ { name = "pandas", specifier = ">=2.2.2,<3" },
+]
+excludes = ["opencv-python"]
+
+[[manifest.dependency-metadata]]
+name = "rtmlib"
+version = "0.0.14"
+requires-dist = ["numpy", "opencv-contrib-python", "opencv-python", "tqdm"]
[[package]]
name = "absl-py"
-version = "2.4.0"
+version = "2.5.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/64/c7/8de93764ad66968d19329a7e0c147a2bb3c7054c554d4a119111b8f9440f/absl_py-2.4.0.tar.gz", hash = "sha256:8c6af82722b35cf71e0f4d1d47dcaebfff286e27110a99fc359349b247dfb5d4", size = 116543, upload-time = "2026-01-28T10:17:05.322Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/d0/4f/d79676ab82f2e42fc3611618139f13a9c4c31d0cff4b486982047679a802/absl_py-2.5.0.tar.gz", hash = "sha256:0c996f25c0490700fadabe6351630f6111534fa0ae252cc6d2014ea3b141135f", size = 118119, upload-time = "2026-07-03T10:57:48.157Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/18/a6/907a406bb7d359e6a63f99c313846d9eec4f7e6f7437809e03aa00fa3074/absl_py-2.4.0-py3-none-any.whl", hash = "sha256:88476fd881ca8aab94ffa78b7b6c632a782ab3ba1cd19c9bd423abc4fb4cd28d", size = 135750, upload-time = "2026-01-28T10:17:04.19Z" },
+ { url = "https://files.pythonhosted.org/packages/58/0a/a10b45aab35b175aded078a462dc8d0c698f5b13946e7cb0869097b78bb6/absl_py-2.5.0-py3-none-any.whl", hash = "sha256:0f17b89f2a4eaaedc4f28c622998aa690564b3012a396a4ffad0821007fe03ba", size = 137410, upload-time = "2026-07-03T10:57:46.735Z" },
]
[[package]]
@@ -56,33 +65,33 @@ wheels = [
[[package]]
name = "anyio"
-version = "4.14.1"
+version = "4.14.2"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "idna", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
{ name = "typing-extensions", marker = "(python_full_version < '3.13' and platform_machine == 'x86_64' and sys_platform == 'linux') or (python_full_version < '3.13' and platform_machine == 'AMD64' and sys_platform == 'win32') or (python_full_version < '3.13' and sys_platform == 'darwin')" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/3b/72/5562aabb8dd7181e8e860622a38bea08d17842b99ecd4c91f84ac95251b0/anyio-4.14.1.tar.gz", hash = "sha256:8d648a3544c1a700e3ff78615cd679e4c5c3f149904287e73687b2596963629e", size = 254831, upload-time = "2026-06-24T20:56:06.017Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/61/cc/a381afa6efea9f496eff839d4a6a1aed3bfafc7b3ab4b0d1b243a12573dd/anyio-4.14.2.tar.gz", hash = "sha256:cfa139f3ed1a23ee8f88a145ddb5ac7605b8bbfd8592baacd7ce3d8bb4313c7f", size = 260176, upload-time = "2026-07-12T20:29:07.082Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/b0/7b/90df4a0a816d98d6ea26f559d87836d494a2cf1fcf063be67df50a7bcc30/anyio-4.14.1-py3-none-any.whl", hash = "sha256:4e5533c5b8ff0a24f5d7a176cbe6877129cd183893f66b537f8f227d10527d72", size = 124875, upload-time = "2026-06-24T20:56:04.413Z" },
+ { url = "https://files.pythonhosted.org/packages/da/35/f2287558c17e29fafc8ef3daf819bb9834061cfa43bff8014f7df7f63bdc/anyio-4.14.2-py3-none-any.whl", hash = "sha256:9f505dda5ac9f0c8309b5e8bd445a8c2bf7246f3ce950121e45ea15bc41d1494", size = 125813, upload-time = "2026-07-12T20:29:05.763Z" },
]
[[package]]
name = "av"
-version = "17.1.0"
+version = "18.0.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/5e/e3/477fa20578c284abeda08d91b63ee9abaebc93445d8feeb989d3d444bae1/av-17.1.0.tar.gz", hash = "sha256:7f1e71ff621b66253333926f948e00faae11d855b2442133c65128bca64cdeb3", size = 4288546, upload-time = "2026-06-07T05:52:55.999Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/ae/a4/570a5a35c8638aba01e739925846c35fdd6b0756a15526766d0a4dd3b7df/av-18.0.0.tar.gz", hash = "sha256:4ef7e72c3d3a872584a1215173b16e0226811037f40dcdbf75992631098df1ba", size = 4340222, upload-time = "2026-07-02T06:37:58.907Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/ec/87/8036b5c781bc3639ea04ef42d4e26da253bd4bd4311d8705b6a1c8824047/av-17.1.0-cp311-abi3-macosx_11_0_x86_64.whl", hash = "sha256:ad7b4aa011093324b7118245f50ac6db244cfe9900d4072508a5245a2b0d3f41", size = 22460847, upload-time = "2026-06-07T05:52:04.261Z" },
- { url = "https://files.pythonhosted.org/packages/6d/af/dfdf6fc7b17814b50d0aa9e7a7e37b87be91be3890f44b0d525433cd1fd1/av-17.1.0-cp311-abi3-macosx_14_0_arm64.whl", hash = "sha256:43ebbe977f19a7f2d2bd1a4e119675a0b15e05852cf7309846b6ab922ba7ffe9", size = 18159115, upload-time = "2026-06-07T05:52:06.64Z" },
- { url = "https://files.pythonhosted.org/packages/77/43/96b35170bf2e64e00a41748c6400ff73232dc0fc62ded283679fb07c7fe0/av-17.1.0-cp311-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:f9a65d1f48b818323fb411e80358f89d77dec340b01d27c6b2dfbb9cbf4b779f", size = 35370183, upload-time = "2026-06-07T05:52:11.959Z" },
- { url = "https://files.pythonhosted.org/packages/e2/ac/92e52d5ed0e0b84d9d93e52b4338c2713d8a44082b8696e6516fdae7c4e4/av-17.1.0-cp311-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:e1c90f85cd7431ede95b11e8e711571a896ebea433f298849c2c0f1594c8d86e", size = 36451495, upload-time = "2026-06-07T05:52:22.581Z" },
- { url = "https://files.pythonhosted.org/packages/6b/f2/53a7cd34adb6a971d7e6d99663e74db286966c9db8afdca17472fdf0f98e/av-17.1.0-cp311-abi3-win_amd64.whl", hash = "sha256:5df5c1172ef1cf65a1529d612f7da7798ce2cf82c1ff7212466b538a6cc7214c", size = 28036393, upload-time = "2026-06-07T05:52:25.657Z" },
- { url = "https://files.pythonhosted.org/packages/36/90/b5668cddb3c401fcf22553bc495d5b0c6d8a01d118624b26f0db1d0b8653/av-17.1.0-cp314-cp314t-macosx_11_0_x86_64.whl", hash = "sha256:5327807c1219293803ef0c5d1578ff3ae1cf638c09e5998962026e1a554ec240", size = 22699499, upload-time = "2026-06-07T05:52:30.335Z" },
- { url = "https://files.pythonhosted.org/packages/e0/7e/7be6bfddb823d045ff9fd5d4deb922ee3847605e162c3882e6c45b4c35ff/av-17.1.0-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:6c9b71fe5c0c5a8d303b1588d4d8ce9397d6b023f467cfef95000ba1f75507fa", size = 18366696, upload-time = "2026-06-07T05:52:32.645Z" },
- { url = "https://files.pythonhosted.org/packages/fb/32/7312854868b318b9d1b1dcbd1bddb460aaaeac7d57f816e11efec3bef5b1/av-17.1.0-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:efe9b1397300b67b644ad220c89df4892a76f2debe70f16bae1749fa20526e63", size = 38479390, upload-time = "2026-06-07T05:52:37.968Z" },
- { url = "https://files.pythonhosted.org/packages/a2/38/c7d9c3e746209a1a695c13e3aa7d817229e84a85d0a84271f313d1befdd3/av-17.1.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:1284addf3c0dd939887a9722dc30df2241a97471ad52c3c507e31583ae22ff02", size = 39490680, upload-time = "2026-06-07T05:52:48.887Z" },
- { url = "https://files.pythonhosted.org/packages/a1/25/9d42da561b7b8f7dabdfaebba07b52977bee58c5c7e4285ac991abcfaa72/av-17.1.0-cp314-cp314t-win_amd64.whl", hash = "sha256:ec630be6321b04e317862f6082e84812bbd801e55a3c2298312e3fc8a0a4af4f", size = 28355673, upload-time = "2026-06-07T05:52:51.614Z" },
+ { url = "https://files.pythonhosted.org/packages/18/4a/9e3463df030e063d757fa12f0f39be6541b45b06b5bad48c2ce361b924bf/av-18.0.0-cp311-abi3-macosx_11_0_x86_64.whl", hash = "sha256:149289d40e732a6e49c9530bc245b49d9964cfd1c8c9e06778703b7d5bba6b25", size = 22499354, upload-time = "2026-07-02T06:36:58.751Z" },
+ { url = "https://files.pythonhosted.org/packages/77/b3/2576a44b4f39c7462ced4c17fec04c756f7b0f3c5cb940d124173e417d6a/av-18.0.0-cp311-abi3-macosx_14_0_arm64.whl", hash = "sha256:35274c20d2ad3b4774fe632bcef2e34af79858ddf899352339cc3babbc13a484", size = 18175248, upload-time = "2026-07-02T06:37:01.741Z" },
+ { url = "https://files.pythonhosted.org/packages/6d/b9/7708c43fed7ae28b4a1bad060b4221e3334cd827cec24f7165902a6ac1f4/av-18.0.0-cp311-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:ae56b40b6f8b067a8ad2dac664fbfbabac7f7a55b9a7bb031eb99289252bc017", size = 35536910, upload-time = "2026-07-02T06:37:08.806Z" },
+ { url = "https://files.pythonhosted.org/packages/76/92/810da80b12680d4c4fe235bd1b4003289be9213ac7f114b77b8ecf0e3b3e/av-18.0.0-cp311-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:0f65518a184613e41536f29e8758c8e3d8293e46bf5bef108f04f925bbfa3f44", size = 36619869, upload-time = "2026-07-02T06:37:18.495Z" },
+ { url = "https://files.pythonhosted.org/packages/11/85/0f121ff43dc5a70696676c98a8f1674e2fa787614c2abaacb15fa1a9bc99/av-18.0.0-cp311-abi3-win_amd64.whl", hash = "sha256:aaf4d354d2beaa6651e4f92e54409a578bde64f79c0beef9a30b388d06f7c629", size = 27556236, upload-time = "2026-07-02T06:37:21.388Z" },
+ { url = "https://files.pythonhosted.org/packages/e2/25/4ee23a7f1609adf9b2f140c7a8ffade64a1449d89ab431d922a809eebf19/av-18.0.0-cp314-cp314t-macosx_11_0_x86_64.whl", hash = "sha256:88dd8e35e9242662b409a6a05fd24a6775d949eb05da0ba31cab4f250eacbab5", size = 22740741, upload-time = "2026-07-02T06:37:26.659Z" },
+ { url = "https://files.pythonhosted.org/packages/f1/f0/b9f8363d07aa4521913e483f6a30c7c164973ef01de62769bf9b97049cd8/av-18.0.0-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:f8f454349c402e2c8d6fa80b54eb2a3f86c00f414d2b399f01ae6dab075c6fd8", size = 18384189, upload-time = "2026-07-02T06:37:29.518Z" },
+ { url = "https://files.pythonhosted.org/packages/37/3a/1614d74f0d676ea6745eb59553c9ad01ca25db523cba808d522e838f4f5b/av-18.0.0-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:aa15e567a018cc94a26b0ab45da676dee70c4146ace6e92e47d30cc9689cbfbe", size = 38645927, upload-time = "2026-07-02T06:37:37.086Z" },
+ { url = "https://files.pythonhosted.org/packages/10/0c/38ed7601277ae57dfe857d040be4762530fd728efff45c2fb8f035fef96a/av-18.0.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:6882a48f7aec2863c96cddee3256ff2da98f7fb6cbed83cee9d7e70a8f186a6b", size = 39669026, upload-time = "2026-07-02T06:37:48.761Z" },
+ { url = "https://files.pythonhosted.org/packages/c8/95/0636ca04d5d89d01c49bd366d2b660cc85d1f8117c476b2be62eb0c70855/av-18.0.0-cp314-cp314t-win_amd64.whl", hash = "sha256:55a646e9afce9fdc5de5224205a8a12c7ed1ba9803145dcc876c40bfc03a109b", size = 28448336, upload-time = "2026-07-02T06:37:52.477Z" },
]
[[package]]
@@ -134,67 +143,83 @@ wheels = [
[[package]]
name = "cffi"
-version = "2.0.0"
+version = "2.1.0"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "pycparser", marker = "(implementation_name != 'PyPy' and platform_machine == 'x86_64' and sys_platform == 'linux') or (implementation_name != 'PyPy' and platform_machine == 'AMD64' and sys_platform == 'win32') or (implementation_name != 'PyPy' and sys_platform == 'darwin')" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/eb/56/b1ba7935a17738ae8453301356628e8147c79dbb825bcbc73dc7401f9846/cffi-2.0.0.tar.gz", hash = "sha256:44d1b5909021139fe36001ae048dbdde8214afa20200eda0f64c068cac5d5529", size = 523588, upload-time = "2025-09-08T23:24:04.541Z" }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/12/4a/3dfd5f7850cbf0d06dc84ba9aa00db766b52ca38d8b86e3a38314d52498c/cffi-2.0.0-cp311-cp311-macosx_10_13_x86_64.whl", hash = "sha256:b4c854ef3adc177950a8dfc81a86f5115d2abd545751a304c5bcf2c2c7283cfe", size = 184344, upload-time = "2025-09-08T23:22:26.456Z" },
- { url = "https://files.pythonhosted.org/packages/4f/8b/f0e4c441227ba756aafbe78f117485b25bb26b1c059d01f137fa6d14896b/cffi-2.0.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:2de9a304e27f7596cd03d16f1b7c72219bd944e99cc52b84d0145aefb07cbd3c", size = 180560, upload-time = "2025-09-08T23:22:28.197Z" },
- { url = "https://files.pythonhosted.org/packages/d7/91/500d892b2bf36529a75b77958edfcd5ad8e2ce4064ce2ecfeab2125d72d1/cffi-2.0.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:8941aaadaf67246224cee8c3803777eed332a19d909b47e29c9842ef1e79ac26", size = 215574, upload-time = "2025-09-08T23:22:35.443Z" },
- { url = "https://files.pythonhosted.org/packages/0b/28/dd0967a76aab36731b6ebfe64dec4e981aff7e0608f60c2d46b46982607d/cffi-2.0.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:5fed36fccc0612a53f1d4d9a816b50a36702c28a2aa880cb8a122b3466638743", size = 217078, upload-time = "2025-09-08T23:22:39.776Z" },
- { url = "https://files.pythonhosted.org/packages/ae/8f/dc5531155e7070361eb1b7e4c1a9d896d0cb21c49f807a6c03fd63fc877e/cffi-2.0.0-cp311-cp311-win_amd64.whl", hash = "sha256:66f011380d0e49ed280c789fbd08ff0d40968ee7b665575489afa95c98196ab5", size = 182820, upload-time = "2025-09-08T23:22:42.463Z" },
- { url = "https://files.pythonhosted.org/packages/ea/47/4f61023ea636104d4f16ab488e268b93008c3d0bb76893b1b31db1f96802/cffi-2.0.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:6d02d6655b0e54f54c4ef0b94eb6be0607b70853c45ce98bd278dc7de718be5d", size = 185271, upload-time = "2025-09-08T23:22:44.795Z" },
- { url = "https://files.pythonhosted.org/packages/df/a2/781b623f57358e360d62cdd7a8c681f074a71d445418a776eef0aadb4ab4/cffi-2.0.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:8eca2a813c1cb7ad4fb74d368c2ffbbb4789d377ee5bb8df98373c2cc0dee76c", size = 181048, upload-time = "2025-09-08T23:22:45.938Z" },
- { url = "https://files.pythonhosted.org/packages/78/2d/7fa73dfa841b5ac06c7b8855cfc18622132e365f5b81d02230333ff26e9e/cffi-2.0.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:3e17ed538242334bf70832644a32a7aae3d83b57567f9fd60a26257e992b79ba", size = 219572, upload-time = "2025-09-08T23:22:52.902Z" },
- { url = "https://files.pythonhosted.org/packages/b6/75/1f2747525e06f53efbd878f4d03bac5b859cbc11c633d0fb81432d98a795/cffi-2.0.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:2c8f814d84194c9ea681642fd164267891702542f028a15fc97d4674b6206187", size = 221361, upload-time = "2025-09-08T23:22:55.867Z" },
- { url = "https://files.pythonhosted.org/packages/f8/ed/13bd4418627013bec4ed6e54283b1959cf6db888048c7cf4b4c3b5b36002/cffi-2.0.0-cp312-cp312-win_amd64.whl", hash = "sha256:da68248800ad6320861f129cd9c1bf96ca849a2771a59e0344e88681905916f5", size = 183557, upload-time = "2025-09-08T23:22:58.351Z" },
- { url = "https://files.pythonhosted.org/packages/4b/8d/a0a47a0c9e413a658623d014e91e74a50cdd2c423f7ccfd44086ef767f90/cffi-2.0.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:00bdf7acc5f795150faa6957054fbbca2439db2f775ce831222b66f192f03beb", size = 185230, upload-time = "2025-09-08T23:23:00.879Z" },
- { url = "https://files.pythonhosted.org/packages/4a/d2/a6c0296814556c68ee32009d9c2ad4f85f2707cdecfd7727951ec228005d/cffi-2.0.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:45d5e886156860dc35862657e1494b9bae8dfa63bf56796f2fb56e1679fc0bca", size = 181043, upload-time = "2025-09-08T23:23:02.231Z" },
- { url = "https://files.pythonhosted.org/packages/98/df/0a1755e750013a2081e863e7cd37e0cdd02664372c754e5560099eb7aa44/cffi-2.0.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:c8d3b5532fc71b7a77c09192b4a5a200ea992702734a2e9279a37f2478236f26", size = 219499, upload-time = "2025-09-08T23:23:09.648Z" },
- { url = "https://files.pythonhosted.org/packages/36/54/0362578dd2c9e557a28ac77698ed67323ed5b9775ca9d3fe73fe191bb5d8/cffi-2.0.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:6d50360be4546678fc1b79ffe7a66265e28667840010348dd69a314145807a1b", size = 221302, upload-time = "2025-09-08T23:23:12.42Z" },
- { url = "https://files.pythonhosted.org/packages/37/18/6519e1ee6f5a1e579e04b9ddb6f1676c17368a7aba48299c3759bbc3c8b3/cffi-2.0.0-cp313-cp313-win_amd64.whl", hash = "sha256:19f705ada2530c1167abacb171925dd886168931e0a7b78f5bffcae5c6b5be75", size = 183402, upload-time = "2025-09-08T23:23:15.535Z" },
- { url = "https://files.pythonhosted.org/packages/92/c4/3ce07396253a83250ee98564f8d7e9789fab8e58858f35d07a9a2c78de9f/cffi-2.0.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:fc33c5141b55ed366cfaad382df24fe7dcbc686de5be719b207bb248e3053dc5", size = 185320, upload-time = "2025-09-08T23:23:18.087Z" },
- { url = "https://files.pythonhosted.org/packages/59/dd/27e9fa567a23931c838c6b02d0764611c62290062a6d4e8ff7863daf9730/cffi-2.0.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:c654de545946e0db659b3400168c9ad31b5d29593291482c43e3564effbcee13", size = 181487, upload-time = "2025-09-08T23:23:19.622Z" },
- { url = "https://files.pythonhosted.org/packages/47/d9/d83e293854571c877a92da46fdec39158f8d7e68da75bf73581225d28e90/cffi-2.0.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:afb8db5439b81cf9c9d0c80404b60c3cc9c3add93e114dcae767f1477cb53775", size = 219244, upload-time = "2025-09-08T23:23:24.541Z" },
- { url = "https://files.pythonhosted.org/packages/c6/0f/cafacebd4b040e3119dcb32fed8bdef8dfe94da653155f9d0b9dc660166e/cffi-2.0.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:38100abb9d1b1435bc4cc340bb4489635dc2f0da7456590877030c9b3d40b0c1", size = 220926, upload-time = "2025-09-08T23:23:27.873Z" },
- { url = "https://files.pythonhosted.org/packages/bb/92/882c2d30831744296ce713f0feb4c1cd30f346ef747b530b5318715cc367/cffi-2.0.0-cp314-cp314-win_amd64.whl", hash = "sha256:203a48d1fb583fc7d78a4c6655692963b860a417c0528492a6bc21f1aaefab25", size = 185650, upload-time = "2025-09-08T23:23:45.848Z" },
- { url = "https://files.pythonhosted.org/packages/3e/61/c768e4d548bfa607abcda77423448df8c471f25dbe64fb2ef6d555eae006/cffi-2.0.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:9a67fc9e8eb39039280526379fb3a70023d77caec1852002b4da7e8b270c4dd9", size = 188773, upload-time = "2025-09-08T23:23:29.347Z" },
- { url = "https://files.pythonhosted.org/packages/2c/ea/5f76bce7cf6fcd0ab1a1058b5af899bfbef198bea4d5686da88471ea0336/cffi-2.0.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7a66c7204d8869299919db4d5069a82f1561581af12b11b3c9f48c584eb8743d", size = 185013, upload-time = "2025-09-08T23:23:30.63Z" },
- { url = "https://files.pythonhosted.org/packages/d0/44/681604464ed9541673e486521497406fadcc15b5217c3e326b061696899a/cffi-2.0.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:28a3a209b96630bca57cce802da70c266eb08c6e97e5afd61a75611ee6c64592", size = 221584, upload-time = "2025-09-08T23:23:36.096Z" },
- { url = "https://files.pythonhosted.org/packages/e1/5e/b666bacbbc60fbf415ba9988324a132c9a7a0448a9a8f125074671c0f2c3/cffi-2.0.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:6c6c373cfc5c83a975506110d17457138c8c63016b563cc9ed6e056a82f13ce4", size = 223437, upload-time = "2025-09-08T23:23:38.945Z" },
- { url = "https://files.pythonhosted.org/packages/bf/41/4c1168c74fac325c0c8156f04b6749c8b6a8f405bbf91413ba088359f60d/cffi-2.0.0-cp314-cp314t-win_amd64.whl", hash = "sha256:d68b6cef7827e8641e8ef16f4494edda8b36104d79773a334beaa1e3521430f6", size = 191726, upload-time = "2025-09-08T23:23:41.742Z" },
+sdist = { url = "https://files.pythonhosted.org/packages/57/5f/ff100cae70ebe9d8df1c01a00e510e45d9adb5c1fdda84791b199141de97/cffi-2.1.0.tar.gz", hash = "sha256:efc1cdd798b1aaf39b4610bba7aad28c9bea9b910f25c784ccf9ec1fa719d1f9", size = 531036, upload-time = "2026-07-06T21:34:30.382Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/d3/67/85c89a59ba36a671e79638f44d466749f08179266a57e4f2ffdf92174072/cffi-2.1.0-cp311-cp311-macosx_10_15_x86_64.whl", hash = "sha256:02cb7ff33ded4f1532476731f89ede53e2e488a8e6205515a82144246ffa7dcc", size = 183845, upload-time = "2026-07-06T21:32:26.32Z" },
+ { url = "https://files.pythonhosted.org/packages/ea/dd/e3b0baa2d3d6a857ac72b7efbf18e32e487c9cdafcc13049ad765495b15e/cffi-2.1.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:f5bce581e6b8c235e566a14768a943b172ada3ed73537bb0c0be1edee312d4e7", size = 184186, upload-time = "2026-07-06T21:32:28.025Z" },
+ { url = "https://files.pythonhosted.org/packages/fb/d2/4398416cd699b35167947c6e22aca52c47e69ad5695073c9f1f2c52e04aa/cffi-2.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:aa7a1b53a2a4452ada2d1b5dade9960b2522f1e61293a811a077439e39029565", size = 217883, upload-time = "2026-07-06T21:32:35.173Z" },
+ { url = "https://files.pythonhosted.org/packages/04/8c/b925975448cf20634a9fbd5efceb807219db452653648d2897c0989cab2d/cffi-2.1.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:89095c1968b4ba8285840e131bf2891b09ae137fe2146905acae0354fbce1b5e", size = 219441, upload-time = "2026-07-06T21:32:39.146Z" },
+ { url = "https://files.pythonhosted.org/packages/f9/c8/6c2de1d55cf35ef8b92885d5ef280790f0fb9634d87ea1cc315176aecd61/cffi-2.1.0-cp311-cp311-win_amd64.whl", hash = "sha256:4f26194e3d95e06501b942642855aed4f953d55e95d7d01b7c4483db3ecff458", size = 185113, upload-time = "2026-07-06T21:32:41.761Z" },
+ { url = "https://files.pythonhosted.org/packages/1e/85/990925db5df586ec90beb97529c853497e7f85ba0234830447faf41c3057/cffi-2.1.0-cp312-cp312-macosx_10_15_x86_64.whl", hash = "sha256:df2b82571a1b30f58a87bf4e5a9e78d2b1eff6c6ce8fd3aa3757221f93f0863f", size = 184829, upload-time = "2026-07-06T21:32:44.324Z" },
+ { url = "https://files.pythonhosted.org/packages/4b/92/e7bb136ad6b5352603732cf907ef862ca103f20f2031c1735a46300c20c9/cffi-2.1.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:78474632761faa0fb96f30b1c928c84ebcf68713cbb80d15bab09dfe61640fde", size = 184728, upload-time = "2026-07-06T21:32:45.683Z" },
+ { url = "https://files.pythonhosted.org/packages/62/f2/c9522a81c32132799a1972c39f5c5f8b4c8b9f00488a23feaa6c06f07741/cffi-2.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:1e9f50d192a3e525b15a75ab5114e442d83d657b7ec29182a991bc9a88fd3a66", size = 221844, upload-time = "2026-07-06T21:32:53.704Z" },
+ { url = "https://files.pythonhosted.org/packages/79/99/0d0fd37f055224085f42bbb2c022d002e17dde4a97972822327b07d84101/cffi-2.1.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:379de10ce1ba048b1448599d1b37b24caee16309d1ac98d3982fc997f768700b", size = 223681, upload-time = "2026-07-06T21:32:56.329Z" },
+ { url = "https://files.pythonhosted.org/packages/a8/eb/f636456ff21a83fc13c032b58cc5dde061691546ac79efa284b2989b7982/cffi-2.1.0-cp312-cp312-win_amd64.whl", hash = "sha256:c97f080ea627e2863524c5af3836e2270b5f5dfff1f104392b959f8df0c5d384", size = 185881, upload-time = "2026-07-06T21:32:59.253Z" },
+ { url = "https://files.pythonhosted.org/packages/96/88/a996879e2eeccb815f6e3a5967b12a308257412acec882039d386bd2aa7b/cffi-2.1.0-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:10537b1df4967ca26d21e5072d7d54188354483b91dc75058968d3f0cf13fbda", size = 194331, upload-time = "2026-07-06T21:33:03.697Z" },
+ { url = "https://files.pythonhosted.org/packages/58/85/7ae00d5c8dd6266f4e944c3db630f3c5c9a98b61d469c714d848b1d8138a/cffi-2.1.0-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:a95b05f9baf29b91171b3a8bd2020b028835243e7b0ff6bb23e2a3c228518b1b", size = 196966, upload-time = "2026-07-06T21:33:05.353Z" },
+ { url = "https://files.pythonhosted.org/packages/8c/e9/45c3a76ad8d43ad9261f4c95436da61128d3ca545d72b9612c0ab5be0b1c/cffi-2.1.0-cp313-cp313-macosx_10_15_x86_64.whl", hash = "sha256:15faec4adfff450819f3aee0e2e02c812de6edb88203aa58807955db2003472a", size = 184795, upload-time = "2026-07-06T21:33:06.699Z" },
+ { url = "https://files.pythonhosted.org/packages/84/4c/82f132cb4418ee6d953d982b19191e87e2a6372c8a4ce36e50b69d6ade4a/cffi-2.1.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:716ff8ec22f20b4d988b12884086bcef0fc99737043e503f7a3935a6be99b1ea", size = 184746, upload-time = "2026-07-06T21:33:08.071Z" },
+ { url = "https://files.pythonhosted.org/packages/6f/08/f2e7d62c460faae0926f2d6e423694aa409ced3bc1fe2927a0a6e5f05416/cffi-2.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:799416bae98336e400981ff6e532d67d5c709cfb30afb79865a1315f94b0e224", size = 221808, upload-time = "2026-07-06T21:33:15.466Z" },
+ { url = "https://files.pythonhosted.org/packages/a9/d6/c72eecca433cd3e681c65ed313ab4835d9d4a379704d0f628a6a05f51c2e/cffi-2.1.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:bf5c6cf48238b0eb4c086978c492ad1cbc22373fc5b2d7353b3a598ce6db887a", size = 223588, upload-time = "2026-07-06T21:33:18.239Z" },
+ { url = "https://files.pythonhosted.org/packages/5a/47/59eb7975cb0e4ef0afa764ea945b29a5bb4537a9f771cb7d6c8a5dd74c95/cffi-2.1.0-cp313-cp313-win_amd64.whl", hash = "sha256:8e74a6135550c4748af665b1b1118b6aab33b1fc6a16f9aff630af107c3b4512", size = 185717, upload-time = "2026-07-06T21:33:21.47Z" },
+ { url = "https://files.pythonhosted.org/packages/d8/f0/81478e482afa03f6d18dc8f2afb5edc45b3080853b634b5ed91961be0998/cffi-2.1.0-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:d2117334c3af3bdcb9a88522b844a2bdb5efdc4f71c6c822df55486ae1c3347a", size = 194142, upload-time = "2026-07-06T21:33:23.657Z" },
+ { url = "https://files.pythonhosted.org/packages/7d/95/8de304305cd9204974b0ca051b86d307cafca13aa575a0ef1b44d92c0d8c/cffi-2.1.0-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:702c436735fbe99d59ada02a1f65cfc0d31c0ee8b7290912f8fbc5cd1e4b16c3", size = 196819, upload-time = "2026-07-06T21:33:25.007Z" },
+ { url = "https://files.pythonhosted.org/packages/20/71/7c8372d30e42415602ed9f268f7cfd66f1b855fed881ecd168bcb45dbc0b/cffi-2.1.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:1ff3456eab0d889592d1936d6125bbfbc7ae4d3354a700f8bd80450a66445d4d", size = 184965, upload-time = "2026-07-06T21:33:26.605Z" },
+ { url = "https://files.pythonhosted.org/packages/d6/5c/584e626835f0375c928176c04137c96927165cb8733cdb3150ec04e5ee5e/cffi-2.1.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:c4165821e131d6d4ca444347c2b694e2311bcfa3fe5a861cc72968f28867beac", size = 184952, upload-time = "2026-07-06T21:33:27.823Z" },
+ { url = "https://files.pythonhosted.org/packages/cc/d7/97d3136f81db489ec8d1d67748c110d6c994268fd7528014aa9f2b085e4e/cffi-2.1.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:d53d10f7da99ae46f7373b9150393e9c5eab9b224909982b43832668de4779f5", size = 221593, upload-time = "2026-07-06T21:33:33.044Z" },
+ { url = "https://files.pythonhosted.org/packages/b3/c1/6dbd291ee2ae5a50a034aa057207081f545923bbf15dad4511e985aafff5/cffi-2.1.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:dbf7c7a88e2bac086f06d14577332760bdeecc42bdec8ac4077f6260557d9326", size = 223240, upload-time = "2026-07-06T21:33:35.57Z" },
+ { url = "https://files.pythonhosted.org/packages/41/de/92b9eeed4ae4a21d6fd9b2a2c8505cbed573299902ea73981cc13f7ff62c/cffi-2.1.0-cp314-cp314-win_amd64.whl", hash = "sha256:1b96bfe2c4bd825681b7d311ad6d9b7280a091f43e8f63da5729638083cd3bfb", size = 187937, upload-time = "2026-07-06T21:33:53.403Z" },
+ { url = "https://files.pythonhosted.org/packages/14/f0/134c00ce0779ec86dea2aa1aac69339c2741a8045072676763512363a2ea/cffi-2.1.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:7ea6b3e2c4250ff1de21c630fe72d0f63eb95c2c32ffbf64a358cf4a8836d714", size = 188538, upload-time = "2026-07-06T21:33:36.792Z" },
+ { url = "https://files.pythonhosted.org/packages/50/d8/3b86aba791cb610d24e8a3e1b2cd529e71fa15096b04e4d4e360049d4a4c/cffi-2.1.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:6af371f3767faeffc6ac1ef57cdfd25844403e9d3f476c5537caee499de96376", size = 188230, upload-time = "2026-07-06T21:33:38.011Z" },
+ { url = "https://files.pythonhosted.org/packages/cc/82/3d5c705acb7abbba9bbd7d79b8e62e0f25b6120eb7ae6ac49f1b721722fe/cffi-2.1.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ac0f1a2d0cfa7eea3f2aaf006ab6e70e8feeb16b75d65b7e5939982ca2f11056", size = 223933, upload-time = "2026-07-06T21:33:43.603Z" },
+ { url = "https://files.pythonhosted.org/packages/70/25/65bd5b58ea4bfdfc15cde02cb5365f89ef8ab8b2adfb8fe5c4bd4233382f/cffi-2.1.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:5ecbd0499275d57506d397eebe1981cee87b47fcd9ef5c22cab7ed7644a39a94", size = 225703, upload-time = "2026-07-06T21:33:46.374Z" },
+ { url = "https://files.pythonhosted.org/packages/b9/26/d00496b22de4d4228f32dde94ad996f350c8aad676d63bcca0743c8dea4d/cffi-2.1.0-cp314-cp314t-win_amd64.whl", hash = "sha256:0582a58f3051372229ca8e7f5f589f9e5632678208d8636fea3676711fdf7fe5", size = 194065, upload-time = "2026-07-06T21:33:48.953Z" },
+ { url = "https://files.pythonhosted.org/packages/55/c7/8c8c50cb11c6750051daf12164098a9a6f027ac4356967fd4d800a07f242/cffi-2.1.0-cp315-cp315-ios_13_0_arm64_iphoneos.whl", hash = "sha256:2e9dabb9abcb7ad15938c7196ad5c1718a4e6d33cc79b4c0209bdb64c4a54a5c", size = 194121, upload-time = "2026-07-06T21:33:56.109Z" },
+ { url = "https://files.pythonhosted.org/packages/99/e2/67680bf19a6b60d2bb7ff83baefa2a4c3d2d7dc0f3277034b802e1fc504c/cffi-2.1.0-cp315-cp315-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:37f525a7e7e50c017fdebe58b787be310ad59357ae43a053943a6e1a6c526001", size = 196820, upload-time = "2026-07-06T21:33:57.288Z" },
+ { url = "https://files.pythonhosted.org/packages/ed/da/4bbe583a3b3a5c8c60892124fe17f3fa3656523faf0d3484eae90f091853/cffi-2.1.0-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:95f2954c2c9473d892eca6e0409f3568b37ab62a8eedb122461f73cc273476e3", size = 184936, upload-time = "2026-07-06T21:33:58.765Z" },
+ { url = "https://files.pythonhosted.org/packages/e5/4b/1f4c36ab273980d7aa75bb126ea4f8971f24a96108acad3a0a084028c57b/cffi-2.1.0-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:cdf2448aab5f661c9315308ec8b93f4e8a1a67a3c733f8631067a2b67d5913dc", size = 185045, upload-time = "2026-07-06T21:34:00.085Z" },
+ { url = "https://files.pythonhosted.org/packages/e6/3f/0b04a700dd64f465c93020253a793a82c9b4dff9961f48facd0df945d9b8/cffi-2.1.0-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:7d3538f9c0e50670f4deb93dbb696576e60590369cae2faf7de681e597a8a1f1", size = 221649, upload-time = "2026-07-06T21:34:06.157Z" },
+ { url = "https://files.pythonhosted.org/packages/5a/02/d5e6c43ea85c41bda2a184a3418f195fe7cf602967a8d2b94e085b83deef/cffi-2.1.0-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:af5e2915d41fe6c961694d7bfdc8562942638200f3ce2765dfb8b745cf997629", size = 223263, upload-time = "2026-07-06T21:34:08.712Z" },
+ { url = "https://files.pythonhosted.org/packages/2f/dd/afa2191fc6d57fedd26e5844a2fe2fcc0bbfa00961bbaa5a41e4921e7cca/cffi-2.1.0-cp315-cp315-win_amd64.whl", hash = "sha256:bccbbb5ee76a61f9d99b5bf3846a51d7fca4b6a732fe46f89295610edaf41853", size = 187914, upload-time = "2026-07-06T21:34:27.58Z" },
+ { url = "https://files.pythonhosted.org/packages/11/b6/12fc55092817a5faa26fb8c40c7f9d662e11a46ee248c137aafc42517d92/cffi-2.1.0-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:f9912624a0c0b834b7520d7769b3644453aabc0a7e1c839da7359f050750e9bc", size = 188378, upload-time = "2026-07-06T21:34:09.926Z" },
+ { url = "https://files.pythonhosted.org/packages/8d/2e/cdac88979f295fde5daa69622c7d2111e56e7ceb94f211357fbe452339e4/cffi-2.1.0-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:df92f2aba50eb4d96718b68ef76f2e57a57b54f2fa62333496d16c6d585a85ca", size = 188319, upload-time = "2026-07-06T21:34:11.101Z" },
+ { url = "https://files.pythonhosted.org/packages/19/e5/d3cc82a4a0be7902af279c04181ad038449c096734464a5ae1de3e1401bd/cffi-2.1.0-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:0611e7ebf90573a535ebdc33ae9da222d037853983e13359f580fab781ca017f", size = 223843, upload-time = "2026-07-06T21:34:17.509Z" },
+ { url = "https://files.pythonhosted.org/packages/b5/9f/d4dc66ca651eb1145a133314cda721abf13cfac3d28c4a0402263ae6ad75/cffi-2.1.0-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:ba00f661f8ba35d075c937174e27c2c421cec3942fd2e0ea3e66996757c0fdd9", size = 225719, upload-time = "2026-07-06T21:34:20.576Z" },
+ { url = "https://files.pythonhosted.org/packages/d3/0b/0ffe8b82d3875bced5fa1e7986a7a46b748262a40ab7f60b475eb9fb1bb3/cffi-2.1.0-cp315-cp315t-win_amd64.whl", hash = "sha256:f146d154428a2523f9cc7936c02353c2459b8f6cf07d3cd1ee1c0a611109c5d5", size = 193769, upload-time = "2026-07-06T21:34:23.589Z" },
]
[[package]]
name = "charset-normalizer"
-version = "3.4.7"
-source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/e7/a1/67fe25fac3c7642725500a3f6cfe5821ad557c3abb11c9d20d12c7008d3e/charset_normalizer-3.4.7.tar.gz", hash = "sha256:ae89db9e5f98a11a4bf50407d4363e7b09b31e55bc117b4f7d80aab97ba009e5", size = 144271, upload-time = "2026-04-02T09:28:39.342Z" }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/c2/d7/b5b7020a0565c2e9fa8c09f4b5fa6232feb326b8c20081ccded47ea368fd/charset_normalizer-3.4.7-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:7641bb8895e77f921102f72833904dcd9901df5d6d72a2ab8f31d04b7e51e4e7", size = 309705, upload-time = "2026-04-02T09:26:02.191Z" },
- { url = "https://files.pythonhosted.org/packages/a1/fa/f74eb381a7d94ded44739e9d94de18dc5edc9c17fb8c11f0a6890696c0a9/charset_normalizer-3.4.7-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2fe249cb4651fd12605b7288b24751d8bfd46d35f12a20b1ba33dea122e690df", size = 214061, upload-time = "2026-04-02T09:26:08.347Z" },
- { url = "https://files.pythonhosted.org/packages/17/ab/63133691f56baae417493cba6b7c641571a2130eb7bceba6773367ab9ec5/charset_normalizer-3.4.7-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:ae196f021b5e7c78e918242d217db021ed2a6ace2bc6ae94c0fc596221c7f58d", size = 216277, upload-time = "2026-04-02T09:26:18.981Z" },
- { url = "https://files.pythonhosted.org/packages/20/d9/5f67790f06b735d7c7637171bbfd89882ad67201891b7275e51116ed8207/charset_normalizer-3.4.7-cp311-cp311-win_amd64.whl", hash = "sha256:8e385e4267ab76874ae30db04c627faaaf0b509e1ccc11a95b3fc3e83f855c00", size = 159281, upload-time = "2026-04-02T09:26:21.74Z" },
- { url = "https://files.pythonhosted.org/packages/0c/eb/4fc8d0a7110eb5fc9cc161723a34a8a6c200ce3b4fbf681bc86feee22308/charset_normalizer-3.4.7-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:eca9705049ad3c7345d574e3510665cb2cf844c2f2dcfe675332677f081cbd46", size = 311328, upload-time = "2026-04-02T09:26:24.331Z" },
- { url = "https://files.pythonhosted.org/packages/4b/f8/d0118a2f5f23b02cd166fa385c60f9b0d4f9194f574e2b31cef350ad7223/charset_normalizer-3.4.7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5649fd1c7bade02f320a462fdefd0b4bd3ce036065836d4f42e0de958038e116", size = 216589, upload-time = "2026-04-02T09:26:29.239Z" },
- { url = "https://files.pythonhosted.org/packages/8a/2d/a572df5c9204ab7688ec1edc895a73ebded3b023bb07364710b05dd1c9be/charset_normalizer-3.4.7-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:bb6d88045545b26da47aa879dd4a89a71d1dce0f0e549b1abcb31dfe4a8eac49", size = 218468, upload-time = "2026-04-02T09:26:40.17Z" },
- { url = "https://files.pythonhosted.org/packages/35/d9/0e7dffa06c5ab081f75b1b786f0aefc88365825dfcd0ac544bdb7b2b6853/charset_normalizer-3.4.7-cp312-cp312-win_amd64.whl", hash = "sha256:5ed6ab538499c8644b8a3e18debabcd7ce684f3fa91cf867521a7a0279cab2d6", size = 159330, upload-time = "2026-04-02T09:26:42.554Z" },
- { url = "https://files.pythonhosted.org/packages/c1/3b/66777e39d3ae1ddc77ee606be4ec6d8cbd4c801f65e5a1b6f2b11b8346dd/charset_normalizer-3.4.7-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:f496c9c3cc02230093d8330875c4c3cdfc3b73612a5fd921c65d39cbcef08063", size = 309627, upload-time = "2026-04-02T09:26:45.198Z" },
- { url = "https://files.pythonhosted.org/packages/fa/07/330e3a0dda4c404d6da83b327270906e9654a24f6c546dc886a0eb0ffb23/charset_normalizer-3.4.7-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e044c39e41b92c845bc815e5ae4230804e8e7bc29e399b0437d64222d92809dd", size = 215595, upload-time = "2026-04-02T09:26:50.915Z" },
- { url = "https://files.pythonhosted.org/packages/6a/9f/130394f9bbe06f4f63e22641d32fc9b202b7e251c9aef4db044324dac493/charset_normalizer-3.4.7-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:64f02c6841d7d83f832cd97ccf8eb8a906d06eb95d5276069175c696b024b60a", size = 217723, upload-time = "2026-04-02T09:27:02.021Z" },
- { url = "https://files.pythonhosted.org/packages/5d/78/1b74c5bbb3f99b77a1715c91b3e0b5bdb6fe302d95ace4f5b1bec37b0167/charset_normalizer-3.4.7-cp313-cp313-win_amd64.whl", hash = "sha256:3946fa46a0cf3e4c8cb1cc52f56bb536310d34f25f01ca9b6c16afa767dab110", size = 158819, upload-time = "2026-04-02T09:27:04.454Z" },
- { url = "https://files.pythonhosted.org/packages/97/c8/c67cb8c70e19ef1960b97b22ed2a1567711de46c4ddf19799923adc836c2/charset_normalizer-3.4.7-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:c36c333c39be2dbca264d7803333c896ab8fa7d4d6f0ab7edb7dfd7aea6e98c0", size = 309234, upload-time = "2026-04-02T09:27:07.194Z" },
- { url = "https://files.pythonhosted.org/packages/47/5c/032c2d5a07fe4d4855fea851209cca2b6f03ebeb6d4e3afdb3358386a684/charset_normalizer-3.4.7-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bd6c2a1c7573c64738d716488d2cdd3c00e340e4835707d8fdb8dc1a66ef164e", size = 215882, upload-time = "2026-04-02T09:27:12.446Z" },
- { url = "https://files.pythonhosted.org/packages/30/45/99d18aa925bd1740098ccd3060e238e21115fffbfdcb8f3ece837d0ace6c/charset_normalizer-3.4.7-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:7579e913a5339fb8fa133f6bbcfd8e6749696206cf05acdbdca71a1b436d8e72", size = 217869, upload-time = "2026-04-02T09:27:23.486Z" },
- { url = "https://files.pythonhosted.org/packages/48/77/72dcb0921b2ce86420b2d79d454c7022bf5be40202a2a07906b9f2a35c97/charset_normalizer-3.4.7-cp314-cp314-win_amd64.whl", hash = "sha256:92a0a01ead5e668468e952e4238cccd7c537364eb7d851ab144ab6627dbbe12f", size = 159634, upload-time = "2026-04-02T09:27:26.642Z" },
- { url = "https://files.pythonhosted.org/packages/94/09/7e8a7f73d24dba1f0035fbbf014d2c36828fc1bf9c88f84093e57d315935/charset_normalizer-3.4.7-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:effc3f449787117233702311a1b7d8f59cba9ced946ba727bdc329ec69028e24", size = 330133, upload-time = "2026-04-02T09:27:29.474Z" },
- { url = "https://files.pythonhosted.org/packages/be/c1/06c6c49d5a5450f76899992f1ee40b41d076aee9279b49cf9974d2f313d5/charset_normalizer-3.4.7-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6c114670c45346afedc0d947faf3c7f701051d2518b943679c8ff88befe14f8e", size = 223251, upload-time = "2026-04-02T09:27:35.369Z" },
- { url = "https://files.pythonhosted.org/packages/76/22/ef7bd0fe480a0ae9b656189ec00744b60933f68b4f42a7bb06589f6f576a/charset_normalizer-3.4.7-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:ce3412fbe1e31eb81ea42f4169ed94861c56e643189e1e75f0041f3fe7020abe", size = 225194, upload-time = "2026-04-02T09:27:46.706Z" },
- { url = "https://files.pythonhosted.org/packages/7a/1d/29d32e0fb40864b1f878c7f5a0b343ae676c6e2b271a2d55cc3a152391da/charset_normalizer-3.4.7-cp314-cp314t-win_amd64.whl", hash = "sha256:03853ed82eeebbce3c2abfdbc98c96dc205f32a79627688ac9a27370ea61a49c", size = 174168, upload-time = "2026-04-02T09:27:49.795Z" },
- { url = "https://files.pythonhosted.org/packages/db/8f/61959034484a4a7c527811f4721e75d02d653a35afb0b6054474d8185d4c/charset_normalizer-3.4.7-py3-none-any.whl", hash = "sha256:3dce51d0f5e7951f8bb4900c257dad282f49190fdbebecd4ba99bcc41fef404d", size = 61958, upload-time = "2026-04-02T09:28:37.794Z" },
+version = "3.4.9"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/bd/2a/23f34ec9d04624958e137efdc394888716353190e75f25dd22c7a2c7a8aa/charset_normalizer-3.4.9.tar.gz", hash = "sha256:673611bbd43f0810bec0b0f028ddeaaa501190339cac411f347ac76917c3ae7b", size = 152439, upload-time = "2026-07-07T14:34:58.454Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/0b/e3/85ec501f206fb049259288c1f3506e53876937fb00edb47009348e66756b/charset_normalizer-3.4.9-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:0e94703ec9684807f20cfb5eed95c70f67f2a8f21ad620146d7b5a13677b93e5", size = 317075, upload-time = "2026-07-07T14:32:56.021Z" },
+ { url = "https://files.pythonhosted.org/packages/a5/34/49b9060e8418b14fb5cba9cf6bfb383111e2538a03a1fb18e66a95aeb3d5/charset_normalizer-3.4.9-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:04ce310cb89c15df659582aee80a0603788732a5e017d5bd5c81158106ce249c", size = 221276, upload-time = "2026-07-07T14:33:02.199Z" },
+ { url = "https://files.pythonhosted.org/packages/af/ba/5e5007c370702f85d2ef75791fac7943ed41e080364a673b20142e430e3e/charset_normalizer-3.4.9-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:280081916dc341820640489a66e4696049401ef1cf6dd672f672e70ad915aca3", size = 223066, upload-time = "2026-07-07T14:33:09.783Z" },
+ { url = "https://files.pythonhosted.org/packages/ed/a1/e29995109e455dc8eff8d0fac6ae509be39561318a7cfeac5d33ad029213/charset_normalizer-3.4.9-cp311-cp311-win_amd64.whl", hash = "sha256:6366a16e1a25018694d6a5d784d09b046edc9eac40ea2b54065c3052672516a1", size = 161410, upload-time = "2026-07-07T14:33:12.743Z" },
+ { url = "https://files.pythonhosted.org/packages/70/4a/ecbd131485c07fcdfad54e28946d513e3da22ef3b4bd854dcafae54ec739/charset_normalizer-3.4.9-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:45b0cc4e3556cd875e09102988d1ab8356c998b596c9fced84547c8138b487a0", size = 319300, upload-time = "2026-07-07T14:33:15.666Z" },
+ { url = "https://files.pythonhosted.org/packages/01/c4/4fa4c8b3097a11f3c5f09a35b72ed6855fb1d332469504962ab7bafcc702/charset_normalizer-3.4.9-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5e226f6218febc71f6c1fc2fafb91c226f75bdc1d8fb12d66823716e891608fd", size = 224256, upload-time = "2026-07-07T14:33:21.747Z" },
+ { url = "https://files.pythonhosted.org/packages/83/dc/9b29fa4412b318bf3bfea985c35d67eb55e04b59a7c3f2237168b0e0be6f/charset_normalizer-3.4.9-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:03d07803992c6c7bbc976327f34b18b6160327fc81cb82c9d504720ac0be3b62", size = 226030, upload-time = "2026-07-07T14:33:29.397Z" },
+ { url = "https://files.pythonhosted.org/packages/80/cc/f920afd1a23c58ccd53c1d36085a71893a4737ff5e66e0371efab6809850/charset_normalizer-3.4.9-cp312-cp312-win_amd64.whl", hash = "sha256:4b3dac63058cc36820b0dd072f89898604e2d39686fe05321729d00d8ac185a0", size = 162557, upload-time = "2026-07-07T14:33:32.176Z" },
+ { url = "https://files.pythonhosted.org/packages/b2/06/97ec2aeae780b31d742b6352218b43841a6871e2564578ca522dce4a45c3/charset_normalizer-3.4.9-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:440eede837960000d74978f0eba527be106b5b9aee0daf779d395276ed0b0614", size = 317688, upload-time = "2026-07-07T14:33:35.408Z" },
+ { url = "https://files.pythonhosted.org/packages/ea/f8/72eb13dcabe7257035cea8aefd922caad2f110d252bf9f67c4c2ca763aee/charset_normalizer-3.4.9-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:84fd18bcc17526fc2b3c1af7d2b9217d32c9c04448c16ec693b9b4f1985c3d33", size = 223149, upload-time = "2026-07-07T14:33:41.631Z" },
+ { url = "https://files.pythonhosted.org/packages/6c/ef/2473d3c4d869155be4af1191111d59c4d5c4e0173026f7e85b176e23bf65/charset_normalizer-3.4.9-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:69b157c5d3292bcd443faca052f3096f637f1e074b98212a933c074ae23dc3b8", size = 224991, upload-time = "2026-07-07T14:33:49.238Z" },
+ { url = "https://files.pythonhosted.org/packages/e8/ef/6953a77c7cf2c2ff9998e6f575ab3e380119f100223381565a4f94c1f836/charset_normalizer-3.4.9-cp313-cp313-win_amd64.whl", hash = "sha256:fe2c7201c642b7c308f1675355ad7ff7b66acfe3541625efe5a3ad38f29d6115", size = 161947, upload-time = "2026-07-07T14:33:52.197Z" },
+ { url = "https://files.pythonhosted.org/packages/7e/8d/496817fa0944239ecae662dd57ea765cfeaec6a735f9f025d4b7b72e7143/charset_normalizer-3.4.9-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:0327fcd59a935777d83410750c50600ee9571af2846f71ce40f25b13da1ef380", size = 317253, upload-time = "2026-07-07T14:33:54.994Z" },
+ { url = "https://files.pythonhosted.org/packages/f4/c4/b3e049d2aa3766180c78507110543d9d50894cc97f57de543f1be521dcdc/charset_normalizer-3.4.9-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c25fe15c70c59eb7c5ce8c06a1f3fa1da0ecc5ea1e7a5922c40fd2fa9b0d5046", size = 223143, upload-time = "2026-07-07T14:34:01.517Z" },
+ { url = "https://files.pythonhosted.org/packages/f6/39/c914445c321a845097ce4f6ac7de9a18228a77b766272125a1ce00d851eb/charset_normalizer-3.4.9-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:898f0e9068ca27d37f8e83a5b962821df851532e6c4a7d615c1c033f9da6eedf", size = 225157, upload-time = "2026-07-07T14:34:09.061Z" },
+ { url = "https://files.pythonhosted.org/packages/49/fd/a1d26144398c67486422a72bf5812cda22cb4ccfcd95a290fb41ceb4b8e2/charset_normalizer-3.4.9-cp314-cp314-win_amd64.whl", hash = "sha256:16b65ea0f2465b6fb52aa22de5eca612aa964ddfec00a912e26f4656cbef890b", size = 162796, upload-time = "2026-07-07T14:34:12.47Z" },
+ { url = "https://files.pythonhosted.org/packages/00/5e/17398df3a139985ba9d11ed072531986f408c8fca952835ef1ab1820c02b/charset_normalizer-3.4.9-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:609b3ba8fcc0fb5ab7af00719d0fb6ad0cb518e48e7712d12fd68f1327951198", size = 338848, upload-time = "2026-07-07T14:34:15.688Z" },
+ { url = "https://files.pythonhosted.org/packages/d4/ce/9af95f7876194bd7a14e3dfe4a4de2e0bff02666a3910d72beafd06cc297/charset_normalizer-3.4.9-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:df115d4d83168fdf2cae48ef1ff6d1cb4c466364e30861b37121de0f3bf1b990", size = 230224, upload-time = "2026-07-07T14:34:22.189Z" },
+ { url = "https://files.pythonhosted.org/packages/f7/40/9593d54209765207a7f11073c06494c1721e4ca4a0a426c597679bf7f91e/charset_normalizer-3.4.9-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:ee2f2a527e3c1a6e6411eb4209642e138b544a2d72fe5d0d76daf77b24063534", size = 231958, upload-time = "2026-07-07T14:34:30.345Z" },
+ { url = "https://files.pythonhosted.org/packages/80/3f/bd97d3d9c613013d07cb7733d299385b41df37f0471310f5a73dc359f0b8/charset_normalizer-3.4.9-cp314-cp314t-win_amd64.whl", hash = "sha256:9b8e0f3107e2200b76f6054de99016eac3ee6762713587b36baaa7e4bd2ae177", size = 167620, upload-time = "2026-07-07T14:34:33.438Z" },
+ { url = "https://files.pythonhosted.org/packages/98/2b/f97f1c193fb855c345d678f5077d6926034db0722df74c8f057020e05a25/charset_normalizer-3.4.9-py3-none-any.whl", hash = "sha256:68e5f26a1ad57ded6d1cfb85331d1c1a195314756471d97758c48498bb4dcdf5", size = 64538, upload-time = "2026-07-07T14:34:56.993Z" },
]
[[package]]
@@ -287,7 +312,7 @@ wheels = [
[[package]]
name = "fastapi"
-version = "0.138.2"
+version = "0.139.2"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "annotated-doc", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
@@ -296,9 +321,9 @@ dependencies = [
{ name = "typing-extensions", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
{ name = "typing-inspection", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/0c/a9/9f8f7e00195c29836e9bf58bbbaf579e29878b8a67851efff93d9b6d4eb7/fastapi-0.138.2.tar.gz", hash = "sha256:6432359d067a432134620e7c5e4c6e5063e7f37815bbbbf20acef14b0d2e3fc8", size = 420423, upload-time = "2026-06-29T12:44:12.556Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/cd/95/d3f0ae10836324a2eab98a52b61210ac609f08200bf4bb0dc8132d32f78a/fastapi-0.139.2.tar.gz", hash = "sha256:333145a6891e9b5b3cfceb69baf817e8240cde4d4588ae5a10bf56ffacb6255e", size = 423428, upload-time = "2026-07-16T15:06:17.912Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/f2/b3/38be2c074bdd0c986340db1d72d7b2321b805b1c5a68069aa00b5d31fd02/fastapi-0.138.2-py3-none-any.whl", hash = "sha256:db90c1ffb5517fba5d4a9f80e866daa008747e646310c9ce155c8c535f9d1615", size = 129271, upload-time = "2026-06-29T12:44:13.905Z" },
+ { url = "https://files.pythonhosted.org/packages/5f/c7/cb03251d9dfb177246a9809a76f189d21df32dbd4a845951881d11323b7f/fastapi-0.139.2-py3-none-any.whl", hash = "sha256:b9ad015a835173d59865e2f5d8296fbc2b317bf56a2ba1a5bfbdd03de2fd4b1c", size = 130234, upload-time = "2026-07-16T15:06:19.557Z" },
]
[[package]]
@@ -364,13 +389,24 @@ dependencies = [
{ name = "skellyforge", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
{ name = "skellylogs", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
{ name = "skellypings", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
- { name = "skellytracker", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
- { name = "skellytracker", extra = ["mediapipe", "rtmpose-cpu"], marker = "sys_platform == 'darwin'" },
- { name = "skellytracker", extra = ["recommended"], marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32')" },
{ name = "tomli-w", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
]
+[package.optional-dependencies]
+cpu = [
+ { name = "skellytracker", extra = ["all-cpu"], marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
+]
+cuda = [
+ { name = "skellytracker", extra = ["all-cuda"], marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
+]
+
[package.dev-dependencies]
+cpu = [
+ { name = "skellytracker", extra = ["all-cpu"], marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
+]
+cuda = [
+ { name = "skellytracker", extra = ["all-cuda"], marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
+]
dev = [
{ name = "bumpver", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
{ name = "httpx", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
@@ -385,11 +421,16 @@ dev = [
pyceres = [
{ name = "pyceres", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
]
+tracker-default = [
+ { name = "skellytracker", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
+ { name = "skellytracker", extra = ["all-cpu"], marker = "sys_platform == 'darwin'" },
+ { name = "skellytracker", extra = ["all-cuda"], marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32')" },
+]
[package.metadata]
requires-dist = [
{ name = "beartype", specifier = ">=0.19" },
- { name = "freemocap-blender-addon", git = "https://github.com/freemocap/freemocap_blender_addon?branch=development" },
+ { name = "freemocap-blender-addon", git = "https://github.com/freemocap/freemocap_blender_addon?branch=main" },
{ name = "libsass", specifier = ">=0.23.0" },
{ name = "msgspec", specifier = ">=0.19" },
{ name = "numba", specifier = ">=0.65.1" },
@@ -400,16 +441,19 @@ requires-dist = [
{ name = "requests", specifier = ">=2.32.3" },
{ name = "scikit-learn", specifier = ">=1.7.2" },
{ name = "scipy-stubs", specifier = "~=1.17.1" },
- { name = "skellycam", git = "https://github.com/freemocap/skellycam?branch=development" },
- { name = "skellyforge", git = "https://github.com/freemocap/skellyforge?branch=development" },
+ { name = "skellycam", git = "https://github.com/freemocap/skellycam?branch=main" },
+ { name = "skellyforge", git = "https://github.com/freemocap/skellyforge?branch=main" },
{ name = "skellylogs", git = "https://github.com/freemocap/skellylogs" },
{ name = "skellypings", git = "https://github.com/freemocap/skellypings" },
- { name = "skellytracker", extras = ["recommended"], marker = "sys_platform != 'darwin'", git = "https://github.com/freemocap/skellytracker?branch=development" },
- { name = "skellytracker", extras = ["rtmpose-cpu", "mediapipe"], marker = "sys_platform == 'darwin'", git = "https://github.com/freemocap/skellytracker?branch=development" },
+ { name = "skellytracker", extras = ["all-cpu"], marker = "extra == 'cpu'", git = "https://github.com/freemocap/skellytracker?branch=main" },
+ { name = "skellytracker", extras = ["all-cuda"], marker = "extra == 'cuda'", git = "https://github.com/freemocap/skellytracker?branch=main" },
{ name = "tomli-w", specifier = ">=1.2.0" },
]
+provides-extras = ["cuda", "cpu"]
[package.metadata.requires-dev]
+cpu = [{ name = "skellytracker", extras = ["all-cpu"], git = "https://github.com/freemocap/skellytracker?branch=main" }]
+cuda = [{ name = "skellytracker", extras = ["all-cuda"], git = "https://github.com/freemocap/skellytracker?branch=main" }]
dev = [
{ name = "bumpver" },
{ name = "httpx", specifier = ">=0.28.0" },
@@ -422,11 +466,15 @@ dev = [
{ name = "ruff", specifier = ">=0.9.0" },
]
pyceres = [{ name = "pyceres", specifier = ">=2.5" }]
+tracker-default = [
+ { name = "skellytracker", extras = ["all-cpu"], marker = "sys_platform == 'darwin'", git = "https://github.com/freemocap/skellytracker?branch=main" },
+ { name = "skellytracker", extras = ["all-cuda"], marker = "sys_platform != 'darwin'", git = "https://github.com/freemocap/skellytracker?branch=main" },
+]
[[package]]
name = "freemocap-blender-addon"
-version = "2025.11.1038"
-source = { git = "https://github.com/freemocap/freemocap_blender_addon?branch=development#472ab26b2078def11282a089d8fc9f5c49346ce3" }
+version = "2026.4.1041"
+source = { git = "https://github.com/freemocap/freemocap_blender_addon?branch=main#7ed776647755722cc38f498b68df2e64248fd679" }
[[package]]
name = "h11"
@@ -566,25 +614,25 @@ wheels = [
[[package]]
name = "llvmlite"
-version = "0.47.0"
+version = "0.48.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/01/88/a8952b6d5c21e74cbf158515b779666f692846502623e9e3c39d8e8ba25f/llvmlite-0.47.0.tar.gz", hash = "sha256:62031ce968ec74e95092184d4b0e857e444f8fdff0b8f9213707699570c33ccc", size = 193614, upload-time = "2026-03-31T18:29:53.497Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/dc/a0/acc8ffcd5bdc63df0097e22c719bfcd61b604358343089313a8aebbb24ab/llvmlite-0.48.0.tar.gz", hash = "sha256:543b19f9ef8f3c7c60d1468191e4ee1b1537bf9f8a3d56f64c0ddd98de92edd2", size = 184016, upload-time = "2026-07-02T20:20:05.308Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/34/0b/b9d1911cfefa61399821dfb37f486d83e0f42630a8d12f7194270c417002/llvmlite-0.47.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:74090f0dcfd6f24ebbef3f21f11e38111c4d7e6919b54c4416e1e357c3446b07", size = 37232770, upload-time = "2026-03-31T18:28:26.765Z" },
- { url = "https://files.pythonhosted.org/packages/46/27/5799b020e4cdfb25a7c951c06a96397c135efcdc21b78d853bbd9c814c7d/llvmlite-0.47.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ca14f02e29134e837982497959a8e2193d6035235de1cb41a9cb2bd6da4eedbb", size = 56275177, upload-time = "2026-03-31T18:28:31.01Z" },
- { url = "https://files.pythonhosted.org/packages/a2/50/59227d06bdc96e23322713c381af4e77420949d8cd8a042c79e0043096cc/llvmlite-0.47.0-cp311-cp311-win_amd64.whl", hash = "sha256:c37d6eb7aaabfa83ab9c2ff5b5cdb95a5e6830403937b2c588b7490724e05327", size = 38138400, upload-time = "2026-03-31T18:28:40.076Z" },
- { url = "https://files.pythonhosted.org/packages/fa/48/4b7fe0e34c169fa2f12532916133e0b219d2823b540733651b34fdac509a/llvmlite-0.47.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:306a265f408c259067257a732c8e159284334018b4083a9e35f67d19792b164f", size = 37232769, upload-time = "2026-03-31T18:28:43.735Z" },
- { url = "https://files.pythonhosted.org/packages/e6/4b/e3f2cd17822cf772a4a51a0a8080b0032e6d37b2dbe8cfb724eac4e31c52/llvmlite-0.47.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:5853bf26160857c0c2573415ff4efe01c4c651e59e2c55c2a088740acfee51cd", size = 56275178, upload-time = "2026-03-31T18:28:48.342Z" },
- { url = "https://files.pythonhosted.org/packages/2f/f5/d281ae0f79378a5a91f308ea9fdb9f9cc068fddd09629edc0725a5a8fde1/llvmlite-0.47.0-cp312-cp312-win_amd64.whl", hash = "sha256:f3079f25bdc24cd9d27c4b2b5e68f5f60c4fdb7e8ad5ee2b9b006007558f9df7", size = 38138692, upload-time = "2026-03-31T18:28:57.147Z" },
- { url = "https://files.pythonhosted.org/packages/77/6f/4615353e016799f80fa52ccb270a843c413b22361fadda2589b2922fb9b0/llvmlite-0.47.0-cp313-cp313-macosx_12_0_arm64.whl", hash = "sha256:a3c6a735d4e1041808434f9d440faa3d78d9b4af2ee64d05a66f351883b6ceec", size = 37232771, upload-time = "2026-03-31T18:29:01.324Z" },
- { url = "https://files.pythonhosted.org/packages/31/b8/69f5565f1a280d032525878a86511eebed0645818492feeb169dfb20ae8e/llvmlite-0.47.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:2699a74321189e812d476a43d6d7f652f51811e7b5aad9d9bba842a1c7927acb", size = 56275178, upload-time = "2026-03-31T18:29:05.748Z" },
- { url = "https://files.pythonhosted.org/packages/46/9f/4898b44e4042c60fafcb1162dfb7014f6f15b1ec19bf29cfea6bf26df90d/llvmlite-0.47.0-cp313-cp313-win_amd64.whl", hash = "sha256:c2e9adf8698d813a9a5efb2d4370caf344dbc1e145019851fee6a6f319ba760e", size = 38138695, upload-time = "2026-03-31T18:29:15.43Z" },
- { url = "https://files.pythonhosted.org/packages/1c/d4/33c8af00f0bf6f552d74f3a054f648af2c5bc6bece97972f3bfadce4f5ec/llvmlite-0.47.0-cp314-cp314-macosx_12_0_arm64.whl", hash = "sha256:de966c626c35c9dff5ae7bf12db25637738d0df83fc370cf793bc94d43d92d14", size = 37232773, upload-time = "2026-03-31T18:29:19.453Z" },
- { url = "https://files.pythonhosted.org/packages/64/1d/a760e993e0c0ba6db38d46b9f48f6c7dceb8ac838824997fb9e25f97bc04/llvmlite-0.47.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ddbccff2aeaff8670368340a158abefc032fe9b3ccf7d9c496639263d00151aa", size = 56275176, upload-time = "2026-03-31T18:29:24.149Z" },
- { url = "https://files.pythonhosted.org/packages/be/f7/19e2a09c62809c9e63bbd14ce71fb92c6ff7b7b3045741bb00c781efc3c9/llvmlite-0.47.0-cp314-cp314-win_amd64.whl", hash = "sha256:694e3c2cdc472ed2bd8bd4555ca002eec4310961dd58ef791d508f57b5cc4c94", size = 39153826, upload-time = "2026-03-31T18:29:33.681Z" },
- { url = "https://files.pythonhosted.org/packages/40/a1/581a8c707b5e80efdbbe1dd94527404d33fe50bceb71f39d5a7e11bd57b7/llvmlite-0.47.0-cp314-cp314t-macosx_12_0_arm64.whl", hash = "sha256:92ec8a169a20b473c1c54d4695e371bde36489fc1efa3688e11e99beba0abf9c", size = 37232772, upload-time = "2026-03-31T18:29:37.952Z" },
- { url = "https://files.pythonhosted.org/packages/11/03/16090dd6f74ba2b8b922276047f15962fbeea0a75d5601607edb301ba945/llvmlite-0.47.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:fa1cbd800edd3b20bc141521f7fd45a6185a5b84109aa6855134e81397ffe72b", size = 56275178, upload-time = "2026-03-31T18:29:42.58Z" },
- { url = "https://files.pythonhosted.org/packages/4f/79/d3bbab197e86e0ff4f9c07122895b66a3e0d024247fcff7f12c473cb36d9/llvmlite-0.47.0-cp314-cp314t-win_amd64.whl", hash = "sha256:6842cf6f707ec4be3d985a385ad03f72b2d724439e118fcbe99b2929964f0453", size = 39153839, upload-time = "2026-03-31T18:29:51.004Z" },
+ { url = "https://files.pythonhosted.org/packages/9a/55/595981f14fbae9ba966feb12af552b1fe69889e44e64ac883a731ed335e0/llvmlite-0.48.0-cp311-cp311-macosx_12_0_arm64.whl", hash = "sha256:56a7e24607d3f02d7b1bae8d29c7e1e423d53143d68b072999777f19678fe77b", size = 40480651, upload-time = "2026-07-01T18:41:18.438Z" },
+ { url = "https://files.pythonhosted.org/packages/26/08/0109d1b9cb3f4603f3890e30bc66c65332b79185f12a045343b2ae431f67/llvmlite-0.48.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:6fa532d6bb3fd3f0803567c736401c54aecfe1a396d3ad25d2440d220e09f0e7", size = 59890118, upload-time = "2026-07-01T18:41:28.184Z" },
+ { url = "https://files.pythonhosted.org/packages/aa/f7/b3222b13f2d424dae3c9e63fde476af25ebccf1f3faf0b52d1b79fc15c70/llvmlite-0.48.0-cp311-cp311-win_amd64.whl", hash = "sha256:efaee0276e5e17c2b99b92e0c974bd484ef5977cf5dbc9168e82b71578edb47f", size = 41864734, upload-time = "2026-07-01T18:41:31.932Z" },
+ { url = "https://files.pythonhosted.org/packages/92/a2/28696a9e61e245d1a79816d29d106692a90a2b6e7d78c98b326db70827af/llvmlite-0.48.0-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:d66c3beb4209087ddd4cf4ed2a0856b6887e6a913bdcf1aacfec9851cf2cba4e", size = 40480651, upload-time = "2026-07-01T18:41:35.694Z" },
+ { url = "https://files.pythonhosted.org/packages/80/f2/72409351db66d0a317ec5087e076f31fb7b773a640db8a90ce6b5cac9edd/llvmlite-0.48.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:416fa4c2c66c2c6dc6d0a402648c19206e548efa0aa1eff01ad5cdad0af8217d", size = 59890118, upload-time = "2026-07-01T18:41:44.886Z" },
+ { url = "https://files.pythonhosted.org/packages/16/78/d824ffff7521cd140dc2006e44ce2bc82e64b48d1b32e90e956308c85a74/llvmlite-0.48.0-cp312-cp312-win_amd64.whl", hash = "sha256:d45c7541a80934ec6d8ab0defe67439494ecd2193cbf852a44ba827808976ac1", size = 41865022, upload-time = "2026-07-01T18:41:48.663Z" },
+ { url = "https://files.pythonhosted.org/packages/9c/23/fe9316d14626b42c73ef0b502e724705a6ee9450afe53759c0a99c37c2d7/llvmlite-0.48.0-cp313-cp313-macosx_12_0_arm64.whl", hash = "sha256:a83a99ef0c05b4ccddf9b6218ed9fe84b653a0caf7c1d9dbe148d6d16c67f518", size = 40480652, upload-time = "2026-07-01T18:41:52.216Z" },
+ { url = "https://files.pythonhosted.org/packages/1b/4a/90715fa12006d681270b08d881195b6fab3ec39572e048764a1f7f59fed7/llvmlite-0.48.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:8761b9e522f55207e24424fcd98370289eec2710bf8e915c82d1053f642450dc", size = 59890120, upload-time = "2026-07-01T18:42:00.748Z" },
+ { url = "https://files.pythonhosted.org/packages/17/97/5a430055d1838cf1fb7a01cfa943300f5e4c026fc6333a522c5e4a03b0c1/llvmlite-0.48.0-cp313-cp313-win_amd64.whl", hash = "sha256:91c7e24e74cde3f02b88aa5acca678373f9e069f3b98531b3dbb3a142d9d10bb", size = 41865022, upload-time = "2026-07-01T18:42:04.57Z" },
+ { url = "https://files.pythonhosted.org/packages/8d/8e/8170f2e0c217f88069c333d85bb976e536b332aecfcce606ddbdb249385f/llvmlite-0.48.0-cp314-cp314-macosx_12_0_arm64.whl", hash = "sha256:321f1ac39b462603f0b589751aecf2d237d056f6d005749c1752b6f23ec3f074", size = 40480650, upload-time = "2026-07-01T18:42:07.935Z" },
+ { url = "https://files.pythonhosted.org/packages/d6/e1/05b50692b647cac3c18200ac485b04f342f00ed173c9cc46767274469a15/llvmlite-0.48.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:05f0103c8f2f96a37441337e3643863c01b8e83e530aff38960dcb383c54a065", size = 59890115, upload-time = "2026-07-01T18:42:17.805Z" },
+ { url = "https://files.pythonhosted.org/packages/c9/2d/6a5171fb7236ac0895e1a02ccba3735bf291e8597239aa6421894d3c0ba8/llvmlite-0.48.0-cp314-cp314-win_amd64.whl", hash = "sha256:966dcab0a598e2bd8fb5f2cc082cf7b07bae564fc485a3a8692393caf986facf", size = 42986372, upload-time = "2026-07-01T18:42:21.483Z" },
+ { url = "https://files.pythonhosted.org/packages/94/e3/7a93e09c9f94e637ca90209ceef0334a9a1d45b0bdb7c92ff922d25d6187/llvmlite-0.48.0-cp314-cp314t-macosx_12_0_arm64.whl", hash = "sha256:7a5c413317050a1d67c34708bde97707f9b2257ef1017f7532d21fe7d9a9ff30", size = 40480654, upload-time = "2026-07-01T18:42:25.076Z" },
+ { url = "https://files.pythonhosted.org/packages/27/98/a29133b4728671a175f7d616fab8b1c6e1d8c269d1523581d3160697bfb1/llvmlite-0.48.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:1d9f952dff6c350c529997423d4fa43abae9722a884ac7ffafc37a3af676e7db", size = 59890119, upload-time = "2026-07-01T18:42:33.88Z" },
+ { url = "https://files.pythonhosted.org/packages/db/41/b96f440c7df5ebba07872cad4e30fbc3560387755b1ea0b629adb76d5ca8/llvmlite-0.48.0-cp314-cp314t-win_amd64.whl", hash = "sha256:d0b3c61aac83b42fb48cc96bffbf57c81b82b2aa92276b7ed6420c814629a99a", size = 42986383, upload-time = "2026-07-01T18:42:37.544Z" },
]
[[package]]
@@ -601,7 +649,7 @@ wheels = [
[[package]]
name = "matplotlib"
-version = "3.11.0"
+version = "3.11.1"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "contourpy", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
@@ -614,41 +662,41 @@ dependencies = [
{ name = "pyparsing", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
{ name = "python-dateutil", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/1f/24/080c99d223d158d3a8902769269ab6da5b50f7a0e6e072513907e02b7a6c/matplotlib-3.11.0.tar.gz", hash = "sha256:68c0c7be01b30dcca3638934f7f591df73401235cbdbf0d1ab1c71e7db7f8b57", size = 33251176, upload-time = "2026-06-12T02:29:15.508Z" }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/ce/a2/78f662f1b18968531f67d3fcde1b7ea8496920bacd4f16ddb5b79d112e46/matplotlib-3.11.0-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:f857524b442f0f36e641868ce2171aafa88cb0bc0644f4e1d8a5df9b32649fef", size = 9436261, upload-time = "2026-06-12T02:27:34.161Z" },
- { url = "https://files.pythonhosted.org/packages/5e/92/044f1de43901310202f4c79acf4f141be53b2ca8d8380e2fcefb3d523a75/matplotlib-3.11.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:57baa92fdc82948ed716eae6d2579d4d6f40965cd8d2f416755b4a72580a3233", size = 9264669, upload-time = "2026-06-12T02:27:37.413Z" },
- { url = "https://files.pythonhosted.org/packages/53/f4/f0b4f9ba7ec14a7af8151f3ad71ecfe3561e6ba38cfab1db3681ba4ca112/matplotlib-3.11.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:630eee0e67d35cce2019a0e670719f4816e3b86aff0fa72729f6c69786fceb45", size = 10021076, upload-time = "2026-06-12T02:27:39.926Z" },
- { url = "https://files.pythonhosted.org/packages/07/74/0a3683802037d8cd013144d77c247219b47f2aabace6fdde74faa12bacf7/matplotlib-3.11.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:4d7aea652b58e686444079be3376ef546bffa1eee9b9bb9c472b9fcf6cf410d3", size = 10913103, upload-time = "2026-06-12T02:27:44.827Z" },
- { url = "https://files.pythonhosted.org/packages/d0/9f/970fcbf381e82ec66fdf5da8ea76e2e9240f61a24011ce9fd1d42c37ac2d/matplotlib-3.11.0-cp311-cp311-win_amd64.whl", hash = "sha256:70a5b3e9a5dab708c0f039709ae7c68d5b4d254e291ef76492cdba230c8bb5e4", size = 9310945, upload-time = "2026-06-12T02:27:46.867Z" },
- { url = "https://files.pythonhosted.org/packages/da/17/f5276b496c61477a6c4fc5e7401f4bfe1c2e5ef7c6cd67896f2ade3809cb/matplotlib-3.11.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:06b5872e9cf11adc8f589ded3ce11bc3e1061ad498259664fabc1f6615beb918", size = 9449976, upload-time = "2026-06-12T02:27:50.989Z" },
- { url = "https://files.pythonhosted.org/packages/82/34/bdd77418adb2178a1d59f044bd67bfebb115896e91b840b8a197eb3f4f4e/matplotlib-3.11.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:0515d495124be3124340e59f164d901ed4484e2246a5b74cfa483cac3b80bd97", size = 9279307, upload-time = "2026-06-12T02:27:53.247Z" },
- { url = "https://files.pythonhosted.org/packages/94/95/7f522393c88313336b20d70fc849555757b2e5febc22b83b3a3f0fd4bce9/matplotlib-3.11.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:be5f93a1d21981bfb802ded0d77a0caa92d4342a47d45754fac77e314a506344", size = 10031353, upload-time = "2026-06-12T02:27:55.215Z" },
- { url = "https://files.pythonhosted.org/packages/85/c2/db15da2bbdf9e3ca66df7db8e2c33a1dfed67be24a24d2c878efaaff01d6/matplotlib-3.11.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:94f5000f67ca9faa300863ea17f8bce9175cb67b88bec4bc7780502d53dd7c9e", size = 10923899, upload-time = "2026-06-12T02:28:00.223Z" },
- { url = "https://files.pythonhosted.org/packages/e5/2f/a58a4443a4d052a4ea77557478336aefc26c7981f6408d37adba763aa758/matplotlib-3.11.0-cp312-cp312-win_amd64.whl", hash = "sha256:ac6f1ef39f3d0f9e2463303013094992cdbe0f85f43bc54155bc472b2042768e", size = 9329528, upload-time = "2026-06-12T02:28:02.27Z" },
- { url = "https://files.pythonhosted.org/packages/55/41/aa47f156b061d14c98b906f76c428507397708ec63ff94f410ae1752b426/matplotlib-3.11.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:6ce3b839b34ae1f430b4616893a2945a2999debaa7e94e7e29a2a8bbf286f7b5", size = 9450532, upload-time = "2026-06-12T02:28:06.769Z" },
- { url = "https://files.pythonhosted.org/packages/8c/4f/5a9eb0375e81413953febf8af7b012a6b6357f53438a15c4f5ad86c6bbb5/matplotlib-3.11.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:373db8f91214e8ccaf35ac833cc1dd59dd961e148bbd55dd027141591dde1313", size = 9279760, upload-time = "2026-06-12T02:28:09.152Z" },
- { url = "https://files.pythonhosted.org/packages/a4/c0/1117d53077e3ac3152503a84e9cf7a5c239576805ee71276e80c2aaa7471/matplotlib-3.11.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:be152b7570324dc8d01574cc9474dd2d803237acf528bcbb5b211fa347461a09", size = 10031623, upload-time = "2026-06-12T02:28:11.26Z" },
- { url = "https://files.pythonhosted.org/packages/1d/c2/438ecc197ffb8023b6b9922915542f2172f5fd45b76703b0b4fc47322243/matplotlib-3.11.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:03acfeddf87b0dddb11b081ef7740ad445a3ca8bcb6b8e3011b08f2cf802b75c", size = 10924099, upload-time = "2026-06-12T02:28:16.383Z" },
- { url = "https://files.pythonhosted.org/packages/40/2e/395883da416f378b3ed2c9f3e843ac477eae1ce731b671b79adaa6f0bacd/matplotlib-3.11.0-cp313-cp313-win_amd64.whl", hash = "sha256:ab3722f04f3ff34c23b5012c5873d2894174e06c3822fcdac3610965a5ac7d06", size = 9329727, upload-time = "2026-06-12T02:28:18.581Z" },
- { url = "https://files.pythonhosted.org/packages/c8/c1/34454baa44da7975ada82e9aea37105ec47059514dc967d3be14426ba8dc/matplotlib-3.11.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:3489c3dc487669b4a980bc3068f87856de7a1564248d3f6c629efb2a58b03f24", size = 9499838, upload-time = "2026-06-12T02:28:22.713Z" },
- { url = "https://files.pythonhosted.org/packages/b1/c3/98fe79a398cf232219f090163a7fa7e6766e9f2e0ad26df54d6f8934d8ee/matplotlib-3.11.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:6a98f5476ce784a50ce09998f4ae1e6a9f25043cef8a480c98949902eda74620", size = 9332298, upload-time = "2026-06-12T02:28:24.796Z" },
- { url = "https://files.pythonhosted.org/packages/95/e4/b4b7c33151e74e5c802f3cde1ba807ebfc38401e329b44e215a5888dd76d/matplotlib-3.11.0-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:565af866fd63e4bd3f987d580afe27c44c2552a3b3305f4ecbb85133601ea6f3", size = 10045491, upload-time = "2026-06-12T02:28:27.141Z" },
- { url = "https://files.pythonhosted.org/packages/c8/44/e7922e6e2a4d63bdfbc9dc4a53e3850ab438d46cf42e6779bb15ec92c948/matplotlib-3.11.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:942b37c5db1899610bd1543ce8e13e4ecff9a4633e7f63bb6aa9205d2644ebd1", size = 10939576, upload-time = "2026-06-12T02:28:31.66Z" },
- { url = "https://files.pythonhosted.org/packages/3d/be/b1ca96003a441d619b727fee21d671fdff7a5ce2f1bb797b2521aa2f679a/matplotlib-3.11.0-cp313-cp313t-win_amd64.whl", hash = "sha256:c08e649a6313e1291e713623b97a38e5bb4aa580b2a100a94a3309bc6b9c8eb3", size = 9379519, upload-time = "2026-06-12T02:28:33.888Z" },
- { url = "https://files.pythonhosted.org/packages/57/52/a94102ac99eb78e2fe9b826674f9ef9ee23327110ea6ab4776c1b4eb6209/matplotlib-3.11.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:3338e3e3de128cf50d0d2fb92a122815daf9c755bd882a474343c05f8fd7ec79", size = 9452137, upload-time = "2026-06-12T02:28:37.93Z" },
- { url = "https://files.pythonhosted.org/packages/7c/03/b8cdb625a21f710dfa11bbca1f48fb4057d2c0286975f8b415bf80942c99/matplotlib-3.11.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:25c2e5455efd8d99f41fb79871a31feb7d301569642e332ec58d72cfe9282bc3", size = 9281514, upload-time = "2026-06-12T02:28:40.028Z" },
- { url = "https://files.pythonhosted.org/packages/29/dc/6377ecfaa5fef79430f74a1a16638b4e2aa30d4692bae2c19f9d76fe3b01/matplotlib-3.11.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:19c16c61dea63b3582918503e6b294193961261d9daa806d4ae2151f1ad05430", size = 11127459, upload-time = "2026-06-12T02:28:44.483Z" },
- { url = "https://files.pythonhosted.org/packages/6f/41/795c405aa7560443a3b01309424cde4a1113b85c90b8a63417444a749617/matplotlib-3.11.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:2d72ea8b7924f3cb955e61518d21e43b3df1e6c8a793b480a0c1214f185d30ba", size = 10925160, upload-time = "2026-06-12T02:28:46.564Z" },
- { url = "https://files.pythonhosted.org/packages/1a/f7/3a9e6389a7cfaeff76c56e40c2dabcb13110e21e82f837228c834ebe748c/matplotlib-3.11.0-cp314-cp314-win_amd64.whl", hash = "sha256:1c02da0a629dfa9debf52725ea06866b74c1fb70a895bae05e4493d34074f9f2", size = 9485186, upload-time = "2026-06-12T02:28:49.344Z" },
- { url = "https://files.pythonhosted.org/packages/c5/6f/1c3bd51bb2b34eaacdcf3c3d859dbb357f952fc8020c617dc118ad7c9e38/matplotlib-3.11.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:a9d8c6e7cd2f0ddf11d8d92e520dd1d9d2abb0cf6ac8831e338666c81e905847", size = 9500921, upload-time = "2026-06-12T02:28:53.443Z" },
- { url = "https://files.pythonhosted.org/packages/e0/0d/4d861d0121840cb1a3fd4a10deb211efd6fccd481ed23e553f31f4f4da4a/matplotlib-3.11.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:be050fcf32f729eda99f7f75a80bf67612ce16ab9ac1c23a387dcaede95cb70e", size = 9332190, upload-time = "2026-06-12T02:28:55.623Z" },
- { url = "https://files.pythonhosted.org/packages/3f/7e/9a9eaca731a2939589da520f0ebe8fd8753d0f51fca98c7d20af6dbe261a/matplotlib-3.11.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1644db30e759199443493ac5e5caec24fdb775a8f6123021f85ba47c4133c3cb", size = 11137715, upload-time = "2026-06-12T02:29:00.555Z" },
- { url = "https://files.pythonhosted.org/packages/ef/f9/9b030b6088354acb0296871bb624b25befc1c42509d3c6cd17420c83a5b8/matplotlib-3.11.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:15b0d160079cb10699a0e98b5989c70677b2df7cacdc62af67c30f2facec46d9", size = 10939427, upload-time = "2026-06-12T02:29:02.527Z" },
- { url = "https://files.pythonhosted.org/packages/59/94/6b273eaee4ee250863567d100865da61a5c1527fa67f527b7ed22e0dd29c/matplotlib-3.11.0-cp314-cp314t-win_amd64.whl", hash = "sha256:446307e6b04b57b1f1239e228a1ec2af0d589a1008cebc3dfa3f5441d095cfb6", size = 9535809, upload-time = "2026-06-12T02:29:04.994Z" },
- { url = "https://files.pythonhosted.org/packages/0f/c2/f5da6cd37ed6871f5c9b3c0507ddb69f14d6c36fac4541e4e0c60cb8cdfc/matplotlib-3.11.0-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:81ae77077a1e16d37a5b61096ccb07c8d90a99b518fa8256b8f21578932f2f62", size = 9434094, upload-time = "2026-06-12T02:29:09.135Z" },
- { url = "https://files.pythonhosted.org/packages/f8/07/56f66906e0f87a0c6d0d0acbd34dbc9432b1931d8f26ef618bd6f92932a9/matplotlib-3.11.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:ddef37840695f5eef65f9f070fe2d2f510f584c2156203f9f622a5b0584efffd", size = 9262183, upload-time = "2026-06-12T02:29:11.283Z" },
- { url = "https://files.pythonhosted.org/packages/0c/d8/c4ecab06b7ea36a570c4f3bd2d48d1799fd5d9174470e45c2194199431e7/matplotlib-3.11.0-pp311-pypy311_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:cf662e5ac5707658cb931e19972c4bd99f7b4f8b7bf79d3c821d239fa6b71e64", size = 10015653, upload-time = "2026-06-12T02:29:13.251Z" },
+sdist = { url = "https://files.pythonhosted.org/packages/49/64/f9a391af28f518b11ad45a8a712353c94a0aefce09d3703200e5c54b610a/matplotlib-3.11.1.tar.gz", hash = "sha256:69647db5746941c793d6e445a4cd349323ffb87d9cc958c2ad84a659b4832d30", size = 32612045, upload-time = "2026-07-18T03:39:46.63Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/6e/d0/791aa183dd88491555cf7d4be0b52b0bcf6c3c2a2c22c815a2e819bf53e2/matplotlib-3.11.1-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:b7cf158e7add54a8d51ac9b5a84abd6d4e13ed4951b4f25f1c5139f41c2addb2", size = 9440302, upload-time = "2026-07-18T03:38:03.844Z" },
+ { url = "https://files.pythonhosted.org/packages/35/74/82bbdf683a301f4478384c8aaba6903631a2ca18294b2d7655c9a542bffb/matplotlib-3.11.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:d2ace7273b9a5061a3b420918a16fae1f2dc5dfee1abcc13aba71b5d94b1820c", size = 9268549, upload-time = "2026-07-18T03:38:06.144Z" },
+ { url = "https://files.pythonhosted.org/packages/f0/f0/9b4298911303f74e6d83e64a81d996c0616405ec95046fac7f17e4258b9e/matplotlib-3.11.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:aee55e9041211bf84302ab55ec3965df18dd90ae19f8b58332a7feaf208bfe83", size = 10024922, upload-time = "2026-07-18T03:38:08.236Z" },
+ { url = "https://files.pythonhosted.org/packages/db/4d/e375f39acdb2af5a9342730618608e39790ec842e6f1b392863028781459/matplotlib-3.11.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:b4c78ceb2f11bcac7389d305cda17aeb1f4586a857854ab5780bd3dd8dbfc407", size = 10916701, upload-time = "2026-07-18T03:38:12.512Z" },
+ { url = "https://files.pythonhosted.org/packages/bc/be/fa26ed085b41298f64a8f9b7592c671bbf1acc8b0df124c1c5de96b859f8/matplotlib-3.11.1-cp311-cp311-win_amd64.whl", hash = "sha256:7f33a781e12b1e53b278deb2f5373c2e55ec4f10727be3440c0cfb5cda9f944f", size = 9315331, upload-time = "2026-07-18T03:38:14.949Z" },
+ { url = "https://files.pythonhosted.org/packages/f2/6c/7ef7ebcb2bd9739b2b66b18b076e077f44bb46fdbe28ca0506edb3c62c79/matplotlib-3.11.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:e15ef41507f3d525f46154ac9e3ae785dacde9f20e593a25de8986267892ef74", size = 9453849, upload-time = "2026-07-18T03:38:19.593Z" },
+ { url = "https://files.pythonhosted.org/packages/eb/f8/6d0c312c8d9738e7d9677f09fe5c986b3239e651a7b73a2deb38b65e4a71/matplotlib-3.11.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:21a67b961a6d597bca54fae826cd20695ba4a6e4d05424a08da6e13e3176fd6b", size = 9283113, upload-time = "2026-07-18T03:38:21.95Z" },
+ { url = "https://files.pythonhosted.org/packages/c9/cf/b4ad2cc81b6672ea29ea04e64e350a9f9b493b0908ccd884c67eeff8f7b2/matplotlib-3.11.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ba8f811b8ddfac493734d6af0b2dff96919d0c28ca0d641858dab4262777c6ea", size = 10035615, upload-time = "2026-07-18T03:38:24.315Z" },
+ { url = "https://files.pythonhosted.org/packages/88/eb/799612d0f8cd3e816a10fec59329fca52cd2353264df80378dfc541ae855/matplotlib-3.11.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:8b14eb22961fe865efb0e4ff167e333e428908b00115a8d800ccb65ee108e481", size = 10927532, upload-time = "2026-07-18T03:38:28.532Z" },
+ { url = "https://files.pythonhosted.org/packages/88/89/56649bbaa2fd12e20f3be03dbcc135b0c8676d88bac17977599e3eb442a0/matplotlib-3.11.1-cp312-cp312-win_amd64.whl", hash = "sha256:88a2a27dd9691ae448dfae4b26f59036be90c3c28757edd3553a29559d00859f", size = 9333886, upload-time = "2026-07-18T03:38:30.477Z" },
+ { url = "https://files.pythonhosted.org/packages/04/6c/4798363b7fb5644e309fe1fac30216e9146c9f70859d80d588c18caf5317/matplotlib-3.11.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:6771b0cd7838c6a857a7209814158c0ad09bfef878db3033dd82d70ad101f191", size = 9454341, upload-time = "2026-07-18T03:38:35.001Z" },
+ { url = "https://files.pythonhosted.org/packages/59/98/6acadbe7f98df19d274bc107ac58bb439fa75df82c33dc110d71a4a8501f/matplotlib-3.11.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:2abdee5ffa2fe11b2d19f7a5c63b785fb7c28cc46c7bc1814156341d9d1a33e1", size = 9283627, upload-time = "2026-07-18T03:38:37.061Z" },
+ { url = "https://files.pythonhosted.org/packages/24/ea/65cec46fe241390ccea1b1754207ee28eb71c5ab866bd5f22fe47e538fa4/matplotlib-3.11.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:b0a19dcf73406d3746d25a5ed42d713604c9a3e024d129b102852b0d941cb9f3", size = 10035860, upload-time = "2026-07-18T03:38:39.663Z" },
+ { url = "https://files.pythonhosted.org/packages/98/51/a1155945bff7b91381875022ac1522c5dfdac0d006be8e7df389b3134eae/matplotlib-3.11.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:c90be0b73568da4f662afac580956a76e308437e641b4a45aa08925eeb67d95f", size = 10927962, upload-time = "2026-07-18T03:38:44.302Z" },
+ { url = "https://files.pythonhosted.org/packages/0d/3a/3d5e1f42dc761bf53401a62a83ff93389b37de9d2c093b2a3aa49ac34f1b/matplotlib-3.11.1-cp313-cp313-win_amd64.whl", hash = "sha256:68408341f2312836fbbdf6b3c78047f65b2d8752f5fd221c3e72d348f5b34f8b", size = 9334074, upload-time = "2026-07-18T03:38:46.616Z" },
+ { url = "https://files.pythonhosted.org/packages/98/6e/c7ae5e0531425b69c0826b00ebbc264c85cab853f1cd6e096c9983c2cdc1/matplotlib-3.11.1-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:5e510088c27a89d53580a752f959146893563e63c330e161d159b0fee652af6f", size = 9503790, upload-time = "2026-07-18T03:38:51.527Z" },
+ { url = "https://files.pythonhosted.org/packages/92/79/15be162e0a2ed546939674e2e97d0e33ec2447d86d4d4e611fa295bb178c/matplotlib-3.11.1-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:1524e2bdd48a93557aa47ddcfe9c225dfdd57d5a01a5c49128c20f0632980ee1", size = 9336148, upload-time = "2026-07-18T03:38:53.564Z" },
+ { url = "https://files.pythonhosted.org/packages/6a/7f/36ffe144fc4aacfe0e3ed2318f72b6755d1e73b041d619b4d393e60f5a66/matplotlib-3.11.1-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:11664c551345553db92e61cae6cf1376f138f8c47cafdf13b64b18f3e3e9e464", size = 10049244, upload-time = "2026-07-18T03:38:55.911Z" },
+ { url = "https://files.pythonhosted.org/packages/7a/64/cca444b4eb5e6c768c44fc5e1f0b5211f20ca2b282778051996e996a2bdf/matplotlib-3.11.1-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:83235693abde86e5e0129998f80ee39fc7f58e6d56a88fafb28a9278833e9d5f", size = 10943282, upload-time = "2026-07-18T03:39:00.465Z" },
+ { url = "https://files.pythonhosted.org/packages/e5/0f/a49c329d394f2e9ef38506982107e8b04ecf94dd41a9d8423ff82cc737c7/matplotlib-3.11.1-cp313-cp313t-win_amd64.whl", hash = "sha256:9a076f4fc5cdc43fdf510f5981418d25c2db4973418d9f22d8bb3dc8045ada78", size = 9383532, upload-time = "2026-07-18T03:39:02.468Z" },
+ { url = "https://files.pythonhosted.org/packages/35/04/3079499fa8cb661ea66d13d6439d5a3ae6710a7afd5c7f72e08914f275f8/matplotlib-3.11.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:30c492d4ba9448595b6fd8708c6725963f8148e25c0d8842948da5b05f0ee8d3", size = 9456022, upload-time = "2026-07-18T03:39:07.041Z" },
+ { url = "https://files.pythonhosted.org/packages/53/a2/69acfe84ec1f32930e801a5782a07fc5c79c8c6599a507b806d859d5da8e/matplotlib-3.11.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:ac104be2768ffdd8655db9e71b768cbb45f2b9aa7b450cf1595e8f65d3822319", size = 9285475, upload-time = "2026-07-18T03:39:09.562Z" },
+ { url = "https://files.pythonhosted.org/packages/64/0d/a17e966e620545c1548125af0b29ac812dd17b197a18a7462ac12fa859ee/matplotlib-3.11.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5af0dcda57d471440a7b5b623e70e0a61003518443d9098f211a96ecfbbc25be", size = 11131087, upload-time = "2026-07-18T03:39:13.764Z" },
+ { url = "https://files.pythonhosted.org/packages/97/c5/5e100efdd67abb7de20befaa333612ef9bfc63417fb71398f904f25d083c/matplotlib-3.11.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:3d3fd84082b1afbd9398466c81309e20045be20d48fe0fb18c43504d164cbbb2", size = 10929036, upload-time = "2026-07-18T03:39:16.888Z" },
+ { url = "https://files.pythonhosted.org/packages/ce/04/d719a0a36930ecc8dfc801ff340f9dcfc4223f8ca5d39d06b4020032fff8/matplotlib-3.11.1-cp314-cp314-win_amd64.whl", hash = "sha256:9601a1e90be21e4884c53b4f3dc3ee0544654946f9975258d691f1c2e2f119c6", size = 9489571, upload-time = "2026-07-18T03:39:19.449Z" },
+ { url = "https://files.pythonhosted.org/packages/88/dd/18da6cd01cf96354534f98c468a25380c68ce582a2c9dd0cae12b04af4f2/matplotlib-3.11.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:dadfe80797174e2984aae3be0b77594a3c72d2c0a40fbd4a0de48d2728caf3ae", size = 9504876, upload-time = "2026-07-18T03:39:23.633Z" },
+ { url = "https://files.pythonhosted.org/packages/79/b0/f0b63555a18b79d038c81fd6126f35fc4dfce0eaff48d96103348c7cf935/matplotlib-3.11.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:89b193b255f4f6f7948dbcee3691f4f341ab05d9a8874a67b45ddb4182922eda", size = 9336120, upload-time = "2026-07-18T03:39:25.797Z" },
+ { url = "https://files.pythonhosted.org/packages/ec/d2/d6d5324507c5fbb316db48e258c09c2807f3de03d9af47017e120070926f/matplotlib-3.11.1-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9fdf1c818ab05d0e74002091ddaf414478a3a449ec9d51c8976d45be7e3a01e2", size = 11141827, upload-time = "2026-07-18T03:39:30.092Z" },
+ { url = "https://files.pythonhosted.org/packages/0f/68/3c22e9320bdce2c4d2f1320643ef706db7a24cb7420eea28b97a2d67f5a8/matplotlib-3.11.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:b937b9dba5f5f6c1e31c47abe2186c865c0914fd18f2ce0dfc39c9adcef5951d", size = 10943061, upload-time = "2026-07-18T03:39:32.356Z" },
+ { url = "https://files.pythonhosted.org/packages/f6/4a/907ed190ee81a9df581e0ed5456134fc0f7cb55ffcfda2f9e54ca900761c/matplotlib-3.11.1-cp314-cp314t-win_amd64.whl", hash = "sha256:f2912f647f3fbe1ccf085f91e213936f9101bead81a5e670565b1f1b3712f4fb", size = 9540074, upload-time = "2026-07-18T03:39:34.789Z" },
+ { url = "https://files.pythonhosted.org/packages/ee/38/ceb1d637c4db6d06141f3739e93af3321e7caaabe69b57ae48ffe3ee95b1/matplotlib-3.11.1-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:427258425f9a3fc4ed79a91f9e9b9aaf5a82cb6571e85dc14063cc6fbb993741", size = 9438045, upload-time = "2026-07-18T03:39:39.491Z" },
+ { url = "https://files.pythonhosted.org/packages/89/25/72ad8b58602d3a6ef1dfc4b65ecd01634ab65a2bdf494c9fe0e966dbf081/matplotlib-3.11.1-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:1ac697e591c11b6ad04679a73c2d2f9980fe9d9f0311fb414a2e329706343dfb", size = 9266127, upload-time = "2026-07-18T03:39:41.597Z" },
+ { url = "https://files.pythonhosted.org/packages/8a/6d/69552382fcc8e93d1f2763ef2665980a900a48b7f3a4c57ed290726d1cbc/matplotlib-3.11.1-pp311-pypy311_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:e4b9ac2f1f607ecda2af90a5232beee2af7582fce1cc30c4b6a1b012dc21ee99", size = 10019439, upload-time = "2026-07-18T03:39:43.78Z" },
]
[[package]]
@@ -733,38 +781,38 @@ wheels = [
[[package]]
name = "narwhals"
-version = "2.22.1"
+version = "2.24.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/62/3c/c4ef2164a71c1a63d7f1ae411c4082c5fa872405106db60a4b7114989ad7/narwhals-2.22.1.tar.gz", hash = "sha256:d62920805a0a43b7ff8b54b0c0d3142d796f8a9301836ada37e573d6a33cbcd9", size = 647493, upload-time = "2026-06-05T12:34:34.051Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/2b/1d/58946e5aab18393e793bd4add6985b95d0e01c3a2d832f38f54468b10dcd/narwhals-2.24.0.tar.gz", hash = "sha256:b5c0f684ccd9d7475b564111e319a4964abcf2baf79d3cf6b1003d06ac9b828d", size = 661143, upload-time = "2026-07-13T10:49:19.086Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/48/ca/36339329c4604adbcc99c899b7eb1ce1a555c499b6a6860757dc9bfed36d/narwhals-2.22.1-py3-none-any.whl", hash = "sha256:60567d774edf77db53906f89d9fbd164e66e56d66d388e1e6990f17ac33cfb53", size = 454815, upload-time = "2026-06-05T12:34:32.289Z" },
+ { url = "https://files.pythonhosted.org/packages/7e/85/a5bfaebfd305ac18b57b0854d74e37e586809061a91fda62f0bd50c8518e/narwhals-2.24.0-py3-none-any.whl", hash = "sha256:42fdedf44e5b2ca7505630d45b4ac3058f38d8485cba9fe1652ca23152df7489", size = 461030, upload-time = "2026-07-13T10:49:17.571Z" },
]
[[package]]
name = "numba"
-version = "0.65.1"
+version = "0.66.0"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "llvmlite", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
{ name = "numpy", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/f6/c5/db2ac3685833d626c0dcae6bd2330cd68433e1fd248d15f70998160d3ad7/numba-0.65.1.tar.gz", hash = "sha256:19357146c32fe9ed25059ab915e8465fb13951cf6b0aace3826b76886373ab23", size = 2765600, upload-time = "2026-04-24T02:02:56.551Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/ae/a0/570e3dc53e5602b49108f62a13e529f1eec8bfc7ef37d49c825924dcf546/numba-0.66.0.tar.gz", hash = "sha256:b900e63a0e26c05ea9a6d5a3a5a0a177cb64c5011887bf43edb8c3ed2c38d363", size = 2806181, upload-time = "2026-07-01T23:12:46.36Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/96/b3/650500c2eab4534d98e9166f4298e0f3c69c742afdf24e6eabccd1f16ad8/numba-0.65.1-cp311-cp311-macosx_12_0_arm64.whl", hash = "sha256:7020d74b19cdb8cff16506542fdd510756e28c5e7f3bd0b7f574f0f42272fcd9", size = 2680563, upload-time = "2026-04-24T02:02:18.414Z" },
- { url = "https://files.pythonhosted.org/packages/44/0b/0615dbedb98f5b32a35a53290fbdc6e22306968109278d7e58df82d7a9f6/numba-0.65.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:f80ed83774b5173abd6581cd8d2165d1d38e13d2e5c8155c0c0b421784745420", size = 3745018, upload-time = "2026-04-24T02:02:20.252Z" },
- { url = "https://files.pythonhosted.org/packages/bd/9a/af61ec03b3116c161fd7a06b9e8a265729a8718458333e8ffbb06d9a3978/numba-0.65.1-cp311-cp311-win_amd64.whl", hash = "sha256:df40a5028a975b9ea66f6a2a3f7abbdbd541a863070e34ed367aff21141248e4", size = 2747417, upload-time = "2026-04-24T02:02:24.43Z" },
- { url = "https://files.pythonhosted.org/packages/57/bc/76f8f8c5cf9adee47fdb7bbb03be8900f76f902d451d7477cf12b845e1de/numba-0.65.1-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:ac3f1e77c352dd0ea9712732c2d8f9ca507717435eec5b5013bf138ac33c4a08", size = 2681371, upload-time = "2026-04-24T02:02:26.105Z" },
- { url = "https://files.pythonhosted.org/packages/69/47/a415af0283e4db0398104c6d1c11c9861a98dc67a7aa442a7769ed5d6196/numba-0.65.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:52bc6f3ceb8fcaff9b2ae26b4c6b1e9fee39db8d355534c0fe4f39a901246b84", size = 3802467, upload-time = "2026-04-24T02:02:27.712Z" },
- { url = "https://files.pythonhosted.org/packages/db/9e/3c679b2ee078425b9e99a91e44f8d132a6830d8ccce5227bc5e9181aeed8/numba-0.65.1-cp312-cp312-win_amd64.whl", hash = "sha256:5971c632be2a2351500431f46213821dba8d02b18a9f7d02fd36bd2743e41a6a", size = 2750611, upload-time = "2026-04-24T02:02:31.477Z" },
- { url = "https://files.pythonhosted.org/packages/79/37/14a4579049c1eb673afd0de0cb4842982acd55b9ce2643e763db858bcea0/numba-0.65.1-cp313-cp313-macosx_12_0_arm64.whl", hash = "sha256:1735c15c1134a5108b4d6a5c77fc0947924ea066a738dc09a52008c13df9cad3", size = 2681344, upload-time = "2026-04-24T02:02:33.65Z" },
- { url = "https://files.pythonhosted.org/packages/a0/22/b8d873f6466b20aa563fc9b33acd48dec89a07803ddaa2f1c8ca1cd33126/numba-0.65.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:c09f49117ef255e1f1c6dad0c7a1ed39868243862a73be5706793241a3755f1b", size = 3810619, upload-time = "2026-04-24T02:02:36.041Z" },
- { url = "https://files.pythonhosted.org/packages/fd/a5/03c970d57f4c1741354837353ce39fb5206952ae1dba8922d29c86f64805/numba-0.65.1-cp313-cp313-win_amd64.whl", hash = "sha256:85be74c0d036842699a30058f82fb88fc5ffdc59f7615cab5792ea92914c9b62", size = 2750534, upload-time = "2026-04-24T02:02:39.903Z" },
- { url = "https://files.pythonhosted.org/packages/4f/2e/8aed9b726d9ba5f11ad287645fd479e88278db3060a25cb1225d730eb2b7/numba-0.65.1-cp314-cp314-macosx_12_0_arm64.whl", hash = "sha256:33f5eb68eb1c843511615d14663ce60258525d6a4c65ab040e2c2b0c4cf17450", size = 2681554, upload-time = "2026-04-24T02:02:41.812Z" },
- { url = "https://files.pythonhosted.org/packages/87/96/f3eb235fafa82a34e2ab5dd7dc9ffff998ebf5f0bbc23fa56a96aeb44da6/numba-0.65.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:71e73029bf53a62cc6afcf96be4bd942290d8b4c55f0a454fb536158115790f7", size = 3779602, upload-time = "2026-04-24T02:02:43.726Z" },
- { url = "https://files.pythonhosted.org/packages/56/46/3f7fc04fb853559e74b210e0b62c19974ec844cefec611f9e535f4da3761/numba-0.65.1-cp314-cp314-win_amd64.whl", hash = "sha256:2a20fcdabdefbdacf88d85caf70c3b18c4bcb7ebb8f82e6a19486383dd26ab63", size = 2752637, upload-time = "2026-04-24T02:02:47.664Z" },
- { url = "https://files.pythonhosted.org/packages/81/7b/c1a341a9067367778f4152a5f01061cf281fb09582c92c510ec4918cabf6/numba-0.65.1-cp314-cp314t-macosx_12_0_arm64.whl", hash = "sha256:548dd4b3a4508d5062768d1514b2cd7b015f9a25ec7af651c50dee243965e652", size = 2684600, upload-time = "2026-04-24T02:02:49.653Z" },
- { url = "https://files.pythonhosted.org/packages/03/36/98ddbcf3e4f04a6dd07e1c67249955920579ba4af6bb6868e3088f4ed282/numba-0.65.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:78abc28feff2c2ff8307fff3975b6438352759c9acb797ecd6b1fb6e7e39e31d", size = 3817198, upload-time = "2026-04-24T02:02:51.266Z" },
- { url = "https://files.pythonhosted.org/packages/32/36/8be7118ffd4c8440881046eac3d0982cc5ab42909508cf5d67024d62a2e4/numba-0.65.1-cp314-cp314t-win_amd64.whl", hash = "sha256:20609346e3bd75204950dcbbfe383a8d7dbf4902f442aedbf00f97fef4aa8f38", size = 2758237, upload-time = "2026-04-24T02:02:54.612Z" },
+ { url = "https://files.pythonhosted.org/packages/9e/02/970796b4daa709604cde22e87a7cda9bde473c278ea4a75f59fe38cee47f/numba-0.66.0-cp311-cp311-macosx_12_0_arm64.whl", hash = "sha256:bbd531c327557a9004507fa6bff06c53ab51a7a5776b75261bb9cef1efe2b2ea", size = 2727049, upload-time = "2026-07-01T23:12:11.296Z" },
+ { url = "https://files.pythonhosted.org/packages/8c/99/33a6ed9c1a0b5e42efa98eb0edf617d61dca576c82625947377b1d4540c9/numba-0.66.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:fc6629becb21a867d85401ec89f426dd24c484a4193ade8a38309debfd1529ca", size = 3808870, upload-time = "2026-07-01T23:12:12.944Z" },
+ { url = "https://files.pythonhosted.org/packages/5e/c9/9476940bc6d5caf5c0cf2e4c5feecbf01244bbe6f914614082dd7a3e520e/numba-0.66.0-cp311-cp311-win_amd64.whl", hash = "sha256:fb601841d9e02e6237bb6522e36d0741614be3cfe2b482a6f00a41b5ba209443", size = 2780225, upload-time = "2026-07-01T23:12:16.924Z" },
+ { url = "https://files.pythonhosted.org/packages/62/a3/70deb7f88461c1cd5d16aa990c2380604102661a427667b8950dcdccc27f/numba-0.66.0-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:53ca5900b7cab15109796030113a6b28576bae5ad7bb507ad6dd1360ddd81ba4", size = 2727264, upload-time = "2026-07-01T23:12:18.669Z" },
+ { url = "https://files.pythonhosted.org/packages/2d/55/25c319845e9a4e08f16611ddbda56a192eb7b6ed13e1a2bff2da272ffb97/numba-0.66.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:0999e3ee1b18c48e1fb51d11af35ef59852c7f4f50569c9550c25faef0616ad1", size = 3866252, upload-time = "2026-07-01T23:12:20.429Z" },
+ { url = "https://files.pythonhosted.org/packages/fc/eb/9e6171e378822ab191c7abcfd3d8cfc8644516f6c7834c22e210e4acc070/numba-0.66.0-cp312-cp312-win_amd64.whl", hash = "sha256:b075a4e7ebc43dc6294f223e2821659656209fd5e0ce53245877c23d66d6e1a9", size = 2797403, upload-time = "2026-07-01T23:12:23.724Z" },
+ { url = "https://files.pythonhosted.org/packages/03/52/176c02d005c5c5143cde10a85bbcdcb6236d9e34c3aac089380e0506cd1d/numba-0.66.0-cp313-cp313-macosx_12_0_arm64.whl", hash = "sha256:380b2556a2019ccd1e956ae77dd257eaa39403f7520768b626d44b755112785e", size = 2727084, upload-time = "2026-07-01T23:12:25.434Z" },
+ { url = "https://files.pythonhosted.org/packages/44/b5/e930010965568fe7f2c6c962fd2849d458cb9f62c3ab7584af8a19a2b40a/numba-0.66.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:939316d5d8619751207b8972a67852b5a7646665298cb4de693cd6bf135152f4", size = 3873663, upload-time = "2026-07-01T23:12:27.308Z" },
+ { url = "https://files.pythonhosted.org/packages/83/7e/cea7710e96913d3c7f2999f16db1b28e6c5be5171cbf40f77f98333a7243/numba-0.66.0-cp313-cp313-win_amd64.whl", hash = "sha256:c5bfe5350284509ab0474390321454c3a8627a188af5b68c910e83df3e2db4a7", size = 2797247, upload-time = "2026-07-01T23:12:30.774Z" },
+ { url = "https://files.pythonhosted.org/packages/96/7a/7e0e73550eb4e41ede6e72fb5371f4539537a4d770a3b73fa9b61aea0622/numba-0.66.0-cp314-cp314-macosx_12_0_arm64.whl", hash = "sha256:46ae5f2b19e2af3c33c2df100306a90ea2f981c8158b0390f8bf6c20eee7357e", size = 2727296, upload-time = "2026-07-01T23:12:32.39Z" },
+ { url = "https://files.pythonhosted.org/packages/0f/26/885774c006de6620ed3d10f45d8e20fe0b8e6aad6d573211a2cbc8b3e528/numba-0.66.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:e2b101f23b8b63978d334574d2039f27f0dccfe1d891756f33a2e2f3e4c88cf4", size = 3842720, upload-time = "2026-07-01T23:12:33.938Z" },
+ { url = "https://files.pythonhosted.org/packages/66/c5/b46ad28ac3681d035ea21365c5e052149062e1a0a9affd0563d2760ea6ff/numba-0.66.0-cp314-cp314-win_amd64.whl", hash = "sha256:bd57790acd20f6a468e0ad333ef6b82355e309a92310fb7dff80e919f01a21a9", size = 2799250, upload-time = "2026-07-01T23:12:37.154Z" },
+ { url = "https://files.pythonhosted.org/packages/10/6f/5e77a7397a37dd16f57a7b72e7e470db5227b68e3639df0d13a8e674883d/numba-0.66.0-cp314-cp314t-macosx_12_0_arm64.whl", hash = "sha256:db7735d15ea17a283d6485b9fa3504769f78fd86e5146638ad5e8da57c031b9e", size = 2730342, upload-time = "2026-07-01T23:12:38.758Z" },
+ { url = "https://files.pythonhosted.org/packages/39/fd/e9c9680a3813f3d781c20e5d53c1074801b787d4feecca0472fdd7c05ce1/numba-0.66.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:651a2b53298340956db26ecbe7ab043106b50a40c2807e66d617a4917245a4ab", size = 3878695, upload-time = "2026-07-01T23:12:40.302Z" },
+ { url = "https://files.pythonhosted.org/packages/4c/f2/dca53d50b8f2289dd01954ace9da261e0487d5b74b188b4304e4ecc3492c/numba-0.66.0-cp314-cp314t-win_amd64.whl", hash = "sha256:d426178fb991a85714c43112a8ea7b9d9579ea856ad8dcdb9c1c3941903ba5be", size = 2804772, upload-time = "2026-07-01T23:12:44.399Z" },
]
[[package]]
@@ -878,14 +926,14 @@ wheels = [
[[package]]
name = "nvidia-cudnn-cu12"
-version = "9.23.2.1"
+version = "9.25.0.15"
source = { registry = "https://pypi.nvidia.com/" }
dependencies = [
{ name = "nvidia-cublas-cu12", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32')" },
]
wheels = [
- { url = "https://pypi.nvidia.com/nvidia-cudnn-cu12/nvidia_cudnn_cu12-9.23.2.1-py3-none-manylinux_2_27_x86_64.whl", hash = "sha256:a5e706320218dc7d661b0e13402f204eeccd07b18d061b4d60668f80e464dd1e" },
- { url = "https://pypi.nvidia.com/nvidia-cudnn-cu12/nvidia_cudnn_cu12-9.23.2.1-py3-none-win_amd64.whl", hash = "sha256:549d6eb120cdd89429997243cd2cad1e864aac3a2f887a93f17836ce72d83873" },
+ { url = "https://pypi.nvidia.com/nvidia-cudnn-cu12/nvidia_cudnn_cu12-9.25.0.15-py3-none-manylinux_2_27_x86_64.whl", hash = "sha256:4ea1ba443fa28ac6cf04b7a44a107dfd54cf355c2324938102ddb21778ab10ce" },
+ { url = "https://pypi.nvidia.com/nvidia-cudnn-cu12/nvidia_cudnn_cu12-9.25.0.15-py3-none-win_amd64.whl", hash = "sha256:7987acb3cc5b793151e64c05a12a3625f5a8d4cfabe87eea3a65f0676ef2da67" },
]
[[package]]
@@ -938,16 +986,26 @@ name = "onnxruntime"
version = "1.27.0"
source = { registry = "https://pypi.org/simple" }
dependencies = [
- { name = "flatbuffers", marker = "sys_platform == 'darwin'" },
- { name = "numpy", marker = "sys_platform == 'darwin'" },
- { name = "packaging", marker = "sys_platform == 'darwin'" },
- { name = "protobuf", marker = "sys_platform == 'darwin'" },
+ { name = "flatbuffers", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
+ { name = "numpy", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
+ { name = "packaging", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
+ { name = "protobuf", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
]
wheels = [
{ url = "https://files.pythonhosted.org/packages/d4/e4/5353d7e09ced4a8f473f843223fc75d726b2b5519dcefc12f22a6c92852d/onnxruntime-1.27.0-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:8ba14a38c570087f3cdb8cfba33f7a38a1e826c1e5b29e17c28ceda0cc910016", size = 18416484, upload-time = "2026-06-15T22:43:43.894Z" },
+ { url = "https://files.pythonhosted.org/packages/e0/cd/74bb804170ceb622fda9111df31a07b3024f7491472256d3a90b5391a4d2/onnxruntime-1.27.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e4f7b0e90d2d212e2c2deaa6c8291616183ab815d3ec558ea12d3ac8b26d36f4", size = 18636930, upload-time = "2026-06-15T22:43:01.584Z" },
+ { url = "https://files.pythonhosted.org/packages/fe/8f/5b8e2b85e81735696887175dbaf6409f215683f5ca9d4928fbb038211d32/onnxruntime-1.27.0-cp311-cp311-win_amd64.whl", hash = "sha256:ff050e4f6bf7f12918fa14dcb047c0b02e295f35e86d42532552be4b3d54e977", size = 13356110, upload-time = "2026-06-15T22:43:32.172Z" },
{ url = "https://files.pythonhosted.org/packages/c3/b7/dd3a524ed93a820dff1af902d0412957ab12499953333e9daa01af5bc480/onnxruntime-1.27.0-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:a14c2ce45312def86b77aea651f46565e45960cf5f0721bfdff449165086ab76", size = 18433506, upload-time = "2026-06-15T22:43:47.026Z" },
+ { url = "https://files.pythonhosted.org/packages/26/81/24dd9b31b0fb912ee19ca53ac1c9764bfd79d58a2ccef564eb693be831a5/onnxruntime-1.27.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7c65a7438632d55dfbc8a02ee60bd6cf7dd9d1ba05a43d4b851452f32338e194", size = 18658316, upload-time = "2026-06-15T22:43:04.012Z" },
+ { url = "https://files.pythonhosted.org/packages/4f/88/8ec9db1a4d126bb8b758992beb40d1249df171917d75f44a327eb5f20dda/onnxruntime-1.27.0-cp312-cp312-win_amd64.whl", hash = "sha256:20c321cf187ba496e648acf6b4cf90b4d398b0d17c2a77fdaeba365b908cc1c1", size = 13358769, upload-time = "2026-06-15T22:43:34.581Z" },
{ url = "https://files.pythonhosted.org/packages/fb/2b/54208fd03ad410480bc17edf4869376362da8bbf46fe186ddf4cb5cc20fe/onnxruntime-1.27.0-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:b3e5b58b8c89c2b20e086e890aa9527377e5c240dc3ecc1640d18e07705eeb1c", size = 18432958, upload-time = "2026-06-15T22:42:53.105Z" },
+ { url = "https://files.pythonhosted.org/packages/cb/19/14929c3c2fe0b79b41cce24463062bf3afa4cdd3c19dccf00319caa92bff/onnxruntime-1.27.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6872443f236a554921cda6f318c900e2d0c226792cf3534d00e5057c6926e5d2", size = 18658445, upload-time = "2026-06-15T22:43:08.053Z" },
+ { url = "https://files.pythonhosted.org/packages/7f/76/59ed932b0244acd7bbbd6449480053a6d958ea66357f022f932872e19287/onnxruntime-1.27.0-cp313-cp313-win_amd64.whl", hash = "sha256:760021bca514d64a811837820d351a08a41741f16f8b4c26450da708fecf14e6", size = 13357856, upload-time = "2026-06-15T22:43:37.315Z" },
+ { url = "https://files.pythonhosted.org/packages/72/1b/b18b31e806eabc41077810199fbbb36fbc2d5f19912416e5ccfbf73053d1/onnxruntime-1.27.0-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1b215aa662c8f983f7d6dedafe65a9be72c26e5338e0fe98b3e0422c32c85428", size = 18670967, upload-time = "2026-06-15T22:43:10.621Z" },
{ url = "https://files.pythonhosted.org/packages/3a/37/48ab79c39b58a7c9f6f5aac1fa0ff2b993eb2643393d6ed9e839ddb6f347/onnxruntime-1.27.0-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:0874edc171f470fc4dd2bbb60bc0989612ed1a8b89b365cda016630a93227f13", size = 18433941, upload-time = "2026-06-15T22:42:58.867Z" },
+ { url = "https://files.pythonhosted.org/packages/f9/b1/ea9ee80c0bdaa4efb13f29f8c236f3740f6655e8c092a2d119515a5a652c/onnxruntime-1.27.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:445fb702ea5241ba813a3ce2febe2e9408a64f6ad2eb610924322c536165f7cd", size = 18659240, upload-time = "2026-06-15T22:43:13.165Z" },
+ { url = "https://files.pythonhosted.org/packages/e9/f2/1404507d76a21940e8bf46f414e3d1abd94dc888cb89a30f4a540275846f/onnxruntime-1.27.0-cp314-cp314-win_amd64.whl", hash = "sha256:49e416be0d717338b6d041b99911b716d70c397d277056450724f93bdded3fc2", size = 13685306, upload-time = "2026-06-15T22:43:40.416Z" },
+ { url = "https://files.pythonhosted.org/packages/b7/f6/2bac21f722aa45d876d4a51f26bd0ef30e704068a3cd5021a5a7cd784271/onnxruntime-1.27.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:370d211e1ceeac4cd5f45301655463ac59e27cdc74d9f7aeb2d19ff4b7a76715", size = 18670781, upload-time = "2026-06-15T22:43:17.151Z" },
]
[[package]]
@@ -988,18 +1046,6 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/7f/8c/ec631100261b0fca25cafd1e1a06592e50b3cda8aa08e7c4c14d7b4d7115/opencv_contrib_python-4.12.0.88-cp37-abi3-win_amd64.whl", hash = "sha256:62c20c14fdd794c9d0fbc780b3d52a74bc967d205664d25b3906951abedc9f65", size = 45262376, upload-time = "2025-07-07T09:17:02.868Z" },
]
-[[package]]
-name = "opencv-python"
-version = "4.13.0.92"
-source = { registry = "https://pypi.org/simple" }
-dependencies = [
- { name = "numpy", marker = "sys_platform == 'darwin'" },
-]
-wheels = [
- { url = "https://files.pythonhosted.org/packages/fc/6f/5a28fef4c4a382be06afe3938c64cc168223016fa520c5abaf37e8862aa5/opencv_python-4.13.0.92-cp37-abi3-macosx_13_0_arm64.whl", hash = "sha256:caf60c071ec391ba51ed00a4a920f996d0b64e3e46068aac1f646b5de0326a19", size = 46247052, upload-time = "2026-02-05T07:01:25.046Z" },
- { url = "https://files.pythonhosted.org/packages/08/ac/6c98c44c650b8114a0fb901691351cfb3956d502e8e9b5cd27f4ee7fbf2f/opencv_python-4.13.0.92-cp37-abi3-macosx_14_0_x86_64.whl", hash = "sha256:5868a8c028a0b37561579bfb8ac1875babdc69546d236249fff296a8c010ccf9", size = 32568781, upload-time = "2026-02-05T07:01:41.379Z" },
-]
-
[[package]]
name = "optype"
version = "0.17.1"
@@ -1029,45 +1075,44 @@ wheels = [
[[package]]
name = "pandas"
-version = "3.0.3"
+version = "2.3.3"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "numpy", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
{ name = "python-dateutil", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
- { name = "tzdata", marker = "platform_machine == 'AMD64' and sys_platform == 'win32'" },
-]
-sdist = { url = "https://files.pythonhosted.org/packages/f8/87/4341c6252d1c47b08768c3d25ac487362bf403f0313ddae4a2a26c9b1b4c/pandas-3.0.3.tar.gz", hash = "sha256:696a4a00a2a2a35d4e5deb3fc946641b96c944f02230e4f76137fe35d806c4fc", size = 4651414, upload-time = "2026-05-11T18:54:29.21Z" }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/42/16/b5c76b838fd9bf6ce84d3a53346b8874ec05c5f0040d75ef2c320100cd2a/pandas-3.0.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:455f6f8139d4282188f526868dbc3c828470e88a3d9d59a891bd46a455f21b98", size = 10338495, upload-time = "2026-05-11T18:52:11.558Z" },
- { url = "https://files.pythonhosted.org/packages/5a/b0/a4ffc4ae74d2d822200dcc46898987d8eb6032d1e2b219cae39da6f5cbcc/pandas-3.0.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:4e15135e2ee5df1063313e2425ceef8ac0f4ae775893815b0923651b806a5639", size = 9938250, upload-time = "2026-05-11T18:52:17.005Z" },
- { url = "https://files.pythonhosted.org/packages/32/f1/bbecd2f867b97abebe0f9b53d750f862251b40337e061b36676ded3d920f/pandas-3.0.3-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8a1e45c80cceb3b4a21bc5939d52e8cbd8d9b7305309219d59e9754d9ce09e27", size = 11274611, upload-time = "2026-05-11T18:52:22.622Z" },
- { url = "https://files.pythonhosted.org/packages/49/44/1eb20389301b57b19cc099a1c2f662501f72f08a65f912d05822613c1532/pandas-3.0.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:a55066a0505dae0ba2b50a46637db34b46f9094c65c5d4800794ef6335010938", size = 12353708, upload-time = "2026-05-11T18:52:28.139Z" },
- { url = "https://files.pythonhosted.org/packages/eb/62/c321f13b5ba1819fc8dca456c7fce578da2dcfecff1abbf0eaddf8406c0f/pandas-3.0.3-cp311-cp311-win_amd64.whl", hash = "sha256:6674ab18ad8c57802867264b00e15e7bb904700cdd9046e3b2fa1fce237439ea", size = 9907609, upload-time = "2026-05-11T18:52:30.982Z" },
- { url = "https://files.pythonhosted.org/packages/24/f1/392f8c5bfc16f66a0d2d41561c01627c228fe7ed2a0d056ef11315042570/pandas-3.0.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:fed2ff7fd9779120e388e285fc029bd5cf9490cdd2e4166a9ee22c0e49a9ab09", size = 10357846, upload-time = "2026-05-11T18:52:36.143Z" },
- { url = "https://files.pythonhosted.org/packages/cf/3d/b16412745651e855f357e5e66930248688378853a6e2698a214e331fba1f/pandas-3.0.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:b168fc218fd80a6cbdbdbc1a97ddc7889ed057d7eb45f50d866ceab5f39904c4", size = 9899550, upload-time = "2026-05-11T18:52:38.976Z" },
- { url = "https://files.pythonhosted.org/packages/65/b6/09b01cdbc15224e2850365192d17b7bdebb8bdbd8780ed221fcdf0d9a515/pandas-3.0.3-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6dc0b3fd2169c9157deed50b4d519553a3655c8c6a96027136d654592be973a9", size = 10894600, upload-time = "2026-05-11T18:52:45.02Z" },
- { url = "https://files.pythonhosted.org/packages/f8/45/830bb57f533a4604b355e07edcb8ea18cf88b5f94e5fca92f27052d7c597/pandas-3.0.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:f8894dc474d648fe7b6ff0ca9b0bd73950d19952bc1a6534540762c5d79d305c", size = 11950889, upload-time = "2026-05-11T18:52:50.905Z" },
- { url = "https://files.pythonhosted.org/packages/b9/c5/fc1b368f303087d20e8c9bf3d6ceb186263cfac0ade735cd938538bea839/pandas-3.0.3-cp312-cp312-win_amd64.whl", hash = "sha256:c7be265b62cef88e253a941e4698604973736dcfe242fdb5198f0f7bc473cdcc", size = 9755463, upload-time = "2026-05-11T18:52:53.386Z" },
- { url = "https://files.pythonhosted.org/packages/c5/90/62d8302883c44308c477e222c3daf7c813a34c8e96985882fbd53d964352/pandas-3.0.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:67b3b64c11910cfa29f4e94a14d3bff9ee693b6fc76055e7cad549cee0aec5fa", size = 10331071, upload-time = "2026-05-11T18:52:58.838Z" },
- { url = "https://files.pythonhosted.org/packages/7f/ae/6a6493c783a101f165e4356953ba3c74d6f77f0042fa7d753da9dfbb640c/pandas-3.0.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:39436b377d56d2a2e52d0395bdbee171f01068e99af5250509aceeb929f765c7", size = 9875690, upload-time = "2026-05-11T18:53:01.431Z" },
- { url = "https://files.pythonhosted.org/packages/99/68/1237369725aa617bb358263d535803e3053fdbc593513ec5ed9c9896b5b6/pandas-3.0.3-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a4eeb6830daf35a71cc09649bd823e2b542dac246cdee9614c6e4bd65028cd6a", size = 10891243, upload-time = "2026-05-11T18:53:07.643Z" },
- { url = "https://files.pythonhosted.org/packages/d0/bd/eff5b4399f332ac386c853f6cd2bd3fa2ca0061b9f36ecd9c4d7c4265649/pandas-3.0.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:51b1fe551acb77dac643c6fda86084d8d446c10fe64b06a9cc29c4cc8540e7f2", size = 11942880, upload-time = "2026-05-11T18:53:13.536Z" },
- { url = "https://files.pythonhosted.org/packages/2c/20/559ace4200982c3887d0b86bfd0d856a2143ef8ddab63cc07934951a964c/pandas-3.0.3-cp313-cp313-win_amd64.whl", hash = "sha256:a82d532a3351d435432cd913edbccaf8b8e01d4dd0e5ced5a8d2e8ecd94c7e44", size = 9757091, upload-time = "2026-05-11T18:53:16.306Z" },
- { url = "https://files.pythonhosted.org/packages/57/0e/efe801b0e6811e8e650cd21b7f2608e30f08a7067e2bf6e8752b0d56ee3c/pandas-3.0.3-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:46997386d528eb40376ecd6b033cf4a8a1e5282580f68f43de875b78cba2199d", size = 10767016, upload-time = "2026-05-11T18:53:21.227Z" },
- { url = "https://files.pythonhosted.org/packages/ea/dc/eb55135a1d5f0f0519f28da1f609a206d2cad1f9c35c32d51e38dd7261ae/pandas-3.0.3-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:261e308dfb22448384b7580cf719d2f998fe2966c92893c3e77d14008af1f066", size = 10420210, upload-time = "2026-05-11T18:53:23.982Z" },
- { url = "https://files.pythonhosted.org/packages/f5/76/a01261711ab60a22d71b862f0de20e4c504bf80457270ad8cb42110f6abc/pandas-3.0.3-cp313-cp313t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d72828c20c6d6e83e1e22a6a3b47b326b71664112fa9705dcbccfd7a39b62085", size = 10728051, upload-time = "2026-05-11T18:53:29.125Z" },
- { url = "https://files.pythonhosted.org/packages/64/69/f0eaaf54939f0e8c6768fd06be9af2cef9b36048b96dfb9e1b2c685a807e/pandas-3.0.3-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:3e91cec1879ada0624fc3dc9953c5cbd60208e59c0db28f540c5d6d47502422f", size = 11799741, upload-time = "2026-05-11T18:53:34.985Z" },
- { url = "https://files.pythonhosted.org/packages/45/a4/865e0e510cae5fc2194de4db28be638952de942571ba9125934fd9c01d47/pandas-3.0.3-cp313-cp313t-win_amd64.whl", hash = "sha256:08d789b41f87e0905880e293cedf6197ce71fe67cc081358b1e148a491b9bd13", size = 10499958, upload-time = "2026-05-11T18:53:37.857Z" },
- { url = "https://files.pythonhosted.org/packages/86/54/effdcc3c0ff7a08037889200e148ebe94c16c4f653be078c7b3675955df1/pandas-3.0.3-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:3650109c0f22879df8bd6179ab9ee3d7f1d1d4e7e0094a3f0032d9f51e2e64ac", size = 10336065, upload-time = "2026-05-11T18:53:41.099Z" },
- { url = "https://files.pythonhosted.org/packages/68/10/bf2d6738d72748b961a3751ab89522d58c54efc36a8e1a12161216cd45cf/pandas-3.0.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:bab900348131a7db1f69a7309ef141fd5680f1487094193bcbbb61791573bf8f", size = 9926101, upload-time = "2026-05-11T18:53:43.515Z" },
- { url = "https://files.pythonhosted.org/packages/58/3b/1cdec6772bdbaf7b25dab360c59f03cadf05492dd724c6540af905389b07/pandas-3.0.3-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9d71c63ae4ebdbf70209742096f1fc46a83a0613c99d4b23766cced9ff8cd62a", size = 10914065, upload-time = "2026-05-11T18:53:49.134Z" },
- { url = "https://files.pythonhosted.org/packages/7e/49/4d8d4f42cbc9c4adc7a1870f269c02cbd6cd40d059622c06fb298addcbad/pandas-3.0.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:335f62418ed562cfc3c49e9e196375c28b729dcef8543abf4f9438e381bf3c76", size = 11982966, upload-time = "2026-05-11T18:53:55.043Z" },
- { url = "https://files.pythonhosted.org/packages/38/55/792619469bab9882d8bbd5865d45a72f6478762d04a9af4bf0d08c503e95/pandas-3.0.3-cp314-cp314-win_amd64.whl", hash = "sha256:3c20a521bbb85902f79f7270c80a59e1b5452d96d170c034f207181870f97ac5", size = 9876755, upload-time = "2026-05-11T18:53:58.067Z" },
- { url = "https://files.pythonhosted.org/packages/a2/fa/b8c257bd76b8bd060c3a9151c1fca05e9b9c5e3af5d0f549c0356f6d143d/pandas-3.0.3-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:0d589105b3c14645af1738ff279b2995102d8f7a03b0a66dc8d95550eb513e04", size = 10787242, upload-time = "2026-05-11T18:54:03.564Z" },
- { url = "https://files.pythonhosted.org/packages/54/eb/f19206ffb0bf1919002969aa448b4702c6594845156a6f8050674855aac3/pandas-3.0.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:13fc1e853d9e04743d11ba75a985ccbc2a317fe07d8af61e445a6fd24dacd6a6", size = 10436369, upload-time = "2026-05-11T18:54:06.311Z" },
- { url = "https://files.pythonhosted.org/packages/16/ec/dd2a9eb7fa1204df88c0864164e35b228ac581062ac612ba0a67fd812e4c/pandas-3.0.3-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:60ae316d3fd75d1858d450d0db0103ea2be3e7d4a95ec2f064f7e2ae63f7b028", size = 10758394, upload-time = "2026-05-11T18:54:11.956Z" },
- { url = "https://files.pythonhosted.org/packages/31/89/8fc1c268969fac43688d65fd92e67df24bd128d53cb4d2eee534cd307399/pandas-3.0.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:9c39be2d709d01fa972a0cabc522389fceca4f3969332ba25a7d6c5802cf976a", size = 11828897, upload-time = "2026-05-11T18:54:17.146Z" },
- { url = "https://files.pythonhosted.org/packages/56/3b/e7d20dea247a3e6dc0bd8a6953854afbedc03951def4e7371e05e7263e25/pandas-3.0.3-cp314-cp314t-win_amd64.whl", hash = "sha256:4db8c527972a821cf5286b40ccc57642a39bc62e62022b42f99f8a67fca8c3a1", size = 10900855, upload-time = "2026-05-11T18:54:19.72Z" },
+ { name = "pytz", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
+ { name = "tzdata", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/33/01/d40b85317f86cf08d853a4f495195c73815fdf205eef3993821720274518/pandas-2.3.3.tar.gz", hash = "sha256:e05e1af93b977f7eafa636d043f9f94c7ee3ac81af99c13508215942e64c993b", size = 4495223, upload-time = "2025-09-29T23:34:51.853Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/c1/fa/7ac648108144a095b4fb6aa3de1954689f7af60a14cf25583f4960ecb878/pandas-2.3.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:602b8615ebcc4a0c1751e71840428ddebeb142ec02c786e8ad6b1ce3c8dec523", size = 11578790, upload-time = "2025-09-29T23:18:30.065Z" },
+ { url = "https://files.pythonhosted.org/packages/9b/35/74442388c6cf008882d4d4bdfc4109be87e9b8b7ccd097ad1e7f006e2e95/pandas-2.3.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:8fe25fc7b623b0ef6b5009149627e34d2a4657e880948ec3c840e9402e5c1b45", size = 10833831, upload-time = "2025-09-29T23:38:56.071Z" },
+ { url = "https://files.pythonhosted.org/packages/bf/c9/63f8d545568d9ab91476b1818b4741f521646cbdd151c6efebf40d6de6f7/pandas-2.3.3-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b98560e98cb334799c0b07ca7967ac361a47326e9b4e5a7dfb5ab2b1c9d35a1b", size = 12789281, upload-time = "2025-09-29T23:18:56.834Z" },
+ { url = "https://files.pythonhosted.org/packages/27/4d/5c23a5bc7bd209231618dd9e606ce076272c9bc4f12023a70e03a86b4067/pandas-2.3.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:db4301b2d1f926ae677a751eb2bd0e8c5f5319c9cb3f88b0becbbb0b07b34151", size = 13890361, upload-time = "2025-09-29T23:19:25.342Z" },
+ { url = "https://files.pythonhosted.org/packages/8e/59/712db1d7040520de7a4965df15b774348980e6df45c129b8c64d0dbe74ef/pandas-2.3.3-cp311-cp311-win_amd64.whl", hash = "sha256:f086f6fe114e19d92014a1966f43a3e62285109afe874f067f5abbdcbb10e59c", size = 11348702, upload-time = "2025-09-29T23:19:38.296Z" },
+ { url = "https://files.pythonhosted.org/packages/9c/fb/231d89e8637c808b997d172b18e9d4a4bc7bf31296196c260526055d1ea0/pandas-2.3.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:6d21f6d74eb1725c2efaa71a2bfc661a0689579b58e9c0ca58a739ff0b002b53", size = 11597846, upload-time = "2025-09-29T23:19:48.856Z" },
+ { url = "https://files.pythonhosted.org/packages/5c/bd/bf8064d9cfa214294356c2d6702b716d3cf3bb24be59287a6a21e24cae6b/pandas-2.3.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:3fd2f887589c7aa868e02632612ba39acb0b8948faf5cc58f0850e165bd46f35", size = 10729618, upload-time = "2025-09-29T23:39:08.659Z" },
+ { url = "https://files.pythonhosted.org/packages/e5/63/cd7d615331b328e287d8233ba9fdf191a9c2d11b6af0c7a59cfcec23de68/pandas-2.3.3-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b3d11d2fda7eb164ef27ffc14b4fcab16a80e1ce67e9f57e19ec0afaf715ba89", size = 12362693, upload-time = "2025-09-29T23:20:14.098Z" },
+ { url = "https://files.pythonhosted.org/packages/87/21/84072af3187a677c5893b170ba2c8fbe450a6ff911234916da889b698220/pandas-2.3.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:371a4ab48e950033bcf52b6527eccb564f52dc826c02afd9a1bc0ab731bba084", size = 13450971, upload-time = "2025-09-29T23:20:41.344Z" },
+ { url = "https://files.pythonhosted.org/packages/86/41/585a168330ff063014880a80d744219dbf1dd7a1c706e75ab3425a987384/pandas-2.3.3-cp312-cp312-win_amd64.whl", hash = "sha256:a16dcec078a01eeef8ee61bf64074b4e524a2a3f4b3be9326420cabe59c4778b", size = 10992722, upload-time = "2025-09-29T23:20:54.139Z" },
+ { url = "https://files.pythonhosted.org/packages/cd/4b/18b035ee18f97c1040d94debd8f2e737000ad70ccc8f5513f4eefad75f4b/pandas-2.3.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:56851a737e3470de7fa88e6131f41281ed440d29a9268dcbf0002da5ac366713", size = 11544671, upload-time = "2025-09-29T23:21:05.024Z" },
+ { url = "https://files.pythonhosted.org/packages/31/94/72fac03573102779920099bcac1c3b05975c2cb5f01eac609faf34bed1ca/pandas-2.3.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:bdcd9d1167f4885211e401b3036c0c8d9e274eee67ea8d0758a256d60704cfe8", size = 10680807, upload-time = "2025-09-29T23:21:15.979Z" },
+ { url = "https://files.pythonhosted.org/packages/15/07/284f757f63f8a8d69ed4472bfd85122bd086e637bf4ed09de572d575a693/pandas-2.3.3-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:318d77e0e42a628c04dc56bcef4b40de67918f7041c2b061af1da41dcff670ac", size = 12306371, upload-time = "2025-09-29T23:21:40.532Z" },
+ { url = "https://files.pythonhosted.org/packages/8d/0f/b4d4ae743a83742f1153464cf1a8ecfafc3ac59722a0b5c8602310cb7158/pandas-2.3.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:93c2d9ab0fc11822b5eece72ec9587e172f63cff87c00b062f6e37448ced4493", size = 13418120, upload-time = "2025-09-29T23:22:10.109Z" },
+ { url = "https://files.pythonhosted.org/packages/4f/c7/e54682c96a895d0c808453269e0b5928a07a127a15704fedb643e9b0a4c8/pandas-2.3.3-cp313-cp313-win_amd64.whl", hash = "sha256:f8bfc0e12dc78f777f323f55c58649591b2cd0c43534e8355c51d3fede5f4dee", size = 10993991, upload-time = "2025-09-29T23:25:04.889Z" },
+ { url = "https://files.pythonhosted.org/packages/f9/ca/3f8d4f49740799189e1395812f3bf23b5e8fc7c190827d55a610da72ce55/pandas-2.3.3-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:75ea25f9529fdec2d2e93a42c523962261e567d250b0013b16210e1d40d7c2e5", size = 12048227, upload-time = "2025-09-29T23:22:24.343Z" },
+ { url = "https://files.pythonhosted.org/packages/0e/5a/f43efec3e8c0cc92c4663ccad372dbdff72b60bdb56b2749f04aa1d07d7e/pandas-2.3.3-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:74ecdf1d301e812db96a465a525952f4dde225fdb6d8e5a521d47e1f42041e21", size = 11411056, upload-time = "2025-09-29T23:22:37.762Z" },
+ { url = "https://files.pythonhosted.org/packages/44/23/78d645adc35d94d1ac4f2a3c4112ab6f5b8999f4898b8cdf01252f8df4a9/pandas-2.3.3-cp313-cp313t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:900f47d8f20860de523a1ac881c4c36d65efcb2eb850e6948140fa781736e110", size = 12121912, upload-time = "2025-09-29T23:23:05.042Z" },
+ { url = "https://files.pythonhosted.org/packages/bd/17/e756653095a083d8a37cbd816cb87148debcfcd920129b25f99dd8d04271/pandas-2.3.3-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:c4fc4c21971a1a9f4bdb4c73978c7f7256caa3e62b323f70d6cb80db583350bc", size = 13199233, upload-time = "2025-09-29T23:24:24.876Z" },
+ { url = "https://files.pythonhosted.org/packages/04/fd/74903979833db8390b73b3a8a7d30d146d710bd32703724dd9083950386f/pandas-2.3.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:ee15f284898e7b246df8087fc82b87b01686f98ee67d85a17b7ab44143a3a9a0", size = 11540635, upload-time = "2025-09-29T23:25:52.486Z" },
+ { url = "https://files.pythonhosted.org/packages/21/00/266d6b357ad5e6d3ad55093a7e8efc7dd245f5a842b584db9f30b0f0a287/pandas-2.3.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:1611aedd912e1ff81ff41c745822980c49ce4a7907537be8692c8dbc31924593", size = 10759079, upload-time = "2025-09-29T23:26:33.204Z" },
+ { url = "https://files.pythonhosted.org/packages/15/b2/0e62f78c0c5ba7e3d2c5945a82456f4fac76c480940f805e0b97fcbc2f65/pandas-2.3.3-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ee67acbbf05014ea6c763beb097e03cd629961c8a632075eeb34247120abcb4b", size = 12332638, upload-time = "2025-09-29T23:27:51.625Z" },
+ { url = "https://files.pythonhosted.org/packages/d3/18/b5d48f55821228d0d2692b34fd5034bb185e854bdb592e9c640f6290e012/pandas-2.3.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:6253c72c6a1d990a410bc7de641d34053364ef8bcd3126f7e7450125887dffe3", size = 13409925, upload-time = "2025-09-29T23:28:58.261Z" },
+ { url = "https://files.pythonhosted.org/packages/a6/3d/124ac75fcd0ecc09b8fdccb0246ef65e35b012030defb0e0eba2cbbbe948/pandas-2.3.3-cp314-cp314-win_amd64.whl", hash = "sha256:1b07204a219b3b7350abaae088f451860223a52cfb8a6c53358e7948735158e5", size = 11109071, upload-time = "2025-09-29T23:32:27.484Z" },
+ { url = "https://files.pythonhosted.org/packages/89/9c/0e21c895c38a157e0faa1fb64587a9226d6dd46452cac4532d80c3c4a244/pandas-2.3.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:2462b1a365b6109d275250baaae7b760fd25c726aaca0054649286bcfbb3e8ec", size = 12048504, upload-time = "2025-09-29T23:29:31.47Z" },
+ { url = "https://files.pythonhosted.org/packages/d7/82/b69a1c95df796858777b68fbe6a81d37443a33319761d7c652ce77797475/pandas-2.3.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:0242fe9a49aa8b4d78a4fa03acb397a58833ef6199e9aa40a95f027bb3a1b6e7", size = 11410702, upload-time = "2025-09-29T23:29:54.591Z" },
+ { url = "https://files.pythonhosted.org/packages/a4/1e/1bac1a839d12e6a82ec6cb40cda2edde64a2013a66963293696bbf31fbbb/pandas-2.3.3-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2e3ebdb170b5ef78f19bfb71b0dc5dc58775032361fa188e814959b74d726dd5", size = 12121582, upload-time = "2025-09-29T23:30:43.391Z" },
+ { url = "https://files.pythonhosted.org/packages/70/44/5191d2e4026f86a2a109053e194d3ba7a31a2d10a9c2348368c63ed4e85a/pandas-2.3.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:3869faf4bd07b3b66a9f462417d0ca3a9df29a9f6abd5d0d0dbab15dac7abe87", size = 13202175, upload-time = "2025-09-29T23:31:59.173Z" },
]
[[package]]
@@ -1090,57 +1135,58 @@ wheels = [
[[package]]
name = "pillow"
-version = "12.2.0"
-source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/8c/21/c2bcdd5906101a30244eaffc1b6e6ce71a31bd0742a01eb89e660ebfac2d/pillow-12.2.0.tar.gz", hash = "sha256:a830b1a40919539d07806aa58e1b114df53ddd43213d9c8b75847eee6c0182b5", size = 46987819, upload-time = "2026-04-01T14:46:17.687Z" }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/68/e1/748f5663efe6edcfc4e74b2b93edfb9b8b99b67f21a854c3ae416500a2d9/pillow-12.2.0-cp311-cp311-macosx_10_10_x86_64.whl", hash = "sha256:8be29e59487a79f173507c30ddf57e733a357f67881430449bb32614075a40ab", size = 5354347, upload-time = "2026-04-01T14:42:44.255Z" },
- { url = "https://files.pythonhosted.org/packages/47/a1/d5ff69e747374c33a3b53b9f98cca7889fce1fd03d79cdc4e1bccc6c5a87/pillow-12.2.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:71cde9a1e1551df7d34a25462fc60325e8a11a82cc2e2f54578e5e9a1e153d65", size = 4695873, upload-time = "2026-04-01T14:42:46.452Z" },
- { url = "https://files.pythonhosted.org/packages/d3/f1/00b7278c7dd52b17ad4329153748f87b6756ec195ff786c2bdf12518337d/pillow-12.2.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:8bd7903a5f2a4545f6fd5935c90058b89d30045568985a71c79f5fd6edf9b91e", size = 8088188, upload-time = "2026-04-01T14:42:51.735Z" },
- { url = "https://files.pythonhosted.org/packages/e9/bd/e51a61b1054f09437acfbc2ff9106c30d1eb76bc1453d428399946781253/pillow-12.2.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e74473c875d78b8e9d5da2a70f7099549f9eb37ded4e2f6a463e60125bccd176", size = 7079655, upload-time = "2026-04-01T14:42:56.954Z" },
- { url = "https://files.pythonhosted.org/packages/7d/2e/9df2fc1e82097b1df3dce58dc43286aa01068e918c07574711fcc53e6fb4/pillow-12.2.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:90e6f81de50ad6b534cab6e5aef77ff6e37722b2f5d908686f4a5c9eba17a909", size = 7203402, upload-time = "2026-04-01T14:43:02.664Z" },
- { url = "https://files.pythonhosted.org/packages/69/42/836b6f3cd7f3e5fa10a1f1a5420447c17966044c8fbf589cc0452d5502db/pillow-12.2.0-cp311-cp311-win_amd64.whl", hash = "sha256:6e6b2a0c538fc200b38ff9eb6628228b77908c319a005815f2dde585a0664b60", size = 7082626, upload-time = "2026-04-01T14:43:08.557Z" },
- { url = "https://files.pythonhosted.org/packages/58/be/7482c8a5ebebbc6470b3eb791812fff7d5e0216c2be3827b30b8bb6603ed/pillow-12.2.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:2d192a155bbcec180f8564f693e6fd9bccff5a7af9b32e2e4bf8c9c69dbad6b5", size = 5308279, upload-time = "2026-04-01T14:43:13.246Z" },
- { url = "https://files.pythonhosted.org/packages/d8/95/0a351b9289c2b5cbde0bacd4a83ebc44023e835490a727b2a3bd60ddc0f4/pillow-12.2.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f3f40b3c5a968281fd507d519e444c35f0ff171237f4fdde090dd60699458421", size = 4695490, upload-time = "2026-04-01T14:43:15.584Z" },
- { url = "https://files.pythonhosted.org/packages/e9/9e/c05e19657fd57841e476be1ab46c4d501bffbadbafdc31a6d665f8b737b6/pillow-12.2.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:b86024e52a1b269467a802258c25521e6d742349d760728092e1bc2d135b4d76", size = 8094744, upload-time = "2026-04-01T14:43:20.716Z" },
- { url = "https://files.pythonhosted.org/packages/43/e3/fdc657359e919462369869f1c9f0e973f353f9a9ee295a39b1fea8ee1a77/pillow-12.2.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:62f5409336adb0663b7caa0da5c7d9e7bdbaae9ce761d34669420c2a801b2780", size = 7087215, upload-time = "2026-04-01T14:43:26.758Z" },
- { url = "https://files.pythonhosted.org/packages/67/f9/029a27095ad20f854f9dba026b3ea6428548316e057e6fc3545409e86651/pillow-12.2.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:fc3d34d4a8fbec3e88a79b92e5465e0f9b842b628675850d860b8bd300b159f5", size = 7212112, upload-time = "2026-04-01T14:43:32.091Z" },
- { url = "https://files.pythonhosted.org/packages/5d/7b/25a221d2c761c6a8ae21bfa3874988ff2583e19cf8a27bf2fee358df7942/pillow-12.2.0-cp312-cp312-win_amd64.whl", hash = "sha256:7f84204dee22a783350679a0333981df803dac21a0190d706a50475e361c93f5", size = 7084129, upload-time = "2026-04-01T14:43:37.213Z" },
- { url = "https://files.pythonhosted.org/packages/4a/01/53d10cf0dbad820a8db274d259a37ba50b88b24768ddccec07355382d5ad/pillow-12.2.0-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:8297651f5b5679c19968abefd6bb84d95fe30ef712eb1b2d9b2d31ca61267f4c", size = 4100837, upload-time = "2026-04-01T14:43:41.506Z" },
- { url = "https://files.pythonhosted.org/packages/0f/98/f3a6657ecb698c937f6c76ee564882945f29b79bad496abcba0e84659ec5/pillow-12.2.0-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:50d8520da2a6ce0af445fa6d648c4273c3eeefbc32d7ce049f22e8b5c3daecc2", size = 4176528, upload-time = "2026-04-01T14:43:43.773Z" },
- { url = "https://files.pythonhosted.org/packages/69/bc/8986948f05e3ea490b8442ea1c1d4d990b24a7e43d8a51b2c7d8b1dced36/pillow-12.2.0-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:766cef22385fa1091258ad7e6216792b156dc16d8d3fa607e7545b2b72061f1c", size = 3640401, upload-time = "2026-04-01T14:43:45.87Z" },
- { url = "https://files.pythonhosted.org/packages/34/46/6c717baadcd62bc8ed51d238d521ab651eaa74838291bda1f86fe1f864c9/pillow-12.2.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:5d2fd0fa6b5d9d1de415060363433f28da8b1526c1c129020435e186794b3795", size = 5308094, upload-time = "2026-04-01T14:43:48.438Z" },
- { url = "https://files.pythonhosted.org/packages/71/43/905a14a8b17fdb1ccb58d282454490662d2cb89a6bfec26af6d3520da5ec/pillow-12.2.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:56b25336f502b6ed02e889f4ece894a72612fe885889a6e8c4c80239ff6e5f5f", size = 4695402, upload-time = "2026-04-01T14:43:51.292Z" },
- { url = "https://files.pythonhosted.org/packages/a8/68/b93e09e5e8549019e61acf49f65b1a8530765a7f812c77a7461bca7e4494/pillow-12.2.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:03f6fab9219220f041c74aeaa2939ff0062bd5c364ba9ce037197f4c6d498cd9", size = 8090669, upload-time = "2026-04-01T14:43:57.335Z" },
- { url = "https://files.pythonhosted.org/packages/67/ee/21d4e8536afd1a328f01b359b4d3997b291ffd35a237c877b331c1c3b71c/pillow-12.2.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:eedf4b74eda2b5a4b2b2fb4c006d6295df3bf29e459e198c90ea48e130dc75c3", size = 7082423, upload-time = "2026-04-01T14:44:02.74Z" },
- { url = "https://files.pythonhosted.org/packages/ed/1e/409007f56a2fdce61584fd3acbc2bbc259857d555196cedcadc68c015c82/pillow-12.2.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:1e1757442ed87f4912397c6d35a0db6a7b52592156014706f17658ff58bbf795", size = 7208580, upload-time = "2026-04-01T14:44:08.39Z" },
- { url = "https://files.pythonhosted.org/packages/3f/82/8a3739a5e470b3c6cbb1d21d315800d8e16bff503d1f16b03a4ec3212786/pillow-12.2.0-cp313-cp313-win_amd64.whl", hash = "sha256:390ede346628ccc626e5730107cde16c42d3836b89662a115a921f28440e6a3b", size = 7081266, upload-time = "2026-04-01T14:44:13.947Z" },
- { url = "https://files.pythonhosted.org/packages/4d/a4/b342930964e3cb4dce5038ae34b0eab4653334995336cd486c5a8c25a00c/pillow-12.2.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:042db20a421b9bafecc4b84a8b6e444686bd9d836c7fd24542db3e7df7baad9b", size = 5309927, upload-time = "2026-04-01T14:44:18.89Z" },
- { url = "https://files.pythonhosted.org/packages/9f/de/23198e0a65a9cf06123f5435a5d95cea62a635697f8f03d134d3f3a96151/pillow-12.2.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:dd025009355c926a84a612fecf58bb315a3f6814b17ead51a8e48d3823d9087f", size = 4698624, upload-time = "2026-04-01T14:44:21.115Z" },
- { url = "https://files.pythonhosted.org/packages/3c/83/5982eb4a285967baa70340320be9f88e57665a387e3a53a7f0db8231a0cd/pillow-12.2.0-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:d362d1878f00c142b7e1a16e6e5e780f02be8195123f164edf7eddd911eefe7c", size = 8126550, upload-time = "2026-04-01T14:44:26.772Z" },
- { url = "https://files.pythonhosted.org/packages/36/a3/f9a77144231fb8d40ee27107b4463e205fa4677e2ca2548e14da5cf18dce/pillow-12.2.0-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:efd8c21c98c5cc60653bcb311bef2ce0401642b7ce9d09e03a7da87c878289d4", size = 7115667, upload-time = "2026-04-01T14:44:32.773Z" },
- { url = "https://files.pythonhosted.org/packages/c0/a8/27fb307055087f3668f6d0a8ccb636e7431d56ed0750e07a60547b1e083e/pillow-12.2.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:dac8d77255a37e81a2efcbd1fc05f1c15ee82200e6c240d7e127e25e365c39ea", size = 7238241, upload-time = "2026-04-01T14:44:37.875Z" },
- { url = "https://files.pythonhosted.org/packages/c2/c4/f9e476451a098181b30050cc4c9a3556b64c02cf6497ea421ac047e89e4b/pillow-12.2.0-cp313-cp313t-win_amd64.whl", hash = "sha256:325ca0528c6788d2a6c3d40e3568639398137346c3d6e66bb61db96b96511c98", size = 7085542, upload-time = "2026-04-01T14:44:43.251Z" },
- { url = "https://files.pythonhosted.org/packages/bf/98/4595daa2365416a86cb0d495248a393dfc84e96d62ad080c8546256cb9c0/pillow-12.2.0-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:3adc9215e8be0448ed6e814966ecf3d9952f0ea40eb14e89a102b87f450660d8", size = 4100848, upload-time = "2026-04-01T14:44:48.48Z" },
- { url = "https://files.pythonhosted.org/packages/0b/79/40184d464cf89f6663e18dfcf7ca21aae2491fff1a16127681bf1fa9b8cf/pillow-12.2.0-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:6a9adfc6d24b10f89588096364cc726174118c62130c817c2837c60cf08a392b", size = 4176515, upload-time = "2026-04-01T14:44:51.353Z" },
- { url = "https://files.pythonhosted.org/packages/b0/63/703f86fd4c422a9cf722833670f4f71418fb116b2853ff7da722ea43f184/pillow-12.2.0-cp314-cp314-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:6a6e67ea2e6feda684ed370f9a1c52e7a243631c025ba42149a2cc5934dec295", size = 3640159, upload-time = "2026-04-01T14:44:53.588Z" },
- { url = "https://files.pythonhosted.org/packages/71/e0/fb22f797187d0be2270f83500aab851536101b254bfa1eae10795709d283/pillow-12.2.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:2bb4a8d594eacdfc59d9e5ad972aa8afdd48d584ffd5f13a937a664c3e7db0ed", size = 5312185, upload-time = "2026-04-01T14:44:56.039Z" },
- { url = "https://files.pythonhosted.org/packages/ba/8c/1a9e46228571de18f8e28f16fabdfc20212a5d019f3e3303452b3f0a580d/pillow-12.2.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:80b2da48193b2f33ed0c32c38140f9d3186583ce7d516526d462645fd98660ae", size = 4695386, upload-time = "2026-04-01T14:44:58.663Z" },
- { url = "https://files.pythonhosted.org/packages/5e/03/688747d2e91cfbe0e64f316cd2e8005698f76ada3130d0194664174fa5de/pillow-12.2.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:7b14cc0106cd9aecda615dd6903840a058b4700fcb817687d0ee4fc8b6e389be", size = 8091599, upload-time = "2026-04-01T14:45:04.5Z" },
- { url = "https://files.pythonhosted.org/packages/11/8d/d2532ad2a603ca2b93ad9f5135732124e57811d0168155852f37fbce2458/pillow-12.2.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4bfd07bc812fbd20395212969e41931001fd59eb55a60658b0e5710872e95286", size = 7083360, upload-time = "2026-04-01T14:45:09.763Z" },
- { url = "https://files.pythonhosted.org/packages/5f/f7/769d5632ffb0988f1c5e7660b3e731e30f7f8ec4318e94d0a5d674eb65a4/pillow-12.2.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:deede7c263feb25dba4e82ea23058a235dcc2fe1f6021025dc71f2b618e26104", size = 7209321, upload-time = "2026-04-01T14:45:15.122Z" },
- { url = "https://files.pythonhosted.org/packages/cd/8b/601e6566b957ca50e28725cb6c355c59c2c8609751efbecd980db44e0349/pillow-12.2.0-cp314-cp314-win_amd64.whl", hash = "sha256:4e6c62e9d237e9b65fac06857d511e90d8461a32adcc1b9065ea0c0fa3a28150", size = 7217400, upload-time = "2026-04-01T14:45:20.529Z" },
- { url = "https://files.pythonhosted.org/packages/b6/ab/1b426a3974cb0e7da5c29ccff4807871d48110933a57207b5a676cccc155/pillow-12.2.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:57850958fe9c751670e49b2cecf6294acc99e562531f4bd317fa5ddee2068463", size = 5314225, upload-time = "2026-04-01T14:45:25.637Z" },
- { url = "https://files.pythonhosted.org/packages/19/1e/dce46f371be2438eecfee2a1960ee2a243bbe5e961890146d2dee1ff0f12/pillow-12.2.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:d5d38f1411c0ed9f97bcb49b7bd59b6b7c314e0e27420e34d99d844b9ce3b6f3", size = 4698541, upload-time = "2026-04-01T14:45:28.355Z" },
- { url = "https://files.pythonhosted.org/packages/1c/3c/7fbc17cfb7e4fe0ef1642e0abc17fc6c94c9f7a16be41498e12e2ba60408/pillow-12.2.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:1610dd6c61621ae1cf811bef44d77e149ce3f7b95afe66a4512f8c59f25d9ebe", size = 8127807, upload-time = "2026-04-01T14:45:33.908Z" },
- { url = "https://files.pythonhosted.org/packages/6e/32/2880fb3a074847ac159d8f902cb43278a61e85f681661e7419e6596803ed/pillow-12.2.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8e9c4f5b3c546fa3458a29ab22646c1c6c787ea8f5ef51300e5a60300736905e", size = 7116720, upload-time = "2026-04-01T14:45:39.258Z" },
- { url = "https://files.pythonhosted.org/packages/18/53/773f5edca692009d883a72211b60fdaf8871cbef075eaa9d577f0a2f989e/pillow-12.2.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:f278f034eb75b4e8a13a54a876cc4a5ab39173d2cdd93a638e1b467fc545ac43", size = 7239413, upload-time = "2026-04-01T14:45:44.705Z" },
- { url = "https://files.pythonhosted.org/packages/ba/13/306d275efd3a3453f72114b7431c877d10b1154014c1ebbedd067770d629/pillow-12.2.0-cp314-cp314t-win_amd64.whl", hash = "sha256:6562ace0d3fb5f20ed7290f1f929cae41b25ae29528f2af1722966a0a02e2aa1", size = 7225152, upload-time = "2026-04-01T14:45:50.032Z" },
- { url = "https://files.pythonhosted.org/packages/4e/b7/2437044fb910f499610356d1352e3423753c98e34f915252aafecc64889f/pillow-12.2.0-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:0538bd5e05efec03ae613fd89c4ce0368ecd2ba239cc25b9f9be7ed426b0af1f", size = 5273969, upload-time = "2026-04-01T14:45:55.538Z" },
- { url = "https://files.pythonhosted.org/packages/f6/f4/8316e31de11b780f4ac08ef3654a75555e624a98db1056ecb2122d008d5a/pillow-12.2.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:394167b21da716608eac917c60aa9b969421b5dcbbe02ae7f013e7b85811c69d", size = 4659674, upload-time = "2026-04-01T14:45:58.093Z" },
- { url = "https://files.pythonhosted.org/packages/49/62/5b0ed78fce87346be7a5cfcfaaad91f6a1f98c26f86bdbafa2066c647ef6/pillow-12.2.0-pp311-pypy311_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:0c838a5125cee37e68edec915651521191cef1e6aa336b855f495766e77a366e", size = 7032230, upload-time = "2026-04-01T14:46:03.874Z" },
- { url = "https://files.pythonhosted.org/packages/5e/8b/51b0eddcfa2180d60e41f06bd6d0a62202b20b59c68f5a132e615b75aecf/pillow-12.2.0-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:25373b66e0dd5905ed63fa3cae13c82fbddf3079f2c8bf15c6fb6a35586324c1", size = 6002215, upload-time = "2026-04-01T14:46:08.83Z" },
- { url = "https://files.pythonhosted.org/packages/bc/60/5382c03e1970de634027cee8e1b7d39776b778b81812aaf45b694dfe9e28/pillow-12.2.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:bfa9c230d2fe991bed5318a5f119bd6780cda2915cca595393649fc118ab895e", size = 7080946, upload-time = "2026-04-01T14:46:11.734Z" },
+version = "12.3.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/1c/3d/bb7fca845737cf9d7dbde16ed1843984665ff2e0a518f5db43e77ec540b9/pillow-12.3.0.tar.gz", hash = "sha256:3b8182a766685eaa002637e28b4ec8d6b18819a0c71f579bf0dbaa5830297cce", size = 47025035, upload-time = "2026-07-01T11:56:38.965Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/fb/c8/0a78b0e02d7ac54bc03e5321c9220da52f0c2ea83b21f7c40e7f3169c502/pillow-12.3.0-cp311-cp311-macosx_10_10_x86_64.whl", hash = "sha256:00808c5e14ef63ac5161091d242999076604ff74b883423a11e5d7bbb38bf756", size = 5392415, upload-time = "2026-07-01T11:53:47.162Z" },
+ { url = "https://files.pythonhosted.org/packages/b2/5b/a02d30018abd97ced9f5a6c63d28597694a00d066516b9c1c6de45859fc9/pillow-12.3.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:37d6d0a00072fd2948eb22bce7e1475f34569d90c87c59f7a2ec59541b77f7a6", size = 4785266, upload-time = "2026-07-01T11:53:49.079Z" },
+ { url = "https://files.pythonhosted.org/packages/3b/2d/ede717bc1144f63886c21fd349bb95860b0d1a21149ff16f2bb362b612b6/pillow-12.3.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:23d27a3e0307ec2244cc51e7287b919aa68d097504ebe19df4e76a98a3eea5bd", size = 6934408, upload-time = "2026-07-01T11:53:53.487Z" },
+ { url = "https://files.pythonhosted.org/packages/ff/fa/dc2a5c0ba6df93f67c31d34b808b7ce440b40cdbf96f0b81cde1d1e6fa93/pillow-12.3.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:236ff70b9312fb68943c703aa842ca6a758abfa45ac187a5e7c1452e96ef72b5", size = 7045172, upload-time = "2026-07-01T11:53:57.736Z" },
+ { url = "https://files.pythonhosted.org/packages/63/c6/4bad1b18d132a50b27e1365e1ab163616f7a5bb56d330f66f9d1d9d4f9d4/pillow-12.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:8e95e1385e4998ae9694eeaa4730ba5457ff61185b3a55e2e7bea0880aef452a", size = 7233653, upload-time = "2026-07-01T11:54:02.066Z" },
+ { url = "https://files.pythonhosted.org/packages/37/bf/fb3ebff8ddcb76aac5a01389251bbbb9519922a9b520d8247c1ca864a25d/pillow-12.3.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:ba09209fbe443b4acccebe845d8a138b89a8f4fbaeedd44953490b5315d5e965", size = 5345969, upload-time = "2026-07-01T11:54:06.397Z" },
+ { url = "https://files.pythonhosted.org/packages/d8/66/9a386a92561f402389a4fc70c18838bf6d35eb5eb5c6850b4b2dc64f5048/pillow-12.3.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ffd0c5368496f41b0944be820fcb7a838aa6e623d250b01acf2643939c3f99d7", size = 4780323, upload-time = "2026-07-01T11:54:09.351Z" },
+ { url = "https://files.pythonhosted.org/packages/84/21/a35af28dcc61f37ed850a2d64c65c701321dfbf25085e469d5559360cbbf/pillow-12.3.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:78cb2c6865a35ab8ff8b75fd122f6033b92a62c82801110e48ddd6c936a45d91", size = 6940830, upload-time = "2026-07-01T11:54:13.732Z" },
+ { url = "https://files.pythonhosted.org/packages/1d/72/cf78ac9780bb93c28328f408973845a309d4d145041665f734572ced1b52/pillow-12.3.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:0dd2064cbc55aaec028ef5fbb60fa47bb6c3e7918e07ff17935284b227a9d2df", size = 7052934, upload-time = "2026-07-01T11:54:17.721Z" },
+ { url = "https://files.pythonhosted.org/packages/45/89/da2f7971a317f83d807fdd4065c0af40208e59e692cc43d315a71a0e96d1/pillow-12.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:a2b55dd6b2a4c4b7d87ffa56bdb33fdc5fdb9a462173861a7bc097f17d91cb09", size = 7227137, upload-time = "2026-07-01T11:54:22.025Z" },
+ { url = "https://files.pythonhosted.org/packages/9d/ac/31fb64e1e7efb5a4b50cd3d92049ba89ac6e4d8d3bb6a74e15048ca3353e/pillow-12.3.0-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:21900ce7ba264168cd50defae43cd75d25c833ad4ad6e73ffc5596d12e25ac89", size = 4161684, upload-time = "2026-07-01T11:54:25.934Z" },
+ { url = "https://files.pythonhosted.org/packages/87/b4/9805e23d2b4d77842b468513841fda254ee42f0289d25088340e4ff46e2d/pillow-12.3.0-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:4e8c2a84d977f50b9daed6eeaf3baef67d00d5d74d932288f02cb94518ee3ace", size = 4255487, upload-time = "2026-07-01T11:54:27.935Z" },
+ { url = "https://files.pythonhosted.org/packages/df/39/ecf519435a200c693fe053a6ee4d835b41cf963a4dfc2551c4e637cb2a71/pillow-12.3.0-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:ae26d61dfa7a47befdc7572b521024e8745f3d809bd95ca9505a7bba9ef849ec", size = 3696433, upload-time = "2026-07-01T11:54:29.813Z" },
+ { url = "https://files.pythonhosted.org/packages/42/92/2fc3ffad878ae8dd5469ec1bc8eb83b71f48e13efdf68f02709003982a32/pillow-12.3.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:7a743ff716f746fc19a9557f60dab1600d4613255f8a7aeb3cdde4db7eb15a66", size = 5345889, upload-time = "2026-07-01T11:54:31.97Z" },
+ { url = "https://files.pythonhosted.org/packages/10/76/8803c13605b763d33d156c4678fc77f8443389c0c51c8aef707bb02015f4/pillow-12.3.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:d69141514cc30b774ceea5e3ed3a6635c8d8a96edf664689b890f4089111fb35", size = 4780109, upload-time = "2026-07-01T11:54:34.026Z" },
+ { url = "https://files.pythonhosted.org/packages/f7/62/de5bdd77d935331f4f802edc11e4d82950f642caad6cb2f949837b8560e2/pillow-12.3.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0847a763afefb695bc912d7c131e7e0632d4edc1d8698f58ddabec8e46b8b6d3", size = 6937129, upload-time = "2026-07-01T11:54:38.216Z" },
+ { url = "https://files.pythonhosted.org/packages/6b/1d/f13de01a553988ab895ba1c722e06cf3144d4f57656fd5b81b6d881f1179/pillow-12.3.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:756c768d0c9c2955feb7a56c37ea24aea2e369f8d36a88da270b6a9f19e62b5e", size = 7049439, upload-time = "2026-07-01T11:54:42.489Z" },
+ { url = "https://files.pythonhosted.org/packages/a6/9b/7a58e61d62be561da3a356fe2384d4059a6345fc130e23ef1c36a5b81d24/pillow-12.3.0-cp313-cp313-win_amd64.whl", hash = "sha256:1cca606cd25738df4ed873d5ad46bbdb3d83b5cbca291f6b4ff13a4df6b0bbe8", size = 7239691, upload-time = "2026-07-01T11:54:47.141Z" },
+ { url = "https://files.pythonhosted.org/packages/dc/01/001f65b68192f0228cc1dbbc8d2530ab5d58b61037ba0587f946fea607cd/pillow-12.3.0-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:9cf95fe4d0f84c82d282745d9bb08ad9f926efa00be4697e767b814ce40d4330", size = 4161736, upload-time = "2026-07-01T11:54:51.156Z" },
+ { url = "https://files.pythonhosted.org/packages/1a/d2/0219746d0fd16fc8a84498e79452375be3797d3ce4044596ce565164b84f/pillow-12.3.0-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:8728f216dcdb6e6d555cf971cb34076139ad74b31fc2c14da4fafc741c5f6217", size = 4255435, upload-time = "2026-07-01T11:54:53.414Z" },
+ { url = "https://files.pythonhosted.org/packages/c8/02/8d0bc62ef0302318c46ff2a512822d2610e81c7aa46c9b3abe6cbaca5ad0/pillow-12.3.0-cp314-cp314-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:a45650e8ce7fafffd731db8550230db6b0d306d181a90b67d3e6bca2f1990930", size = 3696262, upload-time = "2026-07-01T11:54:55.739Z" },
+ { url = "https://files.pythonhosted.org/packages/85/e2/73c77d218410b14f5f2d565e8a998d5317b7b9c75368d29985139f7a46f0/pillow-12.3.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:ba54cfebe86920a559a7c4d6b9050791c20513650a1952ebe3368c7dc70306f8", size = 5350344, upload-time = "2026-07-01T11:54:57.657Z" },
+ { url = "https://files.pythonhosted.org/packages/c7/da/32c752228ae345f489e3a42499d817b6c3996da7e8a3bc7a04fc806b243b/pillow-12.3.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:e158cb00350dc278f3b91551101aa7d12415a66ebf2c91d8d5ac14e56ddd3ad0", size = 4780131, upload-time = "2026-07-01T11:54:59.713Z" },
+ { url = "https://files.pythonhosted.org/packages/5c/44/c85361f65dbe00eea8576ee467c768d25129989efb76e94f205e9ca9bb46/pillow-12.3.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:251bf95b67017e27b13d82f5b326234ca62d70f9cf4c2b9032de2358a3b12c7b", size = 6936962, upload-time = "2026-07-01T11:55:03.93Z" },
+ { url = "https://files.pythonhosted.org/packages/f0/f4/68c491844841ede6bed70189546b3ee9731cf9f2cbad396faff5e1ccba45/pillow-12.3.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:23aceaa007d6172b02c277f0cd359c79492bbb14f7072b4ede9fbcaf20648130", size = 7048116, upload-time = "2026-07-01T11:55:08.131Z" },
+ { url = "https://files.pythonhosted.org/packages/f1/e0/492879f69d94f91f60fc8cd05ba03650e9520afebb2fb7aa12777d7c7f38/pillow-12.3.0-cp314-cp314-win_amd64.whl", hash = "sha256:fdafc9cce40277e0f7a0feabce0ee50dd2fa1800f3b38015e51296b5e814048d", size = 7237707, upload-time = "2026-07-01T11:55:12.745Z" },
+ { url = "https://files.pythonhosted.org/packages/52/69/c2208e56af9bfc1913afb24020297a691eb1d4ef688474c8a04913f65e04/pillow-12.3.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:164b31cd1a0490ab6efae01aa5df49da7061be0af1b30e035b6e9a1bfe34ee6e", size = 5352503, upload-time = "2026-07-01T11:55:17.076Z" },
+ { url = "https://files.pythonhosted.org/packages/07/70/e5686d753e898a45d778ff1718dba8516ead6ab6b95d85fc8c4b70650cf2/pillow-12.3.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:5afb51d599ea772b8365ae807ae557f18bccfe46ab261fd1c2a9ed700fc6eb17", size = 4782956, upload-time = "2026-07-01T11:55:19.448Z" },
+ { url = "https://files.pythonhosted.org/packages/cc/91/420637fcb8f1bc11029e403b4538e6694744428d8246118e45719f944556/pillow-12.3.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bf16ba1b4d0b6b7c8e534936632270cf70eb00dbe09005bc345b2677b726855c", size = 6989642, upload-time = "2026-07-01T11:55:24.006Z" },
+ { url = "https://files.pythonhosted.org/packages/d2/87/24233f785f55474dc02ce3e739c5528a77e3a862e9333d1dd7a25cc31f70/pillow-12.3.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:30f2aa603c41533cc25c05acd0da21636e84a315768feb631c937177db558931", size = 7096716, upload-time = "2026-07-01T11:55:28.318Z" },
+ { url = "https://files.pythonhosted.org/packages/90/de/3634abee5f1c9e13c56787b7d5517b0ba8d6de51700b95578cf338349c9f/pillow-12.3.0-cp314-cp314t-win_amd64.whl", hash = "sha256:962864dc93511324d51ddbb5b9f8731bf71675b93ca612a07441896f4688fb8c", size = 7242939, upload-time = "2026-07-01T11:55:34.044Z" },
+ { url = "https://files.pythonhosted.org/packages/5d/dc/8fdce34ec725a33c81c6ba122b904d6b9024e50ea9ac7bede62fab54506c/pillow-12.3.0-cp315-cp315-ios_13_0_arm64_iphoneos.whl", hash = "sha256:0feb2e9d6ad6c9e3c06effe9d00f3f1e618a6643273576b016f591e9315a7139", size = 4162063, upload-time = "2026-07-01T11:55:37.941Z" },
+ { url = "https://files.pythonhosted.org/packages/76/66/2044b9a63d3b84ff048228dfcb7cd9bf0df983e8470971bf7d4c57b693de/pillow-12.3.0-cp315-cp315-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:9e881fca225083806662a5c43d627d215f258ff43c890f831966c7d7ba9c7402", size = 4255549, upload-time = "2026-07-01T11:55:40.022Z" },
+ { url = "https://files.pythonhosted.org/packages/52/7e/1f67e6f4ece6b582ee4b539decbcc9f848dc245a93ed8cd7338bafef72f1/pillow-12.3.0-cp315-cp315-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:4998562bf62a445225f22e07c896bb04b35b1b1f2eb6d760584c9c51d7a5f78c", size = 3696331, upload-time = "2026-07-01T11:55:41.98Z" },
+ { url = "https://files.pythonhosted.org/packages/12/40/d306fc2c8e4d45d7f175c77edca7063be7b86fe7fe6e68f4353bf71d808c/pillow-12.3.0-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:dc624f6bc473dacdf7ef7eb8678d0d08edf15cd94fad6ae5c7d6cc67a4e4902f", size = 5350370, upload-time = "2026-07-01T11:55:44.028Z" },
+ { url = "https://files.pythonhosted.org/packages/dd/44/668fb1437e8ce420f62d6106eb66e44a5971602a4d794615bdf79315d82d/pillow-12.3.0-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:71d6097b330eea8fd15097780c8e89cb1a8ce7838669f48c5bacd6f663dd4701", size = 4780147, upload-time = "2026-07-01T11:55:46.073Z" },
+ { url = "https://files.pythonhosted.org/packages/f8/6d/043e96ff814fc31a33077e4cba86082167db520c93632afdf2042febbb0c/pillow-12.3.0-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6b02afb9b97f65fbca5f31db6a2a3ba21aa93030225f150fa3f249717e938fb4", size = 6947439, upload-time = "2026-07-01T11:55:50.503Z" },
+ { url = "https://files.pythonhosted.org/packages/0f/ce/e63064e2122923ff687c8ad792d0d736a7b3920a56a46982e81a7fdd25d6/pillow-12.3.0-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:e795b7eb908249c4e43c7c99fac7c2c75dab0c43566e37db472a355f63693d71", size = 7060394, upload-time = "2026-07-01T11:55:55.149Z" },
+ { url = "https://files.pythonhosted.org/packages/3e/03/1846c49ba3b1d5550392a4bbd06d6fb4578e1cd91a803198b5c90f5f7d53/pillow-12.3.0-cp315-cp315-win_amd64.whl", hash = "sha256:fa4ecea169a355be7a3ade2c783e2ed12f0e40d2c5621cda8b3297faf7fbb9f5", size = 7237048, upload-time = "2026-07-01T11:55:59.975Z" },
+ { url = "https://files.pythonhosted.org/packages/30/88/707027ba09942dfa2c28759b5c222d769290a41c6d20ea60ec250801941f/pillow-12.3.0-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:e9871b1ffbfa9656b60aeee92ed5136a5742696006fa322b29ea3d8da0ecc9cf", size = 5352509, upload-time = "2026-07-01T11:56:04.2Z" },
+ { url = "https://files.pythonhosted.org/packages/b0/6d/00352fa25332c2569cd387851f568cc5a4b75a9adbfb37ac4fbce4c02eec/pillow-12.3.0-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:53aa02d20d10c3d814d536aa4e5ac9b84ca0ff5a88377963b085ad6822f93e64", size = 4783167, upload-time = "2026-07-01T11:56:06.631Z" },
+ { url = "https://files.pythonhosted.org/packages/36/16/cf6eeaae8d0fce8dd390a33437cf68c5d5bd73834a2bc6e2f14efda0ab45/pillow-12.3.0-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:cf1845d02ad822a369a49f2bb9345b1614744267682e7a03527dc3bf6eea1777", size = 6997047, upload-time = "2026-07-01T11:56:11.379Z" },
+ { url = "https://files.pythonhosted.org/packages/a0/e1/ffc9cfc2eea0d178da8018e18e959301ad9d6bc9f3edb7181e748a474b97/pillow-12.3.0-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:f13c32a3abd6079a66d9526e18dad9b6d280384d49d7c54040cd57b6424041d9", size = 7105895, upload-time = "2026-07-01T11:56:16.575Z" },
+ { url = "https://files.pythonhosted.org/packages/e4/04/62bcd9f844984c5938d3b05264a61d797a29d3e0812341a8204af70bbdee/pillow-12.3.0-cp315-cp315t-win_amd64.whl", hash = "sha256:8cd2f7bdda092d99c9fc2fb7391354f306d01443d22785d0cbfafa2e2c8bb418", size = 7243537, upload-time = "2026-07-01T11:56:21.214Z" },
+ { url = "https://files.pythonhosted.org/packages/75/18/2e8b40223153ccbc60df07f9e8928dc0c76202aa4e55ae9f53962b6510d6/pillow-12.3.0-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:b3c777e849237620b022f7f297dd67705f9f5cf1685f09f02e46f93e92725468", size = 5302510, upload-time = "2026-07-01T11:56:25.736Z" },
+ { url = "https://files.pythonhosted.org/packages/46/3e/51fabf59d5ab801ceab709453d3ab6b180083496579549de4c45ced6528a/pillow-12.3.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:b343699e8308bdc51978310e1c959c584e7869cc8c40780058c87da7781a1e94", size = 4736058, upload-time = "2026-07-01T11:56:28.041Z" },
+ { url = "https://files.pythonhosted.org/packages/08/14/f6ba68107680ffa74b39985f3f30884e41318fbc4250caa423c79b4788bb/pillow-12.3.0-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e7e480451b9fa137494bccd3a7d69adbe8ac65a87d97be61e11f1b1050a5bac3", size = 5860358, upload-time = "2026-07-01T11:56:32.68Z" },
+ { url = "https://files.pythonhosted.org/packages/36/54/0169bc772ec491108b62f644f8ecf1fe5d8ae5ebafde2ee2142210166903/pillow-12.3.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:04f01d28a6aaff387bf842a13be313df23ba0597a44f1a976c9feb3c6ff4711a", size = 7231786, upload-time = "2026-07-01T11:56:35.046Z" },
]
[[package]]
@@ -1154,7 +1200,7 @@ wheels = [
[[package]]
name = "pip-tools"
-version = "7.5.3"
+version = "7.6.0"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "build", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
@@ -1164,9 +1210,9 @@ dependencies = [
{ name = "setuptools", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
{ name = "wheel", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/4a/db/c6e2a02db5d98aa5f3250a305ce71e8bc3d1a022d1f47a54d14492ae23de/pip_tools-7.5.3.tar.gz", hash = "sha256:8fa364779ebc010cbfe17cb9de404457ac733e100840423f28f6955de7742d41", size = 176153, upload-time = "2026-02-11T18:25:07.72Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/ab/d6/d51564c5a3d7a91d20020fbc68a473e6f6e6f970337294cdfc764717d51e/pip_tools-7.6.0.tar.gz", hash = "sha256:c1c59f7844df4866fa9542d3f50d1f44be537ac0027cb50b2563d6a992853981", size = 183149, upload-time = "2026-07-18T12:51:46.963Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/6e/74/59906d876c6cb1137f42a137164f2fe683b06283cde84bfcf7f5dd43970b/pip_tools-7.5.3-py3-none-any.whl", hash = "sha256:3aac0c473240ae90db7213c033401f345b05197293ccbdd2704e52e7a783785e", size = 71359, upload-time = "2026-02-11T18:25:06.119Z" },
+ { url = "https://files.pythonhosted.org/packages/60/2f/5f434153d2bf85ae8f85826228707e694276b9e73d6d8040433a03ceeea9/pip_tools-7.6.0-py3-none-any.whl", hash = "sha256:4bd99155b6d8de358a214b0865e1a2855a453570c1a83d40f7b564870b8657be", size = 74337, upload-time = "2026-07-18T12:51:45.523Z" },
]
[[package]]
@@ -1180,40 +1226,40 @@ wheels = [
[[package]]
name = "poethepoet"
-version = "0.47.0"
+version = "0.48.0"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "pastel", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
{ name = "pyyaml", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/8f/ec/0e80a71d3ea9fbbd0f419cd0f33c46bab0a19bbf65dacce96edf72dd09cd/poethepoet-0.47.0.tar.gz", hash = "sha256:8902da95e78ecec6bf1ee37b7c4da3bcf53f2ff89eb0d8a4447c01de4c4f2e6e", size = 145693, upload-time = "2026-06-27T14:00:46.849Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/5c/92/93a4af9511b8c7c647874521d9e6c904266be98067c2ee1eb2e74520d208/poethepoet-0.48.0.tar.gz", hash = "sha256:a06f49d244fadfc2e2e7faa78b54e64a9694727e4ce1d50e08f23cea3ded74f1", size = 148679, upload-time = "2026-07-05T21:48:30.106Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/88/d3/419673fea140c243a8ed35022b92b355787dd565d2318dfab940b2a96b91/poethepoet-0.47.0-py3-none-any.whl", hash = "sha256:b443f38c5c8cd6e2415bcd5922a45c03ab120360ff0d515233ef6279f3f285c3", size = 183561, upload-time = "2026-06-27T14:00:45.031Z" },
+ { url = "https://files.pythonhosted.org/packages/59/8d/d7c9455b15f8d2d7ce57e7b71a8ef8d02d9992ae4283c9777120620c9022/poethepoet-0.48.0-py3-none-any.whl", hash = "sha256:98da6096d060f49b8d84034770265863fb7dc92a40233b7694b9d216ac68737d", size = 185808, upload-time = "2026-07-05T21:48:28.601Z" },
]
[[package]]
name = "polars"
-version = "1.42.1"
+version = "1.43.0"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "polars-runtime-32", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/27/99/fe77f10a13a778705ef05b499fc708c9a0b0a3680d9eb6bc6e1b6a6b9914/polars-1.42.1.tar.gz", hash = "sha256:2fe94f3059334650bd850ae19a9c165dcd5d9cb12cd95ea04de2201662e70e8a", size = 741532, upload-time = "2026-06-30T04:57:51.504Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/66/5b/5d0f0aa53c6e9a8ecbc99ff502edcf9584e5d08ab34ea407c086999103d5/polars-1.43.0.tar.gz", hash = "sha256:bb2c67553e4968c18dfe268a88ff9a5790d5c2e0b7ea7efe97640b9a90438c88", size = 749537, upload-time = "2026-07-21T04:30:25.966Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/be/6a/edd939cc6fa04b6415aaa9bf19720fc74ead81234b3d38542e0005816d4d/polars-1.42.1-py3-none-any.whl", hash = "sha256:3c0c65cdfa21a621650c4bdcbbccf93964d052fd766c3e70e84a55d961c259fd", size = 837622, upload-time = "2026-06-30T04:56:34.686Z" },
+ { url = "https://files.pythonhosted.org/packages/76/28/a8eac2c1d1b2d2a4ba2eb745921616d863185d94b1afd91cbb07af9ef21a/polars-1.43.0-py3-none-any.whl", hash = "sha256:c49078b14e2d6b8ff5cc5b78b6d9638603ea5dffafb889d9204818822f55b813", size = 846493, upload-time = "2026-07-21T04:29:06.68Z" },
]
[[package]]
name = "polars-runtime-32"
-version = "1.42.1"
+version = "1.43.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/1f/59/15bcc4dac380c6d63efa5446d8317f22671cbd6c9dadd576bd17a334c45a/polars_runtime_32-1.42.1.tar.gz", hash = "sha256:4d4809e1c1b9a6611f6944f27b24abea902b5159e6b6fa262fd716e947af5afd", size = 3045460, upload-time = "2026-06-30T04:57:52.866Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/86/96/7e714cad082e9e6aaebb8886fcb1b0220d5c35149d4c8d3466bd7e7d581e/polars_runtime_32-1.43.0.tar.gz", hash = "sha256:5fb47a3a883402e62eab2fde5922f78c531d037aeece3640c15225f39228621e", size = 3090044, upload-time = "2026-07-21T04:30:27.185Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/62/29/16ff6e4e91d71e530d3581f45e342a9cc35072ac6b31dcbc2fa33de2569e/polars_runtime_32-1.42.1-cp310-abi3-macosx_10_12_x86_64.whl", hash = "sha256:bbdc26d68ee5b23b0ce227fa0599220aa35b77c826b6b0a6b2d8e7f6c1c36974", size = 53117325, upload-time = "2026-06-30T04:56:37.972Z" },
- { url = "https://files.pythonhosted.org/packages/04/8e/4f8296fcfd1347f1351342fecf13bf2430d7efbae2f1f45964ec7930a99e/polars_runtime_32-1.42.1-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:f6c0288be940b607dc4a7476c01e67fb6bbee93f5f1dd42c64970274c71008ba", size = 47446251, upload-time = "2026-06-30T04:56:41.459Z" },
- { url = "https://files.pythonhosted.org/packages/5d/10/ffb85fa380bc9c9000dc35f40f44954dde49023018501c54faab94b3a39e/polars_runtime_32-1.42.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d059e8e53cc114ff82f9bd791fd341dc53534a2c745e6f6aa37594c3a93f01fe", size = 57302723, upload-time = "2026-06-30T04:56:47.609Z" },
- { url = "https://files.pythonhosted.org/packages/63/c3/08fbbf38deaa17bf34a601d327cb7451074098673c78b7c1a8538dde9794/polars_runtime_32-1.42.1-cp310-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:8b8bf972d99d48aaaa2582e2bce966a6f43bc815bd8725d15f5cab9e2fb15d17", size = 55217259, upload-time = "2026-06-30T04:56:53.834Z" },
- { url = "https://files.pythonhosted.org/packages/d1/0e/51db89361668fe077a835fc579277f824ba526e7daf7b94d23d25439e0d0/polars_runtime_32-1.42.1-cp310-abi3-win_amd64.whl", hash = "sha256:e9364c26da389a8b7339e4d29e20a3d12af730247e6ed3b7804bddce2477f428", size = 52715432, upload-time = "2026-06-30T04:56:57.109Z" },
+ { url = "https://files.pythonhosted.org/packages/0f/14/9b1f5eb1c5104ba1ceb380a7308ffcd979f3ce1df86e76293062698f2ff1/polars_runtime_32-1.43.0-cp310-abi3-macosx_10_12_x86_64.whl", hash = "sha256:6707193d30a7135bce0424304f76d8145270527444097548e794ad8d26823b70", size = 53059463, upload-time = "2026-07-21T04:29:09.194Z" },
+ { url = "https://files.pythonhosted.org/packages/ca/14/73d77d1c0c928eb599d9516d874af0cd2b6225201e1327a6c4857e6776d0/polars_runtime_32-1.43.0-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:78ca2f97740b2a6beb36eb112749280b5e08750c60f53c08d2feffebdba9d35a", size = 47499586, upload-time = "2026-07-21T04:29:13.229Z" },
+ { url = "https://files.pythonhosted.org/packages/ab/7d/24ae73389aac03296925973c4e2cbe2e4982e859b9fad69eb1a72b9026fa/polars_runtime_32-1.43.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3ecc8feaf04de5989a29245885921db612ef1ce9065e5cb6ec37495acfa55bba", size = 57266705, upload-time = "2026-07-21T04:29:19.288Z" },
+ { url = "https://files.pythonhosted.org/packages/db/e2/047c7695f08a9b18614c0e1ec5e70a754455542a21a6d52955f7f05c6268/polars_runtime_32-1.43.0-cp310-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:9cd8b813afe67d59e87027dedcaf5c6a06fe602472fd74e1a49f4bafea47259c", size = 55169401, upload-time = "2026-07-21T04:29:25.902Z" },
+ { url = "https://files.pythonhosted.org/packages/92/dc/bfd2533c487563c7a21ab7d7af3d78f820b0236e14dc5ee63d46188cd275/polars_runtime_32-1.43.0-cp310-abi3-win_amd64.whl", hash = "sha256:41a75fb3cb4cc574eb21801383578f75cfc374597c22322ef457ab7bac8a3301", size = 52541527, upload-time = "2026-07-21T04:29:29.162Z" },
]
[[package]]
@@ -1251,40 +1297,35 @@ wheels = [
[[package]]
name = "pyarrow"
-version = "24.0.0"
-source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/91/13/13e1069b351bdc3881266e11147ffccf687505dbb0ea74036237f5d454a5/pyarrow-24.0.0.tar.gz", hash = "sha256:85fe721a14dd823aca09127acbb06c3ca723efbd436c004f16bca601b04dcc83", size = 1180261, upload-time = "2026-04-21T10:51:25.837Z" }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/62/c9/a47ab7ece0d86cbe6678418a0fbd1ac4bb493b9184a3891dfa0e7f287ae0/pyarrow-24.0.0-cp311-cp311-macosx_12_0_arm64.whl", hash = "sha256:b0e131f880cda8d04e076cee175a46fc0e8bc8b65c99c6c09dff6669335fde74", size = 35068898, upload-time = "2026-04-21T10:46:36.599Z" },
- { url = "https://files.pythonhosted.org/packages/d1/bc/8db86617a9a58008acf8913d6fed68ea2a46acb6de928db28d724c891a68/pyarrow-24.0.0-cp311-cp311-macosx_12_0_x86_64.whl", hash = "sha256:1b2fe7f9a5566401a0ef2571f197eb92358925c1f0c8dba305d6e43ea0871bb3", size = 36679915, upload-time = "2026-04-21T10:46:42.602Z" },
- { url = "https://files.pythonhosted.org/packages/f3/27/99c42abe8e21b44f4917f62631f3aa31404882a2c41d8a4cd5c110e13d52/pyarrow-24.0.0-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:14e31a3c9e35f1ab6356c6378f6f72830e6d2d5f1791df3774a7b097d18a6a1e", size = 48837449, upload-time = "2026-04-21T10:46:55.329Z" },
- { url = "https://files.pythonhosted.org/packages/17/25/c5201706a2dd374e8ba6ee3fd7a8c89fb7ffc16eed5217a91fd2bd7f7626/pyarrow-24.0.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:b196eb3f931862af3fa84c2a253514d859c08e0d8fe020e07be12e75a5a9780c", size = 51912986, upload-time = "2026-04-21T10:47:09.872Z" },
- { url = "https://files.pythonhosted.org/packages/f8/d2/4d1bbba65320b21a49678d6fbdc6ff7c649251359fdcfc03568c4136231d/pyarrow-24.0.0-cp311-cp311-win_amd64.whl", hash = "sha256:35405aecb474e683fb36af650618fd5340ee5471fc65a21b36076a18bbc6c981", size = 27255371, upload-time = "2026-04-21T10:47:15.943Z" },
- { url = "https://files.pythonhosted.org/packages/b4/a9/9686d9f07837f91f775e8932659192e02c74f9d8920524b480b85212cc68/pyarrow-24.0.0-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:6233c9ed9ab9d1db47de57d9753256d9dcffbf42db341576099f0fd9f6bf4810", size = 34981559, upload-time = "2026-04-21T10:47:22.17Z" },
- { url = "https://files.pythonhosted.org/packages/80/b6/0ddf0e9b6ead3474ab087ae598c76b031fc45532bf6a63f3a553440fb258/pyarrow-24.0.0-cp312-cp312-macosx_12_0_x86_64.whl", hash = "sha256:f7616236ec1bc2b15bfdec22a71ab38851c86f8f05ff64f379e1278cf20c634a", size = 36663654, upload-time = "2026-04-21T10:47:28.315Z" },
- { url = "https://files.pythonhosted.org/packages/b3/7a/829f7d9dfd37c207206081d6dad474d81dde29952401f07f2ba507814818/pyarrow-24.0.0-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:6165461f55ef6314f026de6638d661188e3455d3ec49834556a0ebbdbace18bb", size = 48863122, upload-time = "2026-04-21T10:47:42.056Z" },
- { url = "https://files.pythonhosted.org/packages/36/7a/82c363caa145fff88fb475da50d3bf52bb024f61917be5424c3392eaf878/pyarrow-24.0.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:25ea65d868eb04015cd18e6df2fbe98f07e5bda2abefabcb88fce39a947716f6", size = 51929490, upload-time = "2026-04-21T10:47:55.981Z" },
- { url = "https://files.pythonhosted.org/packages/66/1c/e3e72c8014ad2743ca64a701652c733cc5cbcee15c0463a32a8c55518d9e/pyarrow-24.0.0-cp312-cp312-win_amd64.whl", hash = "sha256:295f0a7f2e242dabd513737cf076007dc5b2d59237e3eca37b05c0c6446f3826", size = 27355660, upload-time = "2026-04-21T10:48:01.718Z" },
- { url = "https://files.pythonhosted.org/packages/6f/d3/a1abf004482026ddc17f4503db227787fa3cfe41ec5091ff20e4fea55e57/pyarrow-24.0.0-cp313-cp313-macosx_12_0_arm64.whl", hash = "sha256:02b001b3ed4723caa44f6cd1af2d5c86aa2cf9971dacc2ffa55b21237713dfba", size = 34976759, upload-time = "2026-04-21T10:48:07.258Z" },
- { url = "https://files.pythonhosted.org/packages/4f/4a/34f0a36d28a2dd32225301b79daad44e243dc1a2bb77d43b60749be255c4/pyarrow-24.0.0-cp313-cp313-macosx_12_0_x86_64.whl", hash = "sha256:04920d6a71aabd08a0417709efce97d45ea8e6fb733d9ca9ecffb13c67839f68", size = 36658471, upload-time = "2026-04-21T10:48:13.347Z" },
- { url = "https://files.pythonhosted.org/packages/84/9f/8fb7c222b100d314137fa40ec050de56cd8c6d957d1cfff685ce72f15b17/pyarrow-24.0.0-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:6f066b179d68c413374294bc1735f68475457c933258df594443bb9d88ddc2a0", size = 48859172, upload-time = "2026-04-21T10:48:27.541Z" },
- { url = "https://files.pythonhosted.org/packages/c3/be/c3d8b06a1ba35f2260f8e1f771abbee7d5e345c0937aab90675706b1690a/pyarrow-24.0.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:806f24b4085453c197a5078218d1ee08783ebbba271badd153d1ae22a3ee804f", size = 51934335, upload-time = "2026-04-21T10:48:42.099Z" },
- { url = "https://files.pythonhosted.org/packages/9c/62/89e07a1e7329d2cde3e3c6994ba0839a24977a2beda8be6005ea3d860b99/pyarrow-24.0.0-cp313-cp313-win_amd64.whl", hash = "sha256:e4505fc6583f7b05ab854934896bcac8253b04ac1171a77dfb73efef92076d91", size = 27271748, upload-time = "2026-04-21T10:49:42.532Z" },
- { url = "https://files.pythonhosted.org/packages/17/1a/cff3a59f80b5b1658549d46611b67163f65e0664431c076ad728bf9d5af4/pyarrow-24.0.0-cp313-cp313t-macosx_12_0_arm64.whl", hash = "sha256:1a4e45017efbf115032e4475ee876d525e0e36c742214fbe405332480ecd6275", size = 35238554, upload-time = "2026-04-21T10:48:48.526Z" },
- { url = "https://files.pythonhosted.org/packages/a8/99/cce0f42a327bfef2c420fb6078a3eb834826e5d6697bf3009fe11d2ad051/pyarrow-24.0.0-cp313-cp313t-macosx_12_0_x86_64.whl", hash = "sha256:7986f1fa71cee060ad00758bcc79d3a93bab8559bf978fab9e53472a2e25a17b", size = 36782301, upload-time = "2026-04-21T10:48:55.181Z" },
- { url = "https://files.pythonhosted.org/packages/27/0c/a26e25505d030716e078d9f16eb74973cbf0b33b672884e9f9da1c83b871/pyarrow-24.0.0-cp313-cp313t-manylinux_2_28_x86_64.whl", hash = "sha256:55a3bc1e3df3b5567b7d27ef551b2283f0c68a5e86f1cd56abc569da4f31335b", size = 48825365, upload-time = "2026-04-21T10:49:11.714Z" },
- { url = "https://files.pythonhosted.org/packages/48/da/61ae89a88732f5a785646f3ec6125dbb640fa98a540eb2b9889caa561403/pyarrow-24.0.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:8adc8e6ce5fccf5dc707046ae4914fd537def529709cc0d285d37a7f9cd442ca", size = 51909252, upload-time = "2026-04-21T10:49:31.164Z" },
- { url = "https://files.pythonhosted.org/packages/cb/1a/8dd5cafab7b66573fa91c03d06d213356ad4edd71813aa75e08ce2b3a844/pyarrow-24.0.0-cp313-cp313t-win_amd64.whl", hash = "sha256:9b18371ad2f44044b81a8d23bc2d8a9b6a6226dca775e8e16cfee640473d6c5d", size = 27388127, upload-time = "2026-04-21T10:49:37.334Z" },
- { url = "https://files.pythonhosted.org/packages/ad/80/d022a34ff05d2cbedd8ccf841fc1f532ecfa9eb5ed1711b56d0e0ea71fc9/pyarrow-24.0.0-cp314-cp314-macosx_12_0_arm64.whl", hash = "sha256:1cc9057f0319e26333b357e17f3c2c022f1a83739b48a88b25bfd5fa2dc18838", size = 35007997, upload-time = "2026-04-21T10:49:48.796Z" },
- { url = "https://files.pythonhosted.org/packages/1a/ff/f01485fda6f4e5d441afb8dd5e7681e4db18826c1e271852f5d3957d6a80/pyarrow-24.0.0-cp314-cp314-macosx_12_0_x86_64.whl", hash = "sha256:e6f1278ee4785b6db21229374a1c9e54ec7c549de5d1efc9630b6207de7e170b", size = 36678720, upload-time = "2026-04-21T10:49:55.858Z" },
- { url = "https://files.pythonhosted.org/packages/8e/3a/28ba9c1c1ebdbb5f1b94dfebb46f207e52e6a554b7fe4132540fde29a3a0/pyarrow-24.0.0-cp314-cp314-manylinux_2_28_x86_64.whl", hash = "sha256:ae8a1145af31d903fa9bb166824d7abe9b4681a000b0159c9fb99c11bc11ad26", size = 48889852, upload-time = "2026-04-21T10:50:12.293Z" },
- { url = "https://files.pythonhosted.org/packages/19/4b/0bab2b23d2ae901b1b9a03c0efd4b2d070256f8ce3fc43f6e58c167b2081/pyarrow-24.0.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:e56a1ffe9bf7b727432b89104cc0849c21582949dd7bdcb34f17b2001a351a76", size = 51954117, upload-time = "2026-04-21T10:50:29.14Z" },
- { url = "https://files.pythonhosted.org/packages/29/88/f4e9145da0417b3d2c12035a8492b35ff4a3dbc653e614fcfb51d9dedb38/pyarrow-24.0.0-cp314-cp314-win_amd64.whl", hash = "sha256:38be1808cdd068605b787e6ca9119b27eb275a0234e50212c3492331680c3b1e", size = 28001155, upload-time = "2026-04-21T10:51:22.337Z" },
- { url = "https://files.pythonhosted.org/packages/79/4f/46a49a63f43526da895b1a45bbb51d5baf8e4d77159f8528fc3e5490007f/pyarrow-24.0.0-cp314-cp314t-macosx_12_0_arm64.whl", hash = "sha256:418e48ce50a45a6a6c73c454677203a9c75c966cb1e92ca3370959185f197a05", size = 35250387, upload-time = "2026-04-21T10:50:35.552Z" },
- { url = "https://files.pythonhosted.org/packages/a0/da/d5e0cd5ef00796922404806d5f00325cdadc3441ce2c13fe7115f2df9a64/pyarrow-24.0.0-cp314-cp314t-macosx_12_0_x86_64.whl", hash = "sha256:2f16197705a230a78270cdd4ea8a1d57e86b2fdcbc34a1f6aebc72e65c986f9a", size = 36797102, upload-time = "2026-04-21T10:50:42.417Z" },
- { url = "https://files.pythonhosted.org/packages/13/d3/cca42fe166d1c6e4d5b80e530b7949104d10e17508a90ae202dac205ce2a/pyarrow-24.0.0-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:9700ebd9a51f5895ce75ff4ac4b3c47a7d4b42bc618be8e713e5d56bacf5f931", size = 48844765, upload-time = "2026-04-21T10:50:55.579Z" },
- { url = "https://files.pythonhosted.org/packages/76/97/ff71431000a75d84135a1ace5ca4ba11726a231a8007bbb320a4c54075d5/pyarrow-24.0.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:61a3d7eaa97a14768b542f3d284dc6400dd2470d9f080708b13cd46b6ae18136", size = 51932250, upload-time = "2026-04-21T10:51:10.576Z" },
- { url = "https://files.pythonhosted.org/packages/51/be/6f79d55816d5c22557cf27533543d5d70dfe692adfbee4b99f2760674f38/pyarrow-24.0.0-cp314-cp314t-win_amd64.whl", hash = "sha256:c91d00057f23b8d353039520dc3a6c09d8608164c692e9f59a175a42b2ae0c19", size = 28131282, upload-time = "2026-04-21T10:51:16.815Z" },
+version = "25.0.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/27/f3/95428098d1fa7d04432fb750eed06b41304c2f6a5d3319985e64db2d9d41/pyarrow-25.0.0.tar.gz", hash = "sha256:d2d697008b5ec06d75952ef260c2e9a8a0f6ccfce24266c04c9c8ade927cb3b4", size = 1199181, upload-time = "2026-07-10T08:29:50.116Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/a7/98/ae2b5acf9876dbeffa6f320776242c52caab062df55c8ac5501ed2679e74/pyarrow-25.0.0-cp311-cp311-macosx_12_0_arm64.whl", hash = "sha256:2e3b6544e26e393fe2cd530f523e36c1c8d3c345bbbb60cca3fd866be8322517", size = 35939080, upload-time = "2026-07-10T08:26:04.53Z" },
+ { url = "https://files.pythonhosted.org/packages/80/09/3de2a968edbd496c86cb8b932cdbee2d4b08c4a28e9884a15e5c705a646b/pyarrow-25.0.0-cp311-cp311-macosx_12_0_x86_64.whl", hash = "sha256:b724d127783b4c19f088fcdfc844cbc318809246a30307bcabd5ed02045e890e", size = 37633420, upload-time = "2026-07-10T08:26:10.354Z" },
+ { url = "https://files.pythonhosted.org/packages/7b/79/72d704b02bc5fc6d06954d76a0208c1e79cad3ab370f6d6a91ffe5078870/pyarrow-25.0.0-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:0222f0071d13313962a88d21bf28b80d355ac39d81bfa6ff3fe00eeaf748e4be", size = 50056458, upload-time = "2026-07-10T08:26:23.271Z" },
+ { url = "https://files.pythonhosted.org/packages/34/f7/8f8a019061f9863a831915329264372a87ed25eaf9109ce56eb0e84012c5/pyarrow-25.0.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:38a2c887cb3883e241b70201688db34133b6dfadd04f03c8f9213df53770c18e", size = 53100544, upload-time = "2026-07-10T08:26:36.414Z" },
+ { url = "https://files.pythonhosted.org/packages/f1/e2/738071e95c5ddad7b3dfc12f569ffa992db89d7d7b4a95258fd184191249/pyarrow-25.0.0-cp311-cp311-win_amd64.whl", hash = "sha256:161649d60a7a46c613a19fd795763ea8a88c36ba997dd99d9bc66e6794ee36e8", size = 27848311, upload-time = "2026-07-10T08:26:41.429Z" },
+ { url = "https://files.pythonhosted.org/packages/73/44/fdd3a4377807b7dcabe2d4b5aa99dbbc98e2e5df3f1ca4e7f0aec492d987/pyarrow-25.0.0-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:149730a3d1f0fb59d663a0b8aa210adfd9c17c27cd94a0d143e60daea8320d4e", size = 35850884, upload-time = "2026-07-10T08:26:47.357Z" },
+ { url = "https://files.pythonhosted.org/packages/bf/71/9f053177a7709b8c90abb00a2375b916286f9f0d6cfb21a5cadd4ef811e8/pyarrow-25.0.0-cp312-cp312-macosx_12_0_x86_64.whl", hash = "sha256:0721332c30fdd453fdd1fc203b2ac1f4c9db5aea28fa38d41f2574c4b068b9ec", size = 37616197, upload-time = "2026-07-10T08:26:53.564Z" },
+ { url = "https://files.pythonhosted.org/packages/55/0e/cd705c042bc4fe7022478db577fcab4abdcfabb9bc37ab7a75556b3fcb2b/pyarrow-25.0.0-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:5d1dbf24e151042f2fa3c129563f65d66674128868496fb008c4272b16bdf778", size = 50088993, upload-time = "2026-07-10T08:27:14.268Z" },
+ { url = "https://files.pythonhosted.org/packages/33/1b/207a90cc64619a095eb75a263ae069735f2810056d43c667befd573ec083/pyarrow-25.0.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:58d1ab556b0cea1c93fdb799b24ad58adb2f2a2788dbce782a94f64ae1a5cc9b", size = 53112355, upload-time = "2026-07-10T08:27:27.911Z" },
+ { url = "https://files.pythonhosted.org/packages/7e/fe/81d1e5f8beed15c01e98649d5c6e2167b67fd395884a2488f18bf1cf0dba/pyarrow-25.0.0-cp312-cp312-win_amd64.whl", hash = "sha256:3f356afe61186395c861d5cd63dc21ff7d5fa335012a4668d979257df7fea0f5", size = 27945954, upload-time = "2026-07-10T08:27:32.903Z" },
+ { url = "https://files.pythonhosted.org/packages/6c/c8/098ce17d778fd9d29e40bb8c5f19a40cc90c3f0b46c9057b0d7993f42f54/pyarrow-25.0.0-cp313-cp313-macosx_12_0_arm64.whl", hash = "sha256:8831a3ba52fa7cdb78d368d968b1dcd06171e6dff5461e16d90de91d371e47bc", size = 35844549, upload-time = "2026-07-10T08:27:37.956Z" },
+ { url = "https://files.pythonhosted.org/packages/bc/66/24c28877219abf6263d909b1592c97ff82c59f13a59acbed11fc87c0654f/pyarrow-25.0.0-cp313-cp313-macosx_12_0_x86_64.whl", hash = "sha256:5f4bacb60f91dd2fca6c52f1b9a0012cd090e0294f1f781dc1881a247a352f8e", size = 37610397, upload-time = "2026-07-10T08:27:43.803Z" },
+ { url = "https://files.pythonhosted.org/packages/b5/5d/f790fb6965ab54c9da0dda7856abc75fd0d7648d865f8d603c111d203a64/pyarrow-25.0.0-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:6f9dbd83e91c239a1f5ee7ce13f108b5f6c0efbe40a4375260d8f08b43ad05e9", size = 50090118, upload-time = "2026-07-10T08:27:56.051Z" },
+ { url = "https://files.pythonhosted.org/packages/07/a1/bd051871708ea99a5e0fc711926c26c6f2c6d0130c7aaac8093e34998af6/pyarrow-25.0.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:4ec1895a87aa834c3b99b7a1e758747eb8bb57f922b32c0e0fa04afb8d6998b1", size = 53114238, upload-time = "2026-07-10T08:28:08.594Z" },
+ { url = "https://files.pythonhosted.org/packages/7c/31/737f0c3cffcd6af647849477d1dd68045deac2e3963c3f9f211bedc48540/pyarrow-25.0.0-cp313-cp313-win_amd64.whl", hash = "sha256:77c8d1ae46a44b4006e8db1cc977bbcc6ce4873c92f74137d68e45503b97fb18", size = 27861162, upload-time = "2026-07-10T08:28:12.975Z" },
+ { url = "https://files.pythonhosted.org/packages/55/c7/581ccbcdb3d897eb2893328d68db3d52eca373bf2a7e964d0a6276b8e85b/pyarrow-25.0.0-cp314-cp314-macosx_12_0_arm64.whl", hash = "sha256:72132b9a8a0a1840197794d4dea26080069b6b0981c116bc078762dc9691b21b", size = 35878945, upload-time = "2026-07-10T08:28:18.222Z" },
+ { url = "https://files.pythonhosted.org/packages/64/d1/ccb01db7329ea0411ef4fbd9b62a04d3268b36777d4e758d5e39b91ddeab/pyarrow-25.0.0-cp314-cp314-macosx_12_0_x86_64.whl", hash = "sha256:e009ef945e498dca2f050ea10d2e9764cb44017254826fc4574fdb8d2530173b", size = 37630854, upload-time = "2026-07-10T08:28:23.452Z" },
+ { url = "https://files.pythonhosted.org/packages/6a/29/0ed312ec800fb536f93783215126cee4b8977dcfeccba6f0f44df0cc87d7/pyarrow-25.0.0-cp314-cp314-manylinux_2_28_x86_64.whl", hash = "sha256:447df764beb07c544f0178a5f6b70ef44b9ecf382b3cdfad4c2d7867353c3887", size = 50119765, upload-time = "2026-07-10T08:28:35.826Z" },
+ { url = "https://files.pythonhosted.org/packages/7b/fb/4d24f1b7fe2e042dc4ef315ef75e4e702d8e46fe10c37e63caff00502b03/pyarrow-25.0.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:f0f100dacf2c0f400601664a79d1a907ced4740514bb2b00917341038e2ce76f", size = 53162437, upload-time = "2026-07-10T08:28:52.819Z" },
+ { url = "https://files.pythonhosted.org/packages/fa/65/da20806de93ca6ee91e72cb6a9b08b3ac890b46efc8d94a7326c651c4c81/pyarrow-25.0.0-cp314-cp314-win_amd64.whl", hash = "sha256:2e093efbecb5317372f819228fa4b4e6157eee48d3f0a7b0303705ebf81a7104", size = 28613262, upload-time = "2026-07-10T08:29:47.544Z" },
+ { url = "https://files.pythonhosted.org/packages/86/9f/c632afb1d3ef4a7814cee236718235f3a47eac46e97eb87df40f550b6b48/pyarrow-25.0.0-cp314-cp314t-macosx_12_0_arm64.whl", hash = "sha256:26be35b80780d2d21f4bae3d568b1666337c3a89722cc1794c956a77017cb24e", size = 36120702, upload-time = "2026-07-10T08:28:59.577Z" },
+ { url = "https://files.pythonhosted.org/packages/36/0a/093d53a0e72ad06e45d6443e00651bbc2d21af4211295086cbf4d873d3b9/pyarrow-25.0.0-cp314-cp314t-macosx_12_0_x86_64.whl", hash = "sha256:6f4812bfbf11ca7d8faf59eb8fff8bf4dd25ce3a38b62baa010cc17a0926d1b2", size = 37750674, upload-time = "2026-07-10T08:29:06.916Z" },
+ { url = "https://files.pythonhosted.org/packages/32/35/5cae19ba72493e5598022468b56f6a5571f399f485bf412f157356476caa/pyarrow-25.0.0-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:c70a5fd9a82bd1a702fd482bdc62d38dcb672fb2b449b1d7c0d7d1f4be7b7bfe", size = 50073652, upload-time = "2026-07-10T08:29:22.467Z" },
+ { url = "https://files.pythonhosted.org/packages/5f/a4/324d0db203ff5eebe8694ec2d6ec5a23f9aaa5d02e5b8c692914c518c33c/pyarrow-25.0.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:e83916bbcf380866b4e14255850b33323ff678dc9758411d0409cdd2523880b0", size = 53140153, upload-time = "2026-07-10T08:29:36.041Z" },
+ { url = "https://files.pythonhosted.org/packages/bd/8d/d236e9c82fe315f9128885c8be3ec719f41965a1eb6b6f4b42470904cd41/pyarrow-25.0.0-cp314-cp314t-win_amd64.whl", hash = "sha256:13240f0d3dc5932ccd0bfa90cd76d835680b9d94a7661c635df4b703d40ce849", size = 28743657, upload-time = "2026-07-10T08:29:42.742Z" },
]
[[package]]
@@ -1620,6 +1661,15 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/0b/d7/1959b9648791274998a9c3526f6d0ec8fd2233e4d4acce81bbae76b44b2a/python_dotenv-1.2.2-py3-none-any.whl", hash = "sha256:1d8214789a24de455a8b8bd8ae6fe3c6b69a5e3d64aa8a8e5d68e694bbcb285a", size = 22101, upload-time = "2026-03-01T16:00:25.09Z" },
]
+[[package]]
+name = "pytz"
+version = "2026.2"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/ff/46/dd499ec9038423421951e4fad73051febaa13d2df82b4064f87af8b8c0c3/pytz-2026.2.tar.gz", hash = "sha256:0e60b47b29f21574376f218fe21abc009894a2321ea16c6754f3cad6eb7cdd6a", size = 320861, upload-time = "2026-05-04T01:35:29.667Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/ec/dd/96da98f892250475bdf2328112d7468abdd4acc7b902b6af23f4ed958ea0/pytz-2026.2-py2.py3-none-any.whl", hash = "sha256:04156e608bee23d3792fd45c94ae47fae1036688e75032eea2e3bf0323d1f126", size = 510141, upload-time = "2026-05-04T01:35:27.408Z" },
+]
+
[[package]]
name = "pywin32-ctypes"
version = "0.2.3"
@@ -1682,11 +1732,9 @@ name = "rtmlib"
version = "0.0.14"
source = { registry = "https://pypi.org/simple" }
dependencies = [
- { name = "numpy", marker = "sys_platform == 'darwin'" },
- { name = "onnxruntime", marker = "sys_platform == 'darwin'" },
- { name = "opencv-contrib-python", marker = "sys_platform == 'darwin'" },
- { name = "opencv-python", marker = "sys_platform == 'darwin'" },
- { name = "tqdm", marker = "sys_platform == 'darwin'" },
+ { name = "numpy", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
+ { name = "opencv-contrib-python", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
+ { name = "tqdm", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
]
sdist = { url = "https://files.pythonhosted.org/packages/1e/74/b3a33e88f1961a3fa80d7a6a3e2910670ebbb10b9c1d06d334ac2115843b/rtmlib-0.0.14.tar.gz", hash = "sha256:2d3090b1e93f7eddcedb01233f2181fb6f974ab3250e356eb94eae872358317a", size = 40656, upload-time = "2025-11-05T16:54:56.993Z" }
wheels = [
@@ -1695,15 +1743,15 @@ wheels = [
[[package]]
name = "ruff"
-version = "0.15.20"
+version = "0.15.22"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/43/dc/35b341fc554ba02f217fc10da57d1a75168cfbcf75b0ef2202176d4c4f2d/ruff-0.15.20.tar.gz", hash = "sha256:1416eb04349192646b54de98f146c4f59afe37d0decfc02c3cbbf396f3a28566", size = 4755489, upload-time = "2026-06-25T17:20:37.578Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/3a/06/ae069393fc66e8ff33036d4b368003833bf6e88ccf182e17e7a2f1c754fd/ruff-0.15.22.tar.gz", hash = "sha256:3f15175b1fb580126f58285a5dae6b2ea89000136d980c64499211f116b54809", size = 4785063, upload-time = "2026-07-16T15:14:13.244Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/c6/d3/ac1798ba64f670698867fcfc591d50e7e421bef137db564858f619a30fcf/ruff-0.15.20-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:9ebd1fd9b9c95fc0bd7b2761aebec1f030013d2e193a2901b224af68fe47251b", size = 11208649, upload-time = "2026-06-25T17:19:48.787Z" },
- { url = "https://files.pythonhosted.org/packages/47/47/d3ac899991202095dfcf3d5176be4272642be3cf981a2f1a30f72a2afb95/ruff-0.15.20-py3-none-macosx_11_0_arm64.whl", hash = "sha256:c5b16cdd67ca108185cd36dce98c576350c03b1660a751de725fb049193a0632", size = 10622638, upload-time = "2026-06-25T17:19:51.354Z" },
- { url = "https://files.pythonhosted.org/packages/86/b1/a976a136d40ade83ce743578399865f57001003a409acadc0ecbb3051082/ruff-0.15.20-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:309809086c2acb67624950a3c8133e80f32d0d3e27106c0cd60ff26657c9f24b", size = 11520767, upload-time = "2026-06-25T17:20:09.191Z" },
- { url = "https://files.pythonhosted.org/packages/5a/a4/0caa331d954ae2723d729d351c989cb4ca8b6077d5c6c2cb6de75e98c041/ruff-0.15.20-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:01cc00dd58f0df339d0e902219dd53990ea99996a0344e5d9cc8d45d5307e460", size = 11618698, upload-time = "2026-06-25T17:20:25.259Z" },
- { url = "https://files.pythonhosted.org/packages/fa/f0/fe47c501f9dea92a26d788ff98bb5d92ed4cb4c88792c5c88af6b697dc8e/ruff-0.15.20-py3-none-win_amd64.whl", hash = "sha256:a525c81c70fb0380344dd1d8745d8cc1c890b7fc94a58d5a07bd8eb9557b8415", size = 11993274, upload-time = "2026-06-25T17:20:31.871Z" },
+ { url = "https://files.pythonhosted.org/packages/2f/d2/2520cb14761ddbeaf57642a76942fc36adcbdbe53b4532241995f6fc485c/ruff-0.15.22-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:b82c6482946e9eda7ff2e091d25b8bad3f718684e1916d41bd56873cee05b697", size = 10999477, upload-time = "2026-07-16T15:13:23.318Z" },
+ { url = "https://files.pythonhosted.org/packages/c9/10/74e53572aa758dfaa678c2a2646b5c5515d884b7ca56be4d2ce03ca4b560/ruff-0.15.22-py3-none-macosx_11_0_arm64.whl", hash = "sha256:11c1c715af53a09f714e011106bffc419751ec8232fcb5da42173284ea3fec6f", size = 10466716, upload-time = "2026-07-16T15:13:26.162Z" },
+ { url = "https://files.pythonhosted.org/packages/f6/f9/a0d4871d12fae702eb1f41b686caf05f1f8b124dc6db6f784f53d74918fa/ruff-0.15.22-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:365523eb91d9224e1bcb03b022fbf0facb8f9e23792a2c53d9d4b3924bdbdebb", size = 11399422, upload-time = "2026-07-16T15:13:45.2Z" },
+ { url = "https://files.pythonhosted.org/packages/c2/47/20e9d4a3b8016778acea5fc32bb50d35d207500a17ddb529ffa6996feef8/ruff-0.15.22-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:630479b18625f5ffc373f77603a22a9f8ac0acd7ff0501178b5db28ec71e9c64", size = 11490980, upload-time = "2026-07-16T15:14:01.032Z" },
+ { url = "https://files.pythonhosted.org/packages/cb/46/4965251734c2b6fcdca1b1b187d20bcac3af0ee5b083b89c910bb961ce3a/ruff-0.15.22-py3-none-win_amd64.whl", hash = "sha256:9be63ba1eb936acd2d1342fb8337c356353706fce233b2a15a09a97037e6acde", size = 11938297, upload-time = "2026-07-16T15:14:07.316Z" },
]
[[package]]
@@ -1876,11 +1924,11 @@ wheels = [
[[package]]
name = "setuptools"
-version = "82.0.1"
+version = "83.0.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/4f/db/cfac1baf10650ab4d1c111714410d2fbb77ac5a616db26775db562c8fab2/setuptools-82.0.1.tar.gz", hash = "sha256:7d872682c5d01cfde07da7bccc7b65469d3dca203318515ada1de5eda35efbf9", size = 1152316, upload-time = "2026-03-09T12:47:17.221Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/34/26/f5d29e25ffdb535afef2d35cdb55b325298f96debd670da4c325e08d70f4/setuptools-83.0.0.tar.gz", hash = "sha256:025bccbbf0fa05b6192bc64ae1e7b16e001fd6d6d4d5de03c97b1c1ade523bef", size = 1154254, upload-time = "2026-07-04T15:31:22.699Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/9d/76/f789f7a86709c6b087c5a2f52f911838cad707cc613162401badc665acfe/setuptools-82.0.1-py3-none-any.whl", hash = "sha256:a59e362652f08dcd477c78bb6e7bd9d80a7995bc73ce773050228a348ce2e5bb", size = 1006223, upload-time = "2026-03-09T12:47:15.026Z" },
+ { url = "https://files.pythonhosted.org/packages/5d/40/e1e72872c6354b306daef1703549e8e83b4d43cfea356311bf722a043752/setuptools-83.0.0-py3-none-any.whl", hash = "sha256:29b23c360f22f414dc7336bb39178cc7bcbf6021ed2733cde173f09dba19abb3", size = 1008090, upload-time = "2026-07-04T15:31:20.885Z" },
]
[[package]]
@@ -1895,7 +1943,7 @@ wheels = [
[[package]]
name = "skellycam"
version = "2.0.0a6"
-source = { git = "https://github.com/freemocap/skellycam?branch=development#6859334f420443951c2a66475df890f583ad11e9" }
+source = { git = "https://github.com/freemocap/skellycam?branch=main#777b058ceafb578c55092179506cd8a925a38b50" }
dependencies = [
{ name = "av", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
{ name = "beartype", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
@@ -1925,7 +1973,7 @@ dependencies = [
[[package]]
name = "skellyforge"
version = "2024.12.1009"
-source = { git = "https://github.com/freemocap/skellyforge?branch=development#2a3713c2e89bd8ce0994488ccac45877bdad21cf" }
+source = { git = "https://github.com/freemocap/skellyforge?branch=main#7d39a24aa04a7a40c591ed7cf79a7e73259c51cf" }
dependencies = [
{ name = "numpy", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
{ name = "pandas", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
@@ -1944,7 +1992,7 @@ source = { git = "https://github.com/freemocap/skellylogs#9114990350d7fb36747526
[[package]]
name = "skellypings"
version = "0.1.0"
-source = { git = "https://github.com/freemocap/skellypings#4423bb4230c19308ed7258cac881eb4dc930feb3" }
+source = { git = "https://github.com/freemocap/skellypings#4c5bffc92f58ae7af0a933ecf4b924068ab26488" }
dependencies = [
{ name = "python-dotenv", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
{ name = "requests", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
@@ -1953,7 +2001,7 @@ dependencies = [
[[package]]
name = "skellytracker"
version = "2024.9.1019"
-source = { git = "https://github.com/freemocap/skellytracker?branch=development#599b67341c6a7497293359b9e42989616552275b" }
+source = { git = "https://github.com/freemocap/skellytracker?branch=main#61925420a9f2a172208f8c911f6fd7800210ecda" }
dependencies = [
{ name = "beartype", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
{ name = "numpy", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
@@ -1963,27 +2011,27 @@ dependencies = [
{ name = "pydantic", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
{ name = "pyyaml", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
{ name = "requests", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
+ { name = "scipy", version = "1.17.1", source = { registry = "https://pypi.org/simple" }, marker = "(python_full_version < '3.12' and platform_machine == 'x86_64' and sys_platform == 'linux') or (python_full_version < '3.12' and platform_machine == 'AMD64' and sys_platform == 'win32') or (python_full_version < '3.12' and sys_platform == 'darwin')" },
+ { name = "scipy", version = "1.18.0", source = { registry = "https://pypi.org/simple" }, marker = "(python_full_version >= '3.12' and platform_machine == 'x86_64' and sys_platform == 'linux') or (python_full_version >= '3.12' and platform_machine == 'AMD64' and sys_platform == 'win32') or (python_full_version >= '3.12' and sys_platform == 'darwin')" },
{ name = "tqdm", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
]
[package.optional-dependencies]
-mediapipe = [
- { name = "mediapipe", marker = "sys_platform == 'darwin'" },
-]
-recommended = [
- { name = "mediapipe", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32')" },
+all-cpu = [
+ { name = "mediapipe", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
+ { name = "onnx", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
+ { name = "onnxruntime", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
+ { name = "rtmlib", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
+]
+all-cuda = [
+ { name = "mediapipe", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
{ name = "nvidia-cublas-cu12", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32')" },
{ name = "nvidia-cuda-runtime-cu12", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32')" },
{ name = "nvidia-cudnn-cu12", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32')" },
{ name = "nvidia-cufft-cu12", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32')" },
- { name = "onnx", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32')" },
+ { name = "onnx", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
{ name = "onnxruntime-gpu", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32')" },
- { name = "tensorrt", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32')" },
-]
-rtmpose-cpu = [
- { name = "onnx", marker = "sys_platform == 'darwin'" },
- { name = "onnxruntime", marker = "sys_platform == 'darwin'" },
- { name = "rtmlib", marker = "sys_platform == 'darwin'" },
+ { name = "rtmlib", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
]
[[package]]
@@ -2022,49 +2070,6 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/99/55/db07de81b5c630da5cbf5c7df646580ca26dfaefa593667fc6f2fe016d2e/tabulate-0.10.0-py3-none-any.whl", hash = "sha256:f0b0622e567335c8fabaaa659f1b33bcb6ddfe2e496071b743aa113f8774f2d3", size = 39814, upload-time = "2026-03-04T18:55:31.284Z" },
]
-[[package]]
-name = "tensorrt"
-version = "11.1.0.106"
-source = { registry = "https://pypi.nvidia.com/" }
-dependencies = [
- { name = "tensorrt-cu13", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32')" },
-]
-sdist = { url = "https://pypi.nvidia.com/tensorrt/tensorrt-11.1.0.106.tar.gz", hash = "sha256:18ee99dc9cb0b2c14d12a68e1a062a79699c05a684ae564390130a1293af059a" }
-
-[[package]]
-name = "tensorrt-cu13"
-version = "11.1.0.106"
-source = { registry = "https://pypi.nvidia.com/" }
-dependencies = [
- { name = "tensorrt-cu13-bindings", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32')" },
- { name = "tensorrt-cu13-libs", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32')" },
-]
-sdist = { url = "https://pypi.nvidia.com/tensorrt-cu13/tensorrt_cu13-11.1.0.106.tar.gz", hash = "sha256:7511c9fa102306c5841a3a261a18a99eab3a5e4bf2e1f64a34f3331475f8e804" }
-
-[[package]]
-name = "tensorrt-cu13-bindings"
-version = "11.1.0.106"
-source = { registry = "https://pypi.nvidia.com/" }
-wheels = [
- { url = "https://pypi.nvidia.com/tensorrt-cu13-bindings/tensorrt_cu13_bindings-11.1.0.106-cp311-none-manylinux_2_28_x86_64.whl", hash = "sha256:14b6073352fddc66fc859956b86a8e601f9a35ce15e8d331026a7f7947e4e683" },
- { url = "https://pypi.nvidia.com/tensorrt-cu13-bindings/tensorrt_cu13_bindings-11.1.0.106-cp311-none-win_amd64.whl", hash = "sha256:32a961b9c262d2fba49b63433f855ac11921e83495c29c48b57e14ae3280bdb7" },
- { url = "https://pypi.nvidia.com/tensorrt-cu13-bindings/tensorrt_cu13_bindings-11.1.0.106-cp312-none-manylinux_2_28_x86_64.whl", hash = "sha256:c02e93843a7bbe0b1cba15fb1fa01424d240f9037326e66d21628a2f1fcf2bf2" },
- { url = "https://pypi.nvidia.com/tensorrt-cu13-bindings/tensorrt_cu13_bindings-11.1.0.106-cp312-none-win_amd64.whl", hash = "sha256:42864885cfc87f904ee30eb817a3aa8062608a6b5b0cb3cea72feb557d83c047" },
- { url = "https://pypi.nvidia.com/tensorrt-cu13-bindings/tensorrt_cu13_bindings-11.1.0.106-cp313-none-manylinux_2_28_x86_64.whl", hash = "sha256:cc0c63553a3015f1a9c6acdf9883ae636dbeb6607ace40041f4bd45487887cca" },
- { url = "https://pypi.nvidia.com/tensorrt-cu13-bindings/tensorrt_cu13_bindings-11.1.0.106-cp313-none-win_amd64.whl", hash = "sha256:0c80f92cc018acdc7be99d19caa97fbf7773173ca3f28c1d5d90d943540b8eb0" },
- { url = "https://pypi.nvidia.com/tensorrt-cu13-bindings/tensorrt_cu13_bindings-11.1.0.106-cp314-none-manylinux_2_28_x86_64.whl", hash = "sha256:04d1209c30d05c0ee22b31b0c80413ed9b8a3ca8aac3e76f46168dd2f71a88b7" },
- { url = "https://pypi.nvidia.com/tensorrt-cu13-bindings/tensorrt_cu13_bindings-11.1.0.106-cp314-none-win_amd64.whl", hash = "sha256:d6e119194831dfe21c6f1c0ed1a58172ba53917cf423b885fc850b5fc67996cb" },
-]
-
-[[package]]
-name = "tensorrt-cu13-libs"
-version = "11.1.0.106"
-source = { registry = "https://pypi.nvidia.com/" }
-wheels = [
- { url = "https://pypi.nvidia.com/tensorrt-cu13-libs/tensorrt_cu13_libs-11.1.0.106-py3-none-manylinux_2_28_x86_64.whl", hash = "sha256:eeb8bb436c80976d920db56c7ef27b8dd07c3203619a2c1ef18fe042525b6d6d" },
- { url = "https://pypi.nvidia.com/tensorrt-cu13-libs/tensorrt_cu13_libs-11.1.0.106-py3-none-win_amd64.whl", hash = "sha256:b727cb67d272d0b6d8eedba560a9ab6f5edc06057e82bafe7952a58c611488c7" },
-]
-
[[package]]
name = "threadpoolctl"
version = "3.6.0"
@@ -2094,23 +2099,23 @@ wheels = [
[[package]]
name = "tqdm"
-version = "4.68.3"
+version = "4.69.0"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "colorama", marker = "platform_machine == 'AMD64' and sys_platform == 'win32'" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/87/d7/0535a28b1f5f24f6612fb3ff1e89fb1a8d160fee0f976e0aa6803862134b/tqdm-4.68.3.tar.gz", hash = "sha256:00dfa48452b6b6cfae3dd9885636c23d3422d1ec97c66d96818cbd5e0821d482", size = 170596, upload-time = "2026-06-17T07:36:52.105Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/8c/69/40407dfc835517f058b603dbf37a6df094d8582b015a51eddc988febbcb7/tqdm-4.69.0.tar.gz", hash = "sha256:700c5e85dcd5f009dd6222588a29180a193a748247a5d855b4d67db93d79a53b", size = 792569, upload-time = "2026-07-17T18:09:06.2Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/d8/8e/bb97bb0c71802080bfc8952937d174e49cfc50de5c951dd47b2496f0dcdb/tqdm-4.68.3-py3-none-any.whl", hash = "sha256:39832cc2def2789a6f29df83f172db7416cea70052c0907a57801c5f2fdccb03", size = 78337, upload-time = "2026-06-17T07:36:50.132Z" },
+ { url = "https://files.pythonhosted.org/packages/fe/21/99a0cdaf54eb35e77623c41b5a2c9472ee4404bba687052791fe2aba6773/tqdm-4.69.0-py3-none-any.whl", hash = "sha256:9979978912be667a6ef21fd5d8abf54e324e63d82f7f43c360792ebc2bc4e622", size = 676680, upload-time = "2026-07-17T18:09:04.172Z" },
]
[[package]]
name = "typing-extensions"
-version = "4.15.0"
+version = "4.16.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/72/94/1a15dd82efb362ac84269196e94cf00f187f7ed21c242792a923cdb1c61f/typing_extensions-4.15.0.tar.gz", hash = "sha256:0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466", size = 109391, upload-time = "2025-08-25T13:49:26.313Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/f6/cc/6253133b5bb138fc3306cebfbda2c520f545d36b5be2c7255cc528bb45d6/typing_extensions-4.16.0.tar.gz", hash = "sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5", size = 113555, upload-time = "2026-07-02T08:40:05.92Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/18/67/36e9267722cc04a6b9f15c7f3441c2363321a3ea07da7ae0c0707beb2a9c/typing_extensions-4.15.0-py3-none-any.whl", hash = "sha256:f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548", size = 44614, upload-time = "2025-08-25T13:49:24.86Z" },
+ { url = "https://files.pythonhosted.org/packages/49/d3/b8441a820a491ddfc024b0b0cf0393375b75ea13866d9c66727e54c2fc80/typing_extensions-4.16.0-py3-none-any.whl", hash = "sha256:481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8", size = 45571, upload-time = "2026-07-02T08:40:04.659Z" },
]
[[package]]
@@ -2127,11 +2132,11 @@ wheels = [
[[package]]
name = "tzdata"
-version = "2026.2"
+version = "2026.3"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/ba/19/1b9b0e29f30c6d35cb345486df41110984ea67ae69dddbc0e8a100999493/tzdata-2026.2.tar.gz", hash = "sha256:9173fde7d80d9018e02a662e168e5a2d04f87c41ea174b139fbef642eda62d10", size = 198254, upload-time = "2026-04-24T15:22:08.651Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/92/ff/5a28bdfd8c3ebec42564ac7d0e54ca3db65044a9314a97f9564fa7a1e926/tzdata-2026.3.tar.gz", hash = "sha256:4a1518b8993086a7982523e071643f3c0e5f213e75b21318e78bcabfff9d1415", size = 198674, upload-time = "2026-07-10T08:50:37.887Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/ce/e4/dccd7f47c4b64213ac01ef921a1337ee6e30e8c6466046018326977efd95/tzdata-2026.2-py2.py3-none-any.whl", hash = "sha256:bbe9af844f658da81a5f95019480da3a89415801f6cc966806612cc7169bffe7", size = 349321, upload-time = "2026-04-24T15:22:05.876Z" },
+ { url = "https://files.pythonhosted.org/packages/e5/6d/b53b99a9f2766d095985947a5782f1702cabb129a34f7a802d7197af832f/tzdata-2026.3-py2.py3-none-any.whl", hash = "sha256:dc096730c87af6cab1b171c9d532be840741ff5d459015e7f6947bd7d7e54931", size = 348168, upload-time = "2026-07-10T08:50:36.46Z" },
]
[[package]]
@@ -2157,58 +2162,58 @@ wheels = [
[[package]]
name = "uvicorn"
-version = "0.49.0"
+version = "0.51.0"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "click", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
{ name = "h11", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux') or (platform_machine == 'AMD64' and sys_platform == 'win32') or sys_platform == 'darwin'" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/c4/1f/fa18009dea8469069cca78a4e877a008ab78f08b064bfc9ab891579077ff/uvicorn-0.49.0.tar.gz", hash = "sha256:ebf4271aa580d9de97f93192d4595176df6e91f9aae919ca73e4fc07df1e66a3", size = 91284, upload-time = "2026-06-03T22:01:30.448Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/a2/65/b7c6c443ccc58678c91e1e973bbe2a878591538655d6e1d47f24ba1c51f3/uvicorn-0.51.0.tar.gz", hash = "sha256:f6f4b69b657c312f516dd2d268ab9ae6f254b11e4bac504f37b2ab58b24dd0b0", size = 94412, upload-time = "2026-07-08T10:59:05.962Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/88/fa/e1388bbcf24ef3274f45c0c1c7b501fd14971037c1b6ee23610553307497/uvicorn-0.49.0-py3-none-any.whl", hash = "sha256:ba3d14c3ee7e41c6c654c46c9eb489d33213cdd30aa1696eab1374337c13f68f", size = 71376, upload-time = "2026-06-03T22:01:29.037Z" },
+ { url = "https://files.pythonhosted.org/packages/45/ec/dbb7e5a6b91f86bfb9eb7d2988a2730907b6a729875b949c7f022e8b88fa/uvicorn-0.51.0-py3-none-any.whl", hash = "sha256:5d38af6cd620f2ae3849fb44fd4879e0890aa1febe8d47eb355fb45d93fe6a5b", size = 73219, upload-time = "2026-07-08T10:59:04.44Z" },
]
[[package]]
name = "websockets"
-version = "16.0"
-source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/04/24/4b2031d72e840ce4c1ccb255f693b15c334757fc50023e4db9537080b8c4/websockets-16.0.tar.gz", hash = "sha256:5f6261a5e56e8d5c42a4497b364ea24d94d9563e8fbd44e78ac40879c60179b5", size = 179346, upload-time = "2026-01-10T09:23:47.181Z" }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/f2/db/de907251b4ff46ae804ad0409809504153b3f30984daf82a1d84a9875830/websockets-16.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:31a52addea25187bde0797a97d6fc3d2f92b6f72a9370792d65a6e84615ac8a8", size = 177340, upload-time = "2026-01-10T09:22:34.539Z" },
- { url = "https://files.pythonhosted.org/packages/f3/fa/abe89019d8d8815c8781e90d697dec52523fb8ebe308bf11664e8de1877e/websockets-16.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:417b28978cdccab24f46400586d128366313e8a96312e4b9362a4af504f3bbad", size = 175022, upload-time = "2026-01-10T09:22:36.332Z" },
- { url = "https://files.pythonhosted.org/packages/58/5d/88ea17ed1ded2079358b40d31d48abe90a73c9e5819dbcde1606e991e2ad/websockets-16.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:af80d74d4edfa3cb9ed973a0a5ba2b2a549371f8a741e0800cb07becdd20f23d", size = 175319, upload-time = "2026-01-10T09:22:37.602Z" },
- { url = "https://files.pythonhosted.org/packages/d2/ae/0ee92b33087a33632f37a635e11e1d99d429d3d323329675a6022312aac2/websockets-16.0-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:08d7af67b64d29823fed316505a89b86705f2b7981c07848fb5e3ea3020c1abe", size = 184631, upload-time = "2026-01-10T09:22:38.789Z" },
- { url = "https://files.pythonhosted.org/packages/6d/e2/d5332c90da12b1e01f06fb1b85c50cfc489783076547415bf9f0a659ec19/websockets-16.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:1c1b30e4f497b0b354057f3467f56244c603a79c0d1dafce1d16c283c25f6e64", size = 184615, upload-time = "2026-01-10T09:22:42.442Z" },
- { url = "https://files.pythonhosted.org/packages/54/67/eaff76b3dbaf18dcddabc3b8c1dba50b483761cccff67793897945b37408/websockets-16.0-cp311-cp311-win_amd64.whl", hash = "sha256:8d7f0659570eefb578dacde98e24fb60af35350193e4f56e11190787bee77dac", size = 178684, upload-time = "2026-01-10T09:22:44.941Z" },
- { url = "https://files.pythonhosted.org/packages/84/7b/bac442e6b96c9d25092695578dda82403c77936104b5682307bd4deb1ad4/websockets-16.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:71c989cbf3254fbd5e84d3bff31e4da39c43f884e64f2551d14bb3c186230f00", size = 177365, upload-time = "2026-01-10T09:22:46.787Z" },
- { url = "https://files.pythonhosted.org/packages/b0/fe/136ccece61bd690d9c1f715baaeefd953bb2360134de73519d5df19d29ca/websockets-16.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:8b6e209ffee39ff1b6d0fa7bfef6de950c60dfb91b8fcead17da4ee539121a79", size = 175038, upload-time = "2026-01-10T09:22:47.999Z" },
- { url = "https://files.pythonhosted.org/packages/40/1e/9771421ac2286eaab95b8575b0cb701ae3663abf8b5e1f64f1fd90d0a673/websockets-16.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:86890e837d61574c92a97496d590968b23c2ef0aeb8a9bc9421d174cd378ae39", size = 175328, upload-time = "2026-01-10T09:22:49.809Z" },
- { url = "https://files.pythonhosted.org/packages/18/29/71729b4671f21e1eaa5d6573031ab810ad2936c8175f03f97f3ff164c802/websockets-16.0-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:9b5aca38b67492ef518a8ab76851862488a478602229112c4b0d58d63a7a4d5c", size = 184915, upload-time = "2026-01-10T09:22:51.071Z" },
- { url = "https://files.pythonhosted.org/packages/47/88/4dd516068e1a3d6ab3c7c183288404cd424a9a02d585efbac226cb61ff2d/websockets-16.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:485c49116d0af10ac698623c513c1cc01c9446c058a4e61e3bf6c19dff7335a2", size = 184880, upload-time = "2026-01-10T09:22:55.033Z" },
- { url = "https://files.pythonhosted.org/packages/c3/f0/f3a17365441ed1c27f850a80b2bc680a0fa9505d733fe152fdf5e98c1c0b/websockets-16.0-cp312-cp312-win_amd64.whl", hash = "sha256:5569417dc80977fc8c2d43a86f78e0a5a22fee17565d78621b6bb264a115d4ea", size = 178693, upload-time = "2026-01-10T09:22:57.478Z" },
- { url = "https://files.pythonhosted.org/packages/cc/9c/baa8456050d1c1b08dd0ec7346026668cbc6f145ab4e314d707bb845bf0d/websockets-16.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:878b336ac47938b474c8f982ac2f7266a540adc3fa4ad74ae96fea9823a02cc9", size = 177364, upload-time = "2026-01-10T09:22:59.333Z" },
- { url = "https://files.pythonhosted.org/packages/7e/0c/8811fc53e9bcff68fe7de2bcbe75116a8d959ac699a3200f4847a8925210/websockets-16.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:52a0fec0e6c8d9a784c2c78276a48a2bdf099e4ccc2a4cad53b27718dbfd0230", size = 175039, upload-time = "2026-01-10T09:23:01.171Z" },
- { url = "https://files.pythonhosted.org/packages/aa/82/39a5f910cb99ec0b59e482971238c845af9220d3ab9fa76dd9162cda9d62/websockets-16.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:e6578ed5b6981005df1860a56e3617f14a6c307e6a71b4fff8c48fdc50f3ed2c", size = 175323, upload-time = "2026-01-10T09:23:02.341Z" },
- { url = "https://files.pythonhosted.org/packages/bd/28/0a25ee5342eb5d5f297d992a77e56892ecb65e7854c7898fb7d35e9b33bd/websockets-16.0-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:95724e638f0f9c350bb1c2b0a7ad0e83d9cc0c9259f3ea94e40d7b02a2179ae5", size = 184975, upload-time = "2026-01-10T09:23:03.756Z" },
- { url = "https://files.pythonhosted.org/packages/9b/67/f926bac29882894669368dc73f4da900fcdf47955d0a0185d60103df5737/websockets-16.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:6e5a82b677f8f6f59e8dfc34ec06ca6b5b48bc4fcda346acd093694cc2c24d8f", size = 184920, upload-time = "2026-01-10T09:23:07.492Z" },
- { url = "https://files.pythonhosted.org/packages/6b/ae/90366304d7c2ce80f9b826096a9e9048b4bb760e44d3b873bb272cba696b/websockets-16.0-cp313-cp313-win_amd64.whl", hash = "sha256:3425ac5cf448801335d6fdc7ae1eb22072055417a96cc6b31b3861f455fbc156", size = 178689, upload-time = "2026-01-10T09:23:10.483Z" },
- { url = "https://files.pythonhosted.org/packages/f3/1d/e88022630271f5bd349ed82417136281931e558d628dd52c4d8621b4a0b2/websockets-16.0-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:8cc451a50f2aee53042ac52d2d053d08bf89bcb31ae799cb4487587661c038a0", size = 177406, upload-time = "2026-01-10T09:23:12.178Z" },
- { url = "https://files.pythonhosted.org/packages/f2/78/e63be1bf0724eeb4616efb1ae1c9044f7c3953b7957799abb5915bffd38e/websockets-16.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:daa3b6ff70a9241cf6c7fc9e949d41232d9d7d26fd3522b1ad2b4d62487e9904", size = 175085, upload-time = "2026-01-10T09:23:13.511Z" },
- { url = "https://files.pythonhosted.org/packages/bb/f4/d3c9220d818ee955ae390cf319a7c7a467beceb24f05ee7aaaa2414345ba/websockets-16.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:fd3cb4adb94a2a6e2b7c0d8d05cb94e6f1c81a0cf9dc2694fb65c7e8d94c42e4", size = 175328, upload-time = "2026-01-10T09:23:14.727Z" },
- { url = "https://files.pythonhosted.org/packages/63/bc/d3e208028de777087e6fb2b122051a6ff7bbcca0d6df9d9c2bf1dd869ae9/websockets-16.0-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:781caf5e8eee67f663126490c2f96f40906594cb86b408a703630f95550a8c3e", size = 185044, upload-time = "2026-01-10T09:23:15.939Z" },
- { url = "https://files.pythonhosted.org/packages/c4/f8/fdc34643a989561f217bb477cbc47a3a07212cbda91c0e4389c43c296ebf/websockets-16.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:a5e18a238a2b2249c9a9235466b90e96ae4795672598a58772dd806edc7ac6d3", size = 184982, upload-time = "2026-01-10T09:23:19.652Z" },
- { url = "https://files.pythonhosted.org/packages/8a/f1/ae6b937bf3126b5134ce1f482365fde31a357c784ac51852978768b5eff4/websockets-16.0-cp314-cp314-win_amd64.whl", hash = "sha256:c0ee0e63f23914732c6d7e0cce24915c48f3f1512ec1d079ed01fc629dab269d", size = 178381, upload-time = "2026-01-10T09:23:22.715Z" },
- { url = "https://files.pythonhosted.org/packages/06/9b/f791d1db48403e1f0a27577a6beb37afae94254a8c6f08be4a23e4930bc0/websockets-16.0-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:a35539cacc3febb22b8f4d4a99cc79b104226a756aa7400adc722e83b0d03244", size = 177737, upload-time = "2026-01-10T09:23:24.523Z" },
- { url = "https://files.pythonhosted.org/packages/bd/40/53ad02341fa33b3ce489023f635367a4ac98b73570102ad2cdd770dacc9a/websockets-16.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:b784ca5de850f4ce93ec85d3269d24d4c82f22b7212023c974c401d4980ebc5e", size = 175268, upload-time = "2026-01-10T09:23:25.781Z" },
- { url = "https://files.pythonhosted.org/packages/74/9b/6158d4e459b984f949dcbbb0c5d270154c7618e11c01029b9bbd1bb4c4f9/websockets-16.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:569d01a4e7fba956c5ae4fc988f0d4e187900f5497ce46339c996dbf24f17641", size = 175486, upload-time = "2026-01-10T09:23:27.033Z" },
- { url = "https://files.pythonhosted.org/packages/e5/2d/7583b30208b639c8090206f95073646c2c9ffd66f44df967981a64f849ad/websockets-16.0-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:50f23cdd8343b984957e4077839841146f67a3d31ab0d00e6b824e74c5b2f6e8", size = 185331, upload-time = "2026-01-10T09:23:28.259Z" },
- { url = "https://files.pythonhosted.org/packages/88/a8/a080593f89b0138b6cba1b28f8df5673b5506f72879322288b031337c0b8/websockets-16.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:32da954ffa2814258030e5a57bc73a3635463238e797c7375dc8091327434206", size = 185356, upload-time = "2026-01-10T09:23:32.627Z" },
- { url = "https://files.pythonhosted.org/packages/9f/3e/28135a24e384493fa804216b79a6a6759a38cc4ff59118787b9fb693df93/websockets-16.0-cp314-cp314t-win_amd64.whl", hash = "sha256:b14dc141ed6d2dde437cddb216004bcac6a1df0935d79656387bd41632ba0bbd", size = 178531, upload-time = "2026-01-10T09:23:35.016Z" },
- { url = "https://files.pythonhosted.org/packages/72/07/c98a68571dcf256e74f1f816b8cc5eae6eb2d3d5cfa44d37f801619d9166/websockets-16.0-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:349f83cd6c9a415428ee1005cadb5c2c56f4389bc06a9af16103c3bc3dcc8b7d", size = 174947, upload-time = "2026-01-10T09:23:36.166Z" },
- { url = "https://files.pythonhosted.org/packages/7e/52/93e166a81e0305b33fe416338be92ae863563fe7bce446b0f687b9df5aea/websockets-16.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:4a1aba3340a8dca8db6eb5a7986157f52eb9e436b74813764241981ca4888f03", size = 175260, upload-time = "2026-01-10T09:23:37.409Z" },
- { url = "https://files.pythonhosted.org/packages/56/0c/2dbf513bafd24889d33de2ff0368190a0e69f37bcfa19009ef819fe4d507/websockets-16.0-pp311-pypy311_pp73-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:f4a32d1bd841d4bcbffdcb3d2ce50c09c3909fbead375ab28d0181af89fd04da", size = 176071, upload-time = "2026-01-10T09:23:39.158Z" },
- { url = "https://files.pythonhosted.org/packages/9a/3f/f70e03f40ffc9a30d817eef7da1be72ee4956ba8d7255c399a01b135902a/websockets-16.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:a653aea902e0324b52f1613332ddf50b00c06fdaf7e92624fbf8c77c78fa5767", size = 178735, upload-time = "2026-01-10T09:23:42.259Z" },
- { url = "https://files.pythonhosted.org/packages/6f/28/258ebab549c2bf3e64d2b0217b973467394a9cea8c42f70418ca2c5d0d2e/websockets-16.0-py3-none-any.whl", hash = "sha256:1637db62fad1dc833276dded54215f2c7fa46912301a24bd94d45d46a011ceec", size = 171598, upload-time = "2026-01-10T09:23:45.395Z" },
+version = "16.1.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/21/f7/bc3a25c5ec26ce62ce487690becc2f3710bbc7b33338f005ad390db0b986/websockets-16.1.1.tar.gz", hash = "sha256:db234eda965dcce15df96bb9709f587cd87d4d52aaf0e80e2f34ec04c7670c57", size = 182204, upload-time = "2026-07-17T22:51:05.858Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/2b/03/47debfe28e9d6d354be5d777b67fd44c359b9eb299a5d103500bd7cc3e37/websockets-16.1.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:d0fcf657e9f13ff4b177960ab2200237b12994232dfb6df16f1cfe1d4339f93c", size = 179566, upload-time = "2026-07-17T22:48:49.596Z" },
+ { url = "https://files.pythonhosted.org/packages/72/93/31efa1ed78c17e5cfc229fd449e3966e1b9cc15753204cd585cc8dd01f4a/websockets-16.1.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:b852788aa51764e2d8e4cf5493d559326bcae5e38d16ba25ffa322b034df272a", size = 177250, upload-time = "2026-07-17T22:48:50.942Z" },
+ { url = "https://files.pythonhosted.org/packages/01/4a/542378ab3972b0c1cf1df3df3eff9591cea0d30c58c3aa3c4ddbc244e787/websockets-16.1.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1427fb4cf0d72f66333e2cacc3ff5f575bf2d7008166ce991a4a470b21d51a22", size = 177528, upload-time = "2026-07-17T22:48:52.59Z" },
+ { url = "https://files.pythonhosted.org/packages/33/d9/162321f63c7eed558e9e1798ed7a1e34a4f6dab51f35419e4ed7a4907979/websockets-16.1.1-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:da4ca1a9d72f9030b3146b8d7022719a9f3d478f61efe6f7dd51d243f61c51b2", size = 186859, upload-time = "2026-07-17T22:48:53.915Z" },
+ { url = "https://files.pythonhosted.org/packages/26/fa/abb38597a52d84ed9cfacadc7a0c6f2db282c0ab23cdf72b58a666a21227/websockets-16.1.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:d14bfb217eb4701e850f1525c9d29d79c44794cdf1c299ead25f39f8c78dea81", size = 186834, upload-time = "2026-07-17T22:49:09.766Z" },
+ { url = "https://files.pythonhosted.org/packages/71/b2/e511c1c6f64a95c2f3fc54bffda0e14eaa7e9442be605c29270f7589b918/websockets-16.1.1-cp311-cp311-win_amd64.whl", hash = "sha256:7421fad442de870a8cbf2287d1cad7e706ece0dbfeba5e911df132cbdc1cb56a", size = 180239, upload-time = "2026-07-17T22:49:12.519Z" },
+ { url = "https://files.pythonhosted.org/packages/17/9d/681cda21c9eee743203a6cb79b9d3d05adad9aa60ec660c6c9bf4dd619ca/websockets-16.1.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:cc97814dfb786a83b6e2dc2e79351e1b83e6d715647d6887fcabd83026417a00", size = 179600, upload-time = "2026-07-17T22:49:13.92Z" },
+ { url = "https://files.pythonhosted.org/packages/fb/8d/6195a88b45e8d2a8f745fc2046e36f885a3c9763e6767d2c46229bf9510c/websockets-16.1.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:e047dc87ef7ca50f4d309bf775ad4a71711c58556d75d7bd0604b2317f43e94b", size = 177272, upload-time = "2026-07-17T22:49:15.453Z" },
+ { url = "https://files.pythonhosted.org/packages/73/e3/fe2d498c64dea0095c9a9f9a351af4cd6eef31b618395582bc1f38ba45ff/websockets-16.1.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:01fbdcbac298efe19360b94bc0039c8f746f0220ba570f327577bfee81059175", size = 177542, upload-time = "2026-07-17T22:49:16.875Z" },
+ { url = "https://files.pythonhosted.org/packages/fe/ed/f1831681fce0e3242346e5458486003c5f124ed69e5e0b847fd029db4973/websockets-16.1.1-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:0f62863e8a00a6d33c3d6566ec0b89f23787b747ffe0c3bc71ec0e76b82c94b1", size = 187137, upload-time = "2026-07-17T22:49:18.323Z" },
+ { url = "https://files.pythonhosted.org/packages/9d/0b/f78de76ff446f1e66af12b43c48a35f31744de93cfdec2f4ea67d5d7bbf1/websockets-16.1.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:53260c8930da5771cec89439bff99c20c8cb03ddb9588b980697355a83cd4bd3", size = 187102, upload-time = "2026-07-17T22:49:34.616Z" },
+ { url = "https://files.pythonhosted.org/packages/d9/de/6abe251d28c3a3f217096575400b27750b18e0b1d2fff3a2a239960fea07/websockets-16.1.1-cp312-cp312-win_amd64.whl", hash = "sha256:b436f6ec4fc3a6b4237c84d3f83170ed2b40bb584222f0ac47a0c8a5921980c7", size = 180243, upload-time = "2026-07-17T22:49:37.626Z" },
+ { url = "https://files.pythonhosted.org/packages/ce/fd/6ec6c6d2850aea25b1b2aa9901a016980bb87d01e89b3eb00470b1b5d471/websockets-16.1.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:ab59169ace05dcb49a1d4118f0bde139557adf45091bd85747e36bf5de984dd1", size = 179587, upload-time = "2026-07-17T22:49:38.959Z" },
+ { url = "https://files.pythonhosted.org/packages/5f/d8/1d299d2dd34087db39831a34cc645ef8a6f89d78efada6983093513cd81c/websockets-16.1.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:5e3b7d601f6f84156b08cc4a5e541c2b50ad7b36cfc302b657a12477c904a5df", size = 177272, upload-time = "2026-07-17T22:49:40.293Z" },
+ { url = "https://files.pythonhosted.org/packages/3d/86/0a70d3ae2f0f2256bb41302d9804dbca65d4360281e7feb3e1f94102ac46/websockets-16.1.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:cd2ca96a082a36964aca83e992f72abeb61b7306c1a6cba4c7d06a7b93750cac", size = 177530, upload-time = "2026-07-17T22:49:41.786Z" },
+ { url = "https://files.pythonhosted.org/packages/b5/c2/c676c69444d9db448b3f0a55a98dcc534affce0bce961d9d2f0b8499b10a/websockets-16.1.1-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:f5d497865f05bb222cab7016c6034542e84e5f29f49c6fd3f4939cda7197b5b8", size = 187197, upload-time = "2026-07-17T22:49:43.658Z" },
+ { url = "https://files.pythonhosted.org/packages/b0/35/dd875b3e050ff232d60fa377707f890e369f74d134f1be32e8f68879747c/websockets-16.1.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:ed5bb271084b46530ee2ddc0410537a9961152c5ccba2fc98c5276d992ccba87", size = 187140, upload-time = "2026-07-17T22:50:00.016Z" },
+ { url = "https://files.pythonhosted.org/packages/b0/c1/71e5deb5b7f8f226997ab64908c184ac3105c0155ce2d486f318e5dd08a8/websockets-16.1.1-cp313-cp313-win_amd64.whl", hash = "sha256:d9531d9cbeac99af6f038fb1bc351403531f7d634a2c2e10e2f7c854c6ed5b68", size = 180242, upload-time = "2026-07-17T22:50:03.117Z" },
+ { url = "https://files.pythonhosted.org/packages/73/a2/ba78a164eeea4620df4a4df4bd2ed6017438c4655cc0f36f2c0bc0432355/websockets-16.1.1-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:443aefe96b7fdb132e2a70806cca1f2af49bb3f28e47abcd7c2e9dcf4d8fa1b8", size = 179635, upload-time = "2026-07-17T22:50:05.001Z" },
+ { url = "https://files.pythonhosted.org/packages/b9/08/d26d7a7628cd4ac34cbbdb63ac80914ca842ed8e42938c40a53567806df3/websockets-16.1.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:6456ff333092d509127d75a638cb411afae8ff17f092635015d1902efec8a293", size = 177320, upload-time = "2026-07-17T22:50:06.427Z" },
+ { url = "https://files.pythonhosted.org/packages/0f/45/ebec83e6269536aa5932533c67b0af5c781f3e73fdbcd68672dcf43f4f44/websockets-16.1.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:fce6c48559c86d1ac3632ccb1bebc7d5442fbe79bd9bb0e40379ee54be2a4051", size = 177544, upload-time = "2026-07-17T22:50:07.834Z" },
+ { url = "https://files.pythonhosted.org/packages/c9/d5/abc614d2297f6c1c3e01e61260364457a47c25cc1cf6a879038902bc6aa8/websockets-16.1.1-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:92b820d345f7a3fc7b8163949ee92df910f290c3fc517b3d5301c78065adafe1", size = 187270, upload-time = "2026-07-17T22:50:09.275Z" },
+ { url = "https://files.pythonhosted.org/packages/8c/7f/39c634472c4469a24a7c09cecddffb08fac6d0e74f73881a94ee8a40a196/websockets-16.1.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:a0eadbbf2c30f01efa58e1f110eb6fa293261f6b0b1aa38f7f48707107690af9", size = 187204, upload-time = "2026-07-17T22:50:25.548Z" },
+ { url = "https://files.pythonhosted.org/packages/bd/dd/1c099d6c0fc5deb6b46ccdbb6981fdb4b12c917869cb3952408409dc18db/websockets-16.1.1-cp314-cp314-win_amd64.whl", hash = "sha256:4e8d01cc3bcae7bbf8167f944aeafefed590fae5693552bba9794a9df68371cc", size = 179948, upload-time = "2026-07-17T22:50:28.521Z" },
+ { url = "https://files.pythonhosted.org/packages/35/25/9956b2d5e0529d5d23924f21bba1440d4c5c88a562e4f08550871ffa97a7/websockets-16.1.1-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:0ffd3031ea8bda8d61762e84220186105ba3b748b3c8da2ae4f7816fac03e573", size = 179963, upload-time = "2026-07-17T22:50:29.982Z" },
+ { url = "https://files.pythonhosted.org/packages/17/06/55ffc976c488b6aee9ea05761ff7c4e88e7c1fd82818c8ca7b556ad2f90c/websockets-16.1.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:84a2cef8deffbd9ab8ee0ea546a2a6a7030c28f44e6cdd4547dbfeb489eb8999", size = 177497, upload-time = "2026-07-17T22:50:31.396Z" },
+ { url = "https://files.pythonhosted.org/packages/0c/e8/f7dac2e980bacc92bdc26cebae4ae4d50cae5380732c50980598fc0bbae4/websockets-16.1.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:3df13f73af9b3b38ab1195eb299ecb67a4330c911c97ae04043ff74085728abe", size = 177698, upload-time = "2026-07-17T22:50:32.829Z" },
+ { url = "https://files.pythonhosted.org/packages/b2/39/26762f734113e22da2b942c3aca85798e0c0405d64c256549540ff31e5a1/websockets-16.1.1-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:23253dd5bcae3f9aaee0a1d30967a8dbd52e5d3cff93a2e5b84df57b77d4750d", size = 187561, upload-time = "2026-07-17T22:50:34.24Z" },
+ { url = "https://files.pythonhosted.org/packages/b5/71/e177c8299f78d7cbe2d14df228643c10c70c0e86e108e092056bbcc16e46/websockets-16.1.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:dcc04fedf83effaeb9cce98abc9469bb1b42ef85f03e01c8c1f4438ef7555737", size = 187578, upload-time = "2026-07-17T22:50:51.619Z" },
+ { url = "https://files.pythonhosted.org/packages/a2/6e/fbac6ed878dd362fbad7d415fa4f84d38e3e33fed8cde45c64e783acf826/websockets-16.1.1-cp314-cp314t-win_amd64.whl", hash = "sha256:bcce07e23e5769375158f5efdcdafa8d5cd014b93c6683865b840ed65b96f231", size = 180072, upload-time = "2026-07-17T22:50:54.969Z" },
+ { url = "https://files.pythonhosted.org/packages/e1/ed/71fea6e141590cafc40b14dc5943b0845606bee87bdb52a21b6a73eb4311/websockets-16.1.1-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:820fb8450edddae3812fd58cbc08e2bf22812cb248ecb5f06dbb82119a56e869", size = 177185, upload-time = "2026-07-17T22:50:56.665Z" },
+ { url = "https://files.pythonhosted.org/packages/01/ec/00e7eeca200facf9266a83e4cbbf1bed0e67fba1d4d45031d3e5b3d81b5c/websockets-16.1.1-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:125f22dbefaf1554fea66fc83851490edb284ce4f501d37ffed2752f418332d9", size = 177459, upload-time = "2026-07-17T22:50:58.197Z" },
+ { url = "https://files.pythonhosted.org/packages/75/fd/5774c4b33f7c0d8f0c51809c8b3a93456c48e3543579262cfa64eb5f522e/websockets-16.1.1-pp311-pypy311_pp73-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:30bbe120437b5648a77d3519b7024ea09530e0b5b18d3698c5a0ae536fe0cc2e", size = 178294, upload-time = "2026-07-17T22:50:59.641Z" },
+ { url = "https://files.pythonhosted.org/packages/2d/3f/73e511ecf2496ceac57dd4ed8388efe2bcf0769338a2dbf242c8366ae87e/websockets-16.1.1-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:56cd5fc4f10a9ea8aa0804bddb7b42506cf9e136046f3b4c27de8fec9e2ecba5", size = 180330, upload-time = "2026-07-17T22:51:02.603Z" },
+ { url = "https://files.pythonhosted.org/packages/be/4d/2d0d67834092e354d2b0498f014a41249a89556bc406cf86f3e1557bb463/websockets-16.1.1-py3-none-any.whl", hash = "sha256:6abbd3e82c731c8e531714466acd5d87b5e88ac3243465337ba71d68e23ae7e3", size = 173814, upload-time = "2026-07-17T22:51:04.184Z" },
]
[[package]]