JeVoisBase
1.22
JeVois Smart Embedded Machine Vision Toolkit Base Modules
|
|
Public Member Functions | |
__init__ (self, modelPath, backendId=0, targetId=0) | |
name (self) | |
setBackend (self, backend_id) | |
setTarget (self, target_id) | |
infer (self, image) | |
query (self, query_img_list, gallery_img_list, topK=5) | |
Protected Member Functions | |
_preprocess (self, image) | |
Protected Attributes | |
_modelPath | |
_backendId | |
_targetId | |
_model | |
_input_size | |
_output_dim | |
_mean | |
_std | |
Definition at line 10 of file youtureid.py.
youtureid.YoutuReID.__init__ | ( | self, | |
modelPath, | |||
backendId = 0 , |
|||
targetId = 0 |
|||
) |
Definition at line 11 of file youtureid.py.
|
protected |
Definition at line 37 of file youtureid.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().
youtureid.YoutuReID.infer | ( | self, | |
image | |||
) |
Definition at line 43 of file youtureid.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, 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().
youtureid.YoutuReID.name | ( | self | ) |
Definition at line 26 of file youtureid.py.
youtureid.YoutuReID.query | ( | self, | |
query_img_list, | |||
gallery_img_list, | |||
topK = 5 |
|||
) |
Definition at line 52 of file youtureid.py.
References yunet.YuNet.infer(), pphumanseg.PPHumanSeg.infer(), mobilenet_v1.MobileNetV1.infer(), mobilenet_v2.MobileNetV2.infer(), ppresnet.PPResNet.infer(), lpd_yunet.LPD_YuNet.infer(), dasiamrpn.DaSiamRPN.infer(), mp_palmdet.MPPalmDet.infer(), youtureid.YoutuReID.infer(), wechatqrcode.WeChatQRCode.infer(), db.DB.infer(), sface.SFace.infer(), and crnn.CRNN.infer().
youtureid.YoutuReID.setBackend | ( | self, | |
backend_id | |||
) |
Definition at line 29 of file youtureid.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.
youtureid.YoutuReID.setTarget | ( | self, | |
target_id | |||
) |
Definition at line 33 of file youtureid.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 13 of file youtureid.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 20 of file youtureid.py.
|
protected |
Definition at line 22 of file youtureid.py.
Referenced by pphumanseg.PPHumanSeg._preprocess(), ppresnet.PPResNet._preprocess(), and youtureid.YoutuReID._preprocess().
|
protected |
Definition at line 16 of file youtureid.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 12 of file youtureid.py.
Referenced by db.DB.__init__(), yunet.YuNet.setBackend(), sface.SFace.setBackend(), yunet.YuNet.setTarget(), and sface.SFace.setTarget().
|
protected |
Definition at line 21 of file youtureid.py.
|
protected |
Definition at line 23 of file youtureid.py.
Referenced by pphumanseg.PPHumanSeg._preprocess(), ppresnet.PPResNet._preprocess(), and youtureid.YoutuReID._preprocess().
|
protected |
Definition at line 14 of file youtureid.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().