JeVoisBase  1.20
JeVois Smart Embedded Machine Vision Toolkit Base Modules
Share this page:
PyNetURetinex.PyNetURetinex Class Reference

Simple DNN network invoked from ONNX-Runtime in python for URetinex-Net. 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
 
 exposure
 
 inputs
 

Detailed Description

Simple DNN network invoked from ONNX-Runtime in python for URetinex-Net.

This network expects a fixed 1x1 tensor for a parameter, in addition to the image input

Author
Laurent Itti
Email:
itti@usc.edu
Address:
University of Southern California, HNB-07A, 3641 Watt Way, Los Angeles, CA 90089-2520, USA
Main URL:
http://jevois.org
Support URL:
http://jevois.org/doc
Other URL:
http://iLab.usc.edu
License:
GPL v3
Distribution:
Unrestricted
Restrictions:
None

Definition at line 25 of file PyNetURetinex.py.

Constructor & Destructor Documentation

◆ __init__()

def PyNetURetinex.PyNetURetinex.__init__ (   self)

[Optional] Constructor

Definition at line 28 of file PyNetURetinex.py.

Member Function Documentation

◆ freeze()

◆ init()

def PyNetURetinex.PyNetURetinex.init (   self)

[Optional] JeVois parameters initialization

Definition at line 33 of file PyNetURetinex.py.

◆ load()

◆ process()

def PyNetURetinex.PyNetURetinex.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 77 of file PyNetURetinex.py.

References PyNetURetinex.PyNetURetinex.exposure, PyNetORT.PyNetORT.inputs, PyNetURetinex.PyNetURetinex.inputs, PyNetORT.PyNetORT.session, and PyNetURetinex.PyNetURetinex.session.

Member Data Documentation

◆ dataroot

PyNetURetinex.PyNetURetinex.dataroot

◆ exposure

PyNetURetinex.PyNetURetinex.exposure

Definition at line 52 of file PyNetURetinex.py.

Referenced by PyNetURetinex.PyNetURetinex.process().

◆ inputs

PyNetURetinex.PyNetURetinex.inputs

Definition at line 70 of file PyNetURetinex.py.

Referenced by PyNetURetinex.PyNetURetinex.process().

◆ intensors

PyNetURetinex.PyNetURetinex.intensors

Definition at line 48 of file PyNetURetinex.py.

Referenced by PyNetURetinex.PyNetURetinex.freeze().

◆ model

◆ session

PyNetURetinex.PyNetURetinex.session

The documentation for this class was generated from the following file: