CreateML JSON
Apple's CreateML and Turi Create tools need a special JSON format for object detection tasks.
Overview
When Apple released CreateML in 2018 it was a groundbreaking innovation. For the first time, developers could easily train a machine learning model with no code. No code, that is, except for the one-off scripts they needed to write to munge their data into the proper JSON format that was adopted from Apple's acquired machine learning framework, Turi Create.
Fortunately, Roboflow can both read and write CreateML JSON files so you can truly train a model and export it for use with an Apple iOS device via CoreML without writing a single line of code. Follow our CreateML tutorial to learn how to use it to train a no-code object detection model.
Format Description
Below, learn the structure of CreateML JSON.
[
{
"image": "0001.jpg",
"annotations": [
{
"label": "helmet",
"coordinates": {
"x": 162.5,
"y": 45,
"width": 79,
"height": 88
}
},
{
"label": "person",
"coordinates": {
"x": 145.5,
"y": 176,
"width": 251,
"height": 350
}
}
]
}
]Convert Data from CreateML JSON
- COCO JSON
- COCO Run-Length Encoding (RLE)
- Florence-2
- Google Cloud AutoML Vision CSV
- meituan/yolov6
- Multiclass Classification CSV
- OpenAI CLIP Classification
- OpenAI GPT-4o Object Detection JSONL
- PaliGemma JSONL
- Pascal VOC XML
- RetinaNet Keras CSV
- Sagemaker GroundTruth Manifest
- Scaled-YOLOv4 TXT
- Tensorflow Object Detection CSV
- Tensorflow TFRecord
- YOLO Darknet TXT
- YOLO Keras TXT
- YOLOv10 PyTorch TXT
- YOLOv11 PyTorch TXT
- YOLOv4 PyTorch TXT
- YOLOv5 Oriented Bounding Boxes
- YOLOv5 PyTorch TXT
- YOLOv7 PyTorch TXT
- YOLOv8 Oriented Bounding Boxes
- YOLOv8 PyTorch TXT
- YOLOv9 PyTorch TXT
Convert Data to CreateML JSON
- COCO JSON
- Cogniac
- Google Cloud AutoML Vision CSV
- IBM Cloud Annotations JSON
- Kaggle Wheat CSV
- LabelBox JSON
- LabelBox Video JSON
- LabelMe JSON
- Marmot XML
- Multiclass Classification CSV
- OIDv4 TXT
- OpenImages CSV
- Pascal VOC XML
- RetinaNet Keras CSV
- Sagemaker GroundTruth Manifest
- Scale AI JSON
- SuperAnnotate JSON
- Supervisely JSON
- Tensorflow Object Detection CSV
- Udacity TXT
- Unity Perception JSON
- VGG Image Annotator CSV
- VGG Image Annotator JSON
- VoTT CSV
- VoTT JSON
- YOLO Darknet TXT
- YOLO Keras TXT
- YOLOv8 PyTorch TXT