JeVoisBase
1.20
JeVois Smart Embedded Machine Vision Toolkit Base Modules
|
|
Simple DNN network invoked from ONNX-Runtime in python. More...
Public Member Functions | |
def | __init__ (self) |
[Optional] Constructor More... | |
def | init (self) |
[Optional] JeVois parameters initialization More... | |
def | freeze (self, doit) |
[Optional] Freeze some parameters that should not be changed at runtime More... | |
def | load (self) |
[Required] Load the network from disk More... | |
def | 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 More... | |
Public Attributes | |
session | |
dataroot | |
model | |
intensors | |
inputs | |
Simple DNN network invoked from ONNX-Runtime in python.
Definition at line 23 of file PyNetORT.py.
def PyNetORT.PyNetORT.__init__ | ( | self | ) |
[Optional] Constructor
Definition at line 26 of file PyNetORT.py.
def 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 PyNetOpenCV.PyNetOpenCV.dataroot, PyNetORT.PyNetORT.dataroot, PyNetOpenCV.PyNetOpenCV.intensors, PyNetORT.PyNetORT.intensors, mobilenet_v1.MobileNetV1.model, mobilenet_v2.MobileNetV2.model, mp_palmdet.MPPalmDet.model, lpd_yunet.LPD_YuNet.model, PyNetORT.PyNetORT.model, PyNetOpenCV.PyNetOpenCV.model, and TensorFlow.model.
def PyNetORT.PyNetORT.init | ( | self | ) |
[Optional] JeVois parameters initialization
Definition at line 31 of file PyNetORT.py.
def PyNetORT.PyNetORT.load | ( | self | ) |
[Required] Load the network from disk
Definition at line 59 of file PyNetORT.py.
References PyNetOpenCV.PyNetOpenCV.dataroot, PyNetORT.PyNetORT.dataroot, mobilenet_v1.MobileNetV1.model, mobilenet_v2.MobileNetV2.model, mp_palmdet.MPPalmDet.model, lpd_yunet.LPD_YuNet.model, PyNetORT.PyNetORT.model, PyNetOpenCV.PyNetOpenCV.model, TensorFlow.model, and PyNetORT.PyNetORT.session.
def 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, and PyNetORT.PyNetORT.session.
PyNetORT.PyNetORT.dataroot |
Definition at line 34 of file PyNetORT.py.
Referenced by PyNetORT.PyNetORT.freeze(), PyNetURetinex.PyNetURetinex.freeze(), PyNetORT.PyNetORT.load(), and PyNetURetinex.PyNetURetinex.load().
PyNetORT.PyNetORT.inputs |
Definition at line 64 of file PyNetORT.py.
Referenced by PyNetORT.PyNetORT.process(), and PyNetURetinex.PyNetURetinex.process().
PyNetORT.PyNetORT.intensors |
Definition at line 46 of file PyNetORT.py.
Referenced by PyNetORT.PyNetORT.freeze(), and PyNetURetinex.PyNetURetinex.freeze().
PyNetORT.PyNetORT.model |
Definition at line 38 of file PyNetORT.py.
Referenced by PyNetORT.PyNetORT.freeze(), PyNetURetinex.PyNetURetinex.freeze(), PyNetORT.PyNetORT.load(), PyNetURetinex.PyNetURetinex.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(), and PyCoralSegment.PyCoralSegment.processGUI().
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().