v2

package
v0.0.95 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FrsClientBuilder

func FrsClientBuilder() *http_client.HcHttpClientBuilder

func GenReqDefForAddFacesByBase64

func GenReqDefForAddFacesByBase64() *def.HttpRequestDef

func GenReqDefForAddFacesByFile

func GenReqDefForAddFacesByFile() *def.HttpRequestDef

func GenReqDefForAddFacesByUrl

func GenReqDefForAddFacesByUrl() *def.HttpRequestDef

func GenReqDefForBatchDeleteFaces

func GenReqDefForBatchDeleteFaces() *def.HttpRequestDef

func GenReqDefForCompareFaceByBase64

func GenReqDefForCompareFaceByBase64() *def.HttpRequestDef

func GenReqDefForCompareFaceByFile

func GenReqDefForCompareFaceByFile() *def.HttpRequestDef

func GenReqDefForCompareFaceByUrl

func GenReqDefForCompareFaceByUrl() *def.HttpRequestDef

func GenReqDefForCreateFaceSet

func GenReqDefForCreateFaceSet() *def.HttpRequestDef

func GenReqDefForDeleteFaceByExternalImageId

func GenReqDefForDeleteFaceByExternalImageId() *def.HttpRequestDef

func GenReqDefForDeleteFaceByFaceId

func GenReqDefForDeleteFaceByFaceId() *def.HttpRequestDef

func GenReqDefForDeleteFaceSet

func GenReqDefForDeleteFaceSet() *def.HttpRequestDef

func GenReqDefForDetectFaceByBase64

func GenReqDefForDetectFaceByBase64() *def.HttpRequestDef

func GenReqDefForDetectFaceByBase64Intl added in v0.0.88

func GenReqDefForDetectFaceByBase64Intl() *def.HttpRequestDef

func GenReqDefForDetectFaceByFile

func GenReqDefForDetectFaceByFile() *def.HttpRequestDef

func GenReqDefForDetectFaceByFileIntl added in v0.0.88

func GenReqDefForDetectFaceByFileIntl() *def.HttpRequestDef

func GenReqDefForDetectFaceByUrl

func GenReqDefForDetectFaceByUrl() *def.HttpRequestDef

func GenReqDefForDetectFaceByUrlIntl added in v0.0.88

func GenReqDefForDetectFaceByUrlIntl() *def.HttpRequestDef

func GenReqDefForDetectLiveByBase64 added in v0.0.58

func GenReqDefForDetectLiveByBase64() *def.HttpRequestDef

func GenReqDefForDetectLiveByBase64Intl added in v0.0.88

func GenReqDefForDetectLiveByBase64Intl() *def.HttpRequestDef

func GenReqDefForDetectLiveByFile added in v0.0.58

func GenReqDefForDetectLiveByFile() *def.HttpRequestDef

func GenReqDefForDetectLiveByFileIntl added in v0.0.88

func GenReqDefForDetectLiveByFileIntl() *def.HttpRequestDef

func GenReqDefForDetectLiveByUrl added in v0.0.58

func GenReqDefForDetectLiveByUrl() *def.HttpRequestDef

func GenReqDefForDetectLiveByUrlIntl added in v0.0.88

func GenReqDefForDetectLiveByUrlIntl() *def.HttpRequestDef

func GenReqDefForDetectLiveFaceByBase64 added in v0.0.58

func GenReqDefForDetectLiveFaceByBase64() *def.HttpRequestDef

func GenReqDefForDetectLiveFaceByFile added in v0.0.58

func GenReqDefForDetectLiveFaceByFile() *def.HttpRequestDef

func GenReqDefForDetectLiveFaceByUrl added in v0.0.58

func GenReqDefForDetectLiveFaceByUrl() *def.HttpRequestDef

func GenReqDefForSearchFaceByBase64

func GenReqDefForSearchFaceByBase64() *def.HttpRequestDef

func GenReqDefForSearchFaceByFaceId

func GenReqDefForSearchFaceByFaceId() *def.HttpRequestDef

func GenReqDefForSearchFaceByFile

func GenReqDefForSearchFaceByFile() *def.HttpRequestDef

func GenReqDefForSearchFaceByUrl

func GenReqDefForSearchFaceByUrl() *def.HttpRequestDef

func GenReqDefForShowAllFaceSets

func GenReqDefForShowAllFaceSets() *def.HttpRequestDef

func GenReqDefForShowFaceSet

func GenReqDefForShowFaceSet() *def.HttpRequestDef

func GenReqDefForShowFacesByFaceId

func GenReqDefForShowFacesByFaceId() *def.HttpRequestDef

func GenReqDefForShowFacesByLimit

func GenReqDefForShowFacesByLimit() *def.HttpRequestDef

func GenReqDefForUpdateFace

func GenReqDefForUpdateFace() *def.HttpRequestDef

Types

type AddFacesByBase64Invoker added in v0.0.90

type AddFacesByBase64Invoker struct {
	*invoker.BaseInvoker
}

func (*AddFacesByBase64Invoker) Invoke added in v0.0.90

type AddFacesByFileInvoker added in v0.0.90

type AddFacesByFileInvoker struct {
	*invoker.BaseInvoker
}

func (*AddFacesByFileInvoker) Invoke added in v0.0.90

type AddFacesByUrlInvoker added in v0.0.90

type AddFacesByUrlInvoker struct {
	*invoker.BaseInvoker
}

func (*AddFacesByUrlInvoker) Invoke added in v0.0.90

type BatchDeleteFacesInvoker added in v0.0.90

type BatchDeleteFacesInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchDeleteFacesInvoker) Invoke added in v0.0.90

type CompareFaceByBase64Invoker added in v0.0.90

type CompareFaceByBase64Invoker struct {
	*invoker.BaseInvoker
}

func (*CompareFaceByBase64Invoker) Invoke added in v0.0.90

type CompareFaceByFileInvoker added in v0.0.90

type CompareFaceByFileInvoker struct {
	*invoker.BaseInvoker
}

func (*CompareFaceByFileInvoker) Invoke added in v0.0.90

type CompareFaceByUrlInvoker added in v0.0.90

type CompareFaceByUrlInvoker struct {
	*invoker.BaseInvoker
}

func (*CompareFaceByUrlInvoker) Invoke added in v0.0.90

type CreateFaceSetInvoker added in v0.0.90

type CreateFaceSetInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateFaceSetInvoker) Invoke added in v0.0.90

type DeleteFaceByExternalImageIdInvoker added in v0.0.90

type DeleteFaceByExternalImageIdInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteFaceByExternalImageIdInvoker) Invoke added in v0.0.90

type DeleteFaceByFaceIdInvoker added in v0.0.90

type DeleteFaceByFaceIdInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteFaceByFaceIdInvoker) Invoke added in v0.0.90

type DeleteFaceSetInvoker added in v0.0.90

type DeleteFaceSetInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteFaceSetInvoker) Invoke added in v0.0.90

type DetectFaceByBase64IntlInvoker added in v0.0.90

type DetectFaceByBase64IntlInvoker struct {
	*invoker.BaseInvoker
}

func (*DetectFaceByBase64IntlInvoker) Invoke added in v0.0.90

type DetectFaceByBase64Invoker added in v0.0.90

type DetectFaceByBase64Invoker struct {
	*invoker.BaseInvoker
}

func (*DetectFaceByBase64Invoker) Invoke added in v0.0.90

type DetectFaceByFileIntlInvoker added in v0.0.90

type DetectFaceByFileIntlInvoker struct {
	*invoker.BaseInvoker
}

func (*DetectFaceByFileIntlInvoker) Invoke added in v0.0.90

type DetectFaceByFileInvoker added in v0.0.90

type DetectFaceByFileInvoker struct {
	*invoker.BaseInvoker
}

func (*DetectFaceByFileInvoker) Invoke added in v0.0.90

type DetectFaceByUrlIntlInvoker added in v0.0.90

type DetectFaceByUrlIntlInvoker struct {
	*invoker.BaseInvoker
}

func (*DetectFaceByUrlIntlInvoker) Invoke added in v0.0.90

type DetectFaceByUrlInvoker added in v0.0.90

type DetectFaceByUrlInvoker struct {
	*invoker.BaseInvoker
}

func (*DetectFaceByUrlInvoker) Invoke added in v0.0.90

type DetectLiveByBase64IntlInvoker added in v0.0.90

type DetectLiveByBase64IntlInvoker struct {
	*invoker.BaseInvoker
}

func (*DetectLiveByBase64IntlInvoker) Invoke added in v0.0.90

type DetectLiveByBase64Invoker added in v0.0.90

type DetectLiveByBase64Invoker struct {
	*invoker.BaseInvoker
}

func (*DetectLiveByBase64Invoker) Invoke added in v0.0.90

type DetectLiveByFileIntlInvoker added in v0.0.90

type DetectLiveByFileIntlInvoker struct {
	*invoker.BaseInvoker
}

func (*DetectLiveByFileIntlInvoker) Invoke added in v0.0.90

type DetectLiveByFileInvoker added in v0.0.90

type DetectLiveByFileInvoker struct {
	*invoker.BaseInvoker
}

func (*DetectLiveByFileInvoker) Invoke added in v0.0.90

type DetectLiveByUrlIntlInvoker added in v0.0.90

type DetectLiveByUrlIntlInvoker struct {
	*invoker.BaseInvoker
}

func (*DetectLiveByUrlIntlInvoker) Invoke added in v0.0.90

type DetectLiveByUrlInvoker added in v0.0.90

type DetectLiveByUrlInvoker struct {
	*invoker.BaseInvoker
}

func (*DetectLiveByUrlInvoker) Invoke added in v0.0.90

type DetectLiveFaceByBase64Invoker added in v0.0.90

type DetectLiveFaceByBase64Invoker struct {
	*invoker.BaseInvoker
}

func (*DetectLiveFaceByBase64Invoker) Invoke added in v0.0.90

type DetectLiveFaceByFileInvoker added in v0.0.90

type DetectLiveFaceByFileInvoker struct {
	*invoker.BaseInvoker
}

func (*DetectLiveFaceByFileInvoker) Invoke added in v0.0.90

type DetectLiveFaceByUrlInvoker added in v0.0.90

type DetectLiveFaceByUrlInvoker struct {
	*invoker.BaseInvoker
}

func (*DetectLiveFaceByUrlInvoker) Invoke added in v0.0.90

type FrsClient

type FrsClient struct {
	HcClient *http_client.HcHttpClient
}

func NewFrsClient

func NewFrsClient(hcClient *http_client.HcHttpClient) *FrsClient

func (*FrsClient) AddFacesByBase64

func (c *FrsClient) AddFacesByBase64(request *model.AddFacesByBase64Request) (*model.AddFacesByBase64Response, error)

AddFacesByBase64 添加人脸

添加人脸到人脸库中。将单张图片中的人脸添加至人脸库中,支持添加最大人脸或所有人脸。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) AddFacesByBase64Invoker added in v0.0.90

func (c *FrsClient) AddFacesByBase64Invoker(request *model.AddFacesByBase64Request) *AddFacesByBase64Invoker

AddFacesByBase64Invoker 添加人脸

func (*FrsClient) AddFacesByFile

func (c *FrsClient) AddFacesByFile(request *model.AddFacesByFileRequest) (*model.AddFacesByFileResponse, error)

AddFacesByFile 添加人脸

添加人脸到人脸库中。将单张图片中的人脸添加至人脸库中,支持添加最大人脸或所有人脸。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) AddFacesByFileInvoker added in v0.0.90

func (c *FrsClient) AddFacesByFileInvoker(request *model.AddFacesByFileRequest) *AddFacesByFileInvoker

AddFacesByFileInvoker 添加人脸

func (*FrsClient) AddFacesByUrl

func (c *FrsClient) AddFacesByUrl(request *model.AddFacesByUrlRequest) (*model.AddFacesByUrlResponse, error)

AddFacesByUrl 添加人脸

添加人脸到人脸库中。将单张图片中的人脸添加至人脸库中,支持添加最大人脸或所有人脸。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) AddFacesByUrlInvoker added in v0.0.90

func (c *FrsClient) AddFacesByUrlInvoker(request *model.AddFacesByUrlRequest) *AddFacesByUrlInvoker

AddFacesByUrlInvoker 添加人脸

func (*FrsClient) BatchDeleteFaces

func (c *FrsClient) BatchDeleteFaces(request *model.BatchDeleteFacesRequest) (*model.BatchDeleteFacesResponse, error)

BatchDeleteFaces 批量删除人脸

自定义筛选条件,批量删除人脸库中的符合指定条件的多张人脸。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) BatchDeleteFacesInvoker added in v0.0.90

func (c *FrsClient) BatchDeleteFacesInvoker(request *model.BatchDeleteFacesRequest) *BatchDeleteFacesInvoker

BatchDeleteFacesInvoker 批量删除人脸

func (*FrsClient) CompareFaceByBase64

CompareFaceByBase64 人脸比对

人脸比对是将两个人脸进行比对,来判断是否为同一个人,返回比对置信度。如果传入的图片中包含多个人脸,选取最大的人脸进行比对。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) CompareFaceByBase64Invoker added in v0.0.90

func (c *FrsClient) CompareFaceByBase64Invoker(request *model.CompareFaceByBase64Request) *CompareFaceByBase64Invoker

CompareFaceByBase64Invoker 人脸比对

func (*FrsClient) CompareFaceByFile

func (c *FrsClient) CompareFaceByFile(request *model.CompareFaceByFileRequest) (*model.CompareFaceByFileResponse, error)

CompareFaceByFile 人脸比对

人脸比对是将两个人脸进行比对,来判断是否为同一个人,返回比对置信度。如果传入的图片中包含多个人脸,选取最大的人脸进行比对。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) CompareFaceByFileInvoker added in v0.0.90

func (c *FrsClient) CompareFaceByFileInvoker(request *model.CompareFaceByFileRequest) *CompareFaceByFileInvoker

CompareFaceByFileInvoker 人脸比对

func (*FrsClient) CompareFaceByUrl

func (c *FrsClient) CompareFaceByUrl(request *model.CompareFaceByUrlRequest) (*model.CompareFaceByUrlResponse, error)

CompareFaceByUrl 人脸比对

人脸比对是将两个人脸进行比对,来判断是否为同一个人,返回比对置信度。如果传入的图片中包含多个人脸,选取最大的人脸进行比对。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) CompareFaceByUrlInvoker added in v0.0.90

func (c *FrsClient) CompareFaceByUrlInvoker(request *model.CompareFaceByUrlRequest) *CompareFaceByUrlInvoker

CompareFaceByUrlInvoker 人脸比对

func (*FrsClient) CreateFaceSet

func (c *FrsClient) CreateFaceSet(request *model.CreateFaceSetRequest) (*model.CreateFaceSetResponse, error)

CreateFaceSet 创建人脸库

创建用于存储人脸特征的人脸库。您最多可以创建10个人脸库,每个人脸库最大容量为10万个人脸特征。如有更大规格的需求请联系客服。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) CreateFaceSetInvoker added in v0.0.90

func (c *FrsClient) CreateFaceSetInvoker(request *model.CreateFaceSetRequest) *CreateFaceSetInvoker

CreateFaceSetInvoker 创建人脸库

func (*FrsClient) DeleteFaceByExternalImageId

DeleteFaceByExternalImageId 删除人脸

根据external_image_id删除人脸。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) DeleteFaceByExternalImageIdInvoker added in v0.0.90

func (c *FrsClient) DeleteFaceByExternalImageIdInvoker(request *model.DeleteFaceByExternalImageIdRequest) *DeleteFaceByExternalImageIdInvoker

DeleteFaceByExternalImageIdInvoker 删除人脸

func (*FrsClient) DeleteFaceByFaceId

func (c *FrsClient) DeleteFaceByFaceId(request *model.DeleteFaceByFaceIdRequest) (*model.DeleteFaceByFaceIdResponse, error)

DeleteFaceByFaceId 删除人脸

根据face_id删除人脸。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) DeleteFaceByFaceIdInvoker added in v0.0.90

func (c *FrsClient) DeleteFaceByFaceIdInvoker(request *model.DeleteFaceByFaceIdRequest) *DeleteFaceByFaceIdInvoker

DeleteFaceByFaceIdInvoker 删除人脸

func (*FrsClient) DeleteFaceSet

func (c *FrsClient) DeleteFaceSet(request *model.DeleteFaceSetRequest) (*model.DeleteFaceSetResponse, error)

DeleteFaceSet 删除人脸库

删除人脸库以及其中所有的人脸。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) DeleteFaceSetInvoker added in v0.0.90

func (c *FrsClient) DeleteFaceSetInvoker(request *model.DeleteFaceSetRequest) *DeleteFaceSetInvoker

DeleteFaceSetInvoker 删除人脸库

func (*FrsClient) DetectFaceByBase64

func (c *FrsClient) DetectFaceByBase64(request *model.DetectFaceByBase64Request) (*model.DetectFaceByBase64Response, error)

DetectFaceByBase64 人脸检测

人脸检测是对输入图片进行人脸检测和分析,输出人脸在图像中的位置、人脸关键点位置和人脸关键属性。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) DetectFaceByBase64Intl added in v0.0.88

DetectFaceByBase64Intl 人脸检测

人脸检测是对输入图片进行人脸检测和分析,输出人脸在图像中的位置、人脸关键点位置和人脸关键属性。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) DetectFaceByBase64IntlInvoker added in v0.0.90

func (c *FrsClient) DetectFaceByBase64IntlInvoker(request *model.DetectFaceByBase64IntlRequest) *DetectFaceByBase64IntlInvoker

DetectFaceByBase64IntlInvoker 人脸检测

func (*FrsClient) DetectFaceByBase64Invoker added in v0.0.90

func (c *FrsClient) DetectFaceByBase64Invoker(request *model.DetectFaceByBase64Request) *DetectFaceByBase64Invoker

DetectFaceByBase64Invoker 人脸检测

func (*FrsClient) DetectFaceByFile

func (c *FrsClient) DetectFaceByFile(request *model.DetectFaceByFileRequest) (*model.DetectFaceByFileResponse, error)

DetectFaceByFile 人脸检测

人脸检测是对输入图片进行人脸检测和分析,输出人脸在图像中的位置、人脸关键点位置和人脸关键属性。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) DetectFaceByFileIntl added in v0.0.88

DetectFaceByFileIntl 人脸检测

人脸检测是对输入图片进行人脸检测和分析,输出人脸在图像中的位置、人脸关键点位置和人脸关键属性。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) DetectFaceByFileIntlInvoker added in v0.0.90

func (c *FrsClient) DetectFaceByFileIntlInvoker(request *model.DetectFaceByFileIntlRequest) *DetectFaceByFileIntlInvoker

DetectFaceByFileIntlInvoker 人脸检测

func (*FrsClient) DetectFaceByFileInvoker added in v0.0.90

func (c *FrsClient) DetectFaceByFileInvoker(request *model.DetectFaceByFileRequest) *DetectFaceByFileInvoker

DetectFaceByFileInvoker 人脸检测

func (*FrsClient) DetectFaceByUrl

func (c *FrsClient) DetectFaceByUrl(request *model.DetectFaceByUrlRequest) (*model.DetectFaceByUrlResponse, error)

DetectFaceByUrl 人脸检测

人脸检测是对输入图片进行人脸检测和分析,输出人脸在图像中的位置、人脸关键点位置和人脸关键属性。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) DetectFaceByUrlIntl added in v0.0.88

DetectFaceByUrlIntl 人脸检测

人脸检测是对输入图片进行人脸检测和分析,输出人脸在图像中的位置、人脸关键点位置和人脸关键属性。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) DetectFaceByUrlIntlInvoker added in v0.0.90

func (c *FrsClient) DetectFaceByUrlIntlInvoker(request *model.DetectFaceByUrlIntlRequest) *DetectFaceByUrlIntlInvoker

DetectFaceByUrlIntlInvoker 人脸检测

func (*FrsClient) DetectFaceByUrlInvoker added in v0.0.90

func (c *FrsClient) DetectFaceByUrlInvoker(request *model.DetectFaceByUrlRequest) *DetectFaceByUrlInvoker

DetectFaceByUrlInvoker 人脸检测

func (*FrsClient) DetectLiveByBase64 added in v0.0.58

func (c *FrsClient) DetectLiveByBase64(request *model.DetectLiveByBase64Request) (*model.DetectLiveByBase64Response, error)

DetectLiveByBase64 动作活体检测

动作活体检测是通过判断视频中的人物动作与传入动作列表是否一致来识别视频中人物是否为活体。如果有多张人脸出现,则选取最大的人脸进行判定。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) DetectLiveByBase64Intl added in v0.0.88

DetectLiveByBase64Intl 动作活体检测

动作活体检测是通过判断视频中的人物动作与传入动作列表是否一致来识别视频中人物是否为活体。如果有多张人脸出现,则选取最大的人脸进行判定。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) DetectLiveByBase64IntlInvoker added in v0.0.90

func (c *FrsClient) DetectLiveByBase64IntlInvoker(request *model.DetectLiveByBase64IntlRequest) *DetectLiveByBase64IntlInvoker

DetectLiveByBase64IntlInvoker 动作活体检测

func (*FrsClient) DetectLiveByBase64Invoker added in v0.0.90

func (c *FrsClient) DetectLiveByBase64Invoker(request *model.DetectLiveByBase64Request) *DetectLiveByBase64Invoker

DetectLiveByBase64Invoker 动作活体检测

func (*FrsClient) DetectLiveByFile added in v0.0.58

func (c *FrsClient) DetectLiveByFile(request *model.DetectLiveByFileRequest) (*model.DetectLiveByFileResponse, error)

DetectLiveByFile 动作活体检测

动作活体检测是通过判断视频中的人物动作与传入动作列表是否一致来识别视频中人物是否为活体。如果有多张人脸出现,则选取最大的人脸进行判定。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) DetectLiveByFileIntl added in v0.0.88

DetectLiveByFileIntl 动作活体检测

动作活体检测是通过判断视频中的人物动作与传入动作列表是否一致来识别视频中人物是否为活体。如果有多张人脸出现,则选取最大的人脸进行判定。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) DetectLiveByFileIntlInvoker added in v0.0.90

func (c *FrsClient) DetectLiveByFileIntlInvoker(request *model.DetectLiveByFileIntlRequest) *DetectLiveByFileIntlInvoker

DetectLiveByFileIntlInvoker 动作活体检测

func (*FrsClient) DetectLiveByFileInvoker added in v0.0.90

func (c *FrsClient) DetectLiveByFileInvoker(request *model.DetectLiveByFileRequest) *DetectLiveByFileInvoker

DetectLiveByFileInvoker 动作活体检测

func (*FrsClient) DetectLiveByUrl added in v0.0.58

func (c *FrsClient) DetectLiveByUrl(request *model.DetectLiveByUrlRequest) (*model.DetectLiveByUrlResponse, error)

DetectLiveByUrl 动作活体检测

动作活体检测是通过判断视频中的人物动作与传入动作列表是否一致来识别视频中人物是否为活体。如果有多张人脸出现,则选取最大的人脸进行判定。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) DetectLiveByUrlIntl added in v0.0.88

DetectLiveByUrlIntl 动作活体检测

动作活体检测是通过判断视频中的人物动作与传入动作列表是否一致来识别视频中人物是否为活体。如果有多张人脸出现,则选取最大的人脸进行判定。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) DetectLiveByUrlIntlInvoker added in v0.0.90

func (c *FrsClient) DetectLiveByUrlIntlInvoker(request *model.DetectLiveByUrlIntlRequest) *DetectLiveByUrlIntlInvoker

DetectLiveByUrlIntlInvoker 动作活体检测

func (*FrsClient) DetectLiveByUrlInvoker added in v0.0.90

func (c *FrsClient) DetectLiveByUrlInvoker(request *model.DetectLiveByUrlRequest) *DetectLiveByUrlInvoker

DetectLiveByUrlInvoker 动作活体检测

func (*FrsClient) DetectLiveFaceByBase64 added in v0.0.58

DetectLiveFaceByBase64 静默活体检测

静默活体检测是基于人脸图片中可能存在的畸变、摩尔纹、反光、倒影、边框等信息,判断图片中的人脸是否来自于真人活体,有效抵御纸质翻拍照、电子翻拍照以及视频翻拍等各种攻击方式。静默活体检测支持单张图片,不支持多人脸图片。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) DetectLiveFaceByBase64Invoker added in v0.0.90

func (c *FrsClient) DetectLiveFaceByBase64Invoker(request *model.DetectLiveFaceByBase64Request) *DetectLiveFaceByBase64Invoker

DetectLiveFaceByBase64Invoker 静默活体检测

func (*FrsClient) DetectLiveFaceByFile added in v0.0.58

DetectLiveFaceByFile 静默活体检测

静默活体检测是基于人脸图片中可能存在的畸变、摩尔纹、反光、倒影、边框等信息,判断图片中的人脸是否来自于真人活体,有效抵御纸质翻拍照、电子翻拍照以及视频翻拍等各种攻击方式。静默活体检测支持单张图片,不支持多人脸图片。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) DetectLiveFaceByFileInvoker added in v0.0.90

func (c *FrsClient) DetectLiveFaceByFileInvoker(request *model.DetectLiveFaceByFileRequest) *DetectLiveFaceByFileInvoker

DetectLiveFaceByFileInvoker 静默活体检测

func (*FrsClient) DetectLiveFaceByUrl added in v0.0.58

DetectLiveFaceByUrl 静默活体检测

静默活体检测是基于人脸图片中可能存在的畸变、摩尔纹、反光、倒影、边框等信息,判断图片中的人脸是否来自于真人活体,有效抵御纸质翻拍照、电子翻拍照以及视频翻拍等各种攻击方式。静默活体检测支持单张图片,不支持多人脸图片。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) DetectLiveFaceByUrlInvoker added in v0.0.90

func (c *FrsClient) DetectLiveFaceByUrlInvoker(request *model.DetectLiveFaceByUrlRequest) *DetectLiveFaceByUrlInvoker

DetectLiveFaceByUrlInvoker 静默活体检测

func (*FrsClient) SearchFaceByBase64

func (c *FrsClient) SearchFaceByBase64(request *model.SearchFaceByBase64Request) (*model.SearchFaceByBase64Response, error)

SearchFaceByBase64 人脸搜索

人脸搜索是指在已有的人脸库中,查询与目标人脸相似的一张或者多张人脸,并返回相应的置信度。 支持传入图片或者faceID进行人脸搜索,如果传入的是多张人脸图片,选取图片中检测到的最大尺寸人脸作为检索的输入。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) SearchFaceByBase64Invoker added in v0.0.90

func (c *FrsClient) SearchFaceByBase64Invoker(request *model.SearchFaceByBase64Request) *SearchFaceByBase64Invoker

SearchFaceByBase64Invoker 人脸搜索

func (*FrsClient) SearchFaceByFaceId

func (c *FrsClient) SearchFaceByFaceId(request *model.SearchFaceByFaceIdRequest) (*model.SearchFaceByFaceIdResponse, error)

SearchFaceByFaceId 人脸搜索

人脸搜索是指在已有的人脸库中,查询与目标人脸相似的一张或者多张人脸,并返回相应的置信度。 支持传入图片或者faceID进行人脸搜索,如果传入的是多张人脸图片,选取图片中检测到的最大尺寸人脸作为检索的输入。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) SearchFaceByFaceIdInvoker added in v0.0.90

func (c *FrsClient) SearchFaceByFaceIdInvoker(request *model.SearchFaceByFaceIdRequest) *SearchFaceByFaceIdInvoker

SearchFaceByFaceIdInvoker 人脸搜索

func (*FrsClient) SearchFaceByFile

func (c *FrsClient) SearchFaceByFile(request *model.SearchFaceByFileRequest) (*model.SearchFaceByFileResponse, error)

SearchFaceByFile 人脸搜索

人脸搜索是指在已有的人脸库中,查询与目标人脸相似的一张或者多张人脸,并返回相应的置信度。 支持传入图片或者faceID进行人脸搜索,如果传入的是多张人脸图片,选取图片中检测到的最大尺寸人脸作为检索的输入。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) SearchFaceByFileInvoker added in v0.0.90

func (c *FrsClient) SearchFaceByFileInvoker(request *model.SearchFaceByFileRequest) *SearchFaceByFileInvoker

SearchFaceByFileInvoker 人脸搜索

func (*FrsClient) SearchFaceByUrl

func (c *FrsClient) SearchFaceByUrl(request *model.SearchFaceByUrlRequest) (*model.SearchFaceByUrlResponse, error)

SearchFaceByUrl 人脸搜索

人脸搜索是指在已有的人脸库中,查询与目标人脸相似的一张或者多张人脸,并返回相应的置信度。 支持传入图片或者faceID进行人脸搜索,如果传入的是多张人脸图片,选取图片中检测到的最大尺寸人脸作为检索的输入。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) SearchFaceByUrlInvoker added in v0.0.90

func (c *FrsClient) SearchFaceByUrlInvoker(request *model.SearchFaceByUrlRequest) *SearchFaceByUrlInvoker

SearchFaceByUrlInvoker 人脸搜索

func (*FrsClient) ShowAllFaceSets

func (c *FrsClient) ShowAllFaceSets(request *model.ShowAllFaceSetsRequest) (*model.ShowAllFaceSetsResponse, error)

ShowAllFaceSets 查询所有人脸库

查询当前用户所有人脸库的状态信息。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) ShowAllFaceSetsInvoker added in v0.0.90

func (c *FrsClient) ShowAllFaceSetsInvoker(request *model.ShowAllFaceSetsRequest) *ShowAllFaceSetsInvoker

ShowAllFaceSetsInvoker 查询所有人脸库

func (*FrsClient) ShowFaceSet

func (c *FrsClient) ShowFaceSet(request *model.ShowFaceSetRequest) (*model.ShowFaceSetResponse, error)

ShowFaceSet 查询人脸库

查询人脸库当前的状态。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) ShowFaceSetInvoker added in v0.0.90

func (c *FrsClient) ShowFaceSetInvoker(request *model.ShowFaceSetRequest) *ShowFaceSetInvoker

ShowFaceSetInvoker 查询人脸库

func (*FrsClient) ShowFacesByFaceId

func (c *FrsClient) ShowFacesByFaceId(request *model.ShowFacesByFaceIdRequest) (*model.ShowFacesByFaceIdResponse, error)

ShowFacesByFaceId 查询人脸

查询指定人脸库中人脸信息。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) ShowFacesByFaceIdInvoker added in v0.0.90

func (c *FrsClient) ShowFacesByFaceIdInvoker(request *model.ShowFacesByFaceIdRequest) *ShowFacesByFaceIdInvoker

ShowFacesByFaceIdInvoker 查询人脸

func (*FrsClient) ShowFacesByLimit

func (c *FrsClient) ShowFacesByLimit(request *model.ShowFacesByLimitRequest) (*model.ShowFacesByLimitResponse, error)

ShowFacesByLimit 查询人脸

查询指定人脸库中人脸信息。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) ShowFacesByLimitInvoker added in v0.0.90

func (c *FrsClient) ShowFacesByLimitInvoker(request *model.ShowFacesByLimitRequest) *ShowFacesByLimitInvoker

ShowFacesByLimitInvoker 查询人脸

func (*FrsClient) UpdateFace

func (c *FrsClient) UpdateFace(request *model.UpdateFaceRequest) (*model.UpdateFaceResponse, error)

UpdateFace 更新人脸

根据人脸ID(face_id)更新单张人脸信息。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*FrsClient) UpdateFaceInvoker added in v0.0.90

func (c *FrsClient) UpdateFaceInvoker(request *model.UpdateFaceRequest) *UpdateFaceInvoker

UpdateFaceInvoker 更新人脸

type SearchFaceByBase64Invoker added in v0.0.90

type SearchFaceByBase64Invoker struct {
	*invoker.BaseInvoker
}

func (*SearchFaceByBase64Invoker) Invoke added in v0.0.90

type SearchFaceByFaceIdInvoker added in v0.0.90

type SearchFaceByFaceIdInvoker struct {
	*invoker.BaseInvoker
}

func (*SearchFaceByFaceIdInvoker) Invoke added in v0.0.90

type SearchFaceByFileInvoker added in v0.0.90

type SearchFaceByFileInvoker struct {
	*invoker.BaseInvoker
}

func (*SearchFaceByFileInvoker) Invoke added in v0.0.90

type SearchFaceByUrlInvoker added in v0.0.90

type SearchFaceByUrlInvoker struct {
	*invoker.BaseInvoker
}

func (*SearchFaceByUrlInvoker) Invoke added in v0.0.90

type ShowAllFaceSetsInvoker added in v0.0.90

type ShowAllFaceSetsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowAllFaceSetsInvoker) Invoke added in v0.0.90

type ShowFaceSetInvoker added in v0.0.90

type ShowFaceSetInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowFaceSetInvoker) Invoke added in v0.0.90

type ShowFacesByFaceIdInvoker added in v0.0.90

type ShowFacesByFaceIdInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowFacesByFaceIdInvoker) Invoke added in v0.0.90

type ShowFacesByLimitInvoker added in v0.0.90

type ShowFacesByLimitInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowFacesByLimitInvoker) Invoke added in v0.0.90

type UpdateFaceInvoker added in v0.0.90

type UpdateFaceInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateFaceInvoker) Invoke added in v0.0.90

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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