JeVoisBase
1.22
JeVois Smart Embedded Machine Vision Toolkit Base Modules
|
|
Simple DNN network invoked from ONNX-Runtime in python. More...
Public Member Functions | |
__init__ (self) | |
[Optional] Constructor | |
init (self) | |
[Optional] JeVois parameters initialization | |
freeze (self, doit) | |
[Optional] Freeze some parameters that should not be changed at runtime | |
load (self) | |
[Required] Load the network from disk | |
process (self, blobs) | |
[Required] Main processing function: process input blobs through network and return output blobs blobs is a list of numpy arrays for the network's outputs Should return a tuple with (list of output blobs, list of info strings), where the info strings could contain some information about the network | |
Public Attributes | |
session | |
dataroot | |
model | |
intensors | |
inputs | |
Simple DNN network invoked from ONNX-Runtime in python.
Definition at line 23 of file PyNetORT.py.
PyNetORT.PyNetORT.__init__ | ( | self | ) |
[Optional] Constructor
Definition at line 26 of file PyNetORT.py.
PyNetORT.PyNetORT.freeze | ( | self, | |
doit | |||
) |
[Optional] Freeze some parameters that should not be changed at runtime
Definition at line 52 of file PyNetORT.py.
References PyNetKSNN.PyNetKSNN.dataroot, PyNetOpenCV.PyNetOpenCV.dataroot, PyNetORT.PyNetORT.dataroot, PyNetURetinex.PyNetURetinex.dataroot, PyNetORT.PyNetORT.freeze(), PyNetKSNN.PyNetKSNN.intensors, PyNetOpenCV.PyNetOpenCV.intensors, PyNetORT.PyNetORT.intensors, PyNetURetinex.PyNetURetinex.intensors, 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 PyNetORT.PyNetORT.freeze().
PyNetORT.PyNetORT.init | ( | self | ) |
[Optional] JeVois parameters initialization
Definition at line 31 of file PyNetORT.py.
PyNetORT.PyNetORT.load | ( | self | ) |
[Required] Load the network from disk
Definition at line 59 of file PyNetORT.py.
References PyNetKSNN.PyNetKSNN.dataroot, PyNetOpenCV.PyNetOpenCV.dataroot, PyNetORT.PyNetORT.dataroot, PyNetURetinex.PyNetURetinex.dataroot, 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, PyNetORT.PyNetORT.session, and PyNetURetinex.PyNetURetinex.session.
PyNetORT.PyNetORT.process | ( | self, | |
blobs | |||
) |
[Required] Main processing function: process input blobs through network and return output blobs blobs is a list of numpy arrays for the network's outputs Should return a tuple with (list of output blobs, list of info strings), where the info strings could contain some information about the network
Definition at line 71 of file PyNetORT.py.
References PyNetORT.PyNetORT.inputs, PyNetURetinex.PyNetURetinex.inputs, PyNetORT.PyNetORT.session, and PyNetURetinex.PyNetURetinex.session.
PyNetORT.PyNetORT.dataroot |
Definition at line 34 of file PyNetORT.py.
Referenced by PyNetKSNN.PyNetKSNN.freeze(), PyNetOpenCV.PyNetOpenCV.freeze(), PyNetORT.PyNetORT.freeze(), PyNetURetinex.PyNetURetinex.freeze(), PyNetKSNN.PyNetKSNN.load(), PyNetOpenCV.PyNetOpenCV.load(), PyNetORT.PyNetORT.load(), and PyNetURetinex.PyNetURetinex.load().
PyNetORT.PyNetORT.inputs |
Definition at line 64 of file PyNetORT.py.
Referenced by PyNetKSNN.PyNetKSNN.process(), PyNetORT.PyNetORT.process(), and PyNetURetinex.PyNetURetinex.process().
PyNetORT.PyNetORT.intensors |
Definition at line 46 of file PyNetORT.py.
Referenced by PyNetKSNN.PyNetKSNN.freeze(), PyNetOpenCV.PyNetOpenCV.freeze(), PyNetORT.PyNetORT.freeze(), and PyNetURetinex.PyNetURetinex.freeze().
PyNetORT.PyNetORT.model |
Definition at line 38 of file PyNetORT.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().
PyNetORT.PyNetORT.session |
Definition at line 27 of file PyNetORT.py.
Referenced by PyNetORT.PyNetORT.load(), PyNetURetinex.PyNetURetinex.load(), PyNetORT.PyNetORT.process(), and PyNetURetinex.PyNetURetinex.process().