JeVois  1.20
JeVois Smart Embedded Machine Vision Toolkit
Share this page:
PythonTutorial2.PythonTutorial2 Class Reference

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

@displayname Python Tutorial 2 @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

Definition at line 27 of file PythonTutorial2.py.

Public Member Functions

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

Public Attributes

 timer
 

Constructor & Destructor Documentation

◆ __init__()

def PythonTutorial2.PythonTutorial2.__init__ (   self)

Constructor.

Definition at line 30 of file PythonTutorial2.py.

Member Function Documentation

◆ process()

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

Process function with USB output.

Definition at line 36 of file PythonTutorial2.py.

References PythonTutorial2.PythonTutorial2.timer.

Member Data Documentation

◆ timer


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