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.).
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 Distributions
Hashes for bbox_utils-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd75ae18af871a7e1eb071385ad72bfcf07ddbb8ccffc6bb65d380270f6a05f6 |
|
MD5 | 449d565140c03dd50515625b91a53459 |
|
BLAKE2b-256 | ca7b4ae60a7599f50a3b57928f7c1905407aa3ff63e74a747b751c03a1669544 |
Hashes for bbox_utils-0.0.0-3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1bb4eb4e27946106def9c4a96f508a7af229659194c263307d5499768d854db |
|
MD5 | d74e7042a60807830bc12ef7ebdc09eb |
|
BLAKE2b-256 | 89a293d8ac5d1ae1bc6bbafd4980c8686650252170f60472fc26674b0306b4e0 |
Hashes for bbox_utils-0.0.0-2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d360c8c6a8aa74d9fd3377a3ceaf88da0b72fea174b632ebf99d8c0b5e9e243b |
|
MD5 | b4c71cece7a4516e52b1719ac38b260f |
|
BLAKE2b-256 | 8cd21e630a5279e7a44de4028ea996b2406d747c16453d47237cbe80411f9e78 |
Hashes for bbox_utils-0.0.0-1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ae2a4cd46e21df982a4ea76e2f70a012ab7d00df3b893ae98f670b45bef518b |
|
MD5 | 7d333e5994daadd4425500187ddf0840 |
|
BLAKE2b-256 | 114b6795509146ddf6adfd3b1d73c0c321f05405ab00df63fe836d0def6e27f8 |