CompareImageTexts

AsposeOcr.CompareImageTexts method

Check if two images contain the same text.

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

Return Value

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

See Also