From abd2888507e99bd8218d8892b1ecb548adc9c4c4 Mon Sep 17 00:00:00 2001 From: Abhishek Thakur Date: Fri, 24 May 2024 09:40:30 +0200 Subject: [PATCH] update doc --- docs/source/object_detection.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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]`.