Example #1
0
        public async Task BatchProcess(ImageFile imageFile)
        {
            await AddImageFileIfMissing(imageFile);

            if (imageFile.Size > _fileSizeLimit)
            {
                return;
            }
            await _analysisService.AnalyzeLocalFileAsync(imageFile);

            await _analysisService.RecognizeText(imageFile, TextRecognitionMode.Handwritten);

            await _analysisService.RecognizeText(imageFile, TextRecognitionMode.Printed);

            await _analysisService.DetectFaces(imageFile);
        }