Exemple #1
0
        private void OnDetectFacesResp(RESTConnector.Request req, RESTConnector.Response resp)
        {
            FacesTopLevelMultiple faces = null;

            if (resp.Success)
            {
                faces = ProcessDetectFaceResult(resp.Data);
            }

            if (((DetectFacesReq)req).Callback != null)
            {
                ((DetectFacesReq)req).Callback(faces);
            }
        }