←Select platform

GetLastStatistic Method

Summary
Gets the accuracy and timing data of the latest successful recognition process.
Syntax
C#
VB
Objective-C
C++
Java
public OcrStatistic GetLastStatistic() 
Function GetLastStatistic() As OcrStatistic 
@property (nonatomic, strong, readonly, nullable) LTOcrStatistic *lastStatistic 
public OcrStatistic getLastStatistic() 
OcrStatistic GetLastStatistic();  

Return Value

An OcrStatistic object that contains accuracy and timing data of the latest successful recognition process.

Remarks

You can use this method after calling IOcrPage.AutoPreprocess, IOcrPage.AutoZone, IOcrPage.Recognize or IOcrDocument.Save to get the accuracy and timing data of the latest successful recognition process

If you use the IOcrPageCollection.Recognize method, the GetLastStatistic will return the statistic for the last page only.

Note: When using the LEADTOOLS OCR Module - LEAD Engine you can use this method ONLY after calling the IOcrPage.Recognize method.

Example

For an example, refer to OcrStatistic

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ocr Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.