SetPostProcessor
AsposeAI.SetPostProcessor method
Adds an AI postprocessor to be applied to OCR results. If customSettings is provided, the specified or default AI model will be loaded and configured automatically before applying the postprocessor.
public void SetPostProcessor(IOcrAIPostProcessor processor,
AsposeAIModelConfig customSettings = null)
Parameter | Type | Description |
---|---|---|
processor | IOcrAIPostProcessor | An implementation of IOcrAIPostProcessor that defines the logic for AI-based post-processing (e.g., spell-checking, table extraction, or layout correction). |
customSettings | AsposeAIModelConfig | The custom AI model configuration to use. If provided, the model specified in AsposeAIModelConfig will be automatically loaded and applied. |
See Also
- interface IOcrAIPostProcessor
- class AsposeAIModelConfig
- class AsposeAI
- namespace Aspose.OCR.AI
- assembly Aspose.OCR