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

Public Member Functions

 __init__ (self, modelPath, inputSize=[736, 736], binaryThreshold=0.3, polygonThreshold=0.5, maxCandidates=200, unclipRatio=2.0, backendId=0, targetId=0)
 
 name (self)
 
 setBackend (self, backend)
 
 setTarget (self, target)
 
 setInputSize (self, input_size)
 
 infer (self, image)
 
 __init__ (self, modelPath, inputSize=[736, 736], binaryThreshold=0.3, polygonThreshold=0.5, maxCandidates=200, unclipRatio=2.0, backendId=0, targetId=0)
 
 name (self)
 
 setBackend (self, backend)
 
 setTarget (self, target)
 
 setInputSize (self, input_size)
 
 infer (self, image)
 

Protected Attributes

 _modelPath
 
 _model
 
 _inputSize
 
 _inputHeight
 
 _inputWidth
 
 _binaryThreshold
 
 _polygonThreshold
 
 _maxCandidates
 
 _unclipRatio
 
 _backendId
 
 _targetId
 

Detailed Description

Definition at line 10 of file db.py.

Constructor & Destructor Documentation

◆ __init__() [1/2]

db.DB.__init__ (   self,
  modelPath,
  inputSize = [736, 736],
  binaryThreshold = 0.3,
  polygonThreshold = 0.5,
  maxCandidates = 200,
  unclipRatio = 2.0,
  backendId = 0,
  targetId = 0 
)

Definition at line 11 of file db.py.

◆ __init__() [2/2]

Member Function Documentation

◆ infer() [1/2]

◆ infer() [2/2]

◆ name() [1/2]

db.DB.name (   self)

Definition at line 38 of file db.py.

◆ name() [2/2]

db.DB.name (   self)

Definition at line 38 of file db.py.

◆ setBackend() [1/2]

◆ setBackend() [2/2]

◆ setInputSize() [1/2]

◆ setInputSize() [2/2]

◆ setTarget() [1/2]

◆ setTarget() [2/2]

Member Data Documentation

◆ _backendId

◆ _binaryThreshold

db.DB._binaryThreshold
protected

Definition at line 20 of file db.py.

Referenced by db.DB.__init__().

◆ _inputHeight

db.DB._inputHeight
protected

Definition at line 18 of file db.py.

Referenced by db.DB.__init__().

◆ _inputSize

◆ _inputWidth

db.DB._inputWidth
protected

Definition at line 19 of file db.py.

Referenced by db.DB.__init__().

◆ _maxCandidates

db.DB._maxCandidates
protected

Definition at line 22 of file db.py.

Referenced by db.DB.__init__().

◆ _model

◆ _modelPath

db.DB._modelPath
protected

◆ _polygonThreshold

db.DB._polygonThreshold
protected

Definition at line 21 of file db.py.

Referenced by db.DB.__init__().

◆ _targetId

◆ _unclipRatio

db.DB._unclipRatio
protected

Definition at line 23 of file db.py.

Referenced by db.DB.__init__().


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