Source-linked AI summary

UltraArUco: A Lightweight Multilingual Library And Framework With Low-Latency Real-Time Marker-Based Tracking System For Mobile AR Interaction

Mikhail Kiselev, Aleksandr Marukhin, Ivan Snegirev, Elizaveta Semenyakina, Miguel Altamirano Cabrera, Dzmitry Tsetserukou

arXiv:2608.13584v1cs.HCcs.AIcs.CV

TL;DR

Marker-based AR tracking faces latency and computational bottlenecks on resource-constrained mobile devices. UltraArUco addresses this with an optimized multilingual library and distributed mobile-to-PC architecture, achieving 5× faster detection than OpenCV and 93% detection accuracy in an interactive piano application.

  • Problem

    Standard OpenCV marker detection remains computationally demanding on resource-constrained mobile devices, limiting marker-based AR systems because of latency concerns.

  • Method

    UltraArUco combines an optimized multilingual FFI library with mobile marker tracking and Wi-Fi streaming to a Unity visualization application.

  • Results

    5× faster detection than OpenCV was achieved while maintaining sub-50ms end-to-end latency and 93% detection accuracy in the piano application.

  • Takeaways & Limitations

    The framework supports responsive AR music interaction using printed markers and a smartphone without specialized hardware.

  • Takeaways & Limitations

    The system requires clear camera line-of-sight, and rapid hand movements above 0.5 m/s occasionally cause tracking loss.

Abstract

from arXiv · show

UltraArUco - a lightweight multilingual library and framework for low-latency, real-time marker-based tracking in mobile augmented reality. Unlike standard OpenCV-based implementations, UltraArUco introduces an optimized multilingual wrapper that reduces per-frame latency by five times, while maintaining high accuracy. Distributed Wi-Fi architecture provides portability, connects a mobile device (camera input) with a PC-based visual application, enabling responsive interactions. The framework is validated through an interactive piano simulation, where static ArUco markers on keys enable occlusion-based note triggering, and hand-mounted markers provide spatial gesture recognition. UltraArUco's system requirements make it perfect for resource-constrained mobile AR applications, demonstrating a viable AR music application without specialized equipment.

1 INTRODUCTION

The introduction presents UltraArUco as a lightweight multilingual framework addressing OpenCV ArUco’s mobile computational bottlenecks through optimized integration and distributed real-time AR tracking. It validates the approach with an interactive piano application using marker-based gesture and hand-position tracking without specialized hardware.

  • Motivation: OpenCV ArUco creates computational bottlenecks on resource-constrained mobile devices because its general-purpose algorithms are not specifically optimized for square fiducial markers.The introduction identifies mobile real-time performance as the critical constraint.
  • Related work: 6.5× speedup over OpenCV was achieved by ArUco Nano, but its C++ implementation lacks native bindings for modern application development frameworks.The lack of bindings limits accessibility for rapid AR prototyping, and the library had not previously been tested on real-world data.
  • Contribution: UltraArUco introduces a lightweight multilingual library and framework that applies faster-than-OpenCV ArUco recognition to a real-world musical AR application.The demonstrated application focuses on piano playing with ArUco markers.
  • Multilingual FFI Wrapper: A C-based dynamic library uses Foreign Function Interface integration with Flutter, Python, C#, Java, and Node.js while preserving ArUco Nano’s performance advantages through custom optimization.The wrapper supports cross-platform development.
  • Distributed AR Architecture: A Wi-Fi pipeline connects a mobile device for camera capture and marker detection with a PC-based Unity application for 3D rendering and visualization, enabling low-latency real-time tracking.The architecture targets immersive entertainment experiences.
  • Interactive Piano Demonstration: Physical ArUco markers on piano keys and hands enable occlusion-based spatial gesture recognition and hand-position tracking without specialized hardware.The demonstration validates correlation between real and visualized music-note positions and does not require a real piano.

2 RELATED WORK

Prior marker-tracking systems established robust fiducial detection, while newer methods improved speed or noise resistance with trade-offs. Mobile AR music applications still face performance and latency limitations, motivating UltraArUco’s lightweight marker-based approach.

  • Marker-based tracking: 6.5× speedup was achieved by ArUco Nano through algorithmic innovations, while AprilTags improved noise resistance but reduced recognition speed.ArUco introduced configurable dictionaries with maximized inter-marker distance and robust occlusion handling, becoming standard for camera pose estimation.
  • Mobile AR tracking: 10-15 FPS or lower is typical for OpenCV’s ArUco module on mid-range smartphones with a couple of markers, versus 30+ FPS on ten or more markers for smooth interaction.ARCore and ARKit provide markerless SLAM and plane detection but lack fiducial markers’ precision for fine-grained interaction.
  • AR music applications: Marker-based systems offer a lightweight alternative for AR music applications, but latency concerns and rapid piano-finger movements have limited adoption.Existing approaches often require specialized hardware such as depth cameras or motion capture, or use markerless tracking that struggles with rapid finger movements.

3 SYSTEM ARCHITECTURE

UltraArUco combines a mobile marker-tracking application, printed ArUco markers, and a Unity 3D visualization engine connected through local-network streaming. Its C-wrapper architecture and optimized mobile pipeline support real-time detection, transmission, and interactive scene reconstruction.

  • System Components: The architecture integrates printed ArUco markers, a mobile application with an optimized multilingual detection library, and a Unity 3D visualization application.The mobile device tracks markers and occlusion, then streams extracted spatial coordinates to Unity for immersive visualization.
  • Native Library Interface: UltraArUco wraps the ArUco Nano C++ core in a minimal C API exposed through dynamic shared libraries, while preserving configurable detector parameters.The API includes detector creation, destruction, and marker detection with image data, marker IDs, corners, marker limits, and processing time.
  • Performance Optimization: The library retains ArUco Nano optimizations including Rmax noise rejection, Smin box filtering with 1.2× speedup over adaptive thresholding, and Visited-Aware contour extraction.Compiler evaluation selected −O2, which delivered 2.51× speedup over baseline −O0 while maintaining numerical stability.
  • Real-Time Interaction: 35ms average end-to-end latency from capture through Unity rendering remains within the 100ms threshold for perceived real-time interaction.Unity reconstructs the scene using one piano anchor, two hand trackers, and 18 musical key markers, with occlusion detection triggering note playback.

4 EXPERIMENTS

Experiments validated UltraArUco on mobile and PC hardware over Wi‑Fi 6, comparing its marker-detection performance with OpenCV and evaluating an interactive piano proof of concept. The system achieved low-latency, stable tracking, while line-of-sight, rapid movement, and marker-count constraints remained limitations.

  • Experimental setup: UltraArUco was validated on Snapdragon 8 Gen 3 and MediaTek Helio G96 Android devices connected to an Intel i7-12500 PC over Wi‑Fi 6.The setup used 5GHz Wi‑Fi with < 10ms roundtrip latency and 4×4 markers with 21 unique IDs.
  • Detection performance: 3.0 ms per frame at 1280×720 enabled 30+ FPS detection and represented a 6.7× speedup over OpenCV for one marker.Measurements compared both methods on the same marker over five minutes of continuous testing.
  • Performance stability: UltraArUco provided more stable timing with standard-deviation variation of ±0.5σ and enlarged available RAM by up to 250 Mb while CPU temperatures remained similar at 40°C.Figure 3 monitored performance stability for more than five minutes on Snapdragon 8 Gen 3.
  • Interactive piano evaluation: The interactive piano proof of concept with two participants evaluated real-time single-note and multi-note chord interactions using marker-based gesture recognition.Participants included one experienced piano player and one novice.
  • Limitations: The system required clear camera-to-marker line of sight, occasionally lost tracking above 0.5 m/s hand speed, and its 21-marker configuration limited play to two octaves.Extending coverage to the full 88-key piano could require greater mobile power efficiency and might slow detection.

5 CONCLUSION AND FUTURE WORK

UltraArUco enables responsive marker-based AR interaction on commodity mobile hardware through optimized detection, multilingual integration, and distributed Wi-Fi architecture. The validated piano application demonstrates practical accuracy and portability, while future work targets broader applications and further optimization.

  • Conclusion: 5× faster detection than OpenCV with sub-50ms end-to-end latency enables real-time interaction on commodity mobile hardware.The result combines ArUco Nano algorithmic innovations, a multilingual FFI wrapper, and distributed Wi-Fi architecture.
  • Conclusion: 93% detection accuracy validates the piano application’s intuitive, robust occlusion-based interaction using printed markers and a smartphone.The application supports AR music entertainment and other fast-recognition use cases without specialized equipment.
  • Conclusion: High-speed marker detection supports low-latency motion capture and real-time mechanics transfer for rehabilitation, surgical simulation, musical education, and sports-performance analysis.The paper identifies these capabilities as foundations for next-generation VR/AR training systems requiring immediate response.
  • Future Work: Future work will adapt UltraArUco to surgical training, industrial assembly, and broader application domains.Proposed examples include marker-based instrument tracking and AR-guided procedures.
  • Conclusion: UltraArUco is released as open-source software with documentation, precompiled binaries, and example projects.These materials support access to the framework and its sample implementations.
Loading 2608.13584v1…