faceId

package
v1.1000.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliyunFaceIdProvider

type AliyunFaceIdProvider struct {
	AccessKey    string
	AccessSecret string

	Endpoint              string
	QualityScoreThreshold float32
}

func NewAliyunFaceIdProvider

func NewAliyunFaceIdProvider(accessKey string, accessSecret string, endPoint string) *AliyunFaceIdProvider

func (*AliyunFaceIdProvider) Check

func (provider *AliyunFaceIdProvider) Check(base64ImageA string, base64ImageB string) (bool, error)

type FaceIdProvider

type FaceIdProvider interface {
	Check(base64ImageA string, base64ImageB string) (bool, error)
}

func GetFaceIdProvider

func GetFaceIdProvider(typ string, clientId string, clientSecret string, endPoint string) FaceIdProvider

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL