JeVois  1.16
JeVois Smart Embedded Machine Vision Toolkit
Share this page:
PythonTutorial3.PythonTTutorial3 Class Reference

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.

Author
Laurent Itti

@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
 

Constructor & Destructor Documentation

◆ __init__()

def PythonTutorial3.PythonTTutorial3.__init__ (   self)

Constructor.

Definition at line 27 of file PythonTutorial3.py.

Member Function Documentation

◆ hello()

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().

◆ parseSerial()

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 jevois::dnn::postprocessor.format, and PythonTutorial3.PythonTTutorial3.hello().

◆ process()

def PythonTutorial3.PythonTTutorial3.process (   self,
  inframe,
  outframe 
)

Process function with USB output.

Definition at line 39 of file PythonTutorial3.py.

References jevois.fccstr(), jevois::dnn::postprocessor.format, and PythonTutorial3.PythonTTutorial3.frame.

◆ processNoUSB()

def PythonTutorial3.PythonTTutorial3.processNoUSB (   self,
  inframe 
)

Process function with no USB output.

Definition at line 34 of file PythonTutorial3.py.

◆ supportedCommands()

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.

Member Data Documentation

◆ frame

PythonTutorial3.PythonTTutorial3.frame

The documentation for this class was generated from the following file: