JeVois
1.20
JeVois Smart Embedded Machine Vision Toolkit
|
|
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.
@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 | |
def PythonTutorial2.PythonTutorial2.__init__ | ( | self | ) |
Constructor.
Definition at line 30 of file PythonTutorial2.py.
def PythonTutorial2.PythonTutorial2.process | ( | self, | |
inframe, | |||
outframe | |||
) |
Process function with USB output.
Definition at line 36 of file PythonTutorial2.py.
References PythonTutorial2.PythonTutorial2.timer.
PythonTutorial2.PythonTutorial2.timer |
Definition at line 32 of file PythonTutorial2.py.
Referenced by PythonTutorial2.PythonTutorial2.process(), PyModule.__MODULE__.process(), PyModule.__MODULE__.processGUI(), and PyModule.__MODULE__.processNoUSB().