GithubHelp home page GithubHelp logo

alan0526 / apriltaggenerator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wangdongustc/apriltaggenerator

0.0 0.0 0.0 46 KB

An AprilTag based Camera Calibration Board Vectorgraph Pattern Generator Based on Qt

License: BSD 2-Clause "Simplified" License

C++ 96.29% CMake 3.71%

apriltaggenerator's Introduction

AprilTagGenerator

PDF or SVG, Vectorgraph, with GUI

An AprilTag based Camera Calibration Board Vectorgraph Pattern Generator Based on Qt

id_0-8_size_40.00cmx40.00cm

download id_0-8_size_40.00cmx40.00cm.svg

download id_0-8_size_40.00cmx40.00cm.pdf

!!! Important Notice !!!

By default the black border size of each tag is set to 2. This might cause failure of detections for most apriltag detection implementations.

You can use this repo to detect such tags: huangqinjin/apriltags. The reason to use 2 as the border size can be found in this issue: wangdongustc#2.

Prerequest

Apriltags cpp library (originally from MIT): huangqinjin/apriltags or wangdongustc/apriltags

You might need OpenCV when building the apriltags library, but actually this project only uses the header files of the apriltags library.

Qt5 Widgets, Svg and Gui are needed to show the GUI and generate the SVG or PDF Vectorgraph Pattern (sudo apt install qt5-default should work on Ubuntu Linux).

Also this project uses cmake to manage the building process.

Build and Run

Run the following in your favorite shell, then things should work if no error happens:

cd path/to/this/project
mkdir build
cd build 
cmake ..
make -j4
./AprilTagGenerator

Notice

Tags are arranged in a way that the start id comes in the bottom-left corner and the id increases from left to right and from rows to cols.

e.g. a 3x3 tag pattern starting from id 0 is arranged in the following way:

6 7 8
3 4 5
0 1 2

"Unit" means the smallest unit in the tag

"Border" means the most outer black border of each tag

"Corner Box" means the black boxes on the corner of the tags between them

"Padding" means the space between the edge of the entire painting and the tags

"DPI" means Dots Per Inch, on default it was set to 254 to make the output size looks better in cm. But one can always easily change the scale before printing.

apriltaggenerator's People

Contributors

wangdongustc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.