Apriltag tag code recognition

1. Introduction

Apriltag is a coded tag commonly used in machine vision. It has high recognition rate and reliability and can be used for various tasks including augmented reality, robotics and camera calibration.

2. Start

2.1 Preparation

The Apriltag label code uses the TAG36H11 format. The relevant label code is already provided at the factory and affixed to the building blocks. You need to take out the building blocks and place them under the camera screen for identification.

2.2 Program description

After the program is started, the camera captures the image and puts the label code into the camera screen. The system will recognize and frame the four vertices of the label code and display the ID number of the label code.

image-20240702165110669

2.3 Start program

2.4 About code

Code path:~/jetcobot_ws/src/jetcobot_apriltag/scripts/apriltag_identify.py