ImageTextDiff

AsposeOcr.ImageTextDiff method

Compare the texts on the two images and return a number representing how similar they are (0 to 1).

public float ImageTextDiff(string fullPath1, string fullPath2, RecognitionSettings settings = null, 
    bool ignoreCase = true, bool autoSkew = true)
ParameterTypeDescription
fullPath1StringPath to the first image.
fullPath2StringPath to the second image.
settingsRecognitionSettingsRecognition settings.
ignoreCaseBooleanTrue - means a case-insensitive search.
autoSkewBooleanEnables the automatic image skew correction.

Return Value

0 means that the texts are completely different; 1 means the texts are identical.

See Also