Skip to main content

3D fish pose estimation via differentiable refractive rendering

Project description

AquaPose

3D fish pose estimation via differentiable refractive rendering. AquaPose fits a parametric fish mesh to multi-view silhouettes from a 13-camera aquarium rig, producing dense 3D trajectories and midline kinematics for behavioral research on cichlids.

Installation

pip install aquapose

Quick Start

from aquapose.calibration import load_calibration
from aquapose.segmentation import segment_frame
from aquapose.optimization import optimize_pose

# Load multi-camera calibration (from AquaCal)
cameras = load_calibration("calibration.json")

# Segment fish in a multi-view frame
masks = segment_frame(frame, cameras)

# Reconstruct 3D pose via analysis-by-synthesis
pose = optimize_pose(masks, cameras)

Development

# Set up the development environment
pip install hatch
hatch env create
hatch run pre-commit install
hatch run pre-commit install --hook-type pre-push

# Run tests, lint, and type check
hatch run test
hatch run lint
hatch run typecheck

See Contributing for full development guidelines.

Documentation

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aquapose-1.0.0.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aquapose-1.0.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file aquapose-1.0.0.tar.gz.

File metadata

  • Download URL: aquapose-1.0.0.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for aquapose-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3813a6b875f673ad8fc1460a73740decf2611936911eb90c25c73a0d91a28a0a
MD5 ad59d34189115365bf8f5d10b7838043
BLAKE2b-256 2c2f01e6d6fbcde8b429f0c1986a4f0e47943001a8050d00a866599c8fcd780d

See more details on using hashes here.

Provenance

The following attestation bundles were made for aquapose-1.0.0.tar.gz:

Publisher: publish.yml on tlancaster6/AquaPose

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aquapose-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: aquapose-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for aquapose-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 01c7a209d6ddc98ec5793df7d5c3d4c9cefa55ef5d8145ede7c9285d837aed10
MD5 9b495d401a008ce8a173abacd9a569ab
BLAKE2b-256 98bd458c38abf81d14a3e11f0aa4bd9d97a42a621f963ef1d1696677cfeb3150

See more details on using hashes here.

Provenance

The following attestation bundles were made for aquapose-1.0.0-py3-none-any.whl:

Publisher: publish.yml on tlancaster6/AquaPose

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page