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.

Download files

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

Source Distribution

easy_gravity-0.2.2.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

easy_gravity-0.2.2-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file easy_gravity-0.2.2.tar.gz.

File metadata

  • Download URL: easy_gravity-0.2.2.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for easy_gravity-0.2.2.tar.gz
Algorithm Hash digest
SHA256 0d1ed203864b1ea1ef18af013d73e40f5624fc5359adfe3c385152fe82f02487
MD5 725f747ffc1ab3ed9650937d2aae2be4
BLAKE2b-256 d7707c407e637677c132d4785bc0813d4cc1c1ca035ab66c58e1ed9e96a198e9

See more details on using hashes here.

File details

Details for the file easy_gravity-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: easy_gravity-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for easy_gravity-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f53cb0c8118cbd210a06125bb61153fa7bec6eab5554e07c2e21d152d54b2fce
MD5 086f4c8707ad8e65cabd063e9bcda3d5
BLAKE2b-256 b5f1c3defe50f366b84d07d5349370d62ae1352fd0e960a271d9144a65d84922

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 files

0.2.1

2 files

0.2

2 files

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