RecognizeFormula
AsposeOcr.RecognizeFormula method
识别提供的输入图像中的数学公式。
public OcrOutput RecognizeFormula(OcrInput images, bool detectAreas = true)
| Parameter | Type | 描述 |
|---|---|---|
| 图像 | OcrInput | 输入图像包含一个或多个待识别的数学表达式。支持多页或多帧 OCR 输入。 |
| detectAreas | Boolean | 如果设置为 true,将在执行识别前自动检测并隔离公式区域。若设置为 false,则将整幅图像视为公式进行处理。 |
返回值
一个包含已识别公式文本、检测置信度分数和位置信息的 OcrOutput 对象。
另请参见
- class OcrOutput
- class OcrInput
- class AsposeOcr
- namespace Aspose.OCR
- assembly Aspose.OCR