Table of Contents

Get Number of Tags

Description

This reporter returns the total number of AprilTags detected in the most recently analysed image.

For example:

  • 0 → No AprilTag detected
  • 1 → One AprilTag detected
  • 2 → Two AprilTags detected

This is useful when a project needs to respond differently depending on how many tags are visible.

Example

There are no examples documented for this article.