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

Public Member Functions

 __init__ (self, modelPath, backendId=0, targetId=0)
 
 name (self)
 
 setBackend (self, backend_id)
 
 setTarget (self, target_id)
 
 infer (self, image)
 

Protected Member Functions

 _preprocess (self, image)
 
 _postprocess (self, outputBlob)
 

Protected Attributes

 _modelPath
 
 _backendId
 
 _targetId
 
 _model
 
 _inputNames
 
 _outputNames
 
 _inputSize
 
 _mean
 
 _std
 

Detailed Description

Definition at line 10 of file pphumanseg.py.

Constructor & Destructor Documentation

◆ __init__()

pphumanseg.PPHumanSeg.__init__ (   self,
  modelPath,
  backendId = 0,
  targetId = 0 
)

Definition at line 11 of file pphumanseg.py.

Member Function Documentation

◆ _postprocess()

pphumanseg.PPHumanSeg._postprocess (   self,
  outputBlob 
)
protected

◆ _preprocess()

◆ infer()

◆ name()

pphumanseg.PPHumanSeg.name (   self)

Definition at line 27 of file pphumanseg.py.

◆ setBackend()

◆ setTarget()

Member Data Documentation

◆ _backendId

◆ _inputNames

pphumanseg.PPHumanSeg._inputNames
protected

Definition at line 20 of file pphumanseg.py.

Referenced by pphumanseg.PPHumanSeg.infer(), and ppresnet.PPResNet.infer().

◆ _inputSize

◆ _mean

pphumanseg.PPHumanSeg._mean
protected

◆ _model

◆ _modelPath

pphumanseg.PPHumanSeg._modelPath
protected

◆ _outputNames

pphumanseg.PPHumanSeg._outputNames
protected

Definition at line 21 of file pphumanseg.py.

Referenced by pphumanseg.PPHumanSeg.infer(), and ppresnet.PPResNet.infer().

◆ _std

pphumanseg.PPHumanSeg._std
protected

◆ _targetId


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