JeVoisBase
1.22
JeVois Smart Embedded Machine Vision Toolkit Base Modules
|
|
Simple test of programming JeVois modules in Python. More...
Public Member Functions | |
__init__ (self) | |
Constructor. | |
init (self) | |
JeVois optional extra init once the instance is fully constructed. | |
processNoUSB (self, inframe) | |
Process function with no USB output. | |
process (self, inframe, outframe) | |
Process function with USB output. | |
processGUI (self, inframe, helper) | |
Process function with GUI output on JeVois-Pro. | |
parseSerial (self, str) | |
Parse a serial command forwarded to us by the JeVois Engine, return a string. | |
supportedCommands (self) | |
Return a string that describes the custom commands we support, for the JeVois help message. | |
hello (self) | |
Internal method that can get invoked by users from the JeVois console as a custom command. | |
uninit (self) | |
JeVois optional extra uninit before the instance is destroyed. | |
Public Attributes | |
frame | |
timer | |
cx | |
cy | |
radius | |
Simple test of programming JeVois modules in Python.
This module by default simply draws a cricle and a text message onto the grabbed video frames.
Feel free to edit it and try something else. Note that this module does not import OpenCV, see the PythonOpenCV for a minimal JeVois module written in Python that uses OpenCV.
See http://jevois.org/tutorials for tutorials on getting started with programming JeVois in Python without having to install any development software on your host computer.
Definition at line 28 of file PythonTest.py.
PythonTest.PythonTest.__init__ | ( | self | ) |
Constructor.
Definition at line 31 of file PythonTest.py.
PythonTest.PythonTest.hello | ( | self | ) |
Internal method that can get invoked by users from the JeVois console as a custom command.
Definition at line 131 of file PythonTest.py.
Referenced by PythonTest.PythonTest.parseSerial().
PythonTest.PythonTest.init | ( | self | ) |
JeVois optional extra init once the instance is fully constructed.
Definition at line 38 of file PythonTest.py.
PythonTest.PythonTest.parseSerial | ( | self, | |
str | |||
) |
Parse a serial command forwarded to us by the JeVois Engine, return a string.
Definition at line 117 of file PythonTest.py.
References PythonTest.PythonTest.hello().
PythonTest.PythonTest.process | ( | self, | |
inframe, | |||
outframe | |||
) |
Process function with USB output.
Definition at line 55 of file PythonTest.py.
References PythonTest.PythonTest.cx, PythonTest.PythonTest.cy, jevois.fccstr(), PythonTest.PythonTest.frame, and PythonTest.PythonTest.radius.
PythonTest.PythonTest.processGUI | ( | self, | |
inframe, | |||
helper | |||
) |
Process function with GUI output on JeVois-Pro.
Definition at line 92 of file PythonTest.py.
References PythonTest.PythonTest.cx, PythonTest.PythonTest.cy, PythonTest.PythonTest.radius, 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.
PythonTest.PythonTest.processNoUSB | ( | self, | |
inframe | |||
) |
Process function with no USB output.
Definition at line 50 of file PythonTest.py.
PythonTest.PythonTest.supportedCommands | ( | self | ) |
Return a string that describes the custom commands we support, for the JeVois help message.
Definition at line 125 of file PythonTest.py.
PythonTest.PythonTest.uninit | ( | self | ) |
JeVois optional extra uninit before the instance is destroyed.
Definition at line 136 of file PythonTest.py.
PythonTest.PythonTest.cx |
Definition at line 44 of file PythonTest.py.
Referenced by PythonTest.PythonTest.process(), and PythonTest.PythonTest.processGUI().
PythonTest.PythonTest.cy |
Definition at line 45 of file PythonTest.py.
Referenced by PythonTest.PythonTest.process(), and PythonTest.PythonTest.processGUI().
PythonTest.PythonTest.frame |
Definition at line 33 of file PythonTest.py.
Referenced by PythonTest.PythonTest.process().
PythonTest.PythonTest.radius |
Definition at line 46 of file PythonTest.py.
Referenced by PythonTest.PythonTest.process(), and PythonTest.PythonTest.processGUI().
PythonTest.PythonTest.timer |
Definition at line 34 of file PythonTest.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().