Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
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)
input.add("source1.png")
input.add("source2.png")
# Fast recognize images
results = api.recognize_fast(input)
# Print recognition result
for result in results:
print(result)
This method is about twice as fast as regular recognition.
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.