diff --git a/docs/source/object_detection.mdx b/docs/source/object_detection.mdx index 5c183907ee..b8e6814d84 100644 --- a/docs/source/object_detection.mdx +++ b/docs/source/object_detection.mdx @@ -30,9 +30,9 @@ Archive.zip Example for `metadata.jsonl`: ``` -{"file_name": "0001.png", "objects": {"bbox": [[302.0, 109.0, 73.0, 52.0]], "categories": [0]}} -{"file_name": "0002.png", "objects": {"bbox": [[810.0, 100.0, 57.0, 28.0]], "categories": [1]}} -{"file_name": "0003.png", "objects": {"bbox": [[160.0, 31.0, 248.0, 616.0], [741.0, 68.0, 202.0, 401.0]], "categories": [2, 2]}} +{"file_name": "0001.png", "objects": {"bbox": [[302.0, 109.0, 73.0, 52.0]], "category": [0]}} +{"file_name": "0002.png", "objects": {"bbox": [[810.0, 100.0, 57.0, 28.0]], "category": [1]}} +{"file_name": "0003.png", "objects": {"bbox": [[160.0, 31.0, 248.0, 616.0], [741.0, 68.0, 202.0, 401.0]], "category": [2, 2]}} ``` Please note that bboxes need to be in COCO format `[x, y, width, height]`.