JeVois
1.20
JeVois Smart Embedded Machine Vision Toolkit
|
|
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.
@displayname Python Tutorial 3 @videomapping YUYV 640 480 15.0 YUYV 640 480 15.0 JeVois PythonTutorial3 @email itti@usc.edu @address University of Southern California, HNB-07A, 3641 Watt Way, Los Angeles, CA 90089-2520, USA
Definition at line 24 of file PythonTutorial3.py.
Public Member Functions | |
def | __init__ (self) |
Constructor. More... | |
def | processNoUSB (self, inframe) |
Process function with no USB output. More... | |
def | process (self, inframe, outframe) |
Process function with USB output. More... | |
def | parseSerial (self, str) |
Parse a serial command forwarded to us by the JeVois Engine, return a string. More... | |
def | supportedCommands (self) |
Return a string that describes the custom commands we support, for the JeVois help message. More... | |
def | hello (self) |
Internal method that gets invoked as a custom command. More... | |
Public Attributes | |
frame | |
def PythonTutorial3.PythonTTutorial3.__init__ | ( | self | ) |
Constructor.
Definition at line 27 of file PythonTutorial3.py.
def PythonTutorial3.PythonTTutorial3.hello | ( | self | ) |
Internal method that gets invoked as a custom command.
Definition at line 87 of file PythonTutorial3.py.
Referenced by PythonTutorial3.PythonTTutorial3.parseSerial(), and PyModule.__MODULE__.processNoUSB().
def PythonTutorial3.PythonTTutorial3.parseSerial | ( | self, | |
str | |||
) |
Parse a serial command forwarded to us by the JeVois Engine, return a string.
Definition at line 73 of file PythonTutorial3.py.
References PythonTutorial3.PythonTTutorial3.hello().
def PythonTutorial3.PythonTTutorial3.process | ( | self, | |
inframe, | |||
outframe | |||
) |
Process function with USB output.
Definition at line 39 of file PythonTutorial3.py.
References jevois.fccstr(), and PythonTutorial3.PythonTTutorial3.frame.
def PythonTutorial3.PythonTTutorial3.processNoUSB | ( | self, | |
inframe | |||
) |
Process function with no USB output.
Definition at line 34 of file PythonTutorial3.py.
def PythonTutorial3.PythonTTutorial3.supportedCommands | ( | self | ) |
Return a string that describes the custom commands we support, for the JeVois help message.
Definition at line 81 of file PythonTutorial3.py.
PythonTutorial3.PythonTTutorial3.frame |
Definition at line 30 of file PythonTutorial3.py.
Referenced by PythonTutorial3.PythonTTutorial3.process(), and PyModule.__MODULE__.processNoUSB().