JeVoisBase
1.22
JeVois Smart Embedded Machine Vision Toolkit Base Modules
|
|
Public Member Functions | |
__init__ (self, modelPath, disType=0, backendId=0, targetId=0) | |
name (self) | |
setBackend (self, backendId) | |
setTarget (self, targetId) | |
infer (self, image, bbox=None) | |
match (self, image1, face1, image2, face2) | |
Protected Member Functions | |
_preprocess (self, image, bbox) | |
Protected Attributes | |
_modelPath | |
_backendId | |
_targetId | |
_model | |
_disType | |
_threshold_cosine | |
_threshold_norml2 | |
sface.SFace.__init__ | ( | self, | |
modelPath, | |||
disType = 0 , |
|||
backendId = 0 , |
|||
targetId = 0 |
|||
) |
|
protected |
Definition at line 49 of file sface.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, and crnn.CRNN._model.
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().
sface.SFace.infer | ( | self, | |
image, | |||
bbox = None |
|||
) |
Definition at line 55 of file sface.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().
sface.SFace.match | ( | self, | |
image1, | |||
face1, | |||
image2, | |||
face2 | |||
) |
Definition at line 63 of file sface.py.
References sface.SFace._disType, 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, sface.SFace._threshold_cosine, sface.SFace._threshold_norml2, 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(), crnn.CRNN.infer(), and sface.SFace.match().
Referenced by sface.SFace.match().
sface.SFace.setBackend | ( | self, | |
backendId | |||
) |
Definition at line 33 of file sface.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, crnn.CRNN._model, yunet.YuNet._modelPath, sface.SFace._modelPath, pphumanseg.PPHumanSeg._modelPath, ppresnet.PPResNet._modelPath, youtureid.YoutuReID._modelPath, db.DB._modelPath, yunet.YuNet._targetId, sface.SFace._targetId, pphumanseg.PPHumanSeg._targetId, ppresnet.PPResNet._targetId, youtureid.YoutuReID._targetId, db.DB._targetId, and crnn.CRNN._targetId.
sface.SFace.setTarget | ( | self, | |
targetId | |||
) |
Definition at line 41 of file sface.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, crnn.CRNN._model, yunet.YuNet._modelPath, sface.SFace._modelPath, pphumanseg.PPHumanSeg._modelPath, ppresnet.PPResNet._modelPath, youtureid.YoutuReID._modelPath, db.DB._modelPath, 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 sface.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 23 of file sface.py.
Referenced by sface.SFace.match().
|
protected |
Definition at line 17 of file sface.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 14 of file sface.py.
Referenced by db.DB.__init__(), yunet.YuNet.setBackend(), sface.SFace.setBackend(), yunet.YuNet.setTarget(), and sface.SFace.setTarget().
|
protected |
Definition at line 16 of file sface.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().
|
protected |
Definition at line 26 of file sface.py.
Referenced by sface.SFace.match().
|
protected |
Definition at line 27 of file sface.py.
Referenced by sface.SFace.match().