| | |
| | | httpProfile.Endpoint = ("ocr.tencentcloudapi.com"); |
| | | clientProfile.HttpProfile = httpProfile; |
| | | |
| | | var _ocrClient = new OcrClient(cred, "ap-chengdu", clientProfile); |
| | | var _ocrClient = new OcrClient(cred, "ap-shanghai", clientProfile); |
| | | |
| | | IDCardOCRRequest req = new IDCardOCRRequest(); |
| | | if (isFRONT) |
| | |
| | | httpProfile.Endpoint = ("iai.tencentcloudapi.com"); |
| | | clientProfile.HttpProfile = httpProfile; |
| | | |
| | | var iaiClient = new IaiClient(cred, "ap-chengdu", clientProfile); |
| | | var iaiClient = new IaiClient(cred, "ap-shanghai", clientProfile); |
| | | try |
| | | { |
| | | var retinfo = iaiClient.GetGroupInfoSync(new GetGroupInfoRequest |
| | |
| | | httpProfile.Endpoint = ("iai.tencentcloudapi.com"); |
| | | clientProfile.HttpProfile = httpProfile; |
| | | |
| | | var iaiClient = new IaiClient(cred, "ap-chengdu", clientProfile); |
| | | var iaiClient = new IaiClient(cred, "ap-shanghai", clientProfile); |
| | | var ret= iaiClient.CreatePerson(new TencentCloud.Iai.V20200303.Models.CreatePersonRequest |
| | | { |
| | | GroupId = App.Configuration["IAIGroupSet:ID"], |