ImageGear .NET
Process Statistics

The integrating application can retrieve timing and other statistical information about the last accessed image. This includes the following:

The application accesses the ImGearRecPage.Statistics Property for this purpose. The properties of the ImGearRecStatistics Class object will return the relevant information.

The statistics properties can be called during any phase of the processing. The time for any processes (from ImGearRecProcess Enumeration) that have not run will contain zero (0). Similarly, if no recognition has been performed when the statistics properties are accessed, these properties will return zero (0).

All timing data is measured in milliseconds.
C#
Copy Code
int nChar, nWord, nRej;
int nSTime, nPTime, nLTime, nRTime;
ImGearRecStatistics igRecStatistics = igRecPage.Statistics;
nChar = igRecStatistics.CharCount;// Number of recognized characters
nWord = igRecStatistics.WordCount;// Number of recognized words
nRej = igRecStatistics.RejectedCharCount; // Number of rejected characters
nSTime = igRecStatistics.ReadTime;// Image reading time
nPTime = igRecStatistics.PreProcTime;  // Image pre-processing time
nLTime = igRecStatistics.DecompTime;  // Decomposition/auto-zoning time
nRTime = igRecStatistics.RecognitionTime; // Recognition time
// . . .
VB.NET
Copy Code
Dim nChar As Integer, nWord As Integer, nRej As Integer
Dim nSTime As Integer, nPTime As Integer, nLTime As Integer, nRTime As Integer
Dim igRecStatistics As ImGearRecStatistics = igRecPage.Statistics
nChar = igRecStatistics.CharCount
' Number of recognized characters
nWord = igRecStatistics.WordCount
' Number of recognized words
nRej = igRecStatistics.RejectedCharCount
' Number of rejected characters
nSTime = igRecStatistics.ReadTime
' Image reading time
nPTime = igRecStatistics.PreProcTime
' Image pre-processing time
nLTime = igRecStatistics.DecompTime
' Decomposition/auto-zoning time
nRTime = igRecStatistics.RecognitionTime
' Recognition time
' . . .

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback