JeVoisBase
1.20
JeVois Smart Embedded Machine Vision Toolkit Base Modules
|
|
Public Member Functions | |
def | __init__ (self, modelPath, labelPath, backendId=0, targetId=0) |
def | name (self) |
def | setBackend (self, backend_id) |
def | setTarget (self, target_id) |
def | infer (self, image) |
Definition at line 11 of file ppresnet.py.
def ppresnet.PPResNet.__init__ | ( | self, | |
modelPath, | |||
labelPath, | |||
backendId = 0 , |
|||
targetId = 0 |
|||
) |
Definition at line 12 of file ppresnet.py.
References pphumanseg.PPHumanSeg._backendId, sface.SFace._backendId, ppresnet.PPResNet._backendId, yunet.YuNet._backendId, pphumanseg.PPHumanSeg._inputNames, ppresnet.PPResNet._inputNames, yunet.YuNet._inputSize, pphumanseg.PPHumanSeg._inputSize, ppresnet.PPResNet._inputSize, ppresnet.PPResNet._labelPath, utils.dataloaders.recognition.RecognitionImageLoader._labels, ppresnet.PPResNet._labels, mobilenet_v2.MobileNetV2._load_labels(), mobilenet_v1.MobileNetV1._load_labels(), ppresnet.PPResNet._load_labels(), pphumanseg.PPHumanSeg._mean, ppresnet.PPResNet._mean, pphumanseg.PPHumanSeg._model, sface.SFace._model, ppresnet.PPResNet._model, yunet.YuNet._model, pphumanseg.PPHumanSeg._modelPath, ppresnet.PPResNet._modelPath, sface.SFace._modelPath, yunet.YuNet._modelPath, pphumanseg.PPHumanSeg._outputNames, ppresnet.PPResNet._outputNames, pphumanseg.PPHumanSeg._std, ppresnet.PPResNet._std, pphumanseg.PPHumanSeg._targetId, ppresnet.PPResNet._targetId, sface.SFace._targetId, and yunet.YuNet._targetId.
def ppresnet.PPResNet.infer | ( | self, | |
image | |||
) |
Definition at line 56 of file ppresnet.py.
References pphumanseg.PPHumanSeg._inputNames, ppresnet.PPResNet._inputNames, yunet.YuNet._inputSize, pphumanseg.PPHumanSeg._inputSize, ppresnet.PPResNet._inputSize, utils.dataloaders.recognition.RecognitionImageLoader._labels, ppresnet.PPResNet._labels, pphumanseg.PPHumanSeg._model, sface.SFace._model, ppresnet.PPResNet._model, yunet.YuNet._model, pphumanseg.PPHumanSeg._outputNames, ppresnet.PPResNet._outputNames, pphumanseg.PPHumanSeg._postprocess(), mobilenet_v1.MobileNetV1._postprocess(), mobilenet_v2.MobileNetV2._postprocess(), ppresnet.PPResNet._postprocess(), pphumanseg.PPHumanSeg._preprocess(), mobilenet_v2.MobileNetV2._preprocess(), mobilenet_v1.MobileNetV1._preprocess(), sface.SFace._preprocess(), and ppresnet.PPResNet._preprocess().
Referenced by youtureid.YoutuReID.query().
def ppresnet.PPResNet.name | ( | self | ) |
Definition at line 39 of file ppresnet.py.
def ppresnet.PPResNet.setBackend | ( | self, | |
backend_id | |||
) |
Definition at line 42 of file ppresnet.py.
References pphumanseg.PPHumanSeg._backendId, ppresnet.PPResNet._backendId, sface.SFace._backendId, yunet.YuNet._backendId, pphumanseg.PPHumanSeg._model, sface.SFace._model, ppresnet.PPResNet._model, and yunet.YuNet._model.
def ppresnet.PPResNet.setTarget | ( | self, | |
target_id | |||
) |
Definition at line 46 of file ppresnet.py.
References pphumanseg.PPHumanSeg._mean, ppresnet.PPResNet._mean, pphumanseg.PPHumanSeg._model, sface.SFace._model, ppresnet.PPResNet._model, yunet.YuNet._model, pphumanseg.PPHumanSeg._std, ppresnet.PPResNet._std, pphumanseg.PPHumanSeg._targetId, ppresnet.PPResNet._targetId, sface.SFace._targetId, and yunet.YuNet._targetId.