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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file bm2bbox-1.0.4.tar.gz.

File metadata

  • Download URL: bm2bbox-1.0.4.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for bm2bbox-1.0.4.tar.gz
Algorithm Hash digest
SHA256 73b4c6f5b00e89f218ae55d5c0a9a0553b350e77c12a615b7d98733b32d4868d
MD5 fcbb7c8384e0e51d4b14f57450e2e6ca
BLAKE2b-256 f4fb948c5a1b21250e1d7cccf191941f67e92cd9e4cba432d4854f005828bbea

See more details on using hashes here.

File details

Details for the file bm2bbox-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: bm2bbox-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for bm2bbox-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0efe4a1e27cb0c99b37f3115c1120d1bdbe648851fe82d9f30735b27ea5de449
MD5 6f99e0a03c24ddbebcd2ac0509c174da
BLAKE2b-256 7be797236eaa98045d45ce35bbbf6d0373ee2d5bc9f31c9794699bea48b17f3f

See more details on using hashes here.

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