RecognizeFormulaAI
AsposeOcr.RecognizeFormulaAI method
Recognizes mathematical formulas from the provided input images using AI.
public List<AIResult> RecognizeFormulaAI(OcrInput images, bool allowAutoDownload,
string modelPath = null)
| Parameter | Type | Description |
|---|---|---|
| images | OcrInput | The input images containing one or more mathematical expressions to be recognized. Supports multi-page or multi-frame OCR input. |
| allowAutoDownload | Boolean | Allow automatic AI model download if model files are not available locally. |
| modelPath | String | Optional local path to the main GGUF model file. If automatic download is disabled, this path must be specified. For this vision AI method, put the projector file in the same directory as the main model file. The default projector file name is “Gemma-3-Vision-Latex.mmproj-f16.gguf”. |
Return Value
An AIResult object containing recognized formula text.
See Also
- class AIResult
- class OcrInput
- class AsposeOcr
- namespace Aspose.OCR
- assembly Aspose.OCR