JeVoisBase
1.20
JeVois Smart Embedded Machine Vision Toolkit Base Modules
|
|
Public Member Functions | |
def | __init__ (self, modelPath, inputSize=[320, 240], confThreshold=0.8, nmsThreshold=0.3, topK=5000, keepTopK=750, backendId=0, targetId=0) |
def | name (self) |
def | setBackend (self, backendId) |
def | setTarget (self, targetId) |
def | setInputSize (self, inputSize) |
def | infer (self, image) |
def | __init__ (self, modelPath, inputSize=[320, 240], confThreshold=0.8, nmsThreshold=0.3, topK=5000, keepTopK=750, backendId=0, targetId=0) |
def | name (self) |
def | setBackend (self, backendId) |
def | setTarget (self, targetId) |
def | setInputSize (self, inputSize) |
def | infer (self, image) |
Public Attributes | |
model_path | |
input_size | |
confidence_threshold | |
nms_threshold | |
top_k | |
keep_top_k | |
backend_id | |
target_id | |
output_names | |
min_sizes | |
steps | |
variance | |
model | |
priors | |
Definition at line 6 of file lpd_yunet.py.
def lpd_yunet.LPD_YuNet.__init__ | ( | self, | |
modelPath, | |||
inputSize = [320, 240] , |
|||
confThreshold = 0.8 , |
|||
nmsThreshold = 0.3 , |
|||
topK = 5000 , |
|||
keepTopK = 750 , |
|||
backendId = 0 , |
|||
targetId = 0 |
|||
) |
Definition at line 7 of file lpd_yunet.py.
Referenced by lpd_yunet.LPD_YuNet.__init__().
def lpd_yunet.LPD_YuNet.__init__ | ( | self, | |
modelPath, | |||
inputSize = [320, 240] , |
|||
confThreshold = 0.8 , |
|||
nmsThreshold = 0.3 , |
|||
topK = 5000 , |
|||
keepTopK = 750 , |
|||
backendId = 0 , |
|||
targetId = 0 |
|||
) |
Definition at line 7 of file lpd_yunet.py.
References lpd_yunet.LPD_YuNet.__init__(), lpd_yunet.LPD_YuNet._priorGen(), mobilenet_v2.MobileNetV2.backend_id, mobilenet_v1.MobileNetV1.backend_id, lpd_yunet.LPD_YuNet.backend_id, lpd_yunet.LPD_YuNet.confidence_threshold, lpd_yunet.LPD_YuNet.input_size, mobilenet_v1.MobileNetV1.input_size, mobilenet_v2.MobileNetV2.input_size, lpd_yunet.LPD_YuNet.keep_top_k, lpd_yunet.LPD_YuNet.min_sizes, mobilenet_v1.MobileNetV1.model, mobilenet_v2.MobileNetV2.model, lpd_yunet.LPD_YuNet.model, TensorFlow.model, mobilenet_v2.MobileNetV2.model_path, mobilenet_v1.MobileNetV1.model_path, lpd_yunet.LPD_YuNet.model_path, lpd_yunet.LPD_YuNet.nms_threshold, mobilenet_v1.MobileNetV1.output_names, mobilenet_v2.MobileNetV2.output_names, lpd_yunet.LPD_YuNet.output_names, jevois::DMPdata.steps, lpd_yunet.LPD_YuNet.steps, mobilenet_v2.MobileNetV2.target_id, mobilenet_v1.MobileNetV1.target_id, lpd_yunet.LPD_YuNet.target_id, lpd_yunet.LPD_YuNet.top_k, and lpd_yunet.LPD_YuNet.variance.
def lpd_yunet.LPD_YuNet.infer | ( | self, | |
image | |||
) |
Definition at line 47 of file lpd_yunet.py.
References lpd_yunet.LPD_YuNet._decode(), pphumanseg.PPHumanSeg._postprocess(), mobilenet_v2.MobileNetV2._postprocess(), mobilenet_v1.MobileNetV1._postprocess(), lpd_yunet.LPD_YuNet._postprocess(), ppresnet.PPResNet._postprocess(), pphumanseg.PPHumanSeg._preprocess(), mobilenet_v1.MobileNetV1._preprocess(), mobilenet_v2.MobileNetV2._preprocess(), lpd_yunet.LPD_YuNet._preprocess(), sface.SFace._preprocess(), ppresnet.PPResNet._preprocess(), lpd_yunet.LPD_YuNet.confidence_threshold, lpd_yunet.LPD_YuNet.input_size, mobilenet_v2.MobileNetV2.input_size, mobilenet_v1.MobileNetV1.input_size, demo.int, lpd_yunet.LPD_YuNet.keep_top_k, lpd_yunet.LPD_YuNet.min_sizes, mobilenet_v1.MobileNetV1.model, mobilenet_v2.MobileNetV2.model, lpd_yunet.LPD_YuNet.model, TensorFlow.model, lpd_yunet.LPD_YuNet.nms_threshold, mobilenet_v2.MobileNetV2.output_names, mobilenet_v1.MobileNetV1.output_names, lpd_yunet.LPD_YuNet.output_names, jevois::DMPdata.steps, lpd_yunet.LPD_YuNet.steps, and lpd_yunet.LPD_YuNet.top_k.
Referenced by lpd_yunet.LPD_YuNet.infer(), and youtureid.YoutuReID.query().
def lpd_yunet.LPD_YuNet.infer | ( | self, | |
image | |||
) |
Definition at line 47 of file lpd_yunet.py.
References lpd_yunet.LPD_YuNet._decode(), pphumanseg.PPHumanSeg._postprocess(), mobilenet_v1.MobileNetV1._postprocess(), mobilenet_v2.MobileNetV2._postprocess(), lpd_yunet.LPD_YuNet._postprocess(), ppresnet.PPResNet._postprocess(), pphumanseg.PPHumanSeg._preprocess(), mobilenet_v2.MobileNetV2._preprocess(), mobilenet_v1.MobileNetV1._preprocess(), lpd_yunet.LPD_YuNet._preprocess(), sface.SFace._preprocess(), ppresnet.PPResNet._preprocess(), lpd_yunet.LPD_YuNet.confidence_threshold, lpd_yunet.LPD_YuNet.infer(), lpd_yunet.LPD_YuNet.input_size, mobilenet_v1.MobileNetV1.input_size, mobilenet_v2.MobileNetV2.input_size, demo.int, lpd_yunet.LPD_YuNet.keep_top_k, lpd_yunet.LPD_YuNet.min_sizes, mobilenet_v2.MobileNetV2.model, mobilenet_v1.MobileNetV1.model, lpd_yunet.LPD_YuNet.model, TensorFlow.model, lpd_yunet.LPD_YuNet.nms_threshold, mobilenet_v2.MobileNetV2.output_names, mobilenet_v1.MobileNetV1.output_names, lpd_yunet.LPD_YuNet.output_names, lpd_yunet.LPD_YuNet.priors, jevois::DMPdata.steps, lpd_yunet.LPD_YuNet.steps, lpd_yunet.LPD_YuNet.top_k, and lpd_yunet.LPD_YuNet.variance.
def lpd_yunet.LPD_YuNet.name | ( | self | ) |
Definition at line 28 of file lpd_yunet.py.
Referenced by lpd_yunet.LPD_YuNet.name().
def lpd_yunet.LPD_YuNet.name | ( | self | ) |
Definition at line 28 of file lpd_yunet.py.
References lpd_yunet.LPD_YuNet.name().
def lpd_yunet.LPD_YuNet.setBackend | ( | self, | |
backendId | |||
) |
Definition at line 31 of file lpd_yunet.py.
References mobilenet_v1.MobileNetV1.backend_id, mobilenet_v2.MobileNetV2.backend_id, lpd_yunet.LPD_YuNet.backend_id, mobilenet_v1.MobileNetV1.model, mobilenet_v2.MobileNetV2.model, lpd_yunet.LPD_YuNet.model, and TensorFlow.model.
Referenced by lpd_yunet.LPD_YuNet.setBackend().
def lpd_yunet.LPD_YuNet.setBackend | ( | self, | |
backendId | |||
) |
Definition at line 31 of file lpd_yunet.py.
References mobilenet_v1.MobileNetV1.backend_id, mobilenet_v2.MobileNetV2.backend_id, lpd_yunet.LPD_YuNet.backend_id, mobilenet_v2.MobileNetV2.model, mobilenet_v1.MobileNetV1.model, lpd_yunet.LPD_YuNet.model, TensorFlow.model, and lpd_yunet.LPD_YuNet.setBackend().
def lpd_yunet.LPD_YuNet.setInputSize | ( | self, | |
inputSize | |||
) |
Definition at line 39 of file lpd_yunet.py.
References lpd_yunet.LPD_YuNet._priorGen(), lpd_yunet.LPD_YuNet.input_size, mobilenet_v1.MobileNetV1.input_size, mobilenet_v2.MobileNetV2.input_size, and lpd_yunet.LPD_YuNet.setInputSize().
def lpd_yunet.LPD_YuNet.setInputSize | ( | self, | |
inputSize | |||
) |
Definition at line 39 of file lpd_yunet.py.
References lpd_yunet.LPD_YuNet._priorGen(), lpd_yunet.LPD_YuNet.input_size, mobilenet_v1.MobileNetV1.input_size, and mobilenet_v2.MobileNetV2.input_size.
Referenced by lpd_yunet.LPD_YuNet.setInputSize().
def lpd_yunet.LPD_YuNet.setTarget | ( | self, | |
targetId | |||
) |
Definition at line 35 of file lpd_yunet.py.
References mobilenet_v1.MobileNetV1.model, mobilenet_v2.MobileNetV2.model, lpd_yunet.LPD_YuNet.model, TensorFlow.model, mobilenet_v2.MobileNetV2.target_id, mobilenet_v1.MobileNetV1.target_id, and lpd_yunet.LPD_YuNet.target_id.
Referenced by lpd_yunet.LPD_YuNet.setTarget().
def lpd_yunet.LPD_YuNet.setTarget | ( | self, | |
targetId | |||
) |
Definition at line 35 of file lpd_yunet.py.
References mobilenet_v1.MobileNetV1.model, mobilenet_v2.MobileNetV2.model, lpd_yunet.LPD_YuNet.model, TensorFlow.model, lpd_yunet.LPD_YuNet.setTarget(), mobilenet_v1.MobileNetV1.target_id, mobilenet_v2.MobileNetV2.target_id, and lpd_yunet.LPD_YuNet.target_id.
lpd_yunet.LPD_YuNet.backend_id |
Definition at line 14 of file lpd_yunet.py.
Referenced by lpd_yunet.LPD_YuNet.__init__(), mp_palmdet.MPPalmDet.setBackend(), and lpd_yunet.LPD_YuNet.setBackend().
lpd_yunet.LPD_YuNet.confidence_threshold |
Definition at line 10 of file lpd_yunet.py.
Referenced by lpd_yunet.LPD_YuNet.__init__(), and lpd_yunet.LPD_YuNet.infer().
lpd_yunet.LPD_YuNet.input_size |
Definition at line 9 of file lpd_yunet.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().
lpd_yunet.LPD_YuNet.keep_top_k |
Definition at line 13 of file lpd_yunet.py.
Referenced by lpd_yunet.LPD_YuNet.__init__(), and lpd_yunet.LPD_YuNet.infer().
lpd_yunet.LPD_YuNet.min_sizes |
Definition at line 18 of file lpd_yunet.py.
Referenced by lpd_yunet.LPD_YuNet.__init__(), and lpd_yunet.LPD_YuNet.infer().
lpd_yunet.LPD_YuNet.model |
Definition at line 23 of file lpd_yunet.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(), 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(), mp_palmdet.MPPalmDet.setTarget(), and lpd_yunet.LPD_YuNet.setTarget().
lpd_yunet.LPD_YuNet.model_path |
Definition at line 8 of file lpd_yunet.py.
Referenced by lpd_yunet.LPD_YuNet.__init__(), quantize-ort.Quantize.check_opset(), quantize-inc.Quantize.run(), and quantize-ort.Quantize.run().
lpd_yunet.LPD_YuNet.nms_threshold |
Definition at line 11 of file lpd_yunet.py.
Referenced by lpd_yunet.LPD_YuNet.__init__(), mp_palmdet.MPPalmDet.infer(), and lpd_yunet.LPD_YuNet.infer().
lpd_yunet.LPD_YuNet.output_names |
Definition at line 17 of file lpd_yunet.py.
Referenced by lpd_yunet.LPD_YuNet.__init__(), and lpd_yunet.LPD_YuNet.infer().
lpd_yunet.LPD_YuNet.priors |
Definition at line 109 of file lpd_yunet.py.
Referenced by lpd_yunet.LPD_YuNet.infer().
lpd_yunet.LPD_YuNet.steps |
Definition at line 19 of file lpd_yunet.py.
Referenced by lpd_yunet.LPD_YuNet.__init__(), and lpd_yunet.LPD_YuNet.infer().
lpd_yunet.LPD_YuNet.target_id |
Definition at line 15 of file lpd_yunet.py.
Referenced by lpd_yunet.LPD_YuNet.__init__(), mp_palmdet.MPPalmDet.setTarget(), and lpd_yunet.LPD_YuNet.setTarget().
lpd_yunet.LPD_YuNet.top_k |
Definition at line 12 of file lpd_yunet.py.
Referenced by lpd_yunet.LPD_YuNet.__init__(), and lpd_yunet.LPD_YuNet.infer().
lpd_yunet.LPD_YuNet.variance |
Definition at line 20 of file lpd_yunet.py.
Referenced by lpd_yunet.LPD_YuNet.__init__(), and lpd_yunet.LPD_YuNet.infer().