JeVoisBase
1.22
JeVois Smart Embedded Machine Vision Toolkit Base Modules
|
|
Public Member Functions | |
__init__ (self, modelPath, labelPath, backendId=0, targetId=0) | |
name (self) | |
setBackend (self, backend_id) | |
setTarget (self, target_id) | |
infer (self, image) | |
Protected Member Functions | |
_load_labels (self) | |
_preprocess (self, image) | |
_postprocess (self, outputBlob) | |
Protected Attributes | |
_modelPath | |
_labelPath | |
_backendId | |
_targetId | |
_model | |
_inputNames | |
_outputNames | |
_inputSize | |
_mean | |
_std | |
_labels | |
Definition at line 11 of file ppresnet.py.
ppresnet.PPResNet.__init__ | ( | self, | |
modelPath, | |||
labelPath, | |||
backendId = 0 , |
|||
targetId = 0 |
|||
) |
Definition at line 12 of file ppresnet.py.
|
protected |
Definition at line 31 of file ppresnet.py.
References ppresnet.PPResNet._labelPath.
|
protected |
Definition at line 72 of file ppresnet.py.
References utils.dataloaders.recognition.RecognitionImageLoader._labels, and ppresnet.PPResNet._labels.
Referenced by pphumanseg.PPHumanSeg.infer(), mobilenet_v1.MobileNetV1.infer(), mobilenet_v2.MobileNetV2.infer(), ppresnet.PPResNet.infer(), lpd_yunet.LPD_YuNet.infer(), mp_palmdet.MPPalmDet.infer(), and crnn.CRNN.infer().
|
protected |
Definition at line 50 of file ppresnet.py.
References pphumanseg.PPHumanSeg._mean, ppresnet.PPResNet._mean, youtureid.YoutuReID._mean, pphumanseg.PPHumanSeg._std, ppresnet.PPResNet._std, and youtureid.YoutuReID._std.
Referenced by pphumanseg.PPHumanSeg.infer(), mobilenet_v1.MobileNetV1.infer(), mobilenet_v2.MobileNetV2.infer(), ppresnet.PPResNet.infer(), lpd_yunet.LPD_YuNet.infer(), mp_palmdet.MPPalmDet.infer(), youtureid.YoutuReID.infer(), sface.SFace.infer(), and crnn.CRNN.infer().
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, db.DB._inputSize, crnn.CRNN._inputSize, yunet.YuNet._model, sface.SFace._model, pphumanseg.PPHumanSeg._model, ppresnet.PPResNet._model, dasiamrpn.DaSiamRPN._model, youtureid.YoutuReID._model, wechatqrcode.WeChatQRCode._model, db.DB._model, crnn.CRNN._model, pphumanseg.PPHumanSeg._outputNames, ppresnet.PPResNet._outputNames, lpd_yunet.LPD_YuNet._postprocess(), mobilenet_v1.MobileNetV1._postprocess(), mobilenet_v2.MobileNetV2._postprocess(), mp_palmdet.MPPalmDet._postprocess(), pphumanseg.PPHumanSeg._postprocess(), ppresnet.PPResNet._postprocess(), crnn.CRNN._postprocess(), pphumanseg.PPHumanSeg._preprocess(), mobilenet_v1.MobileNetV1._preprocess(), mobilenet_v2.MobileNetV2._preprocess(), ppresnet.PPResNet._preprocess(), lpd_yunet.LPD_YuNet._preprocess(), mp_palmdet.MPPalmDet._preprocess(), youtureid.YoutuReID._preprocess(), sface.SFace._preprocess(), and crnn.CRNN._preprocess().
Referenced by sface.SFace.match(), and youtureid.YoutuReID.query().
ppresnet.PPResNet.name | ( | self | ) |
Definition at line 39 of file ppresnet.py.
ppresnet.PPResNet.setBackend | ( | self, | |
backend_id | |||
) |
Definition at line 42 of file ppresnet.py.
References yunet.YuNet._backendId, sface.SFace._backendId, pphumanseg.PPHumanSeg._backendId, ppresnet.PPResNet._backendId, youtureid.YoutuReID._backendId, db.DB._backendId, crnn.CRNN._backendId, yunet.YuNet._model, sface.SFace._model, pphumanseg.PPHumanSeg._model, ppresnet.PPResNet._model, dasiamrpn.DaSiamRPN._model, youtureid.YoutuReID._model, wechatqrcode.WeChatQRCode._model, db.DB._model, and crnn.CRNN._model.
ppresnet.PPResNet.setTarget | ( | self, | |
target_id | |||
) |
Definition at line 46 of file ppresnet.py.
References yunet.YuNet._model, sface.SFace._model, pphumanseg.PPHumanSeg._model, ppresnet.PPResNet._model, dasiamrpn.DaSiamRPN._model, youtureid.YoutuReID._model, wechatqrcode.WeChatQRCode._model, db.DB._model, crnn.CRNN._model, yunet.YuNet._targetId, sface.SFace._targetId, pphumanseg.PPHumanSeg._targetId, ppresnet.PPResNet._targetId, youtureid.YoutuReID._targetId, db.DB._targetId, and crnn.CRNN._targetId.
|
protected |
Definition at line 15 of file ppresnet.py.
Referenced by crnn.CRNN.__init__(), db.DB.__init__(), db.DB.setBackend(), pphumanseg.PPHumanSeg.setBackend(), ppresnet.PPResNet.setBackend(), youtureid.YoutuReID.setBackend(), crnn.CRNN.setBackend(), yunet.YuNet.setBackend(), sface.SFace.setBackend(), yunet.YuNet.setTarget(), and sface.SFace.setTarget().
|
protected |
Definition at line 22 of file ppresnet.py.
Referenced by pphumanseg.PPHumanSeg.infer(), and ppresnet.PPResNet.infer().
|
protected |
Definition at line 24 of file ppresnet.py.
Referenced by crnn.CRNN.__init__(), db.DB.__init__(), crnn.CRNN._preprocess(), pphumanseg.PPHumanSeg.infer(), ppresnet.PPResNet.infer(), db.DB.infer(), yunet.YuNet.setBackend(), db.DB.setInputSize(), and yunet.YuNet.setTarget().
|
protected |
Definition at line 14 of file ppresnet.py.
Referenced by ppresnet.PPResNet._load_labels().
|
protected |
Definition at line 29 of file ppresnet.py.
Referenced by utils.dataloaders.recognition.RecognitionImageLoader.__iter__(), and ppresnet.PPResNet._postprocess().
|
protected |
Definition at line 25 of file ppresnet.py.
Referenced by pphumanseg.PPHumanSeg._preprocess(), ppresnet.PPResNet._preprocess(), and youtureid.YoutuReID._preprocess().
|
protected |
Definition at line 18 of file ppresnet.py.
Referenced by crnn.CRNN.__init__(), db.DB.__init__(), sface.SFace._preprocess(), yunet.YuNet.infer(), pphumanseg.PPHumanSeg.infer(), ppresnet.PPResNet.infer(), dasiamrpn.DaSiamRPN.infer(), youtureid.YoutuReID.infer(), wechatqrcode.WeChatQRCode.infer(), db.DB.infer(), sface.SFace.infer(), crnn.CRNN.infer(), dasiamrpn.DaSiamRPN.init(), sface.SFace.match(), db.DB.setBackend(), pphumanseg.PPHumanSeg.setBackend(), ppresnet.PPResNet.setBackend(), dasiamrpn.DaSiamRPN.setBackend(), youtureid.YoutuReID.setBackend(), crnn.CRNN.setBackend(), yunet.YuNet.setBackend(), sface.SFace.setBackend(), yunet.YuNet.setInputSize(), db.DB.setInputSize(), db.DB.setTarget(), pphumanseg.PPHumanSeg.setTarget(), ppresnet.PPResNet.setTarget(), dasiamrpn.DaSiamRPN.setTarget(), youtureid.YoutuReID.setTarget(), crnn.CRNN.setTarget(), yunet.YuNet.setTarget(), and sface.SFace.setTarget().
|
protected |
Definition at line 13 of file ppresnet.py.
Referenced by db.DB.__init__(), yunet.YuNet.setBackend(), sface.SFace.setBackend(), yunet.YuNet.setTarget(), and sface.SFace.setTarget().
|
protected |
Definition at line 23 of file ppresnet.py.
Referenced by pphumanseg.PPHumanSeg.infer(), and ppresnet.PPResNet.infer().
|
protected |
Definition at line 26 of file ppresnet.py.
Referenced by pphumanseg.PPHumanSeg._preprocess(), ppresnet.PPResNet._preprocess(), and youtureid.YoutuReID._preprocess().
|
protected |
Definition at line 16 of file ppresnet.py.
Referenced by crnn.CRNN.__init__(), db.DB.__init__(), yunet.YuNet.setBackend(), sface.SFace.setBackend(), db.DB.setTarget(), pphumanseg.PPHumanSeg.setTarget(), ppresnet.PPResNet.setTarget(), youtureid.YoutuReID.setTarget(), crnn.CRNN.setTarget(), yunet.YuNet.setTarget(), and sface.SFace.setTarget().