Converting Dataturks Image classifier tool’s output to Keras Format

A simple script to create dataset in Keras standard format.

Just provide the downloaded output JSON file from your project in Dataturks, the script will download all the images, and create your dataset in Keras format. Download from: GitHub

How to run?

python3 keras_json_parser.py \ 
— json_file {PATH_TO_JSON} \
— dataset_path {PATH_TO_DATASET} \
— train_percentage {TRAIN_PERCENTAGE} \
— validation_percentage {VALIDATION_PERCENTAGE}

Requirements:

pip install urllib2
pip install requests
pip install argparse
pip install random

The parser file is shown below:

For any issues or queries, please write to us at contact@dataturks.com