Skip to the content.

Requirements of the physical setup

This document describes the physical setup and challenges for utilizing tag-grid-scanner in real-world applications.

Tags

Grid

The tags need to be aligned in a uniform grid, usually on a transparent surface, such that the camera can view the tag grid from below:

Illuminating the tag grid

Camera choice

Choosing the right camera is important for the best detection results:

We settled on the ELP 3MP WDR USB camera with 2.9mm lens (ELP USB3MP01H) and corrected lens distortion in software.

Camera placement

The positioning of the camera also affects the quality of the detection results.

Take both aspects into account and position the camera just outside the frustum created by the projector and the tag grid, but not too far away to keep keystone distortion low. Add a bit of margin to be on the safe side with respect to overexposure issues.

Camera mount

The camera mount needs to be very rigid. The camera should not move at all. Otherwise, re-calibration will be necessary.

Fiducial markers

The tag-grid-scanner can also detect fiducial markers, such as ArUco or AprilTag markers, that act as physical reference points for the region of interest. These markers are tracked from one frame to the next to compensate for camera movements after initial configuration. If all preconfigured markers are found in the distortion-corrected camera image, a perspective coordinate transformation (homography) is derived from the matched markers. This transformation is then used to map the originally configured region of interest into a valid region of interest with respect to the current image. In many cases, this can compensate for small to medium camera movements caused by vibrations or thermal expansion of the camera mount or furniture. It is highly recommended to include such fiducial markers in the physical setup.

The final setup may look like this: Example setup with fiducial markers