Documentation ¶
Index ¶
- func FrsClientBuilder() *httpclient.HcHttpClientBuilder
- func GenReqDefForAddFacesByBase64() *def.HttpRequestDef
- func GenReqDefForAddFacesByFile() *def.HttpRequestDef
- func GenReqDefForAddFacesByUrl() *def.HttpRequestDef
- func GenReqDefForBatchDeleteFaces() *def.HttpRequestDef
- func GenReqDefForCompareFaceByBase64() *def.HttpRequestDef
- func GenReqDefForCompareFaceByFile() *def.HttpRequestDef
- func GenReqDefForCompareFaceByUrl() *def.HttpRequestDef
- func GenReqDefForCreateFaceSet() *def.HttpRequestDef
- func GenReqDefForDeleteFaceByExternalImageId() *def.HttpRequestDef
- func GenReqDefForDeleteFaceByFaceId() *def.HttpRequestDef
- func GenReqDefForDeleteFaceSet() *def.HttpRequestDef
- func GenReqDefForDetectFaceByBase64() *def.HttpRequestDef
- func GenReqDefForDetectFaceByBase64Intl() *def.HttpRequestDef
- func GenReqDefForDetectFaceByFile() *def.HttpRequestDef
- func GenReqDefForDetectFaceByFileIntl() *def.HttpRequestDef
- func GenReqDefForDetectFaceByUrl() *def.HttpRequestDef
- func GenReqDefForDetectFaceByUrlIntl() *def.HttpRequestDef
- func GenReqDefForDetectLiveByBase64() *def.HttpRequestDef
- func GenReqDefForDetectLiveByBase64Intl() *def.HttpRequestDef
- func GenReqDefForDetectLiveByFile() *def.HttpRequestDef
- func GenReqDefForDetectLiveByFileIntl() *def.HttpRequestDef
- func GenReqDefForDetectLiveByUrl() *def.HttpRequestDef
- func GenReqDefForDetectLiveByUrlIntl() *def.HttpRequestDef
- func GenReqDefForDetectLiveFaceByBase64() *def.HttpRequestDef
- func GenReqDefForDetectLiveFaceByFile() *def.HttpRequestDef
- func GenReqDefForDetectLiveFaceByUrl() *def.HttpRequestDef
- func GenReqDefForSearchFaceByBase64() *def.HttpRequestDef
- func GenReqDefForSearchFaceByFaceId() *def.HttpRequestDef
- func GenReqDefForSearchFaceByFile() *def.HttpRequestDef
- func GenReqDefForSearchFaceByUrl() *def.HttpRequestDef
- func GenReqDefForShowAllFaceSets() *def.HttpRequestDef
- func GenReqDefForShowFaceSet() *def.HttpRequestDef
- func GenReqDefForShowFacesByFaceId() *def.HttpRequestDef
- func GenReqDefForShowFacesByLimit() *def.HttpRequestDef
- func GenReqDefForUpdateFace() *def.HttpRequestDef
- type AddFacesByBase64Invoker
- type AddFacesByFileInvoker
- type AddFacesByUrlInvoker
- type BatchDeleteFacesInvoker
- type CompareFaceByBase64Invoker
- type CompareFaceByFileInvoker
- type CompareFaceByUrlInvoker
- type CreateFaceSetInvoker
- type DeleteFaceByExternalImageIdInvoker
- type DeleteFaceByFaceIdInvoker
- type DeleteFaceSetInvoker
- type DetectFaceByBase64IntlInvoker
- type DetectFaceByBase64Invoker
- type DetectFaceByFileIntlInvoker
- type DetectFaceByFileInvoker
- type DetectFaceByUrlIntlInvoker
- type DetectFaceByUrlInvoker
- type DetectLiveByBase64IntlInvoker
- type DetectLiveByBase64Invoker
- type DetectLiveByFileIntlInvoker
- type DetectLiveByFileInvoker
- type DetectLiveByUrlIntlInvoker
- type DetectLiveByUrlInvoker
- type DetectLiveFaceByBase64Invoker
- type DetectLiveFaceByFileInvoker
- type DetectLiveFaceByUrlInvoker
- type FrsClient
- func (c *FrsClient) AddFacesByBase64(request *model.AddFacesByBase64Request) (*model.AddFacesByBase64Response, error)
- func (c *FrsClient) AddFacesByBase64Invoker(request *model.AddFacesByBase64Request) *AddFacesByBase64Invoker
- func (c *FrsClient) AddFacesByFile(request *model.AddFacesByFileRequest) (*model.AddFacesByFileResponse, error)
- func (c *FrsClient) AddFacesByFileInvoker(request *model.AddFacesByFileRequest) *AddFacesByFileInvoker
- func (c *FrsClient) AddFacesByUrl(request *model.AddFacesByUrlRequest) (*model.AddFacesByUrlResponse, error)
- func (c *FrsClient) AddFacesByUrlInvoker(request *model.AddFacesByUrlRequest) *AddFacesByUrlInvoker
- func (c *FrsClient) BatchDeleteFaces(request *model.BatchDeleteFacesRequest) (*model.BatchDeleteFacesResponse, error)
- func (c *FrsClient) BatchDeleteFacesInvoker(request *model.BatchDeleteFacesRequest) *BatchDeleteFacesInvoker
- func (c *FrsClient) CompareFaceByBase64(request *model.CompareFaceByBase64Request) (*model.CompareFaceByBase64Response, error)
- func (c *FrsClient) CompareFaceByBase64Invoker(request *model.CompareFaceByBase64Request) *CompareFaceByBase64Invoker
- func (c *FrsClient) CompareFaceByFile(request *model.CompareFaceByFileRequest) (*model.CompareFaceByFileResponse, error)
- func (c *FrsClient) CompareFaceByFileInvoker(request *model.CompareFaceByFileRequest) *CompareFaceByFileInvoker
- func (c *FrsClient) CompareFaceByUrl(request *model.CompareFaceByUrlRequest) (*model.CompareFaceByUrlResponse, error)
- func (c *FrsClient) CompareFaceByUrlInvoker(request *model.CompareFaceByUrlRequest) *CompareFaceByUrlInvoker
- func (c *FrsClient) CreateFaceSet(request *model.CreateFaceSetRequest) (*model.CreateFaceSetResponse, error)
- func (c *FrsClient) CreateFaceSetInvoker(request *model.CreateFaceSetRequest) *CreateFaceSetInvoker
- func (c *FrsClient) DeleteFaceByExternalImageId(request *model.DeleteFaceByExternalImageIdRequest) (*model.DeleteFaceByExternalImageIdResponse, error)
- func (c *FrsClient) DeleteFaceByExternalImageIdInvoker(request *model.DeleteFaceByExternalImageIdRequest) *DeleteFaceByExternalImageIdInvoker
- func (c *FrsClient) DeleteFaceByFaceId(request *model.DeleteFaceByFaceIdRequest) (*model.DeleteFaceByFaceIdResponse, error)
- func (c *FrsClient) DeleteFaceByFaceIdInvoker(request *model.DeleteFaceByFaceIdRequest) *DeleteFaceByFaceIdInvoker
- func (c *FrsClient) DeleteFaceSet(request *model.DeleteFaceSetRequest) (*model.DeleteFaceSetResponse, error)
- func (c *FrsClient) DeleteFaceSetInvoker(request *model.DeleteFaceSetRequest) *DeleteFaceSetInvoker
- func (c *FrsClient) DetectFaceByBase64(request *model.DetectFaceByBase64Request) (*model.DetectFaceByBase64Response, error)
- func (c *FrsClient) DetectFaceByBase64Intl(request *model.DetectFaceByBase64IntlRequest) (*model.DetectFaceByBase64IntlResponse, error)
- func (c *FrsClient) DetectFaceByBase64IntlInvoker(request *model.DetectFaceByBase64IntlRequest) *DetectFaceByBase64IntlInvoker
- func (c *FrsClient) DetectFaceByBase64Invoker(request *model.DetectFaceByBase64Request) *DetectFaceByBase64Invoker
- func (c *FrsClient) DetectFaceByFile(request *model.DetectFaceByFileRequest) (*model.DetectFaceByFileResponse, error)
- func (c *FrsClient) DetectFaceByFileIntl(request *model.DetectFaceByFileIntlRequest) (*model.DetectFaceByFileIntlResponse, error)
- func (c *FrsClient) DetectFaceByFileIntlInvoker(request *model.DetectFaceByFileIntlRequest) *DetectFaceByFileIntlInvoker
- func (c *FrsClient) DetectFaceByFileInvoker(request *model.DetectFaceByFileRequest) *DetectFaceByFileInvoker
- func (c *FrsClient) DetectFaceByUrl(request *model.DetectFaceByUrlRequest) (*model.DetectFaceByUrlResponse, error)
- func (c *FrsClient) DetectFaceByUrlIntl(request *model.DetectFaceByUrlIntlRequest) (*model.DetectFaceByUrlIntlResponse, error)
- func (c *FrsClient) DetectFaceByUrlIntlInvoker(request *model.DetectFaceByUrlIntlRequest) *DetectFaceByUrlIntlInvoker
- func (c *FrsClient) DetectFaceByUrlInvoker(request *model.DetectFaceByUrlRequest) *DetectFaceByUrlInvoker
- func (c *FrsClient) DetectLiveByBase64(request *model.DetectLiveByBase64Request) (*model.DetectLiveByBase64Response, error)
- func (c *FrsClient) DetectLiveByBase64Intl(request *model.DetectLiveByBase64IntlRequest) (*model.DetectLiveByBase64IntlResponse, error)
- func (c *FrsClient) DetectLiveByBase64IntlInvoker(request *model.DetectLiveByBase64IntlRequest) *DetectLiveByBase64IntlInvoker
- func (c *FrsClient) DetectLiveByBase64Invoker(request *model.DetectLiveByBase64Request) *DetectLiveByBase64Invoker
- func (c *FrsClient) DetectLiveByFile(request *model.DetectLiveByFileRequest) (*model.DetectLiveByFileResponse, error)
- func (c *FrsClient) DetectLiveByFileIntl(request *model.DetectLiveByFileIntlRequest) (*model.DetectLiveByFileIntlResponse, error)
- func (c *FrsClient) DetectLiveByFileIntlInvoker(request *model.DetectLiveByFileIntlRequest) *DetectLiveByFileIntlInvoker
- func (c *FrsClient) DetectLiveByFileInvoker(request *model.DetectLiveByFileRequest) *DetectLiveByFileInvoker
- func (c *FrsClient) DetectLiveByUrl(request *model.DetectLiveByUrlRequest) (*model.DetectLiveByUrlResponse, error)
- func (c *FrsClient) DetectLiveByUrlIntl(request *model.DetectLiveByUrlIntlRequest) (*model.DetectLiveByUrlIntlResponse, error)
- func (c *FrsClient) DetectLiveByUrlIntlInvoker(request *model.DetectLiveByUrlIntlRequest) *DetectLiveByUrlIntlInvoker
- func (c *FrsClient) DetectLiveByUrlInvoker(request *model.DetectLiveByUrlRequest) *DetectLiveByUrlInvoker
- func (c *FrsClient) DetectLiveFaceByBase64(request *model.DetectLiveFaceByBase64Request) (*model.DetectLiveFaceByBase64Response, error)
- func (c *FrsClient) DetectLiveFaceByBase64Invoker(request *model.DetectLiveFaceByBase64Request) *DetectLiveFaceByBase64Invoker
- func (c *FrsClient) DetectLiveFaceByFile(request *model.DetectLiveFaceByFileRequest) (*model.DetectLiveFaceByFileResponse, error)
- func (c *FrsClient) DetectLiveFaceByFileInvoker(request *model.DetectLiveFaceByFileRequest) *DetectLiveFaceByFileInvoker
- func (c *FrsClient) DetectLiveFaceByUrl(request *model.DetectLiveFaceByUrlRequest) (*model.DetectLiveFaceByUrlResponse, error)
- func (c *FrsClient) DetectLiveFaceByUrlInvoker(request *model.DetectLiveFaceByUrlRequest) *DetectLiveFaceByUrlInvoker
- func (c *FrsClient) SearchFaceByBase64(request *model.SearchFaceByBase64Request) (*model.SearchFaceByBase64Response, error)
- func (c *FrsClient) SearchFaceByBase64Invoker(request *model.SearchFaceByBase64Request) *SearchFaceByBase64Invoker
- func (c *FrsClient) SearchFaceByFaceId(request *model.SearchFaceByFaceIdRequest) (*model.SearchFaceByFaceIdResponse, error)
- func (c *FrsClient) SearchFaceByFaceIdInvoker(request *model.SearchFaceByFaceIdRequest) *SearchFaceByFaceIdInvoker
- func (c *FrsClient) SearchFaceByFile(request *model.SearchFaceByFileRequest) (*model.SearchFaceByFileResponse, error)
- func (c *FrsClient) SearchFaceByFileInvoker(request *model.SearchFaceByFileRequest) *SearchFaceByFileInvoker
- func (c *FrsClient) SearchFaceByUrl(request *model.SearchFaceByUrlRequest) (*model.SearchFaceByUrlResponse, error)
- func (c *FrsClient) SearchFaceByUrlInvoker(request *model.SearchFaceByUrlRequest) *SearchFaceByUrlInvoker
- func (c *FrsClient) ShowAllFaceSets(request *model.ShowAllFaceSetsRequest) (*model.ShowAllFaceSetsResponse, error)
- func (c *FrsClient) ShowAllFaceSetsInvoker(request *model.ShowAllFaceSetsRequest) *ShowAllFaceSetsInvoker
- func (c *FrsClient) ShowFaceSet(request *model.ShowFaceSetRequest) (*model.ShowFaceSetResponse, error)
- func (c *FrsClient) ShowFaceSetInvoker(request *model.ShowFaceSetRequest) *ShowFaceSetInvoker
- func (c *FrsClient) ShowFacesByFaceId(request *model.ShowFacesByFaceIdRequest) (*model.ShowFacesByFaceIdResponse, error)
- func (c *FrsClient) ShowFacesByFaceIdInvoker(request *model.ShowFacesByFaceIdRequest) *ShowFacesByFaceIdInvoker
- func (c *FrsClient) ShowFacesByLimit(request *model.ShowFacesByLimitRequest) (*model.ShowFacesByLimitResponse, error)
- func (c *FrsClient) ShowFacesByLimitInvoker(request *model.ShowFacesByLimitRequest) *ShowFacesByLimitInvoker
- func (c *FrsClient) UpdateFace(request *model.UpdateFaceRequest) (*model.UpdateFaceResponse, error)
- func (c *FrsClient) UpdateFaceInvoker(request *model.UpdateFaceRequest) *UpdateFaceInvoker
- type SearchFaceByBase64Invoker
- type SearchFaceByFaceIdInvoker
- type SearchFaceByFileInvoker
- type SearchFaceByUrlInvoker
- type ShowAllFaceSetsInvoker
- type ShowFaceSetInvoker
- type ShowFacesByFaceIdInvoker
- type ShowFacesByLimitInvoker
- type UpdateFaceInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FrsClientBuilder ¶
func FrsClientBuilder() *httpclient.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) GetBaseInvoker ¶ added in v0.1.118
func (i *AddFacesByBase64Invoker) GetBaseInvoker() *invoker.BaseInvoker
func (*AddFacesByBase64Invoker) Invoke ¶ added in v0.0.90
func (i *AddFacesByBase64Invoker) Invoke() (*model.AddFacesByBase64Response, error)
type AddFacesByFileInvoker ¶ added in v0.0.90
type AddFacesByFileInvoker struct {
*invoker.BaseInvoker
}
func (*AddFacesByFileInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *AddFacesByFileInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*AddFacesByFileInvoker) Invoke ¶ added in v0.0.90
func (i *AddFacesByFileInvoker) Invoke() (*model.AddFacesByFileResponse, error)
type AddFacesByUrlInvoker ¶ added in v0.0.90
type AddFacesByUrlInvoker struct {
*invoker.BaseInvoker
}
func (*AddFacesByUrlInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *AddFacesByUrlInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*AddFacesByUrlInvoker) Invoke ¶ added in v0.0.90
func (i *AddFacesByUrlInvoker) Invoke() (*model.AddFacesByUrlResponse, error)
type BatchDeleteFacesInvoker ¶ added in v0.0.90
type BatchDeleteFacesInvoker struct {
*invoker.BaseInvoker
}
func (*BatchDeleteFacesInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *BatchDeleteFacesInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*BatchDeleteFacesInvoker) Invoke ¶ added in v0.0.90
func (i *BatchDeleteFacesInvoker) Invoke() (*model.BatchDeleteFacesResponse, error)
type CompareFaceByBase64Invoker ¶ added in v0.0.90
type CompareFaceByBase64Invoker struct {
*invoker.BaseInvoker
}
func (*CompareFaceByBase64Invoker) GetBaseInvoker ¶ added in v0.1.118
func (i *CompareFaceByBase64Invoker) GetBaseInvoker() *invoker.BaseInvoker
func (*CompareFaceByBase64Invoker) Invoke ¶ added in v0.0.90
func (i *CompareFaceByBase64Invoker) Invoke() (*model.CompareFaceByBase64Response, error)
type CompareFaceByFileInvoker ¶ added in v0.0.90
type CompareFaceByFileInvoker struct {
*invoker.BaseInvoker
}
func (*CompareFaceByFileInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *CompareFaceByFileInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*CompareFaceByFileInvoker) Invoke ¶ added in v0.0.90
func (i *CompareFaceByFileInvoker) Invoke() (*model.CompareFaceByFileResponse, error)
type CompareFaceByUrlInvoker ¶ added in v0.0.90
type CompareFaceByUrlInvoker struct {
*invoker.BaseInvoker
}
func (*CompareFaceByUrlInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *CompareFaceByUrlInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*CompareFaceByUrlInvoker) Invoke ¶ added in v0.0.90
func (i *CompareFaceByUrlInvoker) Invoke() (*model.CompareFaceByUrlResponse, error)
type CreateFaceSetInvoker ¶ added in v0.0.90
type CreateFaceSetInvoker struct {
*invoker.BaseInvoker
}
func (*CreateFaceSetInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *CreateFaceSetInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*CreateFaceSetInvoker) Invoke ¶ added in v0.0.90
func (i *CreateFaceSetInvoker) Invoke() (*model.CreateFaceSetResponse, error)
type DeleteFaceByExternalImageIdInvoker ¶ added in v0.0.90
type DeleteFaceByExternalImageIdInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteFaceByExternalImageIdInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *DeleteFaceByExternalImageIdInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*DeleteFaceByExternalImageIdInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteFaceByExternalImageIdInvoker) Invoke() (*model.DeleteFaceByExternalImageIdResponse, error)
type DeleteFaceByFaceIdInvoker ¶ added in v0.0.90
type DeleteFaceByFaceIdInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteFaceByFaceIdInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *DeleteFaceByFaceIdInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*DeleteFaceByFaceIdInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteFaceByFaceIdInvoker) Invoke() (*model.DeleteFaceByFaceIdResponse, error)
type DeleteFaceSetInvoker ¶ added in v0.0.90
type DeleteFaceSetInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteFaceSetInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *DeleteFaceSetInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*DeleteFaceSetInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteFaceSetInvoker) Invoke() (*model.DeleteFaceSetResponse, error)
type DetectFaceByBase64IntlInvoker ¶ added in v0.0.90
type DetectFaceByBase64IntlInvoker struct {
*invoker.BaseInvoker
}
func (*DetectFaceByBase64IntlInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *DetectFaceByBase64IntlInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*DetectFaceByBase64IntlInvoker) Invoke ¶ added in v0.0.90
func (i *DetectFaceByBase64IntlInvoker) Invoke() (*model.DetectFaceByBase64IntlResponse, error)
type DetectFaceByBase64Invoker ¶ added in v0.0.90
type DetectFaceByBase64Invoker struct {
*invoker.BaseInvoker
}
func (*DetectFaceByBase64Invoker) GetBaseInvoker ¶ added in v0.1.118
func (i *DetectFaceByBase64Invoker) GetBaseInvoker() *invoker.BaseInvoker
func (*DetectFaceByBase64Invoker) Invoke ¶ added in v0.0.90
func (i *DetectFaceByBase64Invoker) Invoke() (*model.DetectFaceByBase64Response, error)
type DetectFaceByFileIntlInvoker ¶ added in v0.0.90
type DetectFaceByFileIntlInvoker struct {
*invoker.BaseInvoker
}
func (*DetectFaceByFileIntlInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *DetectFaceByFileIntlInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*DetectFaceByFileIntlInvoker) Invoke ¶ added in v0.0.90
func (i *DetectFaceByFileIntlInvoker) Invoke() (*model.DetectFaceByFileIntlResponse, error)
type DetectFaceByFileInvoker ¶ added in v0.0.90
type DetectFaceByFileInvoker struct {
*invoker.BaseInvoker
}
func (*DetectFaceByFileInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *DetectFaceByFileInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*DetectFaceByFileInvoker) Invoke ¶ added in v0.0.90
func (i *DetectFaceByFileInvoker) Invoke() (*model.DetectFaceByFileResponse, error)
type DetectFaceByUrlIntlInvoker ¶ added in v0.0.90
type DetectFaceByUrlIntlInvoker struct {
*invoker.BaseInvoker
}
func (*DetectFaceByUrlIntlInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *DetectFaceByUrlIntlInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*DetectFaceByUrlIntlInvoker) Invoke ¶ added in v0.0.90
func (i *DetectFaceByUrlIntlInvoker) Invoke() (*model.DetectFaceByUrlIntlResponse, error)
type DetectFaceByUrlInvoker ¶ added in v0.0.90
type DetectFaceByUrlInvoker struct {
*invoker.BaseInvoker
}
func (*DetectFaceByUrlInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *DetectFaceByUrlInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*DetectFaceByUrlInvoker) Invoke ¶ added in v0.0.90
func (i *DetectFaceByUrlInvoker) Invoke() (*model.DetectFaceByUrlResponse, error)
type DetectLiveByBase64IntlInvoker ¶ added in v0.0.90
type DetectLiveByBase64IntlInvoker struct {
*invoker.BaseInvoker
}
func (*DetectLiveByBase64IntlInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *DetectLiveByBase64IntlInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*DetectLiveByBase64IntlInvoker) Invoke ¶ added in v0.0.90
func (i *DetectLiveByBase64IntlInvoker) Invoke() (*model.DetectLiveByBase64IntlResponse, error)
type DetectLiveByBase64Invoker ¶ added in v0.0.90
type DetectLiveByBase64Invoker struct {
*invoker.BaseInvoker
}
func (*DetectLiveByBase64Invoker) GetBaseInvoker ¶ added in v0.1.118
func (i *DetectLiveByBase64Invoker) GetBaseInvoker() *invoker.BaseInvoker
func (*DetectLiveByBase64Invoker) Invoke ¶ added in v0.0.90
func (i *DetectLiveByBase64Invoker) Invoke() (*model.DetectLiveByBase64Response, error)
type DetectLiveByFileIntlInvoker ¶ added in v0.0.90
type DetectLiveByFileIntlInvoker struct {
*invoker.BaseInvoker
}
func (*DetectLiveByFileIntlInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *DetectLiveByFileIntlInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*DetectLiveByFileIntlInvoker) Invoke ¶ added in v0.0.90
func (i *DetectLiveByFileIntlInvoker) Invoke() (*model.DetectLiveByFileIntlResponse, error)
type DetectLiveByFileInvoker ¶ added in v0.0.90
type DetectLiveByFileInvoker struct {
*invoker.BaseInvoker
}
func (*DetectLiveByFileInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *DetectLiveByFileInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*DetectLiveByFileInvoker) Invoke ¶ added in v0.0.90
func (i *DetectLiveByFileInvoker) Invoke() (*model.DetectLiveByFileResponse, error)
type DetectLiveByUrlIntlInvoker ¶ added in v0.0.90
type DetectLiveByUrlIntlInvoker struct {
*invoker.BaseInvoker
}
func (*DetectLiveByUrlIntlInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *DetectLiveByUrlIntlInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*DetectLiveByUrlIntlInvoker) Invoke ¶ added in v0.0.90
func (i *DetectLiveByUrlIntlInvoker) Invoke() (*model.DetectLiveByUrlIntlResponse, error)
type DetectLiveByUrlInvoker ¶ added in v0.0.90
type DetectLiveByUrlInvoker struct {
*invoker.BaseInvoker
}
func (*DetectLiveByUrlInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *DetectLiveByUrlInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*DetectLiveByUrlInvoker) Invoke ¶ added in v0.0.90
func (i *DetectLiveByUrlInvoker) Invoke() (*model.DetectLiveByUrlResponse, error)
type DetectLiveFaceByBase64Invoker ¶ added in v0.0.90
type DetectLiveFaceByBase64Invoker struct {
*invoker.BaseInvoker
}
func (*DetectLiveFaceByBase64Invoker) GetBaseInvoker ¶ added in v0.1.118
func (i *DetectLiveFaceByBase64Invoker) GetBaseInvoker() *invoker.BaseInvoker
func (*DetectLiveFaceByBase64Invoker) Invoke ¶ added in v0.0.90
func (i *DetectLiveFaceByBase64Invoker) Invoke() (*model.DetectLiveFaceByBase64Response, error)
type DetectLiveFaceByFileInvoker ¶ added in v0.0.90
type DetectLiveFaceByFileInvoker struct {
*invoker.BaseInvoker
}
func (*DetectLiveFaceByFileInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *DetectLiveFaceByFileInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*DetectLiveFaceByFileInvoker) Invoke ¶ added in v0.0.90
func (i *DetectLiveFaceByFileInvoker) Invoke() (*model.DetectLiveFaceByFileResponse, error)
type DetectLiveFaceByUrlInvoker ¶ added in v0.0.90
type DetectLiveFaceByUrlInvoker struct {
*invoker.BaseInvoker
}
func (*DetectLiveFaceByUrlInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *DetectLiveFaceByUrlInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*DetectLiveFaceByUrlInvoker) Invoke ¶ added in v0.0.90
func (i *DetectLiveFaceByUrlInvoker) Invoke() (*model.DetectLiveFaceByUrlResponse, error)
type FrsClient ¶
type FrsClient struct {
HcClient *httpclient.HcHttpClient
}
func NewFrsClient ¶
func NewFrsClient(hcClient *httpclient.HcHttpClient) *FrsClient
func (*FrsClient) AddFacesByBase64 ¶
func (c *FrsClient) AddFacesByBase64(request *model.AddFacesByBase64Request) (*model.AddFacesByBase64Response, error)
AddFacesByBase64 添加人脸
添加人脸到人脸库中。将单张图片中的人脸添加至人脸库中,支持添加最大人脸或所有人脸。
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 添加人脸
添加人脸到人脸库中。将单张图片中的人脸添加至人脸库中,支持添加最大人脸或所有人脸。
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 添加人脸
添加人脸到人脸库中。将单张图片中的人脸添加至人脸库中,支持添加最大人脸或所有人脸。
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 批量删除人脸
自定义筛选条件,批量删除人脸库中的符合指定条件的多张人脸。
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 ¶
func (c *FrsClient) CompareFaceByBase64(request *model.CompareFaceByBase64Request) (*model.CompareFaceByBase64Response, error)
CompareFaceByBase64 人脸比对
人脸比对是将两个人脸进行比对,来判断是否为同一个人,返回比对置信度。如果传入的图片中包含多个人脸,选取最大的人脸进行比对。
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 人脸比对
人脸比对是将两个人脸进行比对,来判断是否为同一个人,返回比对置信度。如果传入的图片中包含多个人脸,选取最大的人脸进行比对。
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 人脸比对
人脸比对是将两个人脸进行比对,来判断是否为同一个人,返回比对置信度。如果传入的图片中包含多个人脸,选取最大的人脸进行比对。
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万个人脸特征。如有更大规格的需求请联系客服。
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 ¶
func (c *FrsClient) DeleteFaceByExternalImageId(request *model.DeleteFaceByExternalImageIdRequest) (*model.DeleteFaceByExternalImageIdResponse, error)
DeleteFaceByExternalImageId 删除人脸
根据external_image_id删除人脸。
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删除人脸。
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 删除人脸库
删除人脸库以及其中所有的人脸。
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 人脸检测
人脸检测是对输入图片进行人脸检测和分析,输出人脸在图像中的位置、人脸关键点位置和人脸关键属性。
Please refer to HUAWEI cloud API Explorer for details.
func (*FrsClient) DetectFaceByBase64Intl ¶ added in v0.0.88
func (c *FrsClient) DetectFaceByBase64Intl(request *model.DetectFaceByBase64IntlRequest) (*model.DetectFaceByBase64IntlResponse, error)
DetectFaceByBase64Intl 人脸检测
人脸检测是对输入图片进行人脸检测和分析,输出人脸在图像中的位置、人脸关键点位置和人脸关键属性。
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 人脸检测
人脸检测是对输入图片进行人脸检测和分析,输出人脸在图像中的位置、人脸关键点位置和人脸关键属性。
Please refer to HUAWEI cloud API Explorer for details.
func (*FrsClient) DetectFaceByFileIntl ¶ added in v0.0.88
func (c *FrsClient) DetectFaceByFileIntl(request *model.DetectFaceByFileIntlRequest) (*model.DetectFaceByFileIntlResponse, error)
DetectFaceByFileIntl 人脸检测
人脸检测是对输入图片进行人脸检测和分析,输出人脸在图像中的位置、人脸关键点位置和人脸关键属性。
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 人脸检测
人脸检测是对输入图片进行人脸检测和分析,输出人脸在图像中的位置、人脸关键点位置和人脸关键属性。
Please refer to HUAWEI cloud API Explorer for details.
func (*FrsClient) DetectFaceByUrlIntl ¶ added in v0.0.88
func (c *FrsClient) DetectFaceByUrlIntl(request *model.DetectFaceByUrlIntlRequest) (*model.DetectFaceByUrlIntlResponse, error)
DetectFaceByUrlIntl 人脸检测
人脸检测是对输入图片进行人脸检测和分析,输出人脸在图像中的位置、人脸关键点位置和人脸关键属性。
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 动作活体检测
动作活体检测是通过判断视频中的人物动作与传入动作列表是否一致来识别视频中人物是否为活体。如果有多张人脸出现,则选取最大的人脸进行判定。
Please refer to HUAWEI cloud API Explorer for details.
func (*FrsClient) DetectLiveByBase64Intl ¶ added in v0.0.88
func (c *FrsClient) DetectLiveByBase64Intl(request *model.DetectLiveByBase64IntlRequest) (*model.DetectLiveByBase64IntlResponse, error)
DetectLiveByBase64Intl 动作活体检测
动作活体检测是通过判断视频中的人物动作与传入动作列表是否一致来识别视频中人物是否为活体。如果有多张人脸出现,则选取最大的人脸进行判定。
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 动作活体检测
动作活体检测是通过判断视频中的人物动作与传入动作列表是否一致来识别视频中人物是否为活体。如果有多张人脸出现,则选取最大的人脸进行判定。
Please refer to HUAWEI cloud API Explorer for details.
func (*FrsClient) DetectLiveByFileIntl ¶ added in v0.0.88
func (c *FrsClient) DetectLiveByFileIntl(request *model.DetectLiveByFileIntlRequest) (*model.DetectLiveByFileIntlResponse, error)
DetectLiveByFileIntl 动作活体检测
动作活体检测是通过判断视频中的人物动作与传入动作列表是否一致来识别视频中人物是否为活体。如果有多张人脸出现,则选取最大的人脸进行判定。
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 动作活体检测
动作活体检测是通过判断视频中的人物动作与传入动作列表是否一致来识别视频中人物是否为活体。如果有多张人脸出现,则选取最大的人脸进行判定。
Please refer to HUAWEI cloud API Explorer for details.
func (*FrsClient) DetectLiveByUrlIntl ¶ added in v0.0.88
func (c *FrsClient) DetectLiveByUrlIntl(request *model.DetectLiveByUrlIntlRequest) (*model.DetectLiveByUrlIntlResponse, error)
DetectLiveByUrlIntl 动作活体检测
动作活体检测是通过判断视频中的人物动作与传入动作列表是否一致来识别视频中人物是否为活体。如果有多张人脸出现,则选取最大的人脸进行判定。
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
func (c *FrsClient) DetectLiveFaceByBase64(request *model.DetectLiveFaceByBase64Request) (*model.DetectLiveFaceByBase64Response, error)
DetectLiveFaceByBase64 静默活体检测
静默活体检测是基于人脸图片中可能存在的畸变、摩尔纹、反光、倒影、边框等信息,判断图片中的人脸是否来自于真人活体,有效抵御纸质翻拍照、电子翻拍照以及视频翻拍等各种攻击方式。静默活体检测支持单张图片,不支持多人脸图片。
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
func (c *FrsClient) DetectLiveFaceByFile(request *model.DetectLiveFaceByFileRequest) (*model.DetectLiveFaceByFileResponse, error)
DetectLiveFaceByFile 静默活体检测
静默活体检测是基于人脸图片中可能存在的畸变、摩尔纹、反光、倒影、边框等信息,判断图片中的人脸是否来自于真人活体,有效抵御纸质翻拍照、电子翻拍照以及视频翻拍等各种攻击方式。静默活体检测支持单张图片,不支持多人脸图片。
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
func (c *FrsClient) DetectLiveFaceByUrl(request *model.DetectLiveFaceByUrlRequest) (*model.DetectLiveFaceByUrlResponse, error)
DetectLiveFaceByUrl 静默活体检测
静默活体检测是基于人脸图片中可能存在的畸变、摩尔纹、反光、倒影、边框等信息,判断图片中的人脸是否来自于真人活体,有效抵御纸质翻拍照、电子翻拍照以及视频翻拍等各种攻击方式。静默活体检测支持单张图片,不支持多人脸图片。
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进行人脸搜索,如果传入的是多张人脸图片,选取图片中检测到的最大尺寸人脸作为检索的输入。
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进行人脸搜索,如果传入的是多张人脸图片,选取图片中检测到的最大尺寸人脸作为检索的输入。
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进行人脸搜索,如果传入的是多张人脸图片,选取图片中检测到的最大尺寸人脸作为检索的输入。
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进行人脸搜索,如果传入的是多张人脸图片,选取图片中检测到的最大尺寸人脸作为检索的输入。
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 查询所有人脸库
查询当前用户所有人脸库的状态信息。
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 查询人脸库
查询人脸库当前的状态。
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 查询人脸
查询指定人脸库中人脸信息。
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 查询人脸
查询指定人脸库中人脸信息。
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)更新单张人脸信息。
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) GetBaseInvoker ¶ added in v0.1.118
func (i *SearchFaceByBase64Invoker) GetBaseInvoker() *invoker.BaseInvoker
func (*SearchFaceByBase64Invoker) Invoke ¶ added in v0.0.90
func (i *SearchFaceByBase64Invoker) Invoke() (*model.SearchFaceByBase64Response, error)
type SearchFaceByFaceIdInvoker ¶ added in v0.0.90
type SearchFaceByFaceIdInvoker struct {
*invoker.BaseInvoker
}
func (*SearchFaceByFaceIdInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *SearchFaceByFaceIdInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*SearchFaceByFaceIdInvoker) Invoke ¶ added in v0.0.90
func (i *SearchFaceByFaceIdInvoker) Invoke() (*model.SearchFaceByFaceIdResponse, error)
type SearchFaceByFileInvoker ¶ added in v0.0.90
type SearchFaceByFileInvoker struct {
*invoker.BaseInvoker
}
func (*SearchFaceByFileInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *SearchFaceByFileInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*SearchFaceByFileInvoker) Invoke ¶ added in v0.0.90
func (i *SearchFaceByFileInvoker) Invoke() (*model.SearchFaceByFileResponse, error)
type SearchFaceByUrlInvoker ¶ added in v0.0.90
type SearchFaceByUrlInvoker struct {
*invoker.BaseInvoker
}
func (*SearchFaceByUrlInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *SearchFaceByUrlInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*SearchFaceByUrlInvoker) Invoke ¶ added in v0.0.90
func (i *SearchFaceByUrlInvoker) Invoke() (*model.SearchFaceByUrlResponse, error)
type ShowAllFaceSetsInvoker ¶ added in v0.0.90
type ShowAllFaceSetsInvoker struct {
*invoker.BaseInvoker
}
func (*ShowAllFaceSetsInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ShowAllFaceSetsInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ShowAllFaceSetsInvoker) Invoke ¶ added in v0.0.90
func (i *ShowAllFaceSetsInvoker) Invoke() (*model.ShowAllFaceSetsResponse, error)
type ShowFaceSetInvoker ¶ added in v0.0.90
type ShowFaceSetInvoker struct {
*invoker.BaseInvoker
}
func (*ShowFaceSetInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ShowFaceSetInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ShowFaceSetInvoker) Invoke ¶ added in v0.0.90
func (i *ShowFaceSetInvoker) Invoke() (*model.ShowFaceSetResponse, error)
type ShowFacesByFaceIdInvoker ¶ added in v0.0.90
type ShowFacesByFaceIdInvoker struct {
*invoker.BaseInvoker
}
func (*ShowFacesByFaceIdInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ShowFacesByFaceIdInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ShowFacesByFaceIdInvoker) Invoke ¶ added in v0.0.90
func (i *ShowFacesByFaceIdInvoker) Invoke() (*model.ShowFacesByFaceIdResponse, error)
type ShowFacesByLimitInvoker ¶ added in v0.0.90
type ShowFacesByLimitInvoker struct {
*invoker.BaseInvoker
}
func (*ShowFacesByLimitInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ShowFacesByLimitInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ShowFacesByLimitInvoker) Invoke ¶ added in v0.0.90
func (i *ShowFacesByLimitInvoker) Invoke() (*model.ShowFacesByLimitResponse, error)
type UpdateFaceInvoker ¶ added in v0.0.90
type UpdateFaceInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateFaceInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *UpdateFaceInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*UpdateFaceInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateFaceInvoker) Invoke() (*model.UpdateFaceResponse, error)