1. Apriltag识别接口
AprilTag.StartDetector(TagGroupName, size);
Input:
TagGroupName,一般为 "36h11"
size 为mark大小尺寸,单位是米
Output:
TagDetection[] tagDetection;
TagDetection结构体:
public class TagDetection
{
public int id;//mark 的编号
public Vector3 translation;//识别位置
public Vector3 rotation;//识别角度
public Vector4 quaternion;//角度的四元数
public float confidence;//识别度
}