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

Public Member Functions

 __init__ (self, modelPath, nmsThreshold=0.3, scoreThreshold=0.5, backendId=0, targetId=0)
 
 name (self)
 
 setBackend (self, backendId)
 
 setTarget (self, targetId)
 
 infer (self, image)
 

Public Attributes

 model_path
 
 nms_threshold
 
 score_threshold
 
 backend_id
 
 target_id
 
 input_size
 
 model
 
 anchors
 

Protected Member Functions

 _preprocess (self, image)
 
 _postprocess (self, output_blob, original_shape)
 
 _load_anchors (self)
 

Detailed Description

Definition at line 4 of file mp_palmdet.py.

Constructor & Destructor Documentation

◆ __init__()

mp_palmdet.MPPalmDet.__init__ (   self,
  modelPath,
  nmsThreshold = 0.3,
  scoreThreshold = 0.5,
  backendId = 0,
  targetId = 0 
)

Definition at line 5 of file mp_palmdet.py.

Member Function Documentation

◆ _load_anchors()

mp_palmdet.MPPalmDet._load_anchors (   self)
protected

Definition at line 83 of file mp_palmdet.py.

◆ _postprocess()

◆ _preprocess()

◆ infer()

◆ name()

mp_palmdet.MPPalmDet.name (   self)

Definition at line 21 of file mp_palmdet.py.

◆ setBackend()

◆ setTarget()

Member Data Documentation

◆ anchors

mp_palmdet.MPPalmDet.anchors

Definition at line 18 of file mp_palmdet.py.

Referenced by mp_palmdet.MPPalmDet._postprocess().

◆ backend_id

◆ input_size

◆ model

◆ model_path

mp_palmdet.MPPalmDet.model_path

◆ nms_threshold

mp_palmdet.MPPalmDet.nms_threshold

◆ score_threshold

mp_palmdet.MPPalmDet.score_threshold

Definition at line 8 of file mp_palmdet.py.

Referenced by mp_palmdet.MPPalmDet._postprocess().

◆ target_id


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