This Module will help you out in merging your bboxes if overlaps
Project description
Bounding Box Merger
Merge your AI predicted Bounding boxes to get a single bounding box for each object.
Example Usage
boxes = [[0, 0, 2, 2], [1, 1, 3, 3], [4, 4, 6, 6]]
merged_boxes = merge_boxes(boxes)
print(merged_boxes)
Output:
[[0.0, 0.0, 3.0, 3.0], [4.0, 4.0, 6.0, 6.0]]
Example
Before Merging Bounding Boxes
After Merging Bounding Boxes
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
bbox_merger-0.0.8.tar.gz
(3.0 kB
view hashes)