Documentation ¶
Index ¶
- func GenReqDefForDetectExtentionByIdCardImage() *def.HttpRequestDef
- func GenReqDefForDetectExtentionByNameAndId() *def.HttpRequestDef
- func GenReqDefForDetectStandardByIdCardImage() *def.HttpRequestDef
- func GenReqDefForDetectStandardByNameAndId() *def.HttpRequestDef
- func IvsClientBuilder() *http_client.HcHttpClientBuilder
- type IvsClient
- func (c *IvsClient) DetectExtentionByIdCardImage(request *model.DetectExtentionByIdCardImageRequest) (*model.DetectExtentionByIdCardImageResponse, error)
- func (c *IvsClient) DetectExtentionByNameAndId(request *model.DetectExtentionByNameAndIdRequest) (*model.DetectExtentionByNameAndIdResponse, error)
- func (c *IvsClient) DetectStandardByIdCardImage(request *model.DetectStandardByIdCardImageRequest) (*model.DetectStandardByIdCardImageResponse, error)
- func (c *IvsClient) DetectStandardByNameAndId(request *model.DetectStandardByNameAndIdRequest) (*model.DetectStandardByNameAndIdResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForDetectExtentionByIdCardImage ¶
func GenReqDefForDetectExtentionByIdCardImage() *def.HttpRequestDef
func GenReqDefForDetectExtentionByNameAndId ¶
func GenReqDefForDetectExtentionByNameAndId() *def.HttpRequestDef
func GenReqDefForDetectStandardByIdCardImage ¶
func GenReqDefForDetectStandardByIdCardImage() *def.HttpRequestDef
func GenReqDefForDetectStandardByNameAndId ¶
func GenReqDefForDetectStandardByNameAndId() *def.HttpRequestDef
func IvsClientBuilder ¶
func IvsClientBuilder() *http_client.HcHttpClientBuilder
Types ¶
type IvsClient ¶
type IvsClient struct {
HcClient *http_client.HcHttpClient
}
func NewIvsClient ¶
func NewIvsClient(hcClient *http_client.HcHttpClient) *IvsClient
func (*IvsClient) DetectExtentionByIdCardImage ¶
func (c *IvsClient) DetectExtentionByIdCardImage(request *model.DetectExtentionByIdCardImageRequest) (*model.DetectExtentionByIdCardImageResponse, error)
使用姓名、身份证号码二要素进行身份审核。身份验证时,传入的数据为身份证信息。提取身份证信息时,可以使用身份证正反面图片,也可以直接输入姓名、身份证号文本。
func (*IvsClient) DetectExtentionByNameAndId ¶
func (c *IvsClient) DetectExtentionByNameAndId(request *model.DetectExtentionByNameAndIdRequest) (*model.DetectExtentionByNameAndIdResponse, error)
使用姓名、身份证号码二要素进行身份审核。身份验证时,传入的数据为身份证信息。提取身份证信息时,可以使用身份证正反面图片,也可以直接输入姓名、身份证号文本。
func (*IvsClient) DetectStandardByIdCardImage ¶
func (c *IvsClient) DetectStandardByIdCardImage(request *model.DetectStandardByIdCardImageRequest) (*model.DetectStandardByIdCardImageResponse, error)
使用姓名、身份证号码、人脸图片三要素进行身份审核。 身份验证时,传入的数据为人脸图片、身份证信息。提取身份证信息时,可以使用身份证正反面图片,也可以直接输入姓名、身份证号文本。
func (*IvsClient) DetectStandardByNameAndId ¶
func (c *IvsClient) DetectStandardByNameAndId(request *model.DetectStandardByNameAndIdRequest) (*model.DetectStandardByNameAndIdResponse, error)
校验用户上传的身份证图片支持正反面同时上传 中的信息的真实性,输出最终的审核结果。 该接口也支持用户直接上传姓名和身份证号码进行合法性校验 。
Click to show internal directories.
Click to hide internal directories.