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

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

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

Uploaded Python 3

File details

Details for the file worldvision-0.0.11-py3-none-any.whl.

File metadata

  • Download URL: worldvision-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for worldvision-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 b2ab3b97f8f0b74f5f932b97e6111fd5ab2f21c32afa67735f2d9678d4e21066
MD5 a42e02a4217847344e21d6936ea3b2f1
BLAKE2b-256 fefc2ca0a05913ffcdf2cc2eb6445967ca02434670811cff899ed6b3421ac31f

See more details on using hashes here.

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