Value

The value format may differ depending on what statement type is defined.

Formats

Static

Boolean

true, false

Specifies if the statement is always true or false.

GridWidth

Number

<x>

Statement is true if the pattern grid has <x> columns. <x> must be integer.

GridHeight

Number

<x>

Statement is true if the pattern grid has <x> rows. <x> must be integer.

GridSpacing

Number

<x>

Statement is true if the pattern has a grid spacing of <x>.

Mask

Binary

Statement is true if the center of the pattern is in the area where mask is non-zero. Mask must be a single channel 8-bit image with the same size as the camera’s raw image it is applied to.

TiltDirection

String

“Up”, “Left”, “Right”, “Down”

Statement is true if the pattern is tilted in the given direction.

SerialNumber

String

Statement is true if the pattern is detected by a camera with this serial.

Type

String

“Right”,

“Left”,

“Monocular”

Statement is true if the pattern is detected by this type of sensor

“Left” and “Right” are the corresponding sensors on a stereo camera. “Monocular” is from a monocular camera.

Index

Number

<x>

Statement is true if the pattern is from in the <x>-th collection. <x> must be integer.