Skip to main content

easy-gravity

A naive way to extract gravity from poses

See here for some alternative methods

Method

Assume cameras are not in plane rotated. This means that gravity must lie on the "pointing/up" plane for each camera. For any vector $x$ we can easily compute the squared distance to this plane as $x \cdot \hat{n}$. The normals of the plane is simply the x-direction of the camera. Differentiate this sum and solve for 0 you get an eigenvalue eq. Solve for smallest eigenvalue.

Metadata

Release files for easy-gravity 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for easy-gravity 0.2.2
File Size Uploaded Provenance Actions
easy_gravity-0.2.2.tar.gz 2.7 kB Without provenance Details for easy_gravity-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for easy-gravity 0.2.2
File Interpreter ABI Platform Actions
easy_gravity-0.2.2-py3-none-any.whl Python 3 none any Details for easy_gravity-0.2.2-py3-none-any.whl

Total release size: 5.2 kB

Release files / easy_gravity-0.2.2.tar.gz

Download URL easy_gravity-0.2.2.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0d1ed203864b1ea1ef18af013d73e40f5624fc5359adfe3c385152fe82f02487
BLAKE2b-256 checksum
How to use checksums
d7707c407e637677c132d4785bc0813d4cc1c1ca035ab66c58e1ed9e96a198e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release files / easy_gravity-0.2.2-py3-none-any.whl

Download URL easy_gravity-0.2.2-py3-none-any.whl
Size 2.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f53cb0c8118cbd210a06125bb61153fa7bec6eab5554e07c2e21d152d54b2fce
BLAKE2b-256 checksum
How to use checksums
b5f1c3defe50f366b84d07d5349370d62ae1352fd0e960a271d9144a65d84922
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Security for easy-gravity 0.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page