Bounding box annotations failed to be recognised

I am trying to upload few image files along with a .label files with bounding box coordinates.

this is the error I get:
Pre-processing annotation files…

Failed to parse annotations file ‘bounding_boxes.labels’: Invalid type
Done. Annotation files parsed successfully: 0. Files that could not be parsed: 1.

Uploading 4 files…
[1/4] Failed to upload bounding_boxes.labels: Invalid type
[2/4] Uploading id_9_value_18_724.jpg OK
[3/4] Uploading id_5_value_100_533.jpg OK
[4/4] Uploading id_6_value_345_442.jpg OK
Files have been uploaded with category ‘training’

even though I have followed the file format.

this is my bounding_boxes.labels file

{
“version”: 1,
“files”: [
{
“path”: “id_5_value_100_533.jpg”,
“category”: “training”,
“label”: {
“type”: “label”,
“label”: “digits”
},
“metadata”: {
“version”: “converted_yolo”
},
“boundingBoxes”: [
{
“label”: “5”,
“x”: 524,
“y”: 825,
“width”: 33,
“height”: 51
},
{
“label”: “0”,
“x”: 445,
“y”: 817,
“width”: 30,
“height”: 51
},
{
“label”: “3”,
“x”: 603,
“y”: 831,
“width”: 30,
“height”: 58
},
{
“label”: “0”,
“x”: 485,
“y”: 820,
“width”: 31,
“height”: 49
},
{
“label”: “0”,
“x”: 333,
“y”: 808,
“width”: 26,
“height”: 47
},
{
“label”: “1”,
“x”: 407,
“y”: 815,
“width”: 30,
“height”: 53
},
{
“label”: “0”,
“x”: 368,
“y”: 810,
“width”: 29,
“height”: 50
},
{
“label”: “3”,
“x”: 564,
“y”: 829,
“width”: 29,
“height”: 52
},
{
“label”: “4”,
“x”: 604,
“y”: 833,
“width”: 28,
“height”: 61
}
]
},
{
“path”: “id_6_value_345_442.jpg”,
“category”: “training”,
“label”: {
“type”: “label”,
“label”: “digits”
},
“metadata”: {
“version”: “converted_yolo”
},
“boundingBoxes”: [
{
“label”: “4”,
“x”: 519,
“y”: 880,
“width”: 36,
“height”: 59
},
{
“label”: “5”,
“x”: 477,
“y”: 878,
“width”: 33,
“height”: 60
},
{
“label”: “4”,
“x”: 434,
“y”: 876,
“width”: 36,
“height”: 57
},
{
“label”: “0”,
“x”: 349,
“y”: 875,
“width”: 36,
“height”: 58
},
{
“label”: “2”,
“x”: 606,
“y”: 889,
“width”: 41,
“height”: 70
},
{
“label”: “0”,
“x”: 307,
“y”: 875,
“width”: 33,
“height”: 58
},
{
“label”: “4”,
“x”: 562,
“y”: 882,
“width”: 33,
“height”: 60
},
{
“label”: “3”,
“x”: 390,
“y”: 877,
“width”: 33,
“height”: 59
}
]
},
{
“path”: “id_9_value_18_724.jpg”,
“category”: “training”,
“label”: {
“type”: “label”,
“label”: “digits”
},
“metadata”: {
“version”: “converted_yolo”
},
“boundingBoxes”: [
{
“label”: “8”,
“x”: 489,
“y”: 834,
“width”: 28,
“height”: 49
},
{
“label”: “0”,
“x”: 423,
“y”: 801,
“width”: 31,
“height”: 54
},
{
“label”: “7”,
“x”: 458,
“y”: 817,
“width”: 34,
“height”: 66
}
]
}
]
}

Hello @KR2003,

Could you share your project ID so I can look at the logs please?

Best,

Louis

this is the project id : 703672

thank you

Hello @KR2003,

I don’t see anything odd with your file or your project.

Do you have by any chance another format available?
I see in your metadata that it’s mentioned "version": "converted_yolo".

If you have a YOLO TXT format, we also support this format using our ingestion services: See. Image dataset annotation format | Edge Impulse API and SDKs Documentation

Also, there is another other thread mentioning the same issue:

If you are still blocked, feel free to share here a link with a subset of your dataset with the corresponding bounding_boxes.labels file so I can try it on my side.

Best,

Louis