Skip to content

A small JavaScript library for detect ArUco markers on images.

License

Notifications You must be signed in to change notification settings

pyrooka/aruco-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArUco Detector

ArUco Detector is a JavaScript library for detecting ArUco markers. You can detect markers in various sizes with this one.

Highly based on Juan Mellado's code.

I'm planning to rewrite the rest of the code for

  • readability
  • better comments
  • better performance

but this is highly depends on my spare time.

Note

The ID of a recognized marker won't be the same as in the native ArUco library. So before you use this, check your marker's ID in with the lib.

There is no pose estimation yet.

Usage

// Define the patterns.
const patterns = [
  [1, 0, 1],
  [1, 1, 1],
]

// Create a Detector object whit them.
const detector = new Detector(patterns)

// Call the object's detect function with an image.
// Returns an array of Marker object.
const markers = detector.detect(image)

Demo picture

demo-picture

About

A small JavaScript library for detect ArUco markers on images.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published