Defining the blacklist of characters

Contents
[ ]

Image defects such as dirt and scratches may cause recognition errors. For example, spots, noise or other print defects next to letters can be incorrectly recognized as punctuation or diacritical marks.

To ignore certain characters during recognition, provide them in ignoredCharacters property of recognition settings as a case-sensitive string:

// Prepare images
var source = Module.WasmAsposeOCRInput();
source.url = filename;
var content = new Module.WasmAsposeOCRInputs();
content.push_back(source);
// Block diacritics recognition
var settings = Module.WasmAsposeOCRRecognitionSettings();
settings.ignoredCharacters = L"Áá";
// Recognize image
var result = Module.AsposeOCRRecognize(content, settings);