JeVoisBase
1.21
JeVois Smart Embedded Machine Vision Toolkit Base Modules
|
|
Detect apriltag robotic fiducial markers in Python. More...
Public Member Functions | |
__init__ (self) | |
Constructor. | |
init (self) | |
JeVois optional extra init once the instance is fully constructed. | |
setDic (self, dicname) | |
processNoUSB (self, inframe) | |
Process function with no USB output. | |
processGUI (self, inframe, helper) | |
Process function with GUI output on JeVois-Pro. | |
Public Attributes | |
timer | |
families | |
detector | |
pc | |
dic | |
setDic | |
options | |
Detect apriltag robotic fiducial markers in Python.
This module detects apriltag markers, which are small 2D barcode-like patterns used in many robotics applications. The code here is derived from https://pyimagesearch.com/2020/11/02/apriltag-with-python/
On host, make sure the apriltag library is installed with 'pip install apriltag'; it is pre-installed on platform.
If you need full 3D pose revovery, see our other module DemoArUco, which also supports AprilTag.
Definition at line 32 of file AprilTag.py.
AprilTag.AprilTag.__init__ | ( | self | ) |
Constructor.
Definition at line 35 of file AprilTag.py.
AprilTag.AprilTag.init | ( | self | ) |
JeVois optional extra init once the instance is fully constructed.
Definition at line 43 of file AprilTag.py.
AprilTag.AprilTag.processGUI | ( | self, | |
inframe, | |||
helper | |||
) |
Process function with GUI output on JeVois-Pro.
Definition at line 81 of file AprilTag.py.
References AprilTag.AprilTag.detector, PySceneText.PySceneText.detector, PythonObject6D.PythonObject6D.detector, AprilTag.AprilTag.timer, FirstPython.FirstPython.timer, PyClassificationDNN.PyClassificationDNN.timer, PyCoralClassify.PyCoralClassify.timer, PyCoralDetect.PyCoralDetect.timer, PyCoralSegment.PyCoralSegment.timer, PyDetectionDNN.PyDetectionDNN.timer, PyDMTX.PyDMTX.timer, PyEmotion.PyEmotion.timer, PyFaceMesh.PyFaceMesh.timer, PyHandDetector.PyHandDetector.timer, PyLicensePlate.PyLicensePlate.timer, PyObjectron.PyObjectron.timer, PyPoseDetector.PyPoseDetector.timer, PySceneText.PySceneText.timer, PySelfie.PySelfie.timer, PythonObject6D.PythonObject6D.timer, PythonOpenCV.PythonOpenCV.timer, PythonParallel.PythonParallel.timer, PythonSandbox.PythonSandbox.timer, and PythonTest.PythonTest.timer.
AprilTag.AprilTag.processNoUSB | ( | self, | |
inframe | |||
) |
Process function with no USB output.
Definition at line 67 of file AprilTag.py.
References AprilTag.AprilTag.detector, PySceneText.PySceneText.detector, and PythonObject6D.PythonObject6D.detector.
AprilTag.AprilTag.setDic | ( | self, | |
dicname | |||
) |
Definition at line 53 of file AprilTag.py.
References AprilTag.AprilTag.detector, PySceneText.PySceneText.detector, and PythonObject6D.PythonObject6D.detector.
AprilTag.AprilTag.detector |
Definition at line 39 of file AprilTag.py.
Referenced by AprilTag.AprilTag.processGUI(), PySceneText.PySceneText.processGUI(), AprilTag.AprilTag.processNoUSB(), and AprilTag.AprilTag.setDic().
AprilTag.AprilTag.dic |
Definition at line 47 of file AprilTag.py.
AprilTag.AprilTag.families |
Definition at line 38 of file AprilTag.py.
AprilTag.AprilTag.options |
Definition at line 56 of file AprilTag.py.
AprilTag.AprilTag.pc |
Definition at line 45 of file AprilTag.py.
AprilTag.AprilTag.setDic |
Definition at line 49 of file AprilTag.py.
AprilTag.AprilTag.timer |
Definition at line 37 of file AprilTag.py.
Referenced by FirstPython.FirstPython.process(), PyClassificationDNN.PyClassificationDNN.process(), PyCoralClassify.PyCoralClassify.process(), PyCoralDetect.PyCoralDetect.process(), PyCoralSegment.PyCoralSegment.process(), PyDetectionDNN.PyDetectionDNN.process(), PyDMTX.PyDMTX.process(), PythonObject6D.PythonObject6D.process(), PythonOpenCV.PythonOpenCV.process(), PythonParallel.PythonParallel.process(), PythonSandbox.PythonSandbox.process(), AprilTag.AprilTag.processGUI(), PyCoralClassify.PyCoralClassify.processGUI(), PyCoralDetect.PyCoralDetect.processGUI(), PyCoralSegment.PyCoralSegment.processGUI(), PyFaceMesh.PyFaceMesh.processGUI(), PyHandDetector.PyHandDetector.processGUI(), PyLicensePlate.PyLicensePlate.processGUI(), PyObjectron.PyObjectron.processGUI(), PyPoseDetector.PyPoseDetector.processGUI(), PySceneText.PySceneText.processGUI(), PySelfie.PySelfie.processGUI(), PythonOpenCV.PythonOpenCV.processGUI(), PythonSandbox.PythonSandbox.processGUI(), PythonTest.PythonTest.processGUI(), FirstPython.FirstPython.processNoUSB(), PythonObject6D.PythonObject6D.processNoUSB(), and PythonSandbox.PythonSandbox.processNoUSB().