JeVoisBase
1.20
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) |
def | query (self, query_img_list, gallery_img_list, topK=5) |
Definition at line 10 of file youtureid.py.
def youtureid.YoutuReID.__init__ | ( | self, | |
modelPath, | |||
backendId = 0 , |
|||
targetId = 0 |
|||
) |
Definition at line 11 of file youtureid.py.
References pphumanseg.PPHumanSeg._backendId, youtureid.YoutuReID._backendId, ppresnet.PPResNet._backendId, sface.SFace._backendId, yunet.YuNet._backendId, youtureid.YoutuReID._input_size, youtureid.YoutuReID._mean, pphumanseg.PPHumanSeg._mean, ppresnet.PPResNet._mean, pphumanseg.PPHumanSeg._model, youtureid.YoutuReID._model, sface.SFace._model, ppresnet.PPResNet._model, yunet.YuNet._model, dasiamrpn.DaSiamRPN._model, youtureid.YoutuReID._modelPath, pphumanseg.PPHumanSeg._modelPath, ppresnet.PPResNet._modelPath, sface.SFace._modelPath, yunet.YuNet._modelPath, youtureid.YoutuReID._output_dim, youtureid.YoutuReID._std, pphumanseg.PPHumanSeg._std, ppresnet.PPResNet._std, youtureid.YoutuReID._targetId, pphumanseg.PPHumanSeg._targetId, sface.SFace._targetId, ppresnet.PPResNet._targetId, and yunet.YuNet._targetId.
def youtureid.YoutuReID.infer | ( | self, | |
image | |||
) |
Definition at line 43 of file youtureid.py.
References pphumanseg.PPHumanSeg._model, youtureid.YoutuReID._model, sface.SFace._model, ppresnet.PPResNet._model, yunet.YuNet._model, dasiamrpn.DaSiamRPN._model, mp_palmdet.MPPalmDet._preprocess(), youtureid.YoutuReID._preprocess(), pphumanseg.PPHumanSeg._preprocess(), mobilenet_v2.MobileNetV2._preprocess(), mobilenet_v1.MobileNetV1._preprocess(), lpd_yunet.LPD_YuNet._preprocess(), sface.SFace._preprocess(), and ppresnet.PPResNet._preprocess().
Referenced by youtureid.YoutuReID.query().
def youtureid.YoutuReID.name | ( | self | ) |
Definition at line 26 of file youtureid.py.
def youtureid.YoutuReID.query | ( | self, | |
query_img_list, | |||
gallery_img_list, | |||
topK = 5 |
|||
) |
Definition at line 52 of file youtureid.py.
References mp_palmdet.MPPalmDet.infer(), youtureid.YoutuReID.infer(), pphumanseg.PPHumanSeg.infer(), lpd_yunet.LPD_YuNet.infer(), mobilenet_v1.MobileNetV1.infer(), mobilenet_v2.MobileNetV2.infer(), dasiamrpn.DaSiamRPN.infer(), sface.SFace.infer(), ppresnet.PPResNet.infer(), and yunet.YuNet.infer().
def youtureid.YoutuReID.setBackend | ( | self, | |
backend_id | |||
) |
Definition at line 29 of file youtureid.py.
References pphumanseg.PPHumanSeg._backendId, youtureid.YoutuReID._backendId, ppresnet.PPResNet._backendId, sface.SFace._backendId, yunet.YuNet._backendId, pphumanseg.PPHumanSeg._model, youtureid.YoutuReID._model, sface.SFace._model, ppresnet.PPResNet._model, yunet.YuNet._model, and dasiamrpn.DaSiamRPN._model.
def youtureid.YoutuReID.setTarget | ( | self, | |
target_id | |||
) |
Definition at line 33 of file youtureid.py.
References youtureid.YoutuReID._mean, pphumanseg.PPHumanSeg._mean, ppresnet.PPResNet._mean, youtureid.YoutuReID._model, pphumanseg.PPHumanSeg._model, sface.SFace._model, ppresnet.PPResNet._model, yunet.YuNet._model, dasiamrpn.DaSiamRPN._model, youtureid.YoutuReID._std, pphumanseg.PPHumanSeg._std, ppresnet.PPResNet._std, youtureid.YoutuReID._targetId, pphumanseg.PPHumanSeg._targetId, sface.SFace._targetId, ppresnet.PPResNet._targetId, and yunet.YuNet._targetId.