Skip to main content

Converts binary mask files to geojson files containing bounding boxes

Project description

bm2bbox

A simple tool to generate bounding boxes and coordinates for machine learning

Examples

Image Folder with multiple images

bm2bbox -input "path/to/image_folder" -output "path/to/output/folder"

bm2bbox -input "/home/jzvolensky/Documents/bm2bbox/test_data/image_folder" -output "/home/jzvolensky/Documents/bm2bbox/test_output"

Single image

bm2bbox -input "path/to/image.png" -output "path/to/output/output.json

bm2bbox -input "/home/jzvolensky/Documents/bm2bbox/test_data/single_image/test_bm.png" -s -output "/home/jzvolensky/Documents/bm2bbox/test_output"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bm2bbox-1.0.4.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

bm2bbox-1.0.4-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page