JeVoisBase  1.20
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 init (self)
 JeVois optional extra init once the instance is fully constructed. More...
 
def processNoUSB (self, inframe)
 Process function with no USB output. More...
 
def process (self, inframe, outframe)
 Process function with USB output. More...
 
def processGUI (self, inframe, helper)
 Process function with GUI output on JeVois-Pro. 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 can get invoked by users from the JeVois console as a custom command. More...
 
def uninit (self)
 JeVois optional extra uninit before the instance is destroyed. More...
 

Public Attributes

 frame
 
 timer
 
 cx
 
 cy
 
 radius
 

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

◆ init()

def PythonTest.PythonTest.init (   self)

JeVois optional extra init once the instance is fully constructed.

Definition at line 38 of file PythonTest.py.

◆ parseSerial()

def 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 PythonTutorial3::PythonTTutorial3.hello(), and PythonTest.PythonTest.hello().

◆ process()

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

◆ processGUI()

◆ processNoUSB()

def PythonTest.PythonTest.processNoUSB (   self,
  inframe 
)

Process function with no USB output.

Definition at line 50 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 125 of file PythonTest.py.

◆ uninit()

def PythonTest.PythonTest.uninit (   self)

JeVois optional extra uninit before the instance is destroyed.

Definition at line 136 of file PythonTest.py.

Member Data Documentation

◆ cx

PythonTest.PythonTest.cx

◆ cy

PythonTest.PythonTest.cy

◆ frame

PythonTest.PythonTest.frame

Definition at line 33 of file PythonTest.py.

Referenced by PythonTest.PythonTest.process().

◆ radius

PythonTest.PythonTest.radius

◆ timer

PythonTest.PythonTest.timer

Definition at line 34 of file PythonTest.py.

Referenced by PythonTest.PythonTest.processGUI().


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