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.1-1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb6726d54630a418446799bc4d63fc0b742ae52d23af68fc17c777d693fa3f67 |
|
MD5 | 5e48810ba703305efd56c565788de984 |
|
BLAKE2b-256 | bbca308bbb8c5f7fd381f909532b17cfa3a288e8d3cdf1414f69943eef898934 |