junwangcas / apriltag_generator

Generate AprilTags in custom layouts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AprilTags Generator

Images of all tags from all the pre-generated AprilTag 3 families. You can generate your own layouts or images of tags.


How to use


Setup

$ sudo apt install python-pyx

Generate 1x1 AprilTag

$ python ./make_tag.py --nx 1 --ny 1 --marginx 0.00 --marginy 0.00 --tsize 0.16 --tspace 0.0 --startid 0 --tfam t36h11 --borderbits 1

Generate 2x2 AprilTags

$ python ./make_tag.py --nx 2 --ny 2 --marginx 0.00 --marginy 0.00 --tsize 0.08 --tspace 0.1 --startid 0 --tfam t36h11 --borderbits 1

Convert svg to png

inkscape -f pattern1.svg -e pattern1.png -y 1.0

About

Generate AprilTags in custom layouts


Languages

Language:Python 99.2%Language:MATLAB 0.8%