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 Distribution
Built Distribution
Hashes for bbox_utils-0.0.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4383bd30acb7103052702ed099a2fb4c55e3e00a091948998066320907e97646 |
|
MD5 | 0dca67ffde8d0f7551c7654c7203c5f4 |
|
BLAKE2b-256 | 3990f1172b6e9a148273073b3a5da0436182b7f4bc323dbf6ecb9d9588e7e857 |