Skip to main content

Calculate real world distance, angle, and more, just from the video/image

Project description

WorldVision

A simple python package to calculate real world distance, angles, and coordinates between objects. This package uses camera's intrinsic and extrinsic parameters like field of view, camera's altitude, pitch, etc.

Checkout examples/ folder for sample use case.

Installation

pipx install worldvision

KNOWN ISSUES:

  • get_2d_coords() does not work for special angles (90, -90, etc.)
  • Some negative and positive values are not handled correctly.
  • ZeroDivisionError is not handled in some cases.

TODO:

  • Fix known issues.
  • Add support for roll and yaw.
  • Add support for other units.
  • Add support for speed, velocity, acceleration, angular velocity, direction.
  • Add other calibration methods.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

worldvision-0.0.11-py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 3

Supported by

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