Fast recognition

Aspose.OCR for Python via .NET can work in the fastest recognition mode that consumes minimum possible resources using recognize_fast() method of AsposeOcr class.

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

# Instantiate Aspose.OCR API
api = AsposeOcr()
# Add image to the recognition batch
input = OcrInput(InputType.SINGLE_IMAGE)
# Fast recognize images
results = api.recognize_fast(input)
# Print recognition result
for result in results:

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.