JeVoisBase
1.22
JeVois Smart Embedded Machine Vision Toolkit Base Modules
|
|
Public Member Functions | |
__init__ (self, modelPath, nmsThreshold=0.3, scoreThreshold=0.5, backendId=0, targetId=0) | |
name (self) | |
setBackend (self, backendId) | |
setTarget (self, targetId) | |
infer (self, image) | |
Public Attributes | |
model_path | |
nms_threshold | |
score_threshold | |
backend_id | |
target_id | |
input_size | |
model | |
anchors | |
Protected Member Functions | |
_preprocess (self, image) | |
_postprocess (self, output_blob, original_shape) | |
_load_anchors (self) | |
Definition at line 4 of file mp_palmdet.py.
mp_palmdet.MPPalmDet.__init__ | ( | self, | |
modelPath, | |||
nmsThreshold = 0.3 , |
|||
scoreThreshold = 0.5 , |
|||
backendId = 0 , |
|||
targetId = 0 |
|||
) |
Definition at line 5 of file mp_palmdet.py.
|
protected |
Definition at line 83 of file mp_palmdet.py.
|
protected |
Definition at line 55 of file mp_palmdet.py.
References mp_palmdet.MPPalmDet.anchors, mobilenet_v1.MobileNetV1.input_size, mobilenet_v2.MobileNetV2.input_size, lpd_yunet.LPD_YuNet.input_size, mp_palmdet.MPPalmDet.input_size, lpd_yunet.LPD_YuNet.nms_threshold, mp_palmdet.MPPalmDet.nms_threshold, and mp_palmdet.MPPalmDet.score_threshold.
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 32 of file mp_palmdet.py.
References mobilenet_v1.MobileNetV1.input_size, mobilenet_v2.MobileNetV2.input_size, lpd_yunet.LPD_YuNet.input_size, and mp_palmdet.MPPalmDet.input_size.
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().
mp_palmdet.MPPalmDet.infer | ( | self, | |
image | |||
) |
Definition at line 40 of file mp_palmdet.py.
References 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(), crnn.CRNN._preprocess(), TensorFlow.model, mobilenet_v1.MobileNetV1.model, mobilenet_v2.MobileNetV2.model, lpd_yunet.LPD_YuNet.model, mp_palmdet.MPPalmDet.model, PyNetKSNN.PyNetKSNN.model, PyNetOpenCV.PyNetOpenCV.model, PyNetORT.PyNetORT.model, PyNetURetinex.PyNetURetinex.model, PyClassificationDNN.PyClassificationDNN.model, PyCoralClassify.PyCoralClassify.model, PyCoralDetect.PyCoralDetect.model, PyCoralSegment.PyCoralSegment.model, PyDetectionDNN.PyDetectionDNN.model, PyEmotion.PyEmotion.model, and PyLicensePlate.PyLicensePlate.model.
Referenced by sface.SFace.match(), and youtureid.YoutuReID.query().
mp_palmdet.MPPalmDet.name | ( | self | ) |
Definition at line 21 of file mp_palmdet.py.
mp_palmdet.MPPalmDet.setBackend | ( | self, | |
backendId | |||
) |
Definition at line 24 of file mp_palmdet.py.
References mobilenet_v1.MobileNetV1.backend_id, mobilenet_v2.MobileNetV2.backend_id, lpd_yunet.LPD_YuNet.backend_id, mp_palmdet.MPPalmDet.backend_id, TensorFlow.model, mobilenet_v1.MobileNetV1.model, mobilenet_v2.MobileNetV2.model, lpd_yunet.LPD_YuNet.model, mp_palmdet.MPPalmDet.model, PyNetKSNN.PyNetKSNN.model, PyNetOpenCV.PyNetOpenCV.model, PyNetORT.PyNetORT.model, PyNetURetinex.PyNetURetinex.model, PyClassificationDNN.PyClassificationDNN.model, PyCoralClassify.PyCoralClassify.model, PyCoralDetect.PyCoralDetect.model, PyCoralSegment.PyCoralSegment.model, PyDetectionDNN.PyDetectionDNN.model, PyEmotion.PyEmotion.model, and PyLicensePlate.PyLicensePlate.model.
mp_palmdet.MPPalmDet.setTarget | ( | self, | |
targetId | |||
) |
Definition at line 28 of file mp_palmdet.py.
References TensorFlow.model, mobilenet_v1.MobileNetV1.model, mobilenet_v2.MobileNetV2.model, lpd_yunet.LPD_YuNet.model, mp_palmdet.MPPalmDet.model, PyNetKSNN.PyNetKSNN.model, PyNetOpenCV.PyNetOpenCV.model, PyNetORT.PyNetORT.model, PyNetURetinex.PyNetURetinex.model, PyClassificationDNN.PyClassificationDNN.model, PyCoralClassify.PyCoralClassify.model, PyCoralDetect.PyCoralDetect.model, PyCoralSegment.PyCoralSegment.model, PyDetectionDNN.PyDetectionDNN.model, PyEmotion.PyEmotion.model, PyLicensePlate.PyLicensePlate.model, mobilenet_v1.MobileNetV1.target_id, mobilenet_v2.MobileNetV2.target_id, lpd_yunet.LPD_YuNet.target_id, and mp_palmdet.MPPalmDet.target_id.
mp_palmdet.MPPalmDet.anchors |
Definition at line 18 of file mp_palmdet.py.
Referenced by mp_palmdet.MPPalmDet._postprocess().
mp_palmdet.MPPalmDet.backend_id |
Definition at line 9 of file mp_palmdet.py.
Referenced by lpd_yunet.LPD_YuNet.__init__(), mobilenet_v1.MobileNetV1.setBackend(), mobilenet_v2.MobileNetV2.setBackend(), lpd_yunet.LPD_YuNet.setBackend(), and mp_palmdet.MPPalmDet.setBackend().
mp_palmdet.MPPalmDet.input_size |
Definition at line 12 of file mp_palmdet.py.
Referenced by lpd_yunet.LPD_YuNet.__init__(), lpd_yunet.LPD_YuNet._decode(), mp_palmdet.MPPalmDet._postprocess(), mp_palmdet.MPPalmDet._preprocess(), lpd_yunet.LPD_YuNet._priorGen(), lpd_yunet.LPD_YuNet.infer(), and lpd_yunet.LPD_YuNet.setInputSize().
mp_palmdet.MPPalmDet.model |
Definition at line 14 of file mp_palmdet.py.
Referenced by lpd_yunet.LPD_YuNet.__init__(), PyNetKSNN.PyNetKSNN.freeze(), PyNetOpenCV.PyNetOpenCV.freeze(), PyNetORT.PyNetORT.freeze(), PyNetURetinex.PyNetURetinex.freeze(), mobilenet_v1.MobileNetV1.infer(), mobilenet_v2.MobileNetV2.infer(), lpd_yunet.LPD_YuNet.infer(), mp_palmdet.MPPalmDet.infer(), PyNetKSNN.PyNetKSNN.load(), PyNetOpenCV.PyNetOpenCV.load(), PyNetORT.PyNetORT.load(), PyNetURetinex.PyNetURetinex.load(), PyClassificationDNN.PyClassificationDNN.process(), PyCoralClassify.PyCoralClassify.process(), PyCoralDetect.PyCoralDetect.process(), PyCoralSegment.PyCoralSegment.process(), PyDetectionDNN.PyDetectionDNN.process(), PyCoralClassify.PyCoralClassify.processGUI(), PyCoralDetect.PyCoralDetect.processGUI(), PyCoralSegment.PyCoralSegment.processGUI(), PyLicensePlate.PyLicensePlate.processGUI(), mobilenet_v1.MobileNetV1.setBackend(), mobilenet_v2.MobileNetV2.setBackend(), lpd_yunet.LPD_YuNet.setBackend(), mp_palmdet.MPPalmDet.setBackend(), mobilenet_v1.MobileNetV1.setTarget(), mobilenet_v2.MobileNetV2.setTarget(), lpd_yunet.LPD_YuNet.setTarget(), and mp_palmdet.MPPalmDet.setTarget().
mp_palmdet.MPPalmDet.model_path |
Definition at line 6 of file mp_palmdet.py.
Referenced by lpd_yunet.LPD_YuNet.__init__(), quantize-ort.Quantize.check_opset(), quantize-inc.Quantize.run(), and quantize-ort.Quantize.run().
mp_palmdet.MPPalmDet.nms_threshold |
Definition at line 7 of file mp_palmdet.py.
Referenced by lpd_yunet.LPD_YuNet.__init__(), lpd_yunet.LPD_YuNet._postprocess(), and mp_palmdet.MPPalmDet._postprocess().
mp_palmdet.MPPalmDet.score_threshold |
Definition at line 8 of file mp_palmdet.py.
Referenced by mp_palmdet.MPPalmDet._postprocess().
mp_palmdet.MPPalmDet.target_id |
Definition at line 10 of file mp_palmdet.py.
Referenced by lpd_yunet.LPD_YuNet.__init__(), mobilenet_v1.MobileNetV1.setTarget(), mobilenet_v2.MobileNetV2.setTarget(), lpd_yunet.LPD_YuNet.setTarget(), and mp_palmdet.MPPalmDet.setTarget().