JeVoisBase  1.21
JeVois Smart Embedded Machine Vision Toolkit Base Modules
Share this page:
Loading...
Searching...
No Matches
PythonTest.PythonTest Class Reference

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

Public Member Functions

 __init__ (self)
 Constructor.
 
 init (self)
 JeVois optional extra init once the instance is fully constructed.
 
 processNoUSB (self, inframe)
 Process function with no USB output.
 
 process (self, inframe, outframe)
 Process function with USB output.
 
 processGUI (self, inframe, helper)
 Process function with GUI output on JeVois-Pro.
 
 parseSerial (self, str)
 Parse a serial command forwarded to us by the JeVois Engine, return a string.
 
 supportedCommands (self)
 Return a string that describes the custom commands we support, for the JeVois help message.
 
 hello (self)
 Internal method that can get invoked by users from the JeVois console as a custom command.
 
 uninit (self)
 JeVois optional extra uninit before the instance is destroyed.
 

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

PythonTest.PythonTest.__init__ (   self)

Constructor.

Definition at line 31 of file PythonTest.py.

Member Function Documentation

◆ hello()

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

PythonTest.PythonTest.init (   self)

JeVois optional extra init once the instance is fully constructed.

Definition at line 38 of file PythonTest.py.

◆ parseSerial()

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

◆ process()

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

Process function with USB output.

Definition at line 55 of file PythonTest.py.

References PythonTest.PythonTest.cx, PythonTest.PythonTest.cy, jevois.fccstr(), PythonTest.PythonTest.frame, and PythonTest.PythonTest.radius.

◆ processGUI()

◆ processNoUSB()

PythonTest.PythonTest.processNoUSB (   self,
  inframe 
)

Process function with no USB output.

Definition at line 50 of file PythonTest.py.

◆ supportedCommands()

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

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


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