Skip to content

This is a simple python binding of Stag Fiducial Marker Detection System

License

Notifications You must be signed in to change notification settings

Sologala/pyStag

Repository files navigation

This is a simple python binding of Stag Fiducial Marker System

Install

1.clone this repository

git clone --recursive https://github.com/Sologala/pyStag.git

2.Build with python setup.py

python setup.py develop

The above command line will build pyStag at local folder. Alternatively, you can install it by

python setup.py install --record manifest.txt

It will record all installed file in manifest.txt

Uninstall

xargs  rm < manifest.txt

Or, you can use pip

pip uninstall pyStag

Test and Usage

python test_warpper.py

The script will detect 00003.png and place its detection result at img-res.png

target-img

target-img

PS.

Now, this is just a prototype for warpping Stag system. It has only few attributes and interfaces, and function, And I will add some more in the future.

thank to edmBernard's work https://github.com/edmBernard/pybind11_opencv_numpy, let the conversion between numpy and cv::Mat works fine.

STag: A Stable Fiducial Marker System

Code used in the following paper:

B. Benligiray; C. Topal; C. Akinlar, "STag: A Stable Fiducial Marker System," Image and Vision Computing (Accepted), 2019.

Markers (see ref/marker generator for reference code for marker generation):

https://drive.google.com/drive/folders/0ByNTNYCAhWbIV1RqdU9vRnd2Vnc

ROS Package

Supplementary Video

Some figures from the paper:

About

This is a simple python binding of Stag Fiducial Marker Detection System

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages