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)
ParameterTypeDescription
processorIOcrAIPostProcessorAn implementation of IOcrAIPostProcessor that defines the logic for AI-based post-processing (e.g., spell-checking, table extraction, or layout correction).
customSettingsAsposeAIModelConfigThe custom AI model configuration to use. If provided, the model specified in AsposeAIModelConfig will be automatically loaded and applied.

See Also