fiducial-detection.md

Raspicam
We use a RaspberryPi v1 camera whose full documentation can be found at Raspicam Docs, this also includes hardware and software specs
Additional information on how to install Raspicam hardware can be found at Raspicam Installation
AprilTags
We use the
pupil_apriltagspackage to detect fiducials in the Raspicam image so full documentation for the AprilTags can be found at Pupil AprilTagsThe package works by taking the camera parameters, fiducial size and family, and additional fiducial detection parameters and creating a
detectorclass which contains adetectmethod that inputs a camera frame and outputs a list of detected fiducialsIn order to print new apriltags you have to follow the instructions at AprilTag Generation and Premade AprilTags
Parameters and Tuning
The
params.yamlfile contains all of the fiducial vision parametersThe camera parameters which are used in the
params.yamlfile were found online in the raspicam sectionThe size of the fiducial in meters can be adjusted by printing out new fiducials of a larger size
Transformation Math
The
src/transforms.pyandsrc/geometry.pycontain the methods used for transforming the fiducial detection results into easier to work with translations and rotationsAlso, parameters in
params.yamlare used to slightly adjust the detection results after transformation

Last updated
Was this helpful?
