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, backendId) | |
setTarget (self, targetId) | |
infer (self, image) | |
Public Attributes | |
model_path | |
label_path | |
backend_id | |
target_id | |
model | |
input_names | |
output_names | |
input_size | |
mean | |
std | |
labels | |
Protected Member Functions | |
_load_labels (self) | |
_preprocess (self, image) | |
_postprocess (self, output_blob) | |
Definition at line 4 of file mobilenet_v2.py.
mobilenet_v2.MobileNetV2.__init__ | ( | self, | |
modelPath, | |||
labelPath, | |||
backendId = 0 , |
|||
targetId = 0 |
|||
) |
Definition at line 5 of file mobilenet_v2.py.
|
protected |
Definition at line 24 of file mobilenet_v2.py.
References mobilenet_v1.MobileNetV1.label_path, and mobilenet_v2.MobileNetV2.label_path.
|
protected |
Definition at line 63 of file mobilenet_v2.py.
References TensorFlow.labels, mobilenet_v1.MobileNetV1.labels, mobilenet_v2.MobileNetV2.labels, PyCoralClassify.PyCoralClassify.labels, and PyCoralDetect.PyCoralDetect.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 43 of file mobilenet_v2.py.
References mobilenet_v1.MobileNetV1.mean, mobilenet_v2.MobileNetV2.mean, quantize-inc.Dataset.mean, transform.Normalize.mean, PyPreBlob.PyPreBlob.mean, PyClassificationDNN.PyClassificationDNN.mean, PyDetectionDNN.PyDetectionDNN.mean, PyEmotion.PyEmotion.mean, mobilenet_v1.MobileNetV1.std, mobilenet_v2.MobileNetV2.std, quantize-inc.Dataset.std, and transform.Normalize.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().
mobilenet_v2.MobileNetV2.infer | ( | self, | |
image | |||
) |
Definition at line 50 of file mobilenet_v2.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(), mobilenet_v1.MobileNetV1.input_names, mobilenet_v2.MobileNetV2.input_names, 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.output_names, mobilenet_v2.MobileNetV2.output_names, and lpd_yunet.LPD_YuNet.output_names.
Referenced by sface.SFace.match(), and youtureid.YoutuReID.query().
mobilenet_v2.MobileNetV2.name | ( | self | ) |
Definition at line 32 of file mobilenet_v2.py.
mobilenet_v2.MobileNetV2.setBackend | ( | self, | |
backendId | |||
) |
Definition at line 35 of file mobilenet_v2.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.
mobilenet_v2.MobileNetV2.setTarget | ( | self, | |
targetId | |||
) |
Definition at line 39 of file mobilenet_v2.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.
mobilenet_v2.MobileNetV2.backend_id |
Definition at line 8 of file mobilenet_v2.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().
mobilenet_v2.MobileNetV2.input_names |
Definition at line 15 of file mobilenet_v2.py.
Referenced by mobilenet_v1.MobileNetV1.infer(), and mobilenet_v2.MobileNetV2.infer().
mobilenet_v2.MobileNetV2.input_size |
Definition at line 17 of file mobilenet_v2.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().
mobilenet_v2.MobileNetV2.label_path |
Definition at line 7 of file mobilenet_v2.py.
Referenced by mobilenet_v1.MobileNetV1._load_labels(), and mobilenet_v2.MobileNetV2._load_labels().
mobilenet_v2.MobileNetV2.labels |
Definition at line 22 of file mobilenet_v2.py.
Referenced by mobilenet_v1.MobileNetV1._postprocess(), mobilenet_v2.MobileNetV2._postprocess(), PyCoralClassify.PyCoralClassify.process(), PyCoralDetect.PyCoralDetect.process(), PyCoralClassify.PyCoralClassify.processGUI(), and PyCoralDetect.PyCoralDetect.processGUI().
mobilenet_v2.MobileNetV2.mean |
Definition at line 18 of file mobilenet_v2.py.
Referenced by transform.Normalize.__call__(), quantize-inc.Dataset.__getitem__(), mobilenet_v1.MobileNetV1._preprocess(), mobilenet_v2.MobileNetV2._preprocess(), PyPreBlob.PyPreBlob.process(), PyClassificationDNN.PyClassificationDNN.process(), and PyDetectionDNN.PyDetectionDNN.process().
mobilenet_v2.MobileNetV2.model |
Definition at line 11 of file mobilenet_v2.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().
mobilenet_v2.MobileNetV2.model_path |
Definition at line 6 of file mobilenet_v2.py.
Referenced by lpd_yunet.LPD_YuNet.__init__(), quantize-ort.Quantize.check_opset(), quantize-inc.Quantize.run(), and quantize-ort.Quantize.run().
mobilenet_v2.MobileNetV2.output_names |
Definition at line 16 of file mobilenet_v2.py.
Referenced by lpd_yunet.LPD_YuNet.__init__(), mobilenet_v1.MobileNetV1.infer(), mobilenet_v2.MobileNetV2.infer(), and lpd_yunet.LPD_YuNet.infer().
mobilenet_v2.MobileNetV2.std |
Definition at line 19 of file mobilenet_v2.py.
Referenced by transform.Normalize.__call__(), quantize-inc.Dataset.__getitem__(), mobilenet_v1.MobileNetV1._preprocess(), and mobilenet_v2.MobileNetV2._preprocess().
mobilenet_v2.MobileNetV2.target_id |
Definition at line 9 of file mobilenet_v2.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().