CompareImageTexts
AsposeOcr.CompareImageTexts method
检查两幅图像是否包含相同的文本。
public bool CompareImageTexts(string fullPath1, string fullPath2,
RecognitionSettings settings = null, bool ignoreCase = true)
| Parameter | Type | 描述 |
|---|---|---|
| fullPath1 | String | Path to the first image. |
| fullPath2 | String | Path to the second image. |
| settings | RecognitionSettings | Recognition settings. |
| ignoreCase | Boolean | True - means a case-insensitive search. |
返回值
True if images have the same text (90% similarity).
另请参见
- class RecognitionSettings
- class AsposeOcr
- namespace Aspose.OCR
- assembly Aspose.OCR