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

Public Member Functions

 __init__ (self, modelPath, disType=0, backendId=0, targetId=0)
 
 name (self)
 
 setBackend (self, backendId)
 
 setTarget (self, targetId)
 
 infer (self, image, bbox=None)
 
 match (self, image1, face1, image2, face2)
 

Protected Member Functions

 _preprocess (self, image, bbox)
 

Protected Attributes

 _modelPath
 
 _backendId
 
 _targetId
 
 _model
 
 _disType
 
 _threshold_cosine
 
 _threshold_norml2
 

Detailed Description

Definition at line 12 of file sface.py.

Constructor & Destructor Documentation

◆ __init__()

sface.SFace.__init__ (   self,
  modelPath,
  disType = 0,
  backendId = 0,
  targetId = 0 
)

Definition at line 13 of file sface.py.

Member Function Documentation

◆ _preprocess()

◆ infer()

◆ match()

◆ name()

sface.SFace.name (   self)

Definition at line 30 of file sface.py.

◆ setBackend()

◆ setTarget()

Member Data Documentation

◆ _backendId

◆ _disType

sface.SFace._disType
protected

Definition at line 23 of file sface.py.

Referenced by sface.SFace.match().

◆ _model

◆ _modelPath

sface.SFace._modelPath
protected

◆ _targetId

◆ _threshold_cosine

sface.SFace._threshold_cosine
protected

Definition at line 26 of file sface.py.

Referenced by sface.SFace.match().

◆ _threshold_norml2

sface.SFace._threshold_norml2
protected

Definition at line 27 of file sface.py.

Referenced by sface.SFace.match().


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