Sagemaker GroundTruth Manifest
The proprietary annotation format used by Amazon SageMaker GroundTruth.
Overview
Amazon SageMaker GroundTruth is a popular option for outsourced labeling jobs. They use AI to assist their human annotators in creating high quality data for training computer vision models.
Unfortunately, the format is poorly documented and is not widely used outside theĀ Amazon ecosystem (to learn about Amazon's one-click training tool, see our Rekognition Custom Labels tutorial). If you want to get your images labeled with GroundTruth and use them with your own models you'll need to convert them to a standard format first. That's where Roboflow comes in; our Pro tier can parse manifest files and convert them into any other format.
Since AWS credits can be used for GroundTruth labeling jobs, this can be the most cost-effective way for startups to get their images labeled! Roboflow's Pro tier can even handle the API integration to manage the whole process end to end.
As an added bonus, if you've already labeled your data elsewhere, you can use Roboflow Pro to convert your existing annotations into a manifest file for use with Amazon Rekognition Custom Labels' one-click Object Detection AutoML service.
Format Description
Below, learn the structure of Sagemaker GroundTruth Manifest.
{"source-ref":"s3://roboflow/img001.jpg","roboflow":{"annotations":[{"class_id":1,"width":64,"top":82,"height":72,"left":350},{"class_id":1,"width":52,"top":139,"height":61,"left":242}],"image_size":[{"width":500,"depth":3,"height":333}]},"roboflow-metadata":{"job-name":"labeling-job/roboflow","class-map":{"0":"helmet","1":"helmet"},"human-annotated":"yes","objects":[{"confidence":0.09},{"confidence":0.09}],"creation-date":"2020-07-20T18:45:18.67800","type":"groundtruth/object-detection"}}
{"source-ref":"s3://roboflow/img002.jpg","roboflow":{"annotations":[{"class_id":1,"width":28,"top":32,"height":33,"left":95},{"class_id":1,"width":27,"top":93,"height":27,"left":149}],"image_size":[{"width":300,"depth":3,"height":220}]},"roboflow-metadata":{"job-name":"labeling-job/roboflow","class-map":{"0":"helmet","1":"helmet"},"human-annotated":"yes","objects":[{"confidence":0.09},{"confidence":0.09}],"creation-date":"2020-07-20T18:45:18.69200","type":"groundtruth/object-detection"}}
{"source-ref":"s3://roboflow/img003.jpg","roboflow":{"annotations":[{"class_id":1,"width":33,"top":85,"height":43,"left":252},{"class_id":1,"width":38,"top":85,"height":49,"left":208},{"class_id":1,"width":28,"top":97,"height":38,"left":444},{"class_id":1,"width":46,"top":74,"height":58,"left":100},{"class_id":1,"width":51,"top":77,"height":55,"left":329},{"class_id":1,"width":26,"top":122,"height":38,"left":391},{"class_id":1,"width":34,"top":84,"height":44,"left":324},{"class_id":1,"width":15,"top":118,"height":23,"left":3},{"class_id":1,"width":24,"top":113,"height":34,"left":19}],"image_size":[{"width":500,"depth":3,"height":324}]},"roboflow-metadata":{"job-name":"labeling-job/roboflow","class-map":{"0":"helmet","1":"helmet"},"human-annotated":"yes","objects":[{"confidence":0.09},{"confidence":0.09},{"confidence":0.09},{"confidence":0.09},{"confidence":0.09},{"confidence":0.09},{"confidence":0.09},{"confidence":0.09},{"confidence":0.09}],"creation-date":"2020-07-20T18:45:18.69400","type":"groundtruth/object-detection"}}
{"source-ref":"s3://roboflow/img004.jpg","roboflow":{"annotations":[{"class_id":1,"width":105,"top":168,"height":107,"left":128},{"class_id":1,"width":132,"top":475,"height":126,"left":158}],"image_size":[{"width":500,"depth":3,"height":750}]},"roboflow-metadata":{"job-name":"labeling-job/roboflow","class-map":{"0":"helmet","1":"helmet"},"human-annotated":"yes","objects":[{"confidence":0.09},{"confidence":0.09}],"creation-date":"2020-07-20T18:45:18.70100","type":"groundtruth/object-detection"}}
{"source-ref":"s3://roboflow/img005.jpg","roboflow":{"annotations":[{"class_id":1,"width":85,"top":2,"height":85,"left":45},{"class_id":1,"width":72,"top":29,"height":81,"left":324},{"class_id":1,"width":56,"top":56,"height":64,"left":269},{"class_id":1,"width":58,"top":12,"height":70,"left":120},{"class_id":1,"width":29,"top":36,"height":36,"left":31},{"class_id":1,"width":58,"top":15,"height":51,"left":315},{"class_id":1,"width":35,"top":1,"height":112,"left":454}],"image_size":[{"width":490,"depth":3,"height":275}]},"roboflow-metadata":{"job-name":"labeling-job/roboflow","class-map":{"0":"helmet","1":"helmet"},"human-annotated":"yes","objects":[{"confidence":0.09},{"confidence":0.09},{"confidence":0.09},{"confidence":0.09},{"confidence":0.09},{"confidence":0.09},{"confidence":0.09}],"creation-date":"2020-07-20T18:45:18.70600","type":"groundtruth/object-detection"}}
{"source-ref":"s3://roboflow/img006.jpg","roboflow":{"annotations":[{"class_id":1,"width":57,"top":46,"height":62,"left":43},{"class_id":1,"width":60,"top":51,"height":61,"left":244}],"image_size":[{"width":400,"depth":3,"height":225}]},"roboflow-metadata":{"job-name":"labeling-job/roboflow","class-map":{"0":"helmet","1":"helmet"},"human-annotated":"yes","objects":[{"confidence":0.09},{"confidence":0.09}],"creation-date":"2020-07-20T18:45:18.70800","type":"groundtruth/object-detection"}}
{"source-ref":"s3://roboflow/img007.jpg","roboflow":{"annotations":[{"class_id":0,"width":64,"top":41,"height":67,"left":228}],"image_size":[{"width":401,"depth":3,"height":600}]},"roboflow-metadata":{"job-name":"labeling-job/roboflow","class-map":{"0":"helmet"},"human-annotated":"yes","objects":[{"confidence":0.09}],"creation-date":"2020-07-20T18:45:18.71000","type":"groundtruth/object-detection"}}
{"source-ref":"s3://roboflow/img008.jpg","roboflow":{"annotations":[{"class_id":1,"width":116,"top":19,"height":121,"left":64},{"class_id":1,"width":82,"top":75,"height":102,"left":204},{"class_id":1,"width":128,"top":0,"height":138,"left":340}],"image_size":[{"width":500,"depth":3,"height":333}]},"roboflow-metadata":{"job-name":"labeling-job/roboflow","class-map":{"0":"helmet","1":"helmet"},"human-annotated":"yes","objects":[{"confidence":0.09},{"confidence":0.09},{"confidence":0.09}],"creation-date":"2020-07-20T18:45:18.71200","type":"groundtruth/object-detection"}}
{"source-ref":"s3://roboflow/img009.jpg","roboflow":{"annotations":[{"class_id":1,"width":72,"top":0,"height":63,"left":95},{"class_id":1,"width":64,"top":45,"height":78,"left":167}],"image_size":[{"width":444,"depth":3,"height":215}]},"roboflow-metadata":{"job-name":"labeling-job/roboflow","class-map":{"0":"helmet","1":"helmet"},"human-annotated":"yes","objects":[{"confidence":0.09},{"confidence":0.09}],"creation-date":"2020-07-20T18:45:18.71600","type":"groundtruth/object-detection"}}
{"source-ref":"s3://roboflow/img010.jpg","roboflow":{"annotations":[{"class_id":1,"width":64,"top":4,"height":84,"left":179},{"class_id":1,"width":36,"top":85,"height":37,"left":40},{"class_id":1,"width":46,"top":64,"height":44,"left":69},{"class_id":1,"width":27,"top":110,"height":34,"left":2}],"image_size":[{"width":480,"depth":3,"height":318}]},"roboflow-metadata":{"job-name":"labeling-job/roboflow","class-Convert Data from Sagemaker GroundTruth Manifest
- COCO JSON
- COCO Run-Length Encoding (RLE)
- CreateML JSON
- 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
- 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 Sagemaker GroundTruth Manifest
- COCO JSON
- Cogniac
- CreateML JSON
- 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
- 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