Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Detect the center of a tag


How would I go about getting the position of the center of a tag (QR Code, AprilTag...) using opencv ? I only find stuff about decoding the tag or the centroid of a shape. The idea is that i track this tag in a 2d plane, and with the center of the tag position, i get the x and y that I can then use as parameters on an electronics project.

Thanks for any input,