JeVois
1.20
JeVois Smart Embedded Machine Vision Toolkit
|
|
SYNOPSIS
This module is here for you to experiment with Python OpenCV on JeVois and JeVois-Pro.
By default, we get the next video frame from the camera as an OpenCV BGR (color) image named 'inimg'. We then apply some image processing to it to create an overlay in Pro/GUI mode, an output BGR image named 'outimg' in Legacy mode, or no image in Headless mode.
Which mode is activated depends on which VideoMapping was selected by the user. The VideoMapping specifies camera format and framerate, and what kind of mode and output format to use.
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.
@videomapping VIDEOMAPPING @email EMAIL @address fixme
Definition at line 45 of file PyModule.py.
Public Member Functions | |
def | __init__ (self) |
Constructor. More... | |
def | process (self, inframe, outframe) |
Process function with USB output (Legacy mode): More... | |
def | processGUI (self, inframe, helper) |
Process function with GUI output (JeVois-Pro mode): More... | |
def | processNoUSB (self, inframe) |
Process function with no USB output (Headless mode): More... | |
Public Attributes | |
timer | |
dict | |
params | |
def PyModule.__MODULE__.__init__ | ( | self | ) |
Constructor.
Definition at line 48 of file PyModule.py.
Referenced by PyModule.__MODULE__.processNoUSB().
def PyModule.__MODULE__.process | ( | self, | |
inframe, | |||
outframe | |||
) |
Process function with USB output (Legacy mode):
Definition at line 58 of file PyModule.py.
References PyModule.__MODULE__.dict, PyModule.__MODULE__.params, jevois::Engine::DemoData.params, PythonTutorial2.PythonTutorial2.timer, and PyModule.__MODULE__.timer.
Referenced by PyModule.__MODULE__.processNoUSB().
def PyModule.__MODULE__.processGUI | ( | self, | |
inframe, | |||
helper | |||
) |
Process function with GUI output (JeVois-Pro mode):
Definition at line 103 of file PyModule.py.
References PyModule.__MODULE__.dict, PyModule.__MODULE__.params, jevois::Engine::DemoData.params, PythonTutorial2.PythonTutorial2.timer, and PyModule.__MODULE__.timer.
def PyModule.__MODULE__.processNoUSB | ( | self, | |
inframe | |||
) |
Process function with no USB output (Headless mode):
Definition at line 163 of file PyModule.py.
References PyModule.__MODULE__.__init__(), PyModule.__MODULE__.dict, jevois.fccstr(), PythonTutorial3.PythonTTutorial3.frame, PythonTutorial3.PythonTTutorial3.hello(), PyModule.__MODULE__.params, jevois::Engine::DemoData.params, PyModule.__MODULE__.process(), PythonTutorial2.PythonTutorial2.timer, and PyModule.__MODULE__.timer.
PyModule.__MODULE__.dict |
Definition at line 53 of file PyModule.py.
Referenced by PyModule.__MODULE__.process(), PyModule.__MODULE__.processGUI(), and PyModule.__MODULE__.processNoUSB().
PyModule.__MODULE__.params |
Definition at line 54 of file PyModule.py.
Referenced by PyModule.__MODULE__.process(), PyModule.__MODULE__.processGUI(), and PyModule.__MODULE__.processNoUSB().
PyModule.__MODULE__.timer |
Definition at line 50 of file PyModule.py.
Referenced by PyModule.__MODULE__.process(), PyModule.__MODULE__.processGUI(), and PyModule.__MODULE__.processNoUSB().