This is a simple python binding of Stag Fiducial Marker System
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
xargs rm < manifest.txt
Or, you can use pip
pip uninstall pyStag
python test_warpper.py
The script will detect 00003.png
and place its detection result at img-res.png
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.
Code used in the following paper:
Markers (see ref/marker generator
for reference code for marker generation):
https://drive.google.com/drive/folders/0ByNTNYCAhWbIV1RqdU9vRnd2Vnc
-
STag ROS: A ROS package for the Stable Fiducial Marker System by Unmanned Systems & Robotics Lab - UofSC
-
ROS wrapper for STag by Dartmouth Reality and Robotics Lab
Some figures from the paper: