toRect

fun toRect(): Rect

Returns an OpenCV Rect created from the corners of this AprilTag detection. This Rect can be used for operations such as constructing contour boundaries.