|
|
@@ -4,61 +4,78 @@ The test data is organised under subdirectories that match the tested modules in
|
|
|
|
|
|
### Test data for `ethology.annotations`
|
|
|
|
|
|
+
|
|
|
#### `medium_bboxes_dataset_VIA`
|
|
|
-A medium size bounding boxes dataset in VIA format.
|
|
|
+
|
|
|
+<details>
|
|
|
+<summary>A medium size bounding boxes dataset in VIA format.</summary>
|
|
|
+
|
|
|
|
|
|
| File name | Type | Format | N annotations | N images | Comments |
|
|
|
| --- | --- | --- | --- | --- | --- |
|
|
|
| `VIA_JSON_sample_1.json` | bboxes | VIA | 4440 | 50 | Category ID is a string ("crab"). |
|
|
|
| `VIA_JSON_sample_2.json` | bboxes | VIA | 3977 | 50 | Category ID is a string ("crab").|
|
|
|
-
|
|
|
+</details>
|
|
|
|
|
|
#### `medium_bboxes_dataset_COCO`
|
|
|
-A medium size bounding boxes dataset in COCO format.
|
|
|
+
|
|
|
+<details>
|
|
|
+<summary>A medium size bounding boxes dataset in COCO format.</summary>
|
|
|
|
|
|
| File name | Type | Format | N annotations | N images | Comments |
|
|
|
| --- | --- | --- | --- | --- | --- |
|
|
|
| `COCO_JSON_sample_1.json` | bboxes | COCO | 4344 | 100 | Category ID is a number (1). |
|
|
|
| `COCO_JSON_sample_2.json` | bboxes | COCO | 4618 | 100 | Category ID is a number (1).|
|
|
|
-
|
|
|
+</details>
|
|
|
|
|
|
#### `small_bboxes_dataset`
|
|
|
-A small size bounding boxes dataset in VIA, COCO and VIA-CSV formats.
|
|
|
+
|
|
|
+<details>
|
|
|
+<summary>A small size bounding boxes dataset in VIA, COCO and VIA-CSV formats.</summary>
|
|
|
|
|
|
| File name | Type | Format | N annotations | N images | Comments |
|
|
|
| --- | --- | --- | --- | --- | --- |
|
|
|
| `small_bboxes_VIA.json` | bboxes | VIA | 3 | 3 | One bounding box per frame. |
|
|
|
| `small_bboxes_COCO.json` | bboxes | COCO | 3 | 3 | One bounding box per frame. |
|
|
|
-
|
|
|
+</details>
|
|
|
|
|
|
#### `small_bboxes_dataset_duplicates`
|
|
|
-A small size bounding boxes dataset in VIA, COCO and VIA-CSV formats with duplicate annotations.
|
|
|
+
|
|
|
+<details>
|
|
|
+<summary>A small size bounding boxes dataset in VIA, COCO and VIA-CSV formats with duplicate annotations.</summary>
|
|
|
|
|
|
| File name | Type | Format | N annotations | N images | Comments |
|
|
|
| --- | --- | --- | --- | --- | --- |
|
|
|
| `small_bboxes_duplicates_VIA.json` | bboxes | VIA | 4 | 3 | Duplicate annotation in frame 0, one annotation per frame in the rest of frames. |
|
|
|
| `small_bboxes_duplicates_COCO.json` | bboxes | COCO | 4 | 3 | Duplicate annotation in frame 0, one annotation per frame in the rest of frames.|
|
|
|
-
|
|
|
+</details>
|
|
|
|
|
|
#### `small_bboxes_dataset_no_categories`
|
|
|
-A small size bounding boxes dataset in VIA, COCO and VIA-CSV formats without categories.
|
|
|
+
|
|
|
+<details>
|
|
|
+<summary>A small size bounding boxes dataset in VIA, COCO and VIA-CSV formats without categories.</summary>
|
|
|
|
|
|
| File name | Type | Format | N annotations | N images | Comments |
|
|
|
| --- | --- | --- | --- | --- | --- |
|
|
|
| `small_bboxes_no_cat_VIA.json` | bboxes | VIA | 3 | 3 | No categories or supercategories are specified. This data is still supported |
|
|
|
| `small_bboxes_no_cat_COCO.json` | bboxes | COCO | 3 | 3 | No categories are specified, so no annotations are exported in COCO format. This data should throw an error. |
|
|
|
| `small_bboxes_null_catID_COCO.json` | bboxes | COCO | 3 | 3 | The category ID in the VIA tool is not an integer, so when exporting the annotations to COCO format the category ID is set to `null`. This data should throw an error. |
|
|
|
+</details>
|
|
|
|
|
|
#### `small_bboxes_dataset_errors`
|
|
|
-Small size bounding boxes datasets with errors to catch.
|
|
|
+
|
|
|
+<details>
|
|
|
+<summary>Small size bounding boxes datasets with errors to catch.</summary>
|
|
|
|
|
|
| File name | Type | Format | N annotations | N images | Comments |
|
|
|
| --- | --- | --- | --- | --- | --- |
|
|
|
| `small_bboxes_non_unique_img_id_COCO.json` | bboxes | COCO | 4 | 4 | Two images have the same filename and image ID. This happens if two images have the same number-based filename, because the imageID is extracted using [`parseInt`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/parseInt) when exporting as COCO in the VIA tool.|
|
|
|
-
|
|
|
+</details>
|
|
|
|
|
|
#### `small_bboxes_dataset_subset`
|
|
|
-A subset of the corresponding small bounding boxes datasets. If prefixed with `_plus` it contains some additional annotations. See description of the corresponding dataset for more details. The files with the same name except for the format identifier contain the exact same annotations.
|
|
|
+
|
|
|
+<details>
|
|
|
+<summary>A subset of the corresponding small bounding boxes datasets. If prefixed with `_plus` it contains some additional annotations. See description of the corresponding dataset for more details. The files with the same name except for the format identifier contain the exact same annotations.</summary>
|
|
|
|
|
|
| File name | Type | Format | N annotations | N images | Comments |
|
|
|
| --- | --- | --- | --- | --- | --- |
|
|
|
@@ -66,3 +83,4 @@ A subset of the corresponding small bounding boxes datasets. If prefixed with `_
|
|
|
| `small_bboxes_VIA_subset_plus.json` | bboxes | VIA | 3 | 3 | Same as `small_bboxes_VIA_subset.json` but with one additional annotation, different from any of the annotations in `small_bboxes_VIA.json`.|
|
|
|
| `small_bboxes_COCO_subset.json` | bboxes | VIA | 2 | 3 | Same as `small_bboxes_COCO.json` but the last annotation in the last frame has been removed. |
|
|
|
| `small_bboxes_COCO_subset_plus.json` | bboxes | VIA | 3 | 3 | Same as `small_bboxes_COCO_subset.json` but with one additional annotation, different from any of the annotations in `small_bboxes_COCO.json`.|
|
|
|
+</details>
|