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)