CompareImageTexts

AsposeOcr.CompareImageTexts method

检查两幅图像是否包含相同的文本。

public bool CompareImageTexts(string fullPath1, string fullPath2, 
    RecognitionSettings settings = null, bool ignoreCase = true)
ParameterType描述
fullPath1StringPath to the first image.
fullPath2StringPath to the second image.
settingsRecognitionSettingsRecognition settings.
ignoreCaseBooleanTrue - means a case-insensitive search.

返回值

True if images have the same text (90% similarity).

另请参见