Struct AprilTag

Struct Documentation

struct AprilTag

AprilTag structure.

Public Members

int id = 0

The decoded ID of the tag

int hamming = 0

How many error bits were corrected? Note: accepting large numbers of corrected errors leads to greatly increased false positive rates. As of this implementation, the detector cannot detect tags with a hamming distance greater than 2.

float decisionMargin = 0.f

A measure of the quality of the binary decoding process; the average difference between the intensity of a data bit versus the decision threshold. Higher numbers roughly indicate better decodes. This is a reasonable measure of detection accuracy only for very small tags— not effective for larger tags (where we could have sampled anywhere within a bit cell and still gotten a good detection.

Point2f topLeft

The detected top left coordinates.

Point2f topRight

The detected top right coordinates.

Point2f bottomRight

The detected bottom right coordinates.

Point2f bottomLeft

The detected bottom left coordinates.