Skip to content

Demonstrates how to use Microsoft's Custom Vision API to download the tags for a training set

License

Notifications You must be signed in to change notification settings

bigtallcampbell/customvision-exporter

Repository files navigation

customvision-exporter

Downloads all the tags and images for a custom vision project.

To run (via bash):

  1. Clone this repo
  2. Open devcontainer in VSCode
  3. Run bash command:
    ./export-tagged-images.sh --project-id "ABC-123" --training-key "1234567890" --region "westus2"

Files and files will write out to a new directory at /output/YYYY-MM-DD_HH-MM with a JPG and associated JSON for the images

Get Project ID, Key, and Region

You can get your project ID, training key, and region by through Custom Visions' web gui.

  1. Browse and Sign into Custom Vision
  2. Open your project
  3. Go to the project's settings and should see a screen like this: Project Settings

Run without devcontainer (linux)

  1. Install jq package
    apt-get update && apt-get -y install --no-install-recommends jq
  2. Run the bash script
    ./export-tagged-images.sh --project-id "ABC-123" --training-key "1234567890" --region "westus2"

About

Demonstrates how to use Microsoft's Custom Vision API to download the tags for a training set

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages