Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -68,7 +68,7 @@ Load the dataset and take a look at an example:
|
|
| 68 |
[0.0, 0.0, 375.0, 20.0],
|
| 69 |
...
|
| 70 |
],
|
| 71 |
-
'category': ['
|
| 72 |
'rectangle',
|
| 73 |
'rectangle',
|
| 74 |
...]}}
|
|
@@ -81,7 +81,10 @@ The dataset has the following fields:
|
|
| 81 |
- width: The image width.
|
| 82 |
- objects: A dictionary containing bounding box metadata for the objects in the image:
|
| 83 |
- bbox: The object’s bounding box (xmin,ymin,width,height).
|
| 84 |
-
- category: The object’s category, with possible values including
|
|
|
|
|
|
|
|
|
|
| 85 |
|
| 86 |
You can visualize the bboxes on the image using some internal torch utilities.
|
| 87 |
|
|
|
|
| 68 |
[0.0, 0.0, 375.0, 20.0],
|
| 69 |
...
|
| 70 |
],
|
| 71 |
+
'category': ['text',
|
| 72 |
'rectangle',
|
| 73 |
'rectangle',
|
| 74 |
...]}}
|
|
|
|
| 81 |
- width: The image width.
|
| 82 |
- objects: A dictionary containing bounding box metadata for the objects in the image:
|
| 83 |
- bbox: The object’s bounding box (xmin,ymin,width,height).
|
| 84 |
+
- category: The object’s category, with possible values including rectangle、text、group、image
|
| 85 |
+
- color: The object’s color, text color or rectangle color, or None
|
| 86 |
+
- radius: The object’s color, rectangle radius, or None
|
| 87 |
+
- text: text content, or None
|
| 88 |
|
| 89 |
You can visualize the bboxes on the image using some internal torch utilities.
|
| 90 |
|