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 provides a Debug Mode that allows you to visually inspect how the input image is transformed during recognition.
When debug mode is enabled, the library saves intermediate processing results as image files:
This feature is especially useful for troubleshooting recognition errors and fine-tuning preprocessing filters.
Property | Description |
---|---|
set_debug_mode |
Enables or disables debug image saving. |
set_debug_mode_save_directory |
Sets the target folder where images will be saved. If not set, the current working directory is used. |
Debug mode is activated using two methods of the AsposeOCR
class:
When enabled, you will see image files like:
Each image corresponds to the input from OcrInput.addImage(…) or its index.
Notes
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.