Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DrawFindings ¶
func DrawFindings(img WritableImage, findings []Finding, centerColor, cornerColor color.Color)
DrawFindings draws all found apriltags on the provided image.
Types ¶
type Detector ¶
type Detector struct {
// contains filtered or unexported fields
}
Detector encapsulates an apriltag detector initialized with a tag family.
type Finding ¶
type Finding struct { // The decoded ID of the tag ID int // The number of error bits that were corrected. Hamming int Goodness float32 // A measure of the quality of the binary decoding process. Higher == better. DecisionMargin float32 // Centeroid of the detected tag CenterX float64 CenterY float64 // Bounding edges of the detected tag. [0] = X, [1] = Y. Corners [4][2]float64 }
Finding represents a single apriltag detected in an image.
Click to show internal directories.
Click to hide internal directories.