JeVoisBase
1.19
JeVois Smart Embedded Machine Vision Toolkit Base Modules
|
|
Public Member Functions | |
def | __init__ (self, modelPath, inputSize=[320, 320], confThreshold=0.6, nmsThreshold=0.3, topK=5000, backendId=0, targetId=0) |
def | name (self) |
def | setBackend (self, backendId) |
def | setTarget (self, targetId) |
def | setInputSize (self, input_size) |
def | infer (self, image) |
def 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.
References yunet.YuNet._backendId, yunet.YuNet._confThreshold, yunet.YuNet._inputSize, yunet.YuNet._model, yunet.YuNet._modelPath, yunet.YuNet._nmsThreshold, yunet.YuNet._targetId, and yunet.YuNet._topK.
def yunet.YuNet.infer | ( | self, | |
image | |||
) |
Definition at line 63 of file yunet.py.
References yunet.YuNet._model.
Referenced by sface.SFace.match(), and youtureid.YoutuReID.query().
def yunet.YuNet.setBackend | ( | self, | |
backendId | |||
) |
Definition at line 36 of file yunet.py.
References yunet.YuNet._backendId, yunet.YuNet._confThreshold, yunet.YuNet._inputSize, yunet.YuNet._model, yunet.YuNet._modelPath, yunet.YuNet._nmsThreshold, yunet.YuNet._targetId, and yunet.YuNet._topK.
def yunet.YuNet.setInputSize | ( | self, | |
input_size | |||
) |
Definition at line 60 of file yunet.py.
References yunet.YuNet._model.
def yunet.YuNet.setTarget | ( | self, | |
targetId | |||
) |
Definition at line 48 of file yunet.py.
References yunet.YuNet._backendId, yunet.YuNet._confThreshold, yunet.YuNet._inputSize, yunet.YuNet._model, yunet.YuNet._modelPath, yunet.YuNet._nmsThreshold, yunet.YuNet._targetId, and yunet.YuNet._topK.