Example #1
0
 public FaceSearch(string groupId, FaceAppData appData) : base(appData)
 {
     this._groupIdList = new List <string>()
     {
         groupId
     };
 }
Example #2
0
        public FaceRecBase(FaceAppData appData)
        {
            if (!_serviceInit)
            {
                ServicePointManager.ServerCertificateValidationCallback += RemoteCertificateValidationCallback;

                ServicePointManager.DefaultConnectionLimit = 200;

                _serviceInit = true;
            }

            _faceClient = new Face(appData.apiKey, appData.secretKey)
            {
                Timeout = 60000
            };
        }
Example #3
0
 public FaceSearch(List <string> groupIdList, FaceAppData appData) : base(appData)
 {
     this._groupIdList = groupIdList;
 }
Example #4
0
 public FaceDetect(FaceAppData appData) : base(appData)
 {
 }