JeVoisBase  1.16
JeVois Smart Embedded Machine Vision Toolkit Base Modules
Share this page:
PythonTest.PythonTest Class Reference

Simple test of programming JeVois modules in Python. More...

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
 

Detailed Description

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.

Author
Laurent Itti
Videomapping:
YUYV 640 480 15.0 YUYV 640 480 15.0 JeVois PythonTest
Email:
itti@usc.edu
Address:
University of Southern California, HNB-07A, 3641 Watt Way, Los Angeles, CA 90089-2520, USA
Main URL:
http://jevois.org
Support URL:
http://jevois.org/doc
Other URL:
http://iLab.usc.edu
License:
GPL v3
Distribution:
Unrestricted
Restrictions:
None

Definition at line 28 of file PythonTest.py.

Constructor & Destructor Documentation

◆ __init__()

def PythonTest.PythonTest.__init__ (   self)

Constructor.

Definition at line 31 of file PythonTest.py.

Member Function Documentation

◆ hello()

def PythonTest.PythonTest.hello (   self)

Internal method that gets invoked as a custom command.

Definition at line 92 of file PythonTest.py.

Referenced by PythonTest.PythonTest.parseSerial().

◆ parseSerial()

def PythonTest.PythonTest.parseSerial (   self,
  str 
)

Parse a serial command forwarded to us by the JeVois Engine, return a string.

Definition at line 78 of file PythonTest.py.

References PythonTutorial3::PythonTTutorial3.hello(), and PythonTest.PythonTest.hello().

◆ process()

def PythonTest.PythonTest.process (   self,
  inframe,
  outframe 
)

Process function with USB output.

Definition at line 43 of file PythonTest.py.

References jevois.fccstr(), PythonTutorial3::PythonTTutorial3.frame, and PythonTest.PythonTest.frame.

◆ processNoUSB()

def PythonTest.PythonTest.processNoUSB (   self,
  inframe 
)

Process function with no USB output.

Definition at line 38 of file PythonTest.py.

◆ supportedCommands()

def PythonTest.PythonTest.supportedCommands (   self)

Return a string that describes the custom commands we support, for the JeVois help message.

Definition at line 86 of file PythonTest.py.

Member Data Documentation

◆ frame

PythonTest.PythonTest.frame

Definition at line 34 of file PythonTest.py.

Referenced by PythonTest.PythonTest.process().


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