Skip to content

JojiJoseph/Aruco-Detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aruco Detector

Convert OpenCV aruco dictionaries to custom dictionaries

python3 convert_dicts.py

Then run test program

python3 aruco.py

How It Works?

- First, detect edges using adaptive threshold and extract contours
- Then, convert contours to polygons using Douglas–Peucker algorithm
- Extract patches enclosed by 4 corner polygons, and remap each patch to a rectange
- For each such rectangle patch, divide it to grid and assign bits to each cell
- For each bitmap, check if it is in aruco marker dictionary. Consider the pattern valid if it is present in the dictionary

Sample Output

Input Image

Input image

Output Image

Input image

About

Aruco marker detection from scratch.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages