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.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53bf58dad65c669eb09e7d7d8b7ae35d4a2353650d4b3d033ef15adeeed1f088 |
|
MD5 | c7349ea001498312ba41c38b137cf95d |
|
BLAKE2b-256 | 98dd8b93fb2f181515ea926770832bf2af97d35b06911dfa88a00153cc2601dc |