#include <TagDetector.h>
Public Member Functions | |
std::vector< TagDetection > | extractTags (const cv::Mat &image) |
TagDetector (const TagCodes &tagCodes) | |
Constructor. | |
Public Attributes | |
const TagFamily | thisTagFamily |
Definition at line 14 of file TagDetector.h.
AprilTags::TagDetector::TagDetector | ( | const TagCodes & | tagCodes | ) | [inline] |
Constructor.
Definition at line 21 of file TagDetector.h.
std::vector< TagDetection > AprilTags::TagDetector::extractTags | ( | const cv::Mat & | image | ) |
Gaussian smoothing kernel applied to image (0 == no filter).
Used when sampling bits. Filtering is a good idea in cases where A) a cheap camera is introducing artifical sharpening, B) the bayer pattern is creating artifcats, C) the sensor is very noisy and/or has hot/cold pixels. However, filtering makes it harder to decode very small tags. Reasonable values are 0, or [0.8, 1.5].
Gaussian smoothing kernel applied to image (0 == no filter).
Used when detecting the outline of the box. It is almost always useful to have some filtering, since the loss of small details won't hurt. Recommended value = 0.8. The case where sigma == segsigma has been optimized to avoid a redundant filter operation.
Definition at line 38 of file TagDetector.cc.
Definition at line 17 of file TagDetector.h.