I have created the .json file according to the https://developer.apple.com/documentation/createml/building-an-object-detector-data-source
here is my .json file below
{
"imagefilename":"Five Fingers.HEIC",
"annotation": [
{
"coordinates": {
"y": 156.062,
"x": 195.122,
"height": 148.872,
"width": 148.03
},
"label": "Five Fingers"
}
]
},
{
"imagefilename": "One Finger.HEIC",
"annotation": [
{
"coordinates": {
"y": 156.062,
"x": 195.122,
"height": 148.872,
"width": 148.03
},
"label": "One Finger"
}
]
},
{
"imagefilename": "Two Finger.HEIC",
"annotation": [
{
"coordinates": {
"y": 156.062,
"x": 195.122,
"height": 148.872,
"width": 148.03
},
"label": "Two Finger"
}
]
},
{
"imagefilename": "Four Finger.HEIC",
"annotation": [
{
"coordinates": {
"y": 156.062,
"x": 195.122,
"height": 148.872,
"width": 148.03
},
"label": "Four Finger"
}
]
}
]
but it shows error as Missing required column 'label' in json. at "NameOfJsonFile.json"
Were am I Wrong