←Select platform

GetLastStatistic Method

Summary

Gets the accuracy and timing data of the latest successful recognition process.

Syntax

C#
VB
Java
Objective-C
C++
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 20.0.2018.6.20
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ocr Assembly