/labeling-notebook

An image annotation/labeling tool for small projects

Primary LanguageTypeScriptMIT LicenseMIT

Labeling Notebook

A web-based image annotation/labeling tool for small projects (inspired by Jupyter notebook).

It allows you to browse and update image annotations.

labeling_notebook_screenshot

Usage

Install the labeling-notebook package from with pip (Python3).

pip install labeling-notebook

With the package installed, use label command to start the labeling notebook:

# cd <your directory with images>
label .

The command should start the labeling notebook application at http://localhost:9888.

(See label -h for other command line options)

Data Format

The labeling notebook reads and saves an image information in a json file with the same name. e.g.

directory/pets_01.jpg
directory/pets_01.json  # <-- `pets_01.jpg`s annotation data
{
  "annotations": [
    {
      "x": 100,
      "y": 120,
      "width": 20,
      "height": 20,
      "label": "left-eye"
    },
    {
      "x": 150,
      "y": 121,
      "width": 20,
      "height": 20,
      "label": "right-eye"
    },
    ...
  ],
  "tags": [
    "cat",
    ...
  ]
}