ImageEn, unit ievision

TIEVisionOCR.clearAdaptiveInfo

TIEVisionOCR.clearAdaptiveInfo


Declaration

procedure clearAdaptiveInfo(); safecall;


Description

Remove the adaptive information. Call this method whenever a new page or document must be processed.


Example

// perform OCR
OCR := IEVisionLib.createOCR(IEOCRLanguageList[OCR_English_language].Code); // english language
// page 0
str_page0 := OCR.recognize(image_page0, IEVisionRect(0, 0, 0, 0));
// page 1
OCR.clearAdaptiveInfo();
str_page1 := OCR.recognize(image_page1, IEVisionRect(0, 0, 0, 0));
// page 2
OCR.clearAdaptiveInfo();
str_page2 := OCR.recognize(image_page2, IEVisionRect(0, 0, 0, 0));