Skip to main content

Crate webarkitlib_rs

Crate webarkitlib_rs 

Source
Expand description

§WebARKitLib-rs Core

webarkitlib-rs is the foundational library for the Rust port of WebARKitLib. It provides core computer vision algorithms for Augmented Reality, including:

  • Image processing and filtering
  • Thresholding and labeling
  • Marker detection and identification
  • Pose estimation and matrix calculations

§Example

use webarkitlib_rs::marker::ar_detect_marker;
// ... detection logic here

Modules§

ar2
AR2 Robust Tracking Module Ported and idiomatic Rust implementation of ARToolKit’s AR2 NFT tracking logic.
bch
icp
Iterative Closest Point (ICP) Data Structures and Methods Translated from ARToolKit C headers (icp.h, icpCore.h)
image_proc
Image Processing and Thresholding Utilities for WebARKitLib Translated from ARToolKit C headers (arImageProc.h, arImageProc.c)
labeling
Connected Component Labeling Utilities Translated from ARToolKit C headers (arLabeling.c, arLabelingSub.h)
marker
Marker Detection Pipeline Ported from arDetectMarker.c, arDetectMarker2.c, and arGetMarkerInfo.c
math
Matrix and Vector Data Structures for WebARKitLib Translated from ARToolKit C headers (matrix.h)
matrix
Matrix Code (Barcode) Marker Decoding Ported from arGetMatrixCode.c and associated ECC logic.
param
Parameter loading and manipulation utilities Translated from ARToolKit C headers (param.h)
pattern
Pattern Template matching logic Ported natively to safe Rust from arPattLoad.c and arPattGetID.c
pose
types
Core Data Structures for WebARKitLib Translated from ARToolKit C headers (ar.h, param.h, etc.)