Skip to content

A pure javascript implementation of april tag (36H11 family)

License

Notifications You must be signed in to change notification settings

rezaxdi/apriltagjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AprilTagJS : A pure javascript implementation of AprilTag

This implementation currently only supports 36H11 family and is under active developement so it is not recommended for production usage.

How to use ?

A working demo is available here : demo

AprilTagJS depends on opencv.js, so first you need to include it in your project. (Latest nightly builds are available here : opencv.js

let mat = cv.imread(imgSource);
detect(mat, (detections) => {
  detections.forEach((detection) => {
    console.log(detection.id);
    console.log(detection.hammingDistance);
    console.log(detection.points);
  });
});

About

A pure javascript implementation of april tag (36H11 family)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages