Interface IOcrAIPostProcessor
Interface IOcrAIPostProcessor
Namespace: Aspose.OCR.AI
Assembly: Aspose.OCR.dll (25.7.0)
Interface for applying AI-based postprocessing to OCR recognition results.
public interface IOcrAIPostProcessor
Methods
Process(OcrOutput)
Processes a structured OCR result using AI improvements (e.g., spell checking, grammar correction).
void Process(OcrOutput result)
Parameters
result
OcrOutput
The OCR output object to be modified.
Process(List<string>)
Processes a list of plain text recognition results using AI (useful for unstructured scenarios).
void Process(List<string> results)
Parameters
The list of recognized text strings to be improved by AI.
SetAI(AsposeAI)
Injects an instance of the AsposeAI class that provides access to AI functionality. This allows for decoupling the processor from a specific AI implementation.
void SetAI(AsposeAI asposeAI)
Parameters
asposeAI
AsposeAI
An instance of the AI provider. </string>