For the complete documentation index, see llms.txt. This page is also available as Markdown.

Fisheye

Overview

Annotate fisheye images with ease using the fisheye labeling interface in Supervisely.

Fisheye labeling interface

To use the fisheye labeling interface, you need to:

  1. create a project with the Fisheye labeling interface enabled.

  2. prepare calibration files with parameters for fisheye images (metadata files). Check out the Fisheye Lens Metadata section for more details.

  3. import fisheye images with the calibration parameters and annotations (optional).

To correctly import fisheye images, all metadata files should be placed in the directory with the meta name.

The Fisheye labeling interface in Supervisely provides the new labeling tool 2D Cuboid for annotating objects like cars, pedestrians, and other objects in fisheye images. Learn more about the 2D Cuboid annotation format in the documentation.

Labeling Toolbox

After import, fisheye images are annotated in the Image Labeling Toolbox with the Fisheye labeling interface. It uses the calibration metadata to project annotations onto the distorted image and includes a special Cuboid 3D tool — a 3D cuboid projected onto the 2D fisheye image.

Description

Supported image formats: .jpg, .jpeg, .mpo, .bmp, .png, .webp, .tiff, .tif, .jfif, .avif, .heic, and .heif With annotations: supported Supported projection: cylindrical

Data structure

  • Folder or Archive (zip, tar)

The project may contain one or more dataset folders (e.g., dataset_01), each with its own img, meta, and ann folders.

The meta folder contains metadata files for fisheye images with the calibration parameters. Each metadata file should have the same name as the corresponding image file + .json extension.

The ann folder contains annotation files in the Supervisely format. Each annotation file should have the same name as the corresponding image file + .json extension. Annotation files are optional.

Fisheye Lens Metadata

It is essential to provide calibration data for fisheye images to allow the fisheye labeling interface to correct the distortion. The calibration data is stored in metadata files in JSON format.

Metadata example

The extrinsic block is optional — the minimal valid metadata file contains only the intrinsic block.

Here are the key points and fields descriptions:

  • cameraModel - the camera projection model. Currently, only cylindrical_equidist is supported; support for Equirectangular, Cubemap, Rectilinear (Perspective), and Stereographic projections is in active development.

  • fx, fy - the focal lengths of the camera in pixels.

  • cx, cy - the coordinates of the principal point (optical image center) in pixels, e.g., half of the image width and height for a centered principal point.

  • Optionally, the extrinsic block with the quaternion (rotation) and translation (in meters) fields can be provided. It describes the coordinate transformation from the camera coordinate system to the vehicle coordinate system.

  • The vehicle coordinate system, which follows the ISO 8855 convention, is anchored to the ground below the midpoint of the rear axle. The X-axis points in the driving direction, the Y-axis points to the left side of the vehicle and the Z-axis points up from the ground.

  • The camera sensor's coordinate system is based on OpenCV. The X axis points to the right along the horizontal sensor axis, the Y axis points downwards along the vertical sensor axis and the Z-axis points in viewing direction along the optical axis to maintain the right-handed system.

Last updated

Was this helpful?