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

Public Member Functions

 __init__ (self, modelPath, inputSize=[320, 320], confThreshold=0.6, nmsThreshold=0.3, topK=5000, backendId=0, targetId=0)
 
 name (self)
 
 setBackend (self, backendId)
 
 setTarget (self, targetId)
 
 setInputSize (self, input_size)
 
 infer (self, image)
 

Protected Attributes

 _modelPath
 
 _inputSize
 
 _confThreshold
 
 _nmsThreshold
 
 _topK
 
 _backendId
 
 _targetId
 
 _model
 

Detailed Description

Definition at line 12 of file yunet.py.

Constructor & Destructor Documentation

◆ __init__()

yunet.YuNet.__init__ (   self,
  modelPath,
  inputSize = [320, 320],
  confThreshold = 0.6,
  nmsThreshold = 0.3,
  topK = 5000,
  backendId = 0,
  targetId = 0 
)

Definition at line 13 of file yunet.py.

Member Function Documentation

◆ infer()

◆ name()

yunet.YuNet.name (   self)

Definition at line 33 of file yunet.py.

◆ setBackend()

◆ setInputSize()

◆ setTarget()

Member Data Documentation

◆ _backendId

◆ _confThreshold

yunet.YuNet._confThreshold
protected

Definition at line 16 of file yunet.py.

Referenced by yunet.YuNet.setBackend(), and yunet.YuNet.setTarget().

◆ _inputSize

◆ _model

◆ _modelPath

yunet.YuNet._modelPath
protected

◆ _nmsThreshold

yunet.YuNet._nmsThreshold
protected

Definition at line 17 of file yunet.py.

Referenced by yunet.YuNet.setBackend(), and yunet.YuNet.setTarget().

◆ _targetId

◆ _topK

yunet.YuNet._topK
protected

Definition at line 18 of file yunet.py.

Referenced by yunet.YuNet.setBackend(), and yunet.YuNet.setTarget().


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