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

Semantic segmentation using Coral Edge TPU. More...

Public Member Functions

def __init__ (self)
 Constructor. More...
 
def create_pascal_label_colormap (self)
 
def create_pascal_label_colormapRGBA (self, alpha, tidx)
 
def process (self, inframe, outframe)
 JeVois main processing function. More...
 
def processGUI (self, inframe, helper)
 Process function with GUI output. More...
 

Public Attributes

 rgb
 
 keepaspect
 
 model
 
 interpreter
 
 timer
 
 cmapRGB
 
 cmapRGBA
 

Detailed Description

Semantic segmentation using Coral Edge TPU.

More pre-trained models are available at https://coral.ai/models/

Author
Laurent Itti
Videomapping:
YUYV 320 264 30.0 YUYV 320 240 30.0 JeVois PyCoralSegment
Videomapping:
JVUI 0 0 30.0 CropScale=RGB24@512x288:YUYV 1920 1080 30.0 JeVois PyCoralSegment
Email:
itti@.nosp@m.usc..nosp@m.edu
Address:
880 W 1st St Suite 807, Los Angeles CA 90012, USA
Main URL:
http://jevois.org
Support URL:
http://jevois.org
Other URL:
http://jevois.org
License:
GPL v3
Distribution:
Unrestricted
Restrictions:
None

Definition at line 31 of file PyCoralSegment.py.

Constructor & Destructor Documentation

◆ __init__()

def PyCoralSegment.PyCoralSegment.__init__ (   self)

Constructor.

Definition at line 34 of file PyCoralSegment.py.

Member Function Documentation

◆ create_pascal_label_colormap()

def PyCoralSegment.PyCoralSegment.create_pascal_label_colormap (   self)
Creates a label colormap used in PASCAL VOC segmentation benchmark.
Returns:
A Colormap for visualizing segmentation results.

Definition at line 61 of file PyCoralSegment.py.

◆ create_pascal_label_colormapRGBA()

def PyCoralSegment.PyCoralSegment.create_pascal_label_colormapRGBA (   self,
  alpha,
  tidx 
)
Creates a label colormap used in PASCAL VOC segmentation benchmark.
Returns:
A Colormap for visualizing segmentation results.

Definition at line 77 of file PyCoralSegment.py.

◆ process()

◆ processGUI()

Member Data Documentation

◆ cmapRGB

PyCoralSegment.PyCoralSegment.cmapRGB

Definition at line 57 of file PyCoralSegment.py.

Referenced by PyCoralSegment.PyCoralSegment.process().

◆ cmapRGBA

PyCoralSegment.PyCoralSegment.cmapRGBA

Definition at line 58 of file PyCoralSegment.py.

Referenced by PyCoralSegment.PyCoralSegment.processGUI().

◆ interpreter

PyCoralSegment.PyCoralSegment.interpreter

◆ keepaspect

PyCoralSegment.PyCoralSegment.keepaspect

◆ model

◆ rgb

◆ timer


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