This Module will help you out in merging your bboxes if overlaps
Project description
# Bounding Box Merger
This code will help you out in merging your Boundingbox
## Example Usage
`python 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 ![Image1](attachments/Image1.png)
After Merging Bounding Boxes ![Image1](attachments/merged.png)
—
## Thing To cover
Add support for polygons
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.3.tar.gz
(2.9 kB
view hashes)