Composable egocentric vision model components for hand and camera geometry pipelines.
Project description
ego-vision
Composable egocentric vision model components and pipelines for hand and camera geometry.
The initial scope is intentionally narrow: raw model wrappers plus an episode-level pipeline boundary for the best VGGT-Omega + HaWoR stack.
episodes of av.VideoFrame
-> VGGTOmegaModel
-> HaWoRHandReconstructor
YoloHandDetector + HaWoRModel + ManoLayer
-> HaWoRHandMotionInfiller
-> HandTrackingPipeline result
The egovision.models namespace contains raw model components. The
egovision.pipelines namespace owns model scheduling and hand-tracking
orchestration.
VGGT-Omega and the HaWoR inference modules needed by the pipeline live under
egovision.models, so users do not need separate research-repo checkouts or
PYTHONPATH setup. Checkpoints are still loaded from local paths or Hugging
Face.
from egovision import (
EpisodeInput,
HandTrackingConfig,
HandTrackingPipeline,
HaworReconstructionConfig,
VggtOmegaConfig,
)
pipeline = HandTrackingPipeline(
HandTrackingConfig(
hand_reconstruction=HaworReconstructionConfig(batch_size=64),
camera_pose_estimator=VggtOmegaConfig(batch_size=1),
)
)
results = pipeline.predict_episodes(
[EpisodeInput(frames=av_frames)]
)
Install
pip install ego-vision
Heavy model dependencies are optional:
pip install "ego-vision[models]"
Development
uv sync --dev
uv run pytest
uv run ruff check --force-exclude .
uv run ruff format --force-exclude --check .
uv run ty check
Local hooks use the same commands:
uv run pre-commit run --all-files
Release
Publishing is handled by GitHub Actions with PyPI trusted publishing.
To release:
- Bump
versioninpyproject.toml. - Push the commit to
main. - The
Publish packageworkflow builds the wheel and sdist, publishes to PyPI, then creates thevX.Y.Ztag and GitHub release.
The workflow can also be run manually from GitHub Actions with target
testpypi or pypi. The normal release path only needs the pypi trusted
publishing environment configured for the ego-vision project.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ego_vision-0.1.0.tar.gz.
File metadata
- Download URL: ego_vision-0.1.0.tar.gz
- Upload date:
- Size: 66.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1844ec854e395eac6255aed636f723b76b98b40c5ab7f039023aaaa24995afc
|
|
| MD5 |
efde2579f2a5f6541083cb9f8996169f
|
|
| BLAKE2b-256 |
a693247c7761a7a589653c88f6fb00fe73cb50b4c306d125525d7847ed30d8da
|
Provenance
The following attestation bundles were made for ego_vision-0.1.0.tar.gz:
Publisher:
pypi-release.yml on macrodata-labs/ego-vision
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ego_vision-0.1.0.tar.gz -
Subject digest:
d1844ec854e395eac6255aed636f723b76b98b40c5ab7f039023aaaa24995afc - Sigstore transparency entry: 1628743539
- Sigstore integration time:
-
Permalink:
macrodata-labs/ego-vision@0dabce7bafde8fd07671b794edf0ccad3eb65adf -
Branch / Tag:
refs/heads/main - Owner: https://github.com/macrodata-labs
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-release.yml@0dabce7bafde8fd07671b794edf0ccad3eb65adf -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file ego_vision-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ego_vision-0.1.0-py3-none-any.whl
- Upload date:
- Size: 83.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de0a159b52c0c0a4728969c9e492397352b443f786d7989c2de78726ba62d5ec
|
|
| MD5 |
3435b8b01f7f47d7e93fe07afbfdfd06
|
|
| BLAKE2b-256 |
f01f1c140eb87b1d957756d30f8582090d8ee35f322b6918ba8a14de5ad79150
|
Provenance
The following attestation bundles were made for ego_vision-0.1.0-py3-none-any.whl:
Publisher:
pypi-release.yml on macrodata-labs/ego-vision
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ego_vision-0.1.0-py3-none-any.whl -
Subject digest:
de0a159b52c0c0a4728969c9e492397352b443f786d7989c2de78726ba62d5ec - Sigstore transparency entry: 1628743556
- Sigstore integration time:
-
Permalink:
macrodata-labs/ego-vision@0dabce7bafde8fd07671b794edf0ccad3eb65adf -
Branch / Tag:
refs/heads/main - Owner: https://github.com/macrodata-labs
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-release.yml@0dabce7bafde8fd07671b794edf0ccad3eb65adf -
Trigger Event:
workflow_dispatch
-
Statement type: