image
imagewidth (px)
640
4.06k
label
class label
0 classes
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null

This dataset has been collected by Edge Impulse and used extensively to design the FOMO (Faster Objects, More Objects) object detection architecture. See FOMO documentation or the announcement blog post.

image/png

The dataset is composed of 70 images including:

  • 32 blue cubes,
  • 32 green cubes,
  • 30 red cubes
  • 28 yellow cubes

Download link: cubes on a conveyor belt dataset in Edge Impulse Object Detection format.

You can also retrieve this dataset from this Edge Impulse public project.

Data exported from an object detection project in the Edge Impulse Studio is exported in this format, see below to understand the format.

How to use this dataset

To import this data into a new Edge Impulse project, either use:

edge-impulse-uploader --clean --info-file info.labels

Understand Edge Impulse object detection format

The Edge Impulse object detection acquisition format provides a simple and intuitive way to store images and associated bounding box labels. Folders containing data in this format will take the following structure:

.
β”œβ”€β”€ testing
β”‚   β”œβ”€β”€ bounding_boxes.labels
β”‚   β”œβ”€β”€ cubes.23im33f2.jpg
β”‚   β”œβ”€β”€ cubes.23j3rclu.jpg
β”‚   β”œβ”€β”€ cubes.23j4jeee.jpg
β”‚   ...
β”‚   └── cubes.23j4k0rk.jpg
└── training
    β”œβ”€β”€ bounding_boxes.labels
    β”œβ”€β”€ blue.23ijdngd.jpg
    β”œβ”€β”€ combo.23ijkgsd.jpg
    β”œβ”€β”€ cubes.23il4pon.jpg
    β”œβ”€β”€ cubes.23im28tb..jpg
    ...
    └── yellow.23ijdp4o.jpg

2 directories, 73 files

The subdirectories contain image files in JPEG or PNG format. Each image file represents a sample and is associated with its respective bounding box labels in the bounding_boxes.labels file.

The bounding_boxes.labels file in each subdirectory provides detailed information about the labeled objects and their corresponding bounding boxes. The file follows a JSON format, with the following structure:

  • version: Indicates the version of the label format.
  • files: A list of objects, where each object represents an image and its associated labels.
    • path: The path or file name of the image.
    • category: Indicates whether the image belongs to the training or testing set.
    • (optional) label: Provides information about the labeled objects.
      • type: Specifies the type of label (e.g., a single label).
      • label: The actual label or class name of the object.
    • (Optional) metadata: Additional metadata associated with the image, such as the site where it was collected, the timestamp or any useful information.
    • boundingBoxes: A list of objects, where each object represents a bounding box for an object within the image.
      • label: The label or class name of the object within the bounding box.
      • x, y: The coordinates of the top-left corner of the bounding box.
      • width, height: The width and height of the bounding box.

bounding_boxes.labels example:

{
    "version": 1,
    "files": [
        {
            "path": "cubes.23im33f2.jpg",
            "category": "testing",
            "label": {
                "type": "label",
                "label": "cubes"
            },
            "metadata": {
                "version": "2023-1234-LAB"
            },
            "boundingBoxes": [
                {
                    "label": "green",
                    "x": 105,
                    "y": 201,
                    "width": 91,
                    "height": 90
                },
                {
                    "label": "blue",
                    "x": 283,
                    "y": 233,
                    "width": 86,
                    "height": 87
                }
            ]
        },
        {
            "path": "cubes.23j3rclu.jpg",
            "category": "testing",
            "label": {
                "type": "label",
                "label": "cubes"
            },
            "metadata": {
                "version": "2023-4567-PROD"
            },
            "boundingBoxes": [
                {
                    "label": "red",
                    "x": 200,
                    "y": 206,
                    "width": 74,
                    "height": 75
                },
                {
                    "label": "yellow",
                    "x": 370,
                    "y": 245,
                    "width": 79,
                    "height": 73
                }
            ]
        }
    ] 
}

Additional resources

A variation of this dataset has been used in the FOMO Self-Attention article

Downloads last month
0
Edit dataset card