Links
Comment on page

Create ML Object Detection

Export Data Labels to Apple's Create ML format
Apple’s Create ML format is used by the desktop tool for training ML models without code. The format supports training Object detectors. Rectangle elements are supported.
Example output:
[{
"image": "img/01EY1TCGPV95RQ4MX7SAG6JV87.jpeg",
"annotations": []
}, {
"image": "img/01EY1TCH9R5P2XQPFNGB30CDC3.jpeg",
"annotations": []
}, {
"image": "img/01EY1TCHRR1B9VSJBFY2DH16P9.jpeg",
"annotations": [{
"label": "cows",
"coordinates": {
"x": 0.1792518566241813,
"y": 0.6338857509247143,
"width": 0.25549350476400234,
"height": 0.24945382563099439
}
}, {
"label": "cows",
"coordinates": {
"x": 0.3163983930020142,
"y": 0.6464259026794865,
"width": 0.25625392313851825,
"height": 0.2447469875943119
}
}, {
"label": "cows",
"coordinates": {
"x": 0.5880138955104873,
"y": 0.660156812897666,
"width": 0.24668652535557584,
"height": 0.24923777331313313
}
}, {
"label": "cows",
"coordinates": {
"x": 0.8149998908292846,
"y": 0.6944691018175626,
"width": 0.2859384790113435,
"height": 0.30950341481288557
}
}]
}, {
"image": "img/01EY1TCJ4M1V3N7K7TPW2EQX2T.jpeg",
"annotations": []
}, {
"image": "img/01EY1TCJTC6W21J0F541DCRY0E.jpeg",
"annotations": []
}, {
"image": "img/01EY1TCKD8HMMRJZ69JNP16F1B.jpeg",
"annotations": [{
"label": "cows",
"coordinates": {
"x": 0.30415281185433884,
"y": 0.6940615315082644,
"width": 0.3131254842458678,
"height": 0.3070710657713498
}
}]
}]