Fast recognition

Recognize without skew correction and areas detection

Aspose.OCR for Java provides the method RecognizePageFast that allows to recognize images in fastest mode. The result you will get is String.

The following code snippet demonstrates the use of the RecognizePageFast method.

Sample Code

	// For complete examples and data files, please go to https://github.com/aspose-ocr/Aspose.OCR-for-Java
	// The path to the documents directory.
	String dataDir = "";

	// Archive Path
	string fullPath = dataDir + "OCR.jpg";

	// Recognize images           
	String result = api.RecognizePageFast(file); // without skew correction and areas detection

	// Print result
	out.println("result:" + result);