private static Service.Results.MatchImageResult ValidateImageContent(IPDNAService pdnaService, bool cacheImage = false) { ImageModeratableContent imageContent = new ImageModeratableContent("https://pdnasampleimages.blob.core.windows.net/matchedimages/img_130.jpg"); var extractResponse = pdnaService.ValidateImageAsync(imageContent, cacheImage); return(extractResponse.Result); }
private static Service.Results.MatchImageResult ValidateImageContent(IPDNAService pdnaService, bool cacheImage = false) { ImageModeratableContent imageContent = new ImageModeratableContent("https://pdnasampleimages.blob.core.windows.net/matchedimages/img_130.jpg"); var extractResponse = pdnaService.ValidateImageAsync(imageContent, cacheImage); return extractResponse.Result; }