JeVoisBase
1.20
JeVois Smart Embedded Machine Vision Toolkit Base Modules
|
|
Public Member Functions | |
def | __init__ (self, modelPath, labelPath, backendId=0, targetId=0) |
def | name (self) |
def | setBackend (self, backendId) |
def | setTarget (self, targetId) |
def | infer (self, image) |
Public Attributes | |
model_path | |
label_path | |
backend_id | |
target_id | |
model | |
input_names | |
output_names | |
input_size | |
mean | |
std | |
labels | |
Definition at line 4 of file mobilenet_v1.py.
def mobilenet_v1.MobileNetV1.__init__ | ( | self, | |
modelPath, | |||
labelPath, | |||
backendId = 0 , |
|||
targetId = 0 |
|||
) |
Definition at line 5 of file mobilenet_v1.py.
def mobilenet_v1.MobileNetV1.infer | ( | self, | |
image | |||
) |
Definition at line 50 of file mobilenet_v1.py.
References pphumanseg.PPHumanSeg._postprocess(), mobilenet_v1.MobileNetV1._postprocess(), pphumanseg.PPHumanSeg._preprocess(), mobilenet_v1.MobileNetV1._preprocess(), sface.SFace._preprocess(), mobilenet_v1.MobileNetV1.input_names, mobilenet_v1.MobileNetV1.labels, TensorFlow.labels, mobilenet_v1.MobileNetV1.model, TensorFlow.model, and mobilenet_v1.MobileNetV1.output_names.
Referenced by youtureid.YoutuReID.query().
def mobilenet_v1.MobileNetV1.name | ( | self | ) |
Definition at line 32 of file mobilenet_v1.py.
def mobilenet_v1.MobileNetV1.setBackend | ( | self, | |
backendId | |||
) |
Definition at line 35 of file mobilenet_v1.py.
References mobilenet_v1.MobileNetV1.backend_id, mobilenet_v1.MobileNetV1.model, and TensorFlow.model.
def mobilenet_v1.MobileNetV1.setTarget | ( | self, | |
targetId | |||
) |
Definition at line 39 of file mobilenet_v1.py.
References mobilenet_v1.MobileNetV1.mean, mobilenet_v1.MobileNetV1.model, TensorFlow.model, mobilenet_v1.MobileNetV1.std, and mobilenet_v1.MobileNetV1.target_id.
mobilenet_v1.MobileNetV1.backend_id |
Definition at line 8 of file mobilenet_v1.py.
Referenced by lpd_yunet.LPD_YuNet.__init__(), mp_palmdet.MPPalmDet.setBackend(), lpd_yunet.LPD_YuNet.setBackend(), mobilenet_v1.MobileNetV1.setBackend(), and mobilenet_v2.MobileNetV2.setBackend().
mobilenet_v1.MobileNetV1.input_names |
Definition at line 15 of file mobilenet_v1.py.
Referenced by mobilenet_v1.MobileNetV1.infer(), and mobilenet_v2.MobileNetV2.infer().
mobilenet_v1.MobileNetV1.input_size |
Definition at line 17 of file mobilenet_v1.py.
Referenced by lpd_yunet.LPD_YuNet.__init__(), mp_palmdet.MPPalmDet.infer(), lpd_yunet.LPD_YuNet.infer(), lpd_yunet.LPD_YuNet.setInputSize(), and mp_palmdet.MPPalmDet.setTarget().
mobilenet_v1.MobileNetV1.label_path |
Definition at line 7 of file mobilenet_v1.py.
mobilenet_v1.MobileNetV1.labels |
Definition at line 22 of file mobilenet_v1.py.
Referenced by mobilenet_v1.MobileNetV1.infer(), mobilenet_v2.MobileNetV2.infer(), PyCoralDetect.PyCoralDetect.process(), PyCoralClassify.PyCoralClassify.process(), PyCoralClassify.PyCoralClassify.processGUI(), and PyCoralDetect.PyCoralDetect.processGUI().
mobilenet_v1.MobileNetV1.mean |
Definition at line 18 of file mobilenet_v1.py.
Referenced by transform.Normalize.__call__(), quantize-inc.Dataset.__getitem__(), PyPreBlob.PyPreBlob.process(), PyClassificationDNN.PyClassificationDNN.process(), PyDetectionDNN.PyDetectionDNN.process(), mobilenet_v1.MobileNetV1.setTarget(), and mobilenet_v2.MobileNetV2.setTarget().
mobilenet_v1.MobileNetV1.model |
Definition at line 11 of file mobilenet_v1.py.
Referenced by lpd_yunet.LPD_YuNet.__init__(), PyNetORT.PyNetORT.freeze(), PyNetURetinex.PyNetURetinex.freeze(), PyNetOpenCV.PyNetOpenCV.freeze(), mp_palmdet.MPPalmDet.infer(), lpd_yunet.LPD_YuNet.infer(), mobilenet_v1.MobileNetV1.infer(), mobilenet_v2.MobileNetV2.infer(), PyNetORT.PyNetORT.load(), PyNetURetinex.PyNetURetinex.load(), PyNetOpenCV.PyNetOpenCV.load(), PyCoralDetect.PyCoralDetect.process(), PyCoralClassify.PyCoralClassify.process(), PyClassificationDNN.PyClassificationDNN.process(), PyCoralSegment.PyCoralSegment.process(), PyDetectionDNN.PyDetectionDNN.process(), PyLicensePlate.PyLicensePlate.processGUI(), PyCoralClassify.PyCoralClassify.processGUI(), PyCoralDetect.PyCoralDetect.processGUI(), PyCoralSegment.PyCoralSegment.processGUI(), mp_palmdet.MPPalmDet.setBackend(), lpd_yunet.LPD_YuNet.setBackend(), mobilenet_v2.MobileNetV2.setBackend(), mobilenet_v1.MobileNetV1.setBackend(), mp_palmdet.MPPalmDet.setTarget(), lpd_yunet.LPD_YuNet.setTarget(), mobilenet_v1.MobileNetV1.setTarget(), and mobilenet_v2.MobileNetV2.setTarget().
mobilenet_v1.MobileNetV1.model_path |
Definition at line 6 of file mobilenet_v1.py.
Referenced by lpd_yunet.LPD_YuNet.__init__(), quantize-ort.Quantize.check_opset(), quantize-inc.Quantize.run(), and quantize-ort.Quantize.run().
mobilenet_v1.MobileNetV1.output_names |
Definition at line 16 of file mobilenet_v1.py.
Referenced by lpd_yunet.LPD_YuNet.__init__(), lpd_yunet.LPD_YuNet.infer(), mobilenet_v1.MobileNetV1.infer(), and mobilenet_v2.MobileNetV2.infer().
mobilenet_v1.MobileNetV1.std |
Definition at line 19 of file mobilenet_v1.py.
Referenced by transform.Normalize.__call__(), quantize-inc.Dataset.__getitem__(), mobilenet_v1.MobileNetV1.setTarget(), and mobilenet_v2.MobileNetV2.setTarget().
mobilenet_v1.MobileNetV1.target_id |
Definition at line 9 of file mobilenet_v1.py.
Referenced by lpd_yunet.LPD_YuNet.__init__(), mp_palmdet.MPPalmDet.setTarget(), lpd_yunet.LPD_YuNet.setTarget(), mobilenet_v1.MobileNetV1.setTarget(), and mobilenet_v2.MobileNetV2.setTarget().