Utilities to easily convert between different bounding box formats (YOLO, XYWH, XYXY, etc.).
Project description
bbox-utils
Utilities to easily convert between different bounding box formats (YOLO, XYWH, XYXY, etc.).
You can install bbox-utils with PyPI: $ pip install bbox-utils.
Description
You can find documentation for the project at here.
2D Bounding Box Conversions
List of points [top left, top right, bottom right, bottom left]
XYWH: top left, width, height
XYXY: top left, bottom right
YOLO
3D Bounding Box Conversions You can create a 3D bounding box with either:
A center point, width, height, depth, and rotation
The eight vertices
You can convert between the two forms and also get a triangular polygon to use for plotting triangular meshes.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for bbox_utils-0.0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13de31c3b9f76a925b2e217a8b8069b5898de3e383eeceee21ac4eecb65c659f |
|
MD5 | 43537d68ec2b77b5c20af4e5805beeb1 |
|
BLAKE2b-256 | 72f80f39d86d7b0913d9cfa1f0aba9bb704aee2598272b481560d7c576f8d0f6 |