JeVoisBase
1.19
JeVois Smart Embedded Machine Vision Toolkit Base Modules
|
|
Public Member Functions | |
def | __init__ (self, modelPath, backendId=0, targetId=0) |
def | name (self) |
def | setBackend (self, backend_id) |
def | setTarget (self, target_id) |
def | infer (self, image) |
Definition at line 10 of file pphumanseg.py.
def pphumanseg.PPHumanSeg.__init__ | ( | self, | |
modelPath, | |||
backendId = 0 , |
|||
targetId = 0 |
|||
) |
Definition at line 11 of file pphumanseg.py.
References pphumanseg.PPHumanSeg._backendId, sface.SFace._backendId, yunet.YuNet._backendId, pphumanseg.PPHumanSeg._inputNames, yunet.YuNet._inputSize, pphumanseg.PPHumanSeg._inputSize, pphumanseg.PPHumanSeg._mean, pphumanseg.PPHumanSeg._model, sface.SFace._model, yunet.YuNet._model, pphumanseg.PPHumanSeg._modelPath, sface.SFace._modelPath, yunet.YuNet._modelPath, pphumanseg.PPHumanSeg._outputNames, pphumanseg.PPHumanSeg._std, pphumanseg.PPHumanSeg._targetId, sface.SFace._targetId, and yunet.YuNet._targetId.
def pphumanseg.PPHumanSeg.infer | ( | self, | |
image | |||
) |
Definition at line 44 of file pphumanseg.py.
References pphumanseg.PPHumanSeg._inputNames, yunet.YuNet._inputSize, pphumanseg.PPHumanSeg._inputSize, pphumanseg.PPHumanSeg._model, sface.SFace._model, yunet.YuNet._model, pphumanseg.PPHumanSeg._outputNames, pphumanseg.PPHumanSeg._postprocess(), pphumanseg.PPHumanSeg._preprocess(), and sface.SFace._preprocess().
Referenced by youtureid.YoutuReID.query().
def pphumanseg.PPHumanSeg.name | ( | self | ) |
Definition at line 27 of file pphumanseg.py.
def pphumanseg.PPHumanSeg.setBackend | ( | self, | |
backend_id | |||
) |
Definition at line 30 of file pphumanseg.py.
References pphumanseg.PPHumanSeg._backendId, sface.SFace._backendId, yunet.YuNet._backendId, pphumanseg.PPHumanSeg._model, sface.SFace._model, and yunet.YuNet._model.
def pphumanseg.PPHumanSeg.setTarget | ( | self, | |
target_id | |||
) |
Definition at line 34 of file pphumanseg.py.
References pphumanseg.PPHumanSeg._mean, pphumanseg.PPHumanSeg._model, sface.SFace._model, yunet.YuNet._model, pphumanseg.PPHumanSeg._std, pphumanseg.PPHumanSeg._targetId, sface.SFace._targetId, and yunet.YuNet._targetId.