The GetLastStatistic Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
Gets the accuracy and timing data of the latest successful recognition process.Visual Basic (Declaration) | |
---|---|
Function GetLastStatistic() As OcrStatistic |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As IOcrEngine Dim value As OcrStatistic value = instance.GetLastStatistic() |
C# | |
---|---|
OcrStatistic GetLastStatistic() |
C++/CLI | |
---|---|
OcrStatistic GetLastStatistic(); |
Return Value
An OcrStatistic object that contains accuracy and timing data of the latest successful recognition process.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 Advantage Engine you can use this method ONLY after calling the IOcrPage.Recognize method.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Reference
IOcrEngine InterfaceIOcrEngine Members
OcrStatistic Structure
Startup
IsStarted Property
Shutdown Method
IOcrPage Interface
IOcrPage.AutoPreprocess
IOcrPage.AutoZone
IOcrPage.Recognize
IOcrDocument.Save
IOcrDocument.SaveXml
OcrEngineManager Class
OcrEngineType Enumeration
Programming with Leadtools .NET OCR