ArUcoPatternMaker

Author: Stephen Thompson
ArUcoPatternMaker is part of the SciKit-Surgery software project, developed at the Wellcome EPSRC Centre for Interventional and Surgical Sciences, part of University College London (UCL).
AruCoPatternMaker seems to be derived from arucomarker.py
ArUcoPatternMaker supports Python 2.7 and Python 3.6.
python arucopatternmaker.py python arucopatternmaker.py
Developing
Cloning
You can clone the repository using the following command:
git clone https://github.com/SciKit-Surgery/ArUcoPatternMaker
Running tests
Pytest is used for running unit tests:
pip install pytest
python -m pytest
Linting
This code conforms to the PEP8 standard. Pylint can be used to analyse the code:
pip install pylint
pylint --rcfile=tests/pylintrc arucopatternmaker
Installing
You can pip install directly from the repository as follows:
pip install git+https://github.com/SciKit-Surgery/ArUcoPatternMaker
Contributing
Please see the contributing guidelines.
Useful links
Licensing and copyright
Copyright 2020 University College London. ArUcoPatternMaker is released under the BSD-3 license. Please see the license file for details.
Acknowledgements
Supported by Wellcome and EPSRC.
Requirements for ArUcoPatternMaker
This is the software requirements file for ArUcoPatternMaker, part of the SNAPPY project. The requirements listed below should define what ArUcoPatternMaker does. Each requirement can be matched to a unit test that checks whether the requirement is met.
Requirements
ID |
Description |
Test |
---|---|---|
0000 |
Module has a help page |
pylint, see tests/pylint.rc and tox.ini |
0001 |
Functions are documented |
pylint, see tests/pylint.rc and tox.ini |
0002 |
Package has a version number |
No test yet, handled by git. |
latest
arucopatternmaker package
Subpackages
arucopatternmaker.algorithms package
Algorithms for the ArUco pattern maker application
- arucopatternmaker.algorithms.algorithms.draw_marker(ctx, id10, tag_width, tag_height, pos_x, pos_y, marker_colour=None, page_offset=None)[source]
draws an ArUco marker on the canvas
- Parameters
ctx – the canvas context to draw on
id10 – the marker id to draw in base 10
tag_width – The marker width
tag_height – The marker height
pos_x – The marker centre (horizontal)
pos_y – The marker centre (vertical)
marker_colour – The marker colour to use, default black
- Returns
a string defining the marker for a reference file
arucopatternmaker.ui package
ArUcoPatternMaker
Module contents
ArUcoPatternMaker