DetectDefects
AsposeOcr.DetectDefects method
自动查找图像中可能显著影响 OCR 准确性的有问题区域。支持以文件、流或像素数组形式提供的 PNG、JPEG、BMP、TIFF、JFIF 和 GIF 图像。支持批量识别。
public List<DefectOutput> DetectDefects(OcrInput images, DefectType defectType)
| Parameter | Type | 描述 |
|---|---|---|
| images | OcrInput | 源图像 OcrInput |
| defectType | DefectType | 要识别的缺陷类型 DefectType |
返回值
检测到的图像缺陷,若未发现缺陷则返回空集合 DefectOutput。
另请参见
- class DefectOutput
- class OcrInput
- enum DefectType
- class AsposeOcr
- namespace Aspose.OCR
- assembly Aspose.OCR