Пример #1
0
        public async Task <EvaluateResponse> EvaluateAsync(Stream stream)
        {
            var response = await RepositoryClient.SendImagePostAsync(ApiKeys.ContentModerator, $"{ApiKeys.ContentModeratorEndpoint}{moderatorUrl}/ProcessImage/Evaluate", stream);

            return(JsonConvert.DeserializeObject <EvaluateResponse>(response));
        }