Downloads all the tags and images for a custom vision project.
To run (via bash):
- Clone this repo
- Open devcontainer in VSCode
- 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
You can get your project ID, training key, and region by through Custom Visions' web gui.
- Browse and Sign into Custom Vision
- Open your project
- Go to the project's settings and should see a screen like this:
- Install jq package
apt-get update && apt-get -y install --no-install-recommends jq
- Run the bash script
./export-tagged-images.sh --project-id "ABC-123" --training-key "1234567890" --region "westus2"