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

Simple example of image processing using OpenCV in Python on JeVois. More...

Public Member Functions

def __init__ (self)
 Constructor. More...
 
def process (self, inframe, outframe)
 Process function with USB output. More...
 
def __init__ (self)
 Constructor. More...
 
def process (self, inframe, outframe)
 Process function with USB output. More...
 

Public Attributes

 timer
 

Detailed Description

Simple example of image processing using OpenCV in Python on JeVois.

This module is here for you to experiment with Python OpenCV on JeVois.

By default, we get the next video frame from the camera as an OpenCV BGR (color) image named 'inimg'. We then apply some image processing to it to create an output BGR image named 'outimg'. We finally add some text drawings to outimg and send it to host over USB.

Author
Laurent Itti
Videomapping:
YUYV 352 288 30.0 YUYV 352 288 30.0 JeVois PythonSandbox
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

This module is here for you to experiment with Python OpenCV on JeVois.

By default, we get the next video frame from the camera as an OpenCV BGR (color) image named 'inimg'. We then apply some image processing to it to create an output BGR image named 'outimg'. We finally add some text drawings to outimg and send it to host over USB.

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 352 288 30.0 YUYV 352 288 30.0 JeVois PythonSandbox
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 26 of file PythonSandbox.py.

Constructor & Destructor Documentation

◆ __init__() [1/2]

def PythonSandbox.PythonSandbox.__init__ (   self)

Constructor.

Definition at line 29 of file PythonSandbox.py.

Referenced by PythonSandbox.PythonSandbox.__init__().

◆ __init__() [2/2]

def PythonSandbox.PythonSandbox.__init__ (   self)

Member Function Documentation

◆ process() [1/2]

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

◆ process() [2/2]

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

Member Data Documentation

◆ timer

PythonSandbox.PythonSandbox.timer

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