Fast recognition

Aspose.OCR can work in the fastest recognition mode that consumes minimum possible resources using RecognizeFast method of AsposeOCR class.

This method takes OcrInput object and returns a list of strings, one string per image.

AsposeOCR api = new AsposeOCR();
// Add images to the recognition batch
OcrInput images  = new OcrInput(InputType.SingleImage);
images.add(os.path.join(self.dataDir, "source1.png"));
images.add(os.path.join(self.dataDir, "source2.png"));
// Fast recognize images
ArrayList<RecognitionResult> results = api.RecognizeFast(images);
results.forEach((result) -> {

Performance impact

This method is about twice as fast as regular recognition.


  • This recognition method only works with high-quality scans without skew or distortion. However, you can preprocess an image before sending it to the OCR engine.
  • Fast recognition cannot be customized with recognition settings.