Standards/artag
ARTag
Overview
ARTag is a square, bi-tonal fiducial marker system for augmented reality (AR) and camera pose tracking, created by Mark Fiala of the Computational Video Group, Institute for Information Technology, National Research Council Canada (NRC) 1. It is not a data-carrying barcode: each marker carries only an identifier, one of a library of 2002 markers, and the system's job is to find markers reliably in a camera image so the camera-to-marker pose can be computed 1, 2. A marker is a square border around a 6×6 grid holding a 36-bit digital word; a 10-bit sub-ID is protected by a CRC-16 checksum and forward error correction (FEC), which gives a low and numerically quantifiable false-positive and inter-marker-confusion rate 1. ARTag was built to improve on the template-matched markers of ARToolKit Marker and preceded the open coded-square systems AprilTag and ArUco, whose papers benchmark against it 1, 7, 8.
History
- August 2004: first release. The NRC report says ARTag "was introduced in August 2004", in a preliminary NRC publication titled ARTag, An Improved Marker System Based on ARToolkit (NRC 47166/ERB-1111) 1. Fiala's own ARTag site gives the launch as "Nov 2004" and says it was inspired by ARToolKit, taking advantage of the greater processing power then available 6.
- 24 November 2004: Revision 1. ARTag Revision 1. A Fiducial Marker System Using Digital Techniques was published as NRC/ERB-1117 (NRC 47419), 46 pages 1. Rev 1 was released as a demo, documented the edge-linking first stage, and reported the library as 2002 markers "for clarity instead of 2046 markers with 44 non-recommended codes" 1.
- June 2005: CVPR paper. Fiala presented ARTag, a Fiducial Marker System Using Digital Techniques at IEEE CVPR 2005 (vol. 2, pp. 590–596) 2. The same year he published Comparing ARTag and ARToolkit Plus Fiducial Marker Systems at the IEEE HAVE 2005 workshop (pp. 147–152) 4.
- ARTag Rev 2. Rev 2 became a complete AR system with marker arrays, OpenGL support and an SDK, offered for Windows, Linux and Mac OS X (PPC and x86); the site described "Magic Lens" (hand-held tablet, PDA or camera phone) and "Magic Mirror" (camera beside a large screen) set-ups 6.
- By February 2009: withdrawn from NRC. The ARTag site, last updated February 2009, says ARTag "has been taken down from the NRC download site" because Fiala's contract had expired and he was no longer an NRC employee, and that NRC management had halted its AR and computer-vision research; Fiala wrote that he was trying to procure a licence to keep providing ARTag, with "success ... uncertain" 6.
- July 2010: journal paper. Fiala's Designing Highly Reliable Fiducial Markers appeared in IEEE Transactions on Pattern Analysis and Machine Intelligence 32(7), pp. 1317–1324 3.
Technical specification
Marker geometry. A marker is 10×10 units: a border 2 units thick around 36 interior cells, each black or white and carrying 1 bit 1. Both border polarities are used: 1001 markers have a black border on white and 1001 the reverse, giving 2002 markers 1.
ID space. IDs run 0–2047, an 11-bit number whose most significant bit selects the border polarity; the lower 10 bits are the sub-ID 1. IDs 682 and 1706 are excluded because sub-ID 682 encodes to an all-zero 36-bit word (a fully black or white interior, often found by chance); a further 44 IDs are not recommended because of low Hamming distance, e.g. sub-IDs 75 and 692 are only 4 bits apart when one is rotated 90° 1.
Encoding (sub-ID → 36 bits) 1:
| Stage | Operation |
|---|---|
| 1 | XOR the 10-bit sub-ID with a fixed mask (scrambles low IDs and makes ID 0 usable) |
| 2 | Convolve with the CRC-16 (CRC-CCITT) polynomial x¹⁶+x¹²+x⁵+1, binary 10001000000100001 |
| 3 | Forward-error-correction coding to the final 36-bit word |
The 26 bits beyond the 10-bit ID provide redundancy against false detection and misidentification and make the code unique across the four rotations 1. Decoding reverses this: the sampled 6×6 grid is read in all four rotations, each passes through FEC (which corrects up to N = 2 bit errors in the first release), then CRC deconvolution, whose remainder must be zero 1.
Error rates. Of the 2³⁶ (68.7 billion) possible interiors, FEC accepts 35.6% as correctable, but only about 5.34 million decode to a valid ARTag code, so a random quadrilateral has a 0.0078% (about 1 in 12,800) chance of a false positive 1. Fiala also published a recommended order for picking sub-IDs: the first 50 give a minimum Hamming distance of 12 between any two markers, the first 68 a minimum of 10 1.
Detection. ARTag finds quadrilateral borders with an edge-linking method rather than ARToolKit's global greyscale threshold, so it tolerates uneven lighting and a broken side or missing corner 1. The four corners define a homography used to sample the interior; the sampling threshold comes from intensities around the detected border 1. The four corners give the full 6-DOF marker-to-camera pose when the focal length is known 1.
Measured performance (Rev 1) 1:
| Metric | Result |
|---|---|
| Minimum marker width | ~13 px (full-resolution mode), ~26 px (half-resolution); 20 / 35 px for poor cameras |
| Vertex jitter | standard deviation ~0.05 px or less, similar to ARToolKit |
| Speed | ARToolKit ~3× faster than ARTag full-resolution with few patterns loaded; ARTag faster with large libraries (Pentium 4, 3.0 GHz, Windows 2000) |
Use cases
- Augmented reality. The NRC report and CVPR paper name AR as the primary use; ARTag's site describes hand-held "Magic Lens" and large-screen "Magic Mirror" systems using arrays of markers on objects or the environment 1, 2, 6.
- Robot navigation and pose measurement. Fiala lists robot navigation, position tracking and photo-modeling as applications wherever a camera–object pose is needed 1, 2.
- 3D user-interface teaching and games. Columbia University's Goblin XNA platform tracks 6-DOF pose through ARTag; Goblin v2 was used with web cameras and ARTag in the Spring 2007 course 3D User Interface Design (COMS W4172), and Goblin XNA's AR Racing Game uses a tracked physical gameboard 9.
- Presentation and kiosk interaction. Fiala published Presentation Assistant and Kiosk Interaction with Fiducial Markers at IEEE HAVE 2007 5.
Implementations & ecosystem
- NRC ARTag SDK (closed). The original implementation was a library distributed as a free download for evaluation and non-commercial use; it held the recommended-order tables as static arrays (
artag_recommended_order,artag_recommended_hd_order) 1. Rev 2 shipped for Windows, Linux and Mac OS X with OpenGL demos (basic_artag_opengl,2d_augmentations,3d_augmentations,artag_cad) and printable marker arrays 6. The AprilTag paper notes that ARTag's detector algorithm was never made public, calling its "closed nature ... a challenge" for evaluation 7. - Goblin XNA (Columbia University, C# on Microsoft XNA, released 30 Jan 2009) integrates ARTag tracking through OpenCV or DirectShow 9.
- No maintained open-source encoder or decoder for Fiala's code was found on GitHub. Repositories named "artag" often use a different marker system: astups/artag, for example, estimates "pose of AR tags" with ALVAR 12.
Fun facts
- Fiala's false-positive test footage included the film Blade Runner (Ridley Scott, 1982): ARTag declared no false markers in any frame of any test sequence 1.
- Wikipedia states that an ARTag appears on NASA's Curiosity rover 10. NASA's own caption for a Navcam mosaic of the rover deck describes an "augmented reality" or AR tag that "can be used in the future with smart phones to obtain more information about the mission", without naming the marker system 11.
Comparison
| ARTag | ARToolKit Marker | ARToolKitPlus (BCH) | AprilTag 36h10 | ArUco | |
|---|---|---|---|---|---|
| Interior | 6×6 bits | 16×16 (or 32×32) greyscale template | 6×6 bits | 6×6 bits | configurable |
| Identification | CRC-16 + FEC | correlation with stored prototypes | BCH code | lexicode, Hamming-distance lookup | generated dictionary |
| Distinct codes | 2046 (2002 recommended) | limited by confusion | 4096 | 2221 | configurable |
| Min. Hamming distance | 4 | n/a | 2 | 10 | depends on dictionary |
| Source | 1, 7 | 1 | 7 | 7 | 8 |
Versus ARToolKit. ARToolKit thresholds the image, then correlates the interior with stored prototypes (12 per marker to cover rotations and lighting); this needs per-camera pattern training, gives high false-positive and confusion rates, and slows as the library grows. ARTag needs no pattern files, detects under occlusion and uneven light, and in Fiala's test sequences declared no false markers in any frame, while ARToolKit did 1. ARToolKit kept two advantages: less jitter under de-focus and faster processing with few patterns loaded 1.
Versus AprilTag. Olson (2011) credits ARTag with "the first coding system based on forward error correction" and a gradient-based detector that tolerates partial border occlusion, but measured a higher false-positive rate for ARTag's coding than for AprilTag's 36h10 7. AprilTag's code and algorithms are open, whereas ARTag's were not 7.
Versus ArUco. Garrido-Jurado et al. (2014) note that ARTag's dictionary is fixed at 36 bits and corrects at most 2 bits; ArUco generates dictionaries for the application and, used on ARTag's 30-marker dictionary, could recover from 5-bit errors 8. In their tests ArUco's dictionaries matched or beat ARTag's recommended order on inter-marker distance 8.
Versus data barcodes. Fiala argues that Data Matrix, MaxiCode and QR Code carry data well but suit fiducial use poorly: they are not built for wide-angle perspective views, and Data Matrix's L-shaped locator gives three points where four are needed to correct perspective 1.
Status
Historic; no longer distributed. By February 2009 ARTag had been removed from NRC's download site and its commercial licensing was undecided 6. The open systems that followed, AprilTag (2011) and ArUco (2014), cite ARTag as prior work and report better coding performance 7, 8. The NRC Publications Archive record for the Rev 1 report now returns HTTP 410 Gone; a copy survives on a Carnegie Mellon University server 1.
Sources
- ARTag Revision 1, NRC 47419 — Mark Fiala, NRC Canada, accessed 2026
- ARTag, a Fiducial Marker System Using Digital Techniques — CVPR 2005, accessed 2026
- Designing Highly Reliable Fiducial Markers — IEEE TPAMI, accessed 2026
- Comparing ARTag and ARToolkit Plus Fiducial Marker Systems — IEEE HAVE 2005, accessed 2026
- Presentation Assistant and Kiosk Interaction with Fiducial Markers — IEEE HAVE 2007, accessed 2026
- ARTag (artag.net) — Mark Fiala, accessed 2026
- AprilTag: A robust and flexible visual fiducial system — Edwin Olson, accessed 2026
- Automatic generation and detection of highly reliable fiducial markers under occlusion — Pattern Recognition, accessed 2026
- Goblin XNA — Columbia University, accessed 2026
- ARTag — Wikipedia, accessed 2026
- PIA16027: Checking out the Rover Deck in Full Resolution — NASA/JPL-Caltech, accessed 2026
- astups/artag — GitHub, accessed 2026
Deployments
No country reports mention this standard by name.
Regions / aggregations not mapped to a single country
- Universal