Recognition

Aspose.OCR for Java can extract text from a wide variety of file formats and media sources.

Extracting text from images

Extracting text from documents

Extracting text from alternative media

Identifying recognition problems

Non-fatal recognition errors are stored as a list of strings in the warnings property of the recognition result.

AsposeOCR api = new AsposeOCR();
RecognitionSettings recognitionSettings = new RecognitionSettings();
recognitionSettings.setLanguage(Language.Ukr);
RecognitionResult result = api.RecognizePage("source.png", recognitionSettings);
// Show recognition errors
result.warnings.forEach((w) -> {
	System.out.println(w);
});