Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Non-fatal recognition errors are stored as a list of strings in the warnings
property of the recognition result.
# Instantiate Aspose.OCR API
api = AsposeOcr()
# Add image to the recognition batch
input = OcrInput(InputType.SINGLE_IMAGE)
input.add("source.png")
# Recognize the image
result = api.recognize(input)
# Output warnings
warnings = result[0].warnings
for warning in warnings:
print(warning)
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.