Skip to content

Image Target Training

General information about Image Target tracking can be found here.

Preparation

Before training an Image Target, it must be prepared in a digital format. The supported formats are:

  • jpg/jpeg
  • png
  • bmp

A good Image Target will have certain visual features that enables accurate pose estimation and stable tracking:

Properties Explanation
Distinctive pattern Texture with many distinctive visual features (e.g. corners, blobs)
Rich texture Texture with rich visual features all over the image without empty regions
No repetitive pattern Textures with no similar patterns repeating in space
High contrast Image with high contrast
Non-reflective Print on a matte surface that will not reflect light when printed

Image target training

TRACK-Trainer-Native.exe image --name ImageTarget --path .\Image.png --physicalSize 1.0 0.8 --output .\

The following parameters can be set for image target training:

  • name Name of the target following the naming convention mentioned here.
  • path Path to the image, e.g. ".\Image.png" if the image is in the same folder as the Trainer CLI
  • physicalSize Physical size (width, height) of the printed image in meters, e.g. "0.0297 0.021" if the image is printed in landscape on DIN A4
  • output Optional output directory, e.g. ".\Targets\". Default = ".\"