JeVoisBase  1.22
JeVois Smart Embedded Machine Vision Toolkit Base Modules
Share this page:
Loading...
Searching...
No Matches

Simple DNN network invoked from OpenCV 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

 net
 
 gflops
 
 dataroot
 
 intensors
 
 outtensors
 
 config
 
 model
 

Detailed Description

Simple DNN network invoked from OpenCV in python.

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 22 of file PyNetOpenCV.py.

Constructor & Destructor Documentation

◆ __init__()

PyNetOpenCV.PyNetOpenCV.__init__ (   self)

[Optional] Constructor

Definition at line 25 of file PyNetOpenCV.py.

Member Function Documentation

◆ freeze()

◆ init()

PyNetOpenCV.PyNetOpenCV.init (   self)

[Optional] JeVois parameters initialization

Definition at line 31 of file PyNetOpenCV.py.

◆ load()

◆ process()

PyNetOpenCV.PyNetOpenCV.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 81 of file PyNetOpenCV.py.

References PyNetOpenCV.PyNetOpenCV.gflops, Darknet.net, Yolo.net, ObjectRecognition< tiny_dnn::sequential >.net, ObjectRecognition< NetType >.net, PyNetKSNN.PyNetKSNN.net, PyNetOpenCV.PyNetOpenCV.net, PyClassificationDNN.PyClassificationDNN.net, PyDetectionDNN.PyDetectionDNN.net, and PyEmotion.PyEmotion.net.

Member Data Documentation

◆ config

PyNetOpenCV.PyNetOpenCV.config

Definition at line 46 of file PyNetOpenCV.py.

Referenced by PyNetOpenCV.PyNetOpenCV.freeze(), and PyNetOpenCV.PyNetOpenCV.load().

◆ dataroot

◆ gflops

PyNetOpenCV.PyNetOpenCV.gflops

Definition at line 27 of file PyNetOpenCV.py.

Referenced by PyNetOpenCV.PyNetOpenCV.process().

◆ intensors

◆ model

◆ net

◆ outtensors

PyNetOpenCV.PyNetOpenCV.outtensors

Definition at line 42 of file PyNetOpenCV.py.

Referenced by PyNetOpenCV.PyNetOpenCV.freeze().


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