Manages a complete context for the font-dependent printed character reader implemented in EasyOCR. More...


Public Member Functions | |
| EOCR () | |
| Constructs an OCR context. | |
| EOCR (eVision.EOCR other) | |
| Constructs an OCR context. | |
| int | GetFirstCharCode (int index) |
| Returns the code of the pattern that matches at best a recognized character. | |
| int | GetSecondCharCode (int index) |
| Returns the code of the pattern that matches at second best a recognized character. | |
| float | GetFirstCharDistance (int index) |
| Computes the degree of similarity between the best matching pattern and a recognized character. | |
| float | GetSecondCharDistance (int index) |
| Computes the degree of similarity between the second best matching pattern and a recognized character. | |
| float | GetConfidenceRatio (int index) |
| Returns the degree of confidence in the recognized character. | |
| int | CharGetOrgX (int index) |
| Returns the abscissa of the upper left corner of a recognized character. | |
| int | CharGetOrgY (int index) |
| Returns the ordinate of the upper left corner of a recognized character. | |
| int | CharGetDstX (int index) |
| Returns the abscissa of the lower right corner of a recognized character. | |
| int | CharGetDstY (int index) |
| Returns the ordinate of the lower right corner of a recognized character. | |
| int | CharGetWidth (int index) |
| Returns the width of a recognized character. | |
| int | CharGetHeight (int index) |
| Returns the height of a recognized character. | |
| void | BuildObjects (eVision.EROIBW8 sourceImage) |
| Segments the source image, i.e. detects and labels the objects. | |
| void | FindAllChars (eVision.EROIBW8 sourceImage) |
| Locates the characters by filtering the objects according to their size, and grouping them if the segmentation mode is set to ESegmentationMode.ESegmentationMode_RepasteObjects. | |
| void | FindAllChars () |
| Locates the characters by filtering the objects according to their size, and grouping them if the segmentation mode is set to ESegmentationMode.ESegmentationMode_RepasteObjects. | |
| void | MatchChar (eVision.EROIBW8 sourceImage, uint classes, int index, int shiftX, int shiftY) |
| Reads a single character, i.e. finds the best match between the patterns in the font and the given character. | |
| string | ReadText (eVision.EROIBW8 sourceImage, int maximumNumberOfCharacters, uint classes, bool autoSegmentation) |
| Reads one or more rows of characters, i.e. finds the best match between the patterns in the font and the segmented characters. | |
| string | ReadText (eVision.EROIBW8 sourceImage, int maximumNumberOfCharacters, uint classes) |
| Reads one or more rows of characters, i.e. finds the best match between the patterns in the font and the segmented characters. | |
| string | ReadText (eVision.EROIBW8 sourceImage, int maximumNumberOfCharacters, uint[] classes, bool autoSegmentation) |
| Reads one or more rows of characters, i.e. finds the best match between the patterns in the font and the segmented characters. | |
| string | ReadText (eVision.EROIBW8 sourceImage, int maximumNumberOfCharacters, uint[] classes) |
| Reads one or more rows of characters, i.e. finds the best match between the patterns in the font and the segmented characters. | |
| string | ReadTextWide (eVision.EROIBW8 sourceImage, int maximumNumberOfCharacters, uint classes, bool autoSegmentation) |
| Reads one or more rows of characters, i.e. finds the best match between the patterns in the font and the segmented characters. | |
| string | ReadTextWide (eVision.EROIBW8 sourceImage, int maximumNumberOfCharacters, uint classes) |
| Reads one or more rows of characters, i.e. finds the best match between the patterns in the font and the segmented characters. | |
| string | ReadTextWide (eVision.EROIBW8 sourceImage, int maximumNumberOfCharacters, uint[] classes, bool autoSegmentation) |
| Reads one or more rows of characters, i.e. finds the best match between the patterns in the font and the segmented characters. | |
| string | ReadTextWide (eVision.EROIBW8 sourceImage, int maximumNumberOfCharacters, uint[] classes) |
| Reads one or more rows of characters, i.e. finds the best match between the patterns in the font and the segmented characters. | |
| string | Recognize (eVision.EROIBW8 sourceImage, int maximumNumberOfCharacters, uint classes) |
| Achieves all processing phases (blob analysis, character segmentation and pattern recognition) in a single operation. | |
| string | Recognize (eVision.EROIBW8 sourceImage, int maximumNumberOfCharacters, uint[] classes) |
| Achieves all processing phases (blob analysis, character segmentation and pattern recognition) in a single operation. | |
| string | RecognizeWide (eVision.EROIBW8 sourceImage, int maximumNumberOfCharacters, uint classes) |
| Achieves all processing phases (blob analysis, character segmentation and pattern recognition) in a single operation. | |
| string | RecognizeWide (eVision.EROIBW8 sourceImage, int maximumNumberOfCharacters, uint[] classes) |
| Achieves all processing phases (blob analysis, character segmentation and pattern recognition) in a single operation. | |
| uint | HitChars (int cursorX, int cursorY, float zoomX, float zoomY, float panX, float panY) |
| Returns the index of the character under the cursor. If the cursor is not located on any character, then EOCR.NumChars is returned. | |
| uint | HitChars (int cursorX, int cursorY, float zoomX, float zoomY, float panX) |
| Returns the index of the character under the cursor. If the cursor is not located on any character, then EOCR.NumChars is returned. | |
| uint | HitChars (int cursorX, int cursorY, float zoomX, float zoomY) |
| Returns the index of the character under the cursor. If the cursor is not located on any character, then EOCR.NumChars is returned. | |
| uint | HitChars (int cursorX, int cursorY, float zoomX) |
| Returns the index of the character under the cursor. If the cursor is not located on any character, then EOCR.NumChars is returned. | |
| uint | HitChars (int cursorX, int cursorY) |
| Returns the index of the character under the cursor. If the cursor is not located on any character, then EOCR.NumChars is returned. | |
| bool | HitChars (int cursorX, int cursorY, out uint charIndex, float zoomX, float zoomY, float panX, float panY) |
| Returns the index of the character under the cursor. If the cursor is not located on any character, then EOCR.NumChars is returned. | |
| bool | HitChars (int cursorX, int cursorY, out uint charIndex, float zoomX, float zoomY, float panX) |
| Returns the index of the character under the cursor. If the cursor is not located on any character, then EOCR.NumChars is returned. | |
| bool | HitChars (int cursorX, int cursorY, out uint charIndex, float zoomX, float zoomY) |
| Returns the index of the character under the cursor. If the cursor is not located on any character, then EOCR.NumChars is returned. | |
| bool | HitChars (int cursorX, int cursorY, out uint charIndex, float zoomX) |
| Returns the index of the character under the cursor. If the cursor is not located on any character, then EOCR.NumChars is returned. | |
| bool | HitChars (int cursorX, int cursorY, out uint charIndex) |
| Returns the index of the character under the cursor. If the cursor is not located on any character, then EOCR.NumChars is returned. | |
| bool | HitChar (int cursorX, int cursorY, uint charIndex, float zoomX, float zoomY, float panX, float panY) |
| Returns true if the cursor is placed over the character specified by charIndex. | |
| bool | HitChar (int cursorX, int cursorY, uint charIndex, float zoomX, float zoomY, float panX) |
| Returns true if the cursor is placed over the character specified by charIndex. | |
| bool | HitChar (int cursorX, int cursorY, uint charIndex, float zoomX, float zoomY) |
| Returns true if the cursor is placed over the character specified by charIndex. | |
| bool | HitChar (int cursorX, int cursorY, uint charIndex, float zoomX) |
| Returns true if the cursor is placed over the character specified by charIndex. | |
| bool | HitChar (int cursorX, int cursorY, uint charIndex) |
| Returns true if the cursor is placed over the character specified by charIndex. | |
| void | LearnPattern (eVision.EROIBW8 sourceImage, uint charIndex, int code, uint classes, bool autoSegmentation) |
| Adds a new pattern to the font. | |
| void | LearnPattern (eVision.EROIBW8 sourceImage, uint charIndex, int code, uint classes) |
| Adds a new pattern to the font. | |
| void | LearnPattern (eVision.EROIBW8 sourceImage, uint charIndex, int code) |
| Adds a new pattern to the font. | |
| void | LearnPatterns (eVision.EROIBW8 sourceImage, string text, uint singleClass, bool autoSegmentation) |
| Adds all the patterns from the source image to the font. | |
| void | LearnPatterns (eVision.EROIBW8 sourceImage, string text, uint singleClass) |
| Adds all the patterns from the source image to the font. | |
| void | LearnPatterns (eVision.EROIBW8 sourceImage, string text) |
| Adds all the patterns from the source image to the font. | |
| void | LearnPatterns (eVision.EROIBW8 sourceImage, string text, uint[] classes, bool autoSegmentation) |
| Adds all the patterns from the source image to the font. | |
| void | LearnPatterns (eVision.EROIBW8 sourceImage, string text, uint[] classes) |
| Adds all the patterns from the source image to the font. | |
| void | AddPatternFromImage (eVision.EROIBW8 sourceImage, int originX, int originY, int width, int height, int code, uint classes) |
| Adds a new pattern to the font. | |
| void | AddPatternFromImage (eVision.EROIBW8 sourceImage, int originX, int originY, int width, int height, int code) |
| Adds a new pattern to the font. | |
| void | NewFont (uint patternWidth, uint patternHeight) |
| Empties the contents of the font and sets the size of the pattern array to be used from then on. | |
| void | NewFont (uint patternWidth) |
| Empties the contents of the font and sets the size of the pattern array to be used from then on. | |
| void | NewFont () |
| Empties the contents of the font and sets the size of the pattern array to be used from then on. | |
| void | RemovePattern (uint index) |
| Removes a given pattern from the current font. | |
| int | GetPatternCode (int index) |
| Returns the character code of a given pattern in the current font. | |
| void | SetPatternCode (int index, int code) |
| Sets the character code of a given pattern in the current font. | |
| uint | GetPatternClass (int index) |
| Returns the class of a given pattern in the current font. | |
| void | SetPatternClass (int index, uint classIdx) |
| Sets the class of a given pattern in the current font. | |
| eVision.EImageBW8 | GetPatternBitmap (int index) |
| Returns a pointer to an image holding the pattern of the given index. This image should not be modified. | |
| IntPtr | GetPatternBitmapUnTyped (int index) |
| void | EmptyChars () |
| Empties the list of known characters. | |
| void | AddChar (int originX, int originY, int endX, int endY) |
| Add a character coordinates to the list. | |
| void | DrawChar (eVision.EDrawAdapter graphicContext, uint charIndex, float zoomX, float zoomY, float panX, float panY) |
| Draws the bounding box of a given character. | |
| void | DrawChar (eVision.EDrawAdapter graphicContext, uint charIndex, float zoomX, float zoomY, float panX) |
| Draws the bounding box of a given character. | |
| void | DrawChar (eVision.EDrawAdapter graphicContext, uint charIndex, float zoomX, float zoomY) |
| Draws the bounding box of a given character. | |
| void | DrawChar (eVision.EDrawAdapter graphicContext, uint charIndex, float zoomX) |
| Draws the bounding box of a given character. | |
| void | DrawChar (eVision.EDrawAdapter graphicContext, uint charIndex) |
| Draws the bounding box of a given character. | |
| void | DrawChar (IntPtr graphicContext, uint charIndex, float zoomX, float zoomY, float panX, float panY) |
| Draws the bounding box of a given character. | |
| void | DrawChar (IntPtr graphicContext, uint charIndex, float zoomX, float zoomY, float panX) |
| Draws the bounding box of a given character. | |
| void | DrawChar (IntPtr graphicContext, uint charIndex, float zoomX, float zoomY) |
| Draws the bounding box of a given character. | |
| void | DrawChar (IntPtr graphicContext, uint charIndex, float zoomX) |
| Draws the bounding box of a given character. | |
| void | DrawChar (IntPtr graphicContext, uint charIndex) |
| Draws the bounding box of a given character. | |
| void | DrawChar (IntPtr graphicContext, eVision.ERGBColor color, uint charIndex, float zoomX, float zoomY, float panX, float panY) |
| Draws the bounding box of a given character. | |
| void | DrawChar (IntPtr graphicContext, eVision.ERGBColor color, uint charIndex, float zoomX, float zoomY, float panX) |
| Draws the bounding box of a given character. | |
| void | DrawChar (IntPtr graphicContext, eVision.ERGBColor color, uint charIndex, float zoomX, float zoomY) |
| Draws the bounding box of a given character. | |
| void | DrawChar (IntPtr graphicContext, eVision.ERGBColor color, uint charIndex, float zoomX) |
| Draws the bounding box of a given character. | |
| void | DrawChar (IntPtr graphicContext, eVision.ERGBColor color, uint charIndex) |
| Draws the bounding box of a given character. | |
| void | DrawCharWithCurrentPen (IntPtr graphicContext, uint charIndex, float zoomX, float zoomY, float panX, float panY) |
| Draws the bounding box of a given character. | |
| void | DrawCharWithCurrentPen (IntPtr graphicContext, uint charIndex, float zoomX, float zoomY, float panX) |
| Draws the bounding box of a given character. | |
| void | DrawCharWithCurrentPen (IntPtr graphicContext, uint charIndex, float zoomX, float zoomY) |
| Draws the bounding box of a given character. | |
| void | DrawCharWithCurrentPen (IntPtr graphicContext, uint charIndex, float zoomX) |
| Draws the bounding box of a given character. | |
| void | DrawCharWithCurrentPen (IntPtr graphicContext, uint charIndex) |
| Draws the bounding box of a given character. | |
| void | DrawChars (eVision.EDrawAdapter graphicContext, float zoomX, float zoomY, float panX, float panY) |
| Draws the bounding boxes of all characters in the image. | |
| void | DrawChars (eVision.EDrawAdapter graphicContext, float zoomX, float zoomY, float panX) |
| Draws the bounding boxes of all characters in the image. | |
| void | DrawChars (eVision.EDrawAdapter graphicContext, float zoomX, float zoomY) |
| Draws the bounding boxes of all characters in the image. | |
| void | DrawChars (eVision.EDrawAdapter graphicContext, float zoomX) |
| Draws the bounding boxes of all characters in the image. | |
| void | DrawChars (eVision.EDrawAdapter graphicContext) |
| Draws the bounding boxes of all characters in the image. | |
| void | DrawChars (IntPtr graphicContext, float zoomX, float zoomY, float panX, float panY) |
| Draws the bounding boxes of all characters in the image. | |
| void | DrawChars (IntPtr graphicContext, float zoomX, float zoomY, float panX) |
| Draws the bounding boxes of all characters in the image. | |
| void | DrawChars (IntPtr graphicContext, float zoomX, float zoomY) |
| Draws the bounding boxes of all characters in the image. | |
| void | DrawChars (IntPtr graphicContext, float zoomX) |
| Draws the bounding boxes of all characters in the image. | |
| void | DrawChars (IntPtr graphicContext) |
| Draws the bounding boxes of all characters in the image. | |
| void | DrawChars (IntPtr graphicContext, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY) |
| Draws the bounding boxes of all characters in the image. | |
| void | DrawChars (IntPtr graphicContext, eVision.ERGBColor color, float zoomX, float zoomY, float panX) |
| Draws the bounding boxes of all characters in the image. | |
| void | DrawChars (IntPtr graphicContext, eVision.ERGBColor color, float zoomX, float zoomY) |
| Draws the bounding boxes of all characters in the image. | |
| void | DrawChars (IntPtr graphicContext, eVision.ERGBColor color, float zoomX) |
| Draws the bounding boxes of all characters in the image. | |
| void | DrawChars (IntPtr graphicContext, eVision.ERGBColor color) |
| Draws the bounding boxes of all characters in the image. | |
| void | DrawCharsWithCurrentPen (IntPtr graphicContext, float zoomX, float zoomY, float panX, float panY) |
| Draws the bounding boxes of all characters in the image. | |
| void | DrawCharsWithCurrentPen (IntPtr graphicContext, float zoomX, float zoomY, float panX) |
| Draws the bounding boxes of all characters in the image. | |
| void | DrawCharsWithCurrentPen (IntPtr graphicContext, float zoomX, float zoomY) |
| Draws the bounding boxes of all characters in the image. | |
| void | DrawCharsWithCurrentPen (IntPtr graphicContext, float zoomX) |
| Draws the bounding boxes of all characters in the image. | |
| void | DrawCharsWithCurrentPen (IntPtr graphicContext) |
| Draws the bounding boxes of all characters in the image. | |
| void | DrawObjects (eVision.EDrawAdapter graphicContext, eVision.ESelectionFlag selectionFlag, float zoomX, float zoomY, float panX, float panY) |
| Draws segmented objects. | |
| void | DrawObjects (eVision.EDrawAdapter graphicContext, eVision.ESelectionFlag selectionFlag, float zoomX, float zoomY, float panX) |
| Draws segmented objects. | |
| void | DrawObjects (eVision.EDrawAdapter graphicContext, eVision.ESelectionFlag selectionFlag, float zoomX, float zoomY) |
| Draws segmented objects. | |
| void | DrawObjects (eVision.EDrawAdapter graphicContext, eVision.ESelectionFlag selectionFlag, float zoomX) |
| Draws segmented objects. | |
| void | DrawObjects (eVision.EDrawAdapter graphicContext, eVision.ESelectionFlag selectionFlag) |
| Draws segmented objects. | |
| void | DrawObjects (eVision.EDrawAdapter graphicContext) |
| Draws segmented objects. | |
| void | Load (eVision.ESerializer serializer) |
| Loads the EOCR object configuration. | |
| void | Load (string path) |
| Loads the EOCR object configuration. | |
| void | Save (eVision.ESerializer serializer) |
| Saves the EOCR object configuration. | |
| void | Save (string path) |
| Saves the EOCR object configuration. | |
| void | Dump () |
| void | DrawChar (System.Drawing.Graphics graphicContext, uint charIndex, float zoomX, float zoomY, float panX, float panY) |
| Draws the bounding box of a given character. | |
| void | DrawChar (System.Drawing.Graphics graphicContext, uint charIndex, float zoomX, float zoomY, float panX) |
| Draws the bounding box of a given character. | |
| void | DrawChar (System.Drawing.Graphics graphicContext, uint charIndex, float zoomX, float zoomY) |
| Draws the bounding box of a given character. | |
| void | DrawChar (System.Drawing.Graphics graphicContext, uint charIndex, float zoomX) |
| Draws the bounding box of a given character. | |
| void | DrawChar (System.Drawing.Graphics graphicContext, uint charIndex) |
| Draws the bounding box of a given character. | |
| void | DrawChar (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, uint charIndex, float zoomX, float zoomY, float panX, float panY) |
| Draws the bounding box of a given character. | |
| void | DrawChar (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, uint charIndex, float zoomX, float zoomY, float panX) |
| Draws the bounding box of a given character. | |
| void | DrawChar (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, uint charIndex, float zoomX, float zoomY) |
| Draws the bounding box of a given character. | |
| void | DrawChar (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, uint charIndex, float zoomX) |
| Draws the bounding box of a given character. | |
| void | DrawChar (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, uint charIndex) |
| Draws the bounding box of a given character. | |
| void | DrawChars (System.Drawing.Graphics graphicContext, float zoomX, float zoomY, float panX, float panY) |
| Draws the bounding boxes of all characters in the image. | |
| void | DrawChars (System.Drawing.Graphics graphicContext, float zoomX, float zoomY, float panX) |
| Draws the bounding boxes of all characters in the image. | |
| void | DrawChars (System.Drawing.Graphics graphicContext, float zoomX, float zoomY) |
| Draws the bounding boxes of all characters in the image. | |
| void | DrawChars (System.Drawing.Graphics graphicContext, float zoomX) |
| Draws the bounding boxes of all characters in the image. | |
| void | DrawChars (System.Drawing.Graphics graphicContext) |
| Draws the bounding boxes of all characters in the image. | |
| void | DrawChars (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY) |
| Draws the bounding boxes of all characters in the image. | |
| void | DrawChars (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float zoomX, float zoomY, float panX) |
| Draws the bounding boxes of all characters in the image. | |
| void | DrawChars (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float zoomX, float zoomY) |
| Draws the bounding boxes of all characters in the image. | |
| void | DrawChars (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float zoomX) |
| Draws the bounding boxes of all characters in the image. | |
| void | DrawChars (System.Drawing.Graphics graphicContext, eVision.ERGBColor color) |
| Draws the bounding boxes of all characters in the image. | |
Properties | |
| uint | PatternWidth [get] |
| Current pattern width, as set at the last EOCR.NewFont or EOCR.Load operation. | |
| uint | PatternHeight [get] |
| Current pattern height, as set at the last EOCR.NewFont or EOCR.Load operation. | |
| eVision.EMatchingMode | MatchingMode [get, set] |
| Matching mode to use to compare characters to the template. | |
| eVision.EShiftingMode | ShiftingMode [get, set] |
| Shifting mode to use to compare characters to the template. | |
| uint | ShiftXTolerance [get, set] |
| Horizontal translation tolerance around the nominal position when the character positions are explicitly specified. | |
| uint | ShiftYTolerance [get, set] |
| Vertical translation tolerance around the nominal position when the character positions are explicitly specified. | |
| eVision.EOCRColor | TextColor [get, set] |
| Text color. | |
| int | Threshold [get, set] |
| Threshold mode used for image segmentation. | |
| float | RelativeThreshold [get, set] |
| Relative threshold used for image segmentation. | |
| int | MinCharWidth [get, set] |
| Minimum character width. | |
| int | MaxCharWidth [get, set] |
| Maximum character width. | |
| int | MinCharHeight [get, set] |
| Minimum character height. | |
| int | MaxCharHeight [get, set] |
| Maximum character height. | |
| int | CharSpacing [get, set] |
| Spacing that separates characters. | |
| eVision.ELineSpacingMode | LineSpacingMode [get, set] |
| Line spacing mode to sort the character boxes into lines. Default mode is ELineSpacingMode.ELineSpacingMode_Overlap. | |
| int | NoiseArea [get, set] |
| Noise area. | |
| eVision.ESegmentationMode | SegmentationMode [get, set] |
| Segmentation mode. | |
| bool | CutLargeChars [get, set] |
| Flag indicating whether the large chars cutting mode is used. | |
| float | RelativeSpacing [get, set] |
| Relative spacing value. | |
| bool | RemoveNarrowOrFlat [get, set] |
| Flag indicating whether the characters are discarded when either dimension falls below the minimum value. | |
| bool | RemoveBorder [get, set] |
| Flag indicating whether all blobs touching the ROI edges are automatically discarded. | |
| bool | CompareAspectRatio [get, set] |
| Flag indicating whether the character aspect ratio is used to compute the recognition score. | |
| int | NumChars [get] |
| Number of recognized characters. | |
| float | AverageFirstCharDistance [get] |
| int | NumPatterns [get] |
| Number of patterns in the current font. | |
| uint | TrueThreshold [get] |
| Absolute threshold level when using a single threshold. | |
Manages a complete context for the font-dependent printed character reader implemented in EasyOCR.
License(s): EasyOCR or EasyOCR2
| eVision.EOCR.EOCR | ( | ) |
Constructs an OCR context.
By default, the Threshold property is set to 128.
| eVision.EOCR.EOCR | ( | eVision.EOCR | other | ) |
| void eVision.EOCR.AddChar | ( | int | originX, |
| int | originY, | ||
| int | endX, | ||
| int | endY ) |
Add a character coordinates to the list.
| originX | Abscissa of the upper left corner of the bounding box of the character. |
| originY | Ordinate of the upper left corner of the bounding box of the character. |
| endX | Abscissa of the bottom right corner of the bounding box of the character. |
| endY | Ordinate of the bottom right corner of the bounding box of the character. |
It is to use when you know the exact position of the characters to be recognized, to bypass the segmentation step, for efficiency or reliability purposes. To use this feature, simply specify the character positions by successive calls to AddChar. When this is done, the remainder of the OCR processing steps can take place. To empty the list of known characters, call EOCR.EmptyChars.
| void eVision.EOCR.AddPatternFromImage | ( | eVision.EROIBW8 | sourceImage, |
| int | originX, | ||
| int | originY, | ||
| int | width, | ||
| int | height, | ||
| int | code ) |
Adds a new pattern to the font.
| sourceImage | Pointer to the source image/ROI. |
| originX | Abscissa of the upper left corner of the bounding box of the pattern. |
| originY | Ordinate of the upper left corner of the bounding box of the pattern. |
| width | Width of the bounding box of the pattern. |
| height | Height of the bounding box of the pattern. |
| code | Character code of the pattern. |
The pattern is extracted from an image by specifying a bounding rectangle.
| void eVision.EOCR.AddPatternFromImage | ( | eVision.EROIBW8 | sourceImage, |
| int | originX, | ||
| int | originY, | ||
| int | width, | ||
| int | height, | ||
| int | code, | ||
| uint | classes ) |
Adds a new pattern to the font.
| sourceImage | Pointer to the source image/ROI. |
| originX | Abscissa of the upper left corner of the bounding box of the pattern. |
| originY | Ordinate of the upper left corner of the bounding box of the pattern. |
| width | Width of the bounding box of the pattern. |
| height | Height of the bounding box of the pattern. |
| code | Character code of the pattern. |
| classes | Class of the pattern, as defined by EOCRClass. |
The pattern is extracted from an image by specifying a bounding rectangle.
| void eVision.EOCR.BuildObjects | ( | eVision.EROIBW8 | sourceImage | ) |
| int eVision.EOCR.CharGetDstX | ( | int | index | ) |
Returns the abscissa of the lower right corner of a recognized character.
| index | Character number (in range 0..NumChars-1). |
| int eVision.EOCR.CharGetDstY | ( | int | index | ) |
Returns the ordinate of the lower right corner of a recognized character.
| index | Character number (in range 0..NumChars-1). |
| int eVision.EOCR.CharGetHeight | ( | int | index | ) |
Returns the height of a recognized character.
| index | Character number (in range 0..NumChars-1). |
| int eVision.EOCR.CharGetOrgX | ( | int | index | ) |
Returns the abscissa of the upper left corner of a recognized character.
| index | Character number (in range 0..NumChars-1). |
| int eVision.EOCR.CharGetOrgY | ( | int | index | ) |
Returns the ordinate of the upper left corner of a recognized character.
| index | Character number (in range 0..NumChars-1). |
| int eVision.EOCR.CharGetWidth | ( | int | index | ) |
Returns the width of a recognized character.
| index | Character number (in range 0..NumChars-1). |
| void eVision.EOCR.DrawChar | ( | eVision.EDrawAdapter | graphicContext, |
| uint | charIndex ) |
Draws the bounding box of a given character.
| graphicContext | Handle of the device context on which to draw. |
| charIndex | Character index, in range 0..NumChars-1. |
Drawing is done in the device context associated to the desired window. The current pen is used.
| void eVision.EOCR.DrawChar | ( | eVision.EDrawAdapter | graphicContext, |
| uint | charIndex, | ||
| float | zoomX ) |
Draws the bounding box of a given character.
| graphicContext | Handle of the device context on which to draw. |
| charIndex | Character index, in range 0..NumChars-1. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
Drawing is done in the device context associated to the desired window. The current pen is used.
| void eVision.EOCR.DrawChar | ( | eVision.EDrawAdapter | graphicContext, |
| uint | charIndex, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the bounding box of a given character.
| graphicContext | Handle of the device context on which to draw. |
| charIndex | Character index, in range 0..NumChars-1. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
Drawing is done in the device context associated to the desired window. The current pen is used.
| void eVision.EOCR.DrawChar | ( | eVision.EDrawAdapter | graphicContext, |
| uint | charIndex, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the bounding box of a given character.
| graphicContext | Handle of the device context on which to draw. |
| charIndex | Character index, in range 0..NumChars-1. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window. The current pen is used.
| void eVision.EOCR.DrawChar | ( | eVision.EDrawAdapter | graphicContext, |
| uint | charIndex, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the bounding box of a given character.
| graphicContext | Handle of the device context on which to draw. |
| charIndex | Character index, in range 0..NumChars-1. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window. The current pen is used.
| void eVision.EOCR.DrawChar | ( | IntPtr | graphicContext, |
| eVision.ERGBColor | color, | ||
| uint | charIndex ) |
Draws the bounding box of a given character.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the overlay. |
| charIndex | Character index, in range 0..NumChars-1. |
Drawing is done in the device context associated to the desired window. The current pen is used.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChar | ( | IntPtr | graphicContext, |
| eVision.ERGBColor | color, | ||
| uint | charIndex, | ||
| float | zoomX ) |
Draws the bounding box of a given character.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the overlay. |
| charIndex | Character index, in range 0..NumChars-1. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
Drawing is done in the device context associated to the desired window. The current pen is used.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChar | ( | IntPtr | graphicContext, |
| eVision.ERGBColor | color, | ||
| uint | charIndex, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the bounding box of a given character.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the overlay. |
| charIndex | Character index, in range 0..NumChars-1. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
Drawing is done in the device context associated to the desired window. The current pen is used.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChar | ( | IntPtr | graphicContext, |
| eVision.ERGBColor | color, | ||
| uint | charIndex, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the bounding box of a given character.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the overlay. |
| charIndex | Character index, in range 0..NumChars-1. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window. The current pen is used.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChar | ( | IntPtr | graphicContext, |
| eVision.ERGBColor | color, | ||
| uint | charIndex, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the bounding box of a given character.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the overlay. |
| charIndex | Character index, in range 0..NumChars-1. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window. The current pen is used.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChar | ( | IntPtr | graphicContext, |
| uint | charIndex ) |
Draws the bounding box of a given character.
| graphicContext | Handle of the device context on which to draw. |
| charIndex | Character index, in range 0..NumChars-1. |
Drawing is done in the device context associated to the desired window. The current pen is used.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChar | ( | IntPtr | graphicContext, |
| uint | charIndex, | ||
| float | zoomX ) |
Draws the bounding box of a given character.
| graphicContext | Handle of the device context on which to draw. |
| charIndex | Character index, in range 0..NumChars-1. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
Drawing is done in the device context associated to the desired window. The current pen is used.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChar | ( | IntPtr | graphicContext, |
| uint | charIndex, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the bounding box of a given character.
| graphicContext | Handle of the device context on which to draw. |
| charIndex | Character index, in range 0..NumChars-1. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
Drawing is done in the device context associated to the desired window. The current pen is used.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChar | ( | IntPtr | graphicContext, |
| uint | charIndex, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the bounding box of a given character.
| graphicContext | Handle of the device context on which to draw. |
| charIndex | Character index, in range 0..NumChars-1. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window. The current pen is used.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChar | ( | IntPtr | graphicContext, |
| uint | charIndex, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the bounding box of a given character.
| graphicContext | Handle of the device context on which to draw. |
| charIndex | Character index, in range 0..NumChars-1. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window. The current pen is used.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChar | ( | System.Drawing.Graphics | graphicContext, |
| eVision.ERGBColor | color, | ||
| uint | charIndex ) |
Draws the bounding box of a given character.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the overlay. |
| charIndex | Character index, in range 0..NumChars-1. |
Drawing is done in the device context associated to the desired window. The current pen is used.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChar | ( | System.Drawing.Graphics | graphicContext, |
| eVision.ERGBColor | color, | ||
| uint | charIndex, | ||
| float | zoomX ) |
Draws the bounding box of a given character.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the overlay. |
| charIndex | Character index, in range 0..NumChars-1. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
Drawing is done in the device context associated to the desired window. The current pen is used.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChar | ( | System.Drawing.Graphics | graphicContext, |
| eVision.ERGBColor | color, | ||
| uint | charIndex, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the bounding box of a given character.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the overlay. |
| charIndex | Character index, in range 0..NumChars-1. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
Drawing is done in the device context associated to the desired window. The current pen is used.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChar | ( | System.Drawing.Graphics | graphicContext, |
| eVision.ERGBColor | color, | ||
| uint | charIndex, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the bounding box of a given character.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the overlay. |
| charIndex | Character index, in range 0..NumChars-1. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window. The current pen is used.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChar | ( | System.Drawing.Graphics | graphicContext, |
| eVision.ERGBColor | color, | ||
| uint | charIndex, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the bounding box of a given character.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the overlay. |
| charIndex | Character index, in range 0..NumChars-1. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window. The current pen is used.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChar | ( | System.Drawing.Graphics | graphicContext, |
| uint | charIndex ) |
Draws the bounding box of a given character.
| graphicContext | Handle of the device context on which to draw. |
| charIndex | Character index, in range 0..NumChars-1. |
Drawing is done in the device context associated to the desired window. The current pen is used.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChar | ( | System.Drawing.Graphics | graphicContext, |
| uint | charIndex, | ||
| float | zoomX ) |
Draws the bounding box of a given character.
| graphicContext | Handle of the device context on which to draw. |
| charIndex | Character index, in range 0..NumChars-1. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
Drawing is done in the device context associated to the desired window. The current pen is used.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChar | ( | System.Drawing.Graphics | graphicContext, |
| uint | charIndex, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the bounding box of a given character.
| graphicContext | Handle of the device context on which to draw. |
| charIndex | Character index, in range 0..NumChars-1. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
Drawing is done in the device context associated to the desired window. The current pen is used.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChar | ( | System.Drawing.Graphics | graphicContext, |
| uint | charIndex, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the bounding box of a given character.
| graphicContext | Handle of the device context on which to draw. |
| charIndex | Character index, in range 0..NumChars-1. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window. The current pen is used.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChar | ( | System.Drawing.Graphics | graphicContext, |
| uint | charIndex, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the bounding box of a given character.
| graphicContext | Handle of the device context on which to draw. |
| charIndex | Character index, in range 0..NumChars-1. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window. The current pen is used.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChars | ( | eVision.EDrawAdapter | graphicContext | ) |
Draws the bounding boxes of all characters in the image.
| graphicContext | Handle of the device context on which to draw. |
Drawing is done in the device context associated to the desired window. The current pen is used for all characters (to vary the colors, draw the objects separately using the EOCR.DrawChar method instead).
| void eVision.EOCR.DrawChars | ( | eVision.EDrawAdapter | graphicContext, |
| float | zoomX ) |
Draws the bounding boxes of all characters in the image.
| graphicContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
Drawing is done in the device context associated to the desired window. The current pen is used for all characters (to vary the colors, draw the objects separately using the EOCR.DrawChar method instead).
| void eVision.EOCR.DrawChars | ( | eVision.EDrawAdapter | graphicContext, |
| float | zoomX, | ||
| float | zoomY ) |
Draws the bounding boxes of all characters in the image.
| graphicContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
Drawing is done in the device context associated to the desired window. The current pen is used for all characters (to vary the colors, draw the objects separately using the EOCR.DrawChar method instead).
| void eVision.EOCR.DrawChars | ( | eVision.EDrawAdapter | graphicContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the bounding boxes of all characters in the image.
| graphicContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window. The current pen is used for all characters (to vary the colors, draw the objects separately using the EOCR.DrawChar method instead).
| void eVision.EOCR.DrawChars | ( | eVision.EDrawAdapter | graphicContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the bounding boxes of all characters in the image.
| graphicContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window. The current pen is used for all characters (to vary the colors, draw the objects separately using the EOCR.DrawChar method instead).
| void eVision.EOCR.DrawChars | ( | IntPtr | graphicContext | ) |
Draws the bounding boxes of all characters in the image.
| graphicContext | Handle of the device context on which to draw. |
Drawing is done in the device context associated to the desired window. The current pen is used for all characters (to vary the colors, draw the objects separately using the EOCR.DrawChar method instead).
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChars | ( | IntPtr | graphicContext, |
| eVision.ERGBColor | color ) |
Draws the bounding boxes of all characters in the image.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the overlay. |
Drawing is done in the device context associated to the desired window. The current pen is used for all characters (to vary the colors, draw the objects separately using the EOCR.DrawChar method instead).
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChars | ( | IntPtr | graphicContext, |
| eVision.ERGBColor | color, | ||
| float | zoomX ) |
Draws the bounding boxes of all characters in the image.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the overlay. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
Drawing is done in the device context associated to the desired window. The current pen is used for all characters (to vary the colors, draw the objects separately using the EOCR.DrawChar method instead).
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChars | ( | IntPtr | graphicContext, |
| eVision.ERGBColor | color, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the bounding boxes of all characters in the image.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the overlay. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
Drawing is done in the device context associated to the desired window. The current pen is used for all characters (to vary the colors, draw the objects separately using the EOCR.DrawChar method instead).
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChars | ( | IntPtr | graphicContext, |
| eVision.ERGBColor | color, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the bounding boxes of all characters in the image.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the overlay. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window. The current pen is used for all characters (to vary the colors, draw the objects separately using the EOCR.DrawChar method instead).
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChars | ( | IntPtr | graphicContext, |
| eVision.ERGBColor | color, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the bounding boxes of all characters in the image.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the overlay. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window. The current pen is used for all characters (to vary the colors, draw the objects separately using the EOCR.DrawChar method instead).
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChars | ( | IntPtr | graphicContext, |
| float | zoomX ) |
Draws the bounding boxes of all characters in the image.
| graphicContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
Drawing is done in the device context associated to the desired window. The current pen is used for all characters (to vary the colors, draw the objects separately using the EOCR.DrawChar method instead).
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChars | ( | IntPtr | graphicContext, |
| float | zoomX, | ||
| float | zoomY ) |
Draws the bounding boxes of all characters in the image.
| graphicContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
Drawing is done in the device context associated to the desired window. The current pen is used for all characters (to vary the colors, draw the objects separately using the EOCR.DrawChar method instead).
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChars | ( | IntPtr | graphicContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the bounding boxes of all characters in the image.
| graphicContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window. The current pen is used for all characters (to vary the colors, draw the objects separately using the EOCR.DrawChar method instead).
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChars | ( | IntPtr | graphicContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the bounding boxes of all characters in the image.
| graphicContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window. The current pen is used for all characters (to vary the colors, draw the objects separately using the EOCR.DrawChar method instead).
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChars | ( | System.Drawing.Graphics | graphicContext | ) |
Draws the bounding boxes of all characters in the image.
| graphicContext | Handle of the device context on which to draw. |
Drawing is done in the device context associated to the desired window. The current pen is used for all characters (to vary the colors, draw the objects separately using the EOCR.DrawChar method instead).
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChars | ( | System.Drawing.Graphics | graphicContext, |
| eVision.ERGBColor | color ) |
Draws the bounding boxes of all characters in the image.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the overlay. |
Drawing is done in the device context associated to the desired window. The current pen is used for all characters (to vary the colors, draw the objects separately using the EOCR.DrawChar method instead).
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChars | ( | System.Drawing.Graphics | graphicContext, |
| eVision.ERGBColor | color, | ||
| float | zoomX ) |
Draws the bounding boxes of all characters in the image.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the overlay. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
Drawing is done in the device context associated to the desired window. The current pen is used for all characters (to vary the colors, draw the objects separately using the EOCR.DrawChar method instead).
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChars | ( | System.Drawing.Graphics | graphicContext, |
| eVision.ERGBColor | color, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the bounding boxes of all characters in the image.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the overlay. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
Drawing is done in the device context associated to the desired window. The current pen is used for all characters (to vary the colors, draw the objects separately using the EOCR.DrawChar method instead).
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChars | ( | System.Drawing.Graphics | graphicContext, |
| eVision.ERGBColor | color, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the bounding boxes of all characters in the image.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the overlay. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window. The current pen is used for all characters (to vary the colors, draw the objects separately using the EOCR.DrawChar method instead).
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChars | ( | System.Drawing.Graphics | graphicContext, |
| eVision.ERGBColor | color, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the bounding boxes of all characters in the image.
| graphicContext | Handle of the device context on which to draw. |
| color | The color in which to draw the overlay. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window. The current pen is used for all characters (to vary the colors, draw the objects separately using the EOCR.DrawChar method instead).
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChars | ( | System.Drawing.Graphics | graphicContext, |
| float | zoomX ) |
Draws the bounding boxes of all characters in the image.
| graphicContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
Drawing is done in the device context associated to the desired window. The current pen is used for all characters (to vary the colors, draw the objects separately using the EOCR.DrawChar method instead).
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChars | ( | System.Drawing.Graphics | graphicContext, |
| float | zoomX, | ||
| float | zoomY ) |
Draws the bounding boxes of all characters in the image.
| graphicContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
Drawing is done in the device context associated to the desired window. The current pen is used for all characters (to vary the colors, draw the objects separately using the EOCR.DrawChar method instead).
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChars | ( | System.Drawing.Graphics | graphicContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the bounding boxes of all characters in the image.
| graphicContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window. The current pen is used for all characters (to vary the colors, draw the objects separately using the EOCR.DrawChar method instead).
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawChars | ( | System.Drawing.Graphics | graphicContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the bounding boxes of all characters in the image.
| graphicContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window. The current pen is used for all characters (to vary the colors, draw the objects separately using the EOCR.DrawChar method instead).
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawCharsWithCurrentPen | ( | IntPtr | graphicContext | ) |
Draws the bounding boxes of all characters in the image.
| graphicContext | Handle of the device context on which to draw. |
Drawing is done in the device context associated to the desired window. The current pen is used for all characters (to vary the colors, draw the objects separately using the EOCR.DrawChar method instead).
Use the overload of EOCR.DrawChars taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawCharsWithCurrentPen | ( | IntPtr | graphicContext, |
| float | zoomX ) |
Draws the bounding boxes of all characters in the image.
| graphicContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
Drawing is done in the device context associated to the desired window. The current pen is used for all characters (to vary the colors, draw the objects separately using the EOCR.DrawChar method instead).
Use the overload of EOCR.DrawChars taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawCharsWithCurrentPen | ( | IntPtr | graphicContext, |
| float | zoomX, | ||
| float | zoomY ) |
Draws the bounding boxes of all characters in the image.
| graphicContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
Drawing is done in the device context associated to the desired window. The current pen is used for all characters (to vary the colors, draw the objects separately using the EOCR.DrawChar method instead).
Use the overload of EOCR.DrawChars taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawCharsWithCurrentPen | ( | IntPtr | graphicContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the bounding boxes of all characters in the image.
| graphicContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window. The current pen is used for all characters (to vary the colors, draw the objects separately using the EOCR.DrawChar method instead).
Use the overload of EOCR.DrawChars taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawCharsWithCurrentPen | ( | IntPtr | graphicContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the bounding boxes of all characters in the image.
| graphicContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window. The current pen is used for all characters (to vary the colors, draw the objects separately using the EOCR.DrawChar method instead).
Use the overload of EOCR.DrawChars taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawCharWithCurrentPen | ( | IntPtr | graphicContext, |
| uint | charIndex ) |
Draws the bounding box of a given character.
| graphicContext | Handle of the device context on which to draw. |
| charIndex | Character index, in range 0..NumChars-1. |
Drawing is done in the device context associated to the desired window. The current pen is used.
Use the overload of EOCR.DrawChar taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawCharWithCurrentPen | ( | IntPtr | graphicContext, |
| uint | charIndex, | ||
| float | zoomX ) |
Draws the bounding box of a given character.
| graphicContext | Handle of the device context on which to draw. |
| charIndex | Character index, in range 0..NumChars-1. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
Drawing is done in the device context associated to the desired window. The current pen is used.
Use the overload of EOCR.DrawChar taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawCharWithCurrentPen | ( | IntPtr | graphicContext, |
| uint | charIndex, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the bounding box of a given character.
| graphicContext | Handle of the device context on which to draw. |
| charIndex | Character index, in range 0..NumChars-1. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
Drawing is done in the device context associated to the desired window. The current pen is used.
Use the overload of EOCR.DrawChar taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawCharWithCurrentPen | ( | IntPtr | graphicContext, |
| uint | charIndex, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the bounding box of a given character.
| graphicContext | Handle of the device context on which to draw. |
| charIndex | Character index, in range 0..NumChars-1. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window. The current pen is used.
Use the overload of EOCR.DrawChar taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawCharWithCurrentPen | ( | IntPtr | graphicContext, |
| uint | charIndex, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the bounding box of a given character.
| graphicContext | Handle of the device context on which to draw. |
| charIndex | Character index, in range 0..NumChars-1. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window. The current pen is used.
Use the overload of EOCR.DrawChar taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EOCR.DrawObjects | ( | eVision.EDrawAdapter | graphicContext | ) |
Draws segmented objects.
| graphicContext | Handle of the device context on which to draw. |
Drawing is done in the device context associated to the desired window. The current pen is used for all objects. Optionally, only the selected or deselected objects can be drawn.
| void eVision.EOCR.DrawObjects | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.ESelectionFlag | selectionFlag ) |
Draws segmented objects.
| graphicContext | Handle of the device context on which to draw. |
| selectionFlag | Tells how the selected/unselected state of the objects is handled, as defined by ESelectionFlag. |
Drawing is done in the device context associated to the desired window. The current pen is used for all objects. Optionally, only the selected or deselected objects can be drawn.
| void eVision.EOCR.DrawObjects | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.ESelectionFlag | selectionFlag, | ||
| float | zoomX ) |
Draws segmented objects.
| graphicContext | Handle of the device context on which to draw. |
| selectionFlag | Tells how the selected/unselected state of the objects is handled, as defined by ESelectionFlag. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
Drawing is done in the device context associated to the desired window. The current pen is used for all objects. Optionally, only the selected or deselected objects can be drawn.
| void eVision.EOCR.DrawObjects | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.ESelectionFlag | selectionFlag, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws segmented objects.
| graphicContext | Handle of the device context on which to draw. |
| selectionFlag | Tells how the selected/unselected state of the objects is handled, as defined by ESelectionFlag. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
Drawing is done in the device context associated to the desired window. The current pen is used for all objects. Optionally, only the selected or deselected objects can be drawn.
| void eVision.EOCR.DrawObjects | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.ESelectionFlag | selectionFlag, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws segmented objects.
| graphicContext | Handle of the device context on which to draw. |
| selectionFlag | Tells how the selected/unselected state of the objects is handled, as defined by ESelectionFlag. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window. The current pen is used for all objects. Optionally, only the selected or deselected objects can be drawn.
| void eVision.EOCR.DrawObjects | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.ESelectionFlag | selectionFlag, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws segmented objects.
| graphicContext | Handle of the device context on which to draw. |
| selectionFlag | Tells how the selected/unselected state of the objects is handled, as defined by ESelectionFlag. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window. The current pen is used for all objects. Optionally, only the selected or deselected objects can be drawn.
| void eVision.EOCR.Dump | ( | ) |
| void eVision.EOCR.EmptyChars | ( | ) |
Empties the list of known characters.
It is to use when you know the exact position of the characters to be recognized. See member EOCR.AddChar.
| void eVision.EOCR.FindAllChars | ( | ) |
Locates the characters by filtering the objects according to their size, and grouping them if the segmentation mode is set to ESegmentationMode.ESegmentationMode_RepasteObjects.
The characters are sorted from left to right. This operation must be performed after a call to EOCR.BuildObjects and before a call to EOCR.ReadText.
| void eVision.EOCR.FindAllChars | ( | eVision.EROIBW8 | sourceImage | ) |
Locates the characters by filtering the objects according to their size, and grouping them if the segmentation mode is set to ESegmentationMode.ESegmentationMode_RepasteObjects.
| sourceImage | Pointer to the source image/ROI. This parameter is not used and kept only for compatibility purposes. |
The characters are sorted from left to right. This operation must be performed after a call to EOCR.BuildObjects and before a call to EOCR.ReadText.
| float eVision.EOCR.GetConfidenceRatio | ( | int | index | ) |
Returns the degree of confidence in the recognized character.
| index | Character number (in range 0..NumChars-1). |
A value of 100 % means there is no difference between the recognized character and the best matching pattern. A value of 0 % means there is no way to distinguish between the best and second best matching pattern. The computation of the confidence ratio is based on the first and second characters distance parameters (see EOCR.GetFirstCharDistance and EOCR.GetSecondCharDistance).
| int eVision.EOCR.GetFirstCharCode | ( | int | index | ) |
Returns the code of the pattern that matches at best a recognized character.
| index | Character number (in range 0..NumChars-1). |
| float eVision.EOCR.GetFirstCharDistance | ( | int | index | ) |
Computes the degree of similarity between the best matching pattern and a recognized character.
| index | Character number (in range 0..NumChars-1). |
Returns 0 for a perfect match and 1 for a total mismatch.
| eVision.EImageBW8 eVision.EOCR.GetPatternBitmap | ( | int | index | ) |
Returns a pointer to an image holding the pattern of the given index. This image should not be modified.
| index |
Pattern number (in range 0..NumPatterns -1).
| IntPtr eVision.EOCR.GetPatternBitmapUnTyped | ( | int | index | ) |
| uint eVision.EOCR.GetPatternClass | ( | int | index | ) |
Returns the class of a given pattern in the current font.
| index | Pattern number (in range 0..NumPatterns-1). |
| int eVision.EOCR.GetPatternCode | ( | int | index | ) |
Returns the character code of a given pattern in the current font.
| index | Pattern number (in range 0..NumPatterns-1). |
| int eVision.EOCR.GetSecondCharCode | ( | int | index | ) |
Returns the code of the pattern that matches at second best a recognized character.
| index | Character number (in range 0..NumChars-1). |
| float eVision.EOCR.GetSecondCharDistance | ( | int | index | ) |
Computes the degree of similarity between the second best matching pattern and a recognized character.
| index | Character number (in range 0..NumChars-1). |
Returns 0 for a perfect match and 1 for a total mismatch.
| bool eVision.EOCR.HitChar | ( | int | cursorX, |
| int | cursorY, | ||
| uint | charIndex ) |
Returns true if the cursor is placed over the character specified by charIndex.
| cursorX | Current cursor coordinates. |
| cursorY | Current cursor coordinates. |
| charIndex | Index of the character to be hit. |
If zooming and/or panning were used when drawing the ROI, the same values must be used with this method.
| bool eVision.EOCR.HitChar | ( | int | cursorX, |
| int | cursorY, | ||
| uint | charIndex, | ||
| float | zoomX ) |
Returns true if the cursor is placed over the character specified by charIndex.
| cursorX | Current cursor coordinates. |
| cursorY | Current cursor coordinates. |
| charIndex | Index of the character to be hit. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
If zooming and/or panning were used when drawing the ROI, the same values must be used with this method.
| bool eVision.EOCR.HitChar | ( | int | cursorX, |
| int | cursorY, | ||
| uint | charIndex, | ||
| float | zoomX, | ||
| float | zoomY ) |
Returns true if the cursor is placed over the character specified by charIndex.
| cursorX | Current cursor coordinates. |
| cursorY | Current cursor coordinates. |
| charIndex | Index of the character to be hit. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
If zooming and/or panning were used when drawing the ROI, the same values must be used with this method.
| bool eVision.EOCR.HitChar | ( | int | cursorX, |
| int | cursorY, | ||
| uint | charIndex, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Returns true if the cursor is placed over the character specified by charIndex.
| cursorX | Current cursor coordinates. |
| cursorY | Current cursor coordinates. |
| charIndex | Index of the character to be hit. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
If zooming and/or panning were used when drawing the ROI, the same values must be used with this method.
| bool eVision.EOCR.HitChar | ( | int | cursorX, |
| int | cursorY, | ||
| uint | charIndex, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Returns true if the cursor is placed over the character specified by charIndex.
| cursorX | Current cursor coordinates. |
| cursorY | Current cursor coordinates. |
| charIndex | Index of the character to be hit. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
If zooming and/or panning were used when drawing the ROI, the same values must be used with this method.
| uint eVision.EOCR.HitChars | ( | int | cursorX, |
| int | cursorY ) |
Returns the index of the character under the cursor. If the cursor is not located on any character, then EOCR.NumChars is returned.
| cursorX | Current cursor coordinates. |
| cursorY | Current cursor coordinates. |
If zooming and/or panning were used when drawing the ROI, the same values must be used with this method.
| uint eVision.EOCR.HitChars | ( | int | cursorX, |
| int | cursorY, | ||
| float | zoomX ) |
Returns the index of the character under the cursor. If the cursor is not located on any character, then EOCR.NumChars is returned.
| cursorX | Current cursor coordinates. |
| cursorY | Current cursor coordinates. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
If zooming and/or panning were used when drawing the ROI, the same values must be used with this method.
| uint eVision.EOCR.HitChars | ( | int | cursorX, |
| int | cursorY, | ||
| float | zoomX, | ||
| float | zoomY ) |
Returns the index of the character under the cursor. If the cursor is not located on any character, then EOCR.NumChars is returned.
| cursorX | Current cursor coordinates. |
| cursorY | Current cursor coordinates. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
If zooming and/or panning were used when drawing the ROI, the same values must be used with this method.
| uint eVision.EOCR.HitChars | ( | int | cursorX, |
| int | cursorY, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Returns the index of the character under the cursor. If the cursor is not located on any character, then EOCR.NumChars is returned.
| cursorX | Current cursor coordinates. |
| cursorY | Current cursor coordinates. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
If zooming and/or panning were used when drawing the ROI, the same values must be used with this method.
| uint eVision.EOCR.HitChars | ( | int | cursorX, |
| int | cursorY, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Returns the index of the character under the cursor. If the cursor is not located on any character, then EOCR.NumChars is returned.
| cursorX | Current cursor coordinates. |
| cursorY | Current cursor coordinates. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
If zooming and/or panning were used when drawing the ROI, the same values must be used with this method.
| bool eVision.EOCR.HitChars | ( | int | cursorX, |
| int | cursorY, | ||
| out uint | charIndex ) |
Returns the index of the character under the cursor. If the cursor is not located on any character, then EOCR.NumChars is returned.
| cursorX | Current cursor coordinates. |
| cursorY | Current cursor coordinates. |
| charIndex | Index of the character hit. |
If zooming and/or panning were used when drawing the ROI, the same values must be used with this method.
| bool eVision.EOCR.HitChars | ( | int | cursorX, |
| int | cursorY, | ||
| out uint | charIndex, | ||
| float | zoomX ) |
Returns the index of the character under the cursor. If the cursor is not located on any character, then EOCR.NumChars is returned.
| cursorX | Current cursor coordinates. |
| cursorY | Current cursor coordinates. |
| charIndex | Index of the character hit. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
If zooming and/or panning were used when drawing the ROI, the same values must be used with this method.
| bool eVision.EOCR.HitChars | ( | int | cursorX, |
| int | cursorY, | ||
| out uint | charIndex, | ||
| float | zoomX, | ||
| float | zoomY ) |
Returns the index of the character under the cursor. If the cursor is not located on any character, then EOCR.NumChars is returned.
| cursorX | Current cursor coordinates. |
| cursorY | Current cursor coordinates. |
| charIndex | Index of the character hit. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
If zooming and/or panning were used when drawing the ROI, the same values must be used with this method.
| bool eVision.EOCR.HitChars | ( | int | cursorX, |
| int | cursorY, | ||
| out uint | charIndex, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Returns the index of the character under the cursor. If the cursor is not located on any character, then EOCR.NumChars is returned.
| cursorX | Current cursor coordinates. |
| cursorY | Current cursor coordinates. |
| charIndex | Index of the character hit. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
If zooming and/or panning were used when drawing the ROI, the same values must be used with this method.
| bool eVision.EOCR.HitChars | ( | int | cursorX, |
| int | cursorY, | ||
| out uint | charIndex, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Returns the index of the character under the cursor. If the cursor is not located on any character, then EOCR.NumChars is returned.
| cursorX | Current cursor coordinates. |
| cursorY | Current cursor coordinates. |
| charIndex | Index of the character hit. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
If zooming and/or panning were used when drawing the ROI, the same values must be used with this method.
| void eVision.EOCR.LearnPattern | ( | eVision.EROIBW8 | sourceImage, |
| uint | charIndex, | ||
| int | code ) |
Adds a new pattern to the font.
| sourceImage | Pointer to the source image/ROI. |
| charIndex | Index of the character (ASCII or Unicode) to learn. |
| code | Character code of the pattern. |
The pattern is selected by its index value, as assigned by the EOCR.FindAllChars process.
| void eVision.EOCR.LearnPattern | ( | eVision.EROIBW8 | sourceImage, |
| uint | charIndex, | ||
| int | code, | ||
| uint | classes ) |
Adds a new pattern to the font.
| sourceImage | Pointer to the source image/ROI. |
| charIndex | Index of the character (ASCII or Unicode) to learn. |
| code | Character code of the pattern. |
| classes | Class of the pattern, as defined by EOCRClass. |
The pattern is selected by its index value, as assigned by the EOCR.FindAllChars process.
| void eVision.EOCR.LearnPattern | ( | eVision.EROIBW8 | sourceImage, |
| uint | charIndex, | ||
| int | code, | ||
| uint | classes, | ||
| bool | autoSegmentation ) |
Adds a new pattern to the font.
| sourceImage | Pointer to the source image/ROI. |
| charIndex | Index of the character (ASCII or Unicode) to learn. |
| code | Character code of the pattern. |
| classes | Class of the pattern, as defined by EOCRClass. |
| autoSegmentation | Boolean indicating whether the calculation of the true threshold has to be forced (default true) or bypassed (false). |
The pattern is selected by its index value, as assigned by the EOCR.FindAllChars process.
| void eVision.EOCR.LearnPatterns | ( | eVision.EROIBW8 | sourceImage, |
| string | text ) |
Adds all the patterns from the source image to the font.
| sourceImage | Pointer to the source image/ROI. |
| text | String containing character codes of the patterns. |
Patterns are ordered by their index value, as assigned by the EOCR.FindAllChars process.
| void eVision.EOCR.LearnPatterns | ( | eVision.EROIBW8 | sourceImage, |
| string | text, | ||
| uint | singleClass ) |
Adds all the patterns from the source image to the font.
| sourceImage | Pointer to the source image/ROI. |
| text | String containing character codes of the patterns. |
| singleClass | If specified, all the characters of the string are associated with the same class(es), that is specified by singleClass. |
Patterns are ordered by their index value, as assigned by the EOCR.FindAllChars process.
| void eVision.EOCR.LearnPatterns | ( | eVision.EROIBW8 | sourceImage, |
| string | text, | ||
| uint | singleClass, | ||
| bool | autoSegmentation ) |
Adds all the patterns from the source image to the font.
| sourceImage | Pointer to the source image/ROI. |
| text | String containing character codes of the patterns. |
| singleClass | If specified, all the characters of the string are associated with the same class(es), that is specified by singleClass. |
| autoSegmentation | Boolean indicating whether the calculation of the true threshold has to be forced (default true) or bypassed (false). |
Patterns are ordered by their index value, as assigned by the EOCR.FindAllChars process.
| void eVision.EOCR.LearnPatterns | ( | eVision.EROIBW8 | sourceImage, |
| string | text, | ||
| uint[] | classes ) |
Adds all the patterns from the source image to the font.
| sourceImage | Pointer to the source image/ROI. |
| text | String containing character codes of the patterns. |
| classes | If specified, the i-th character of the string is associated with the class specified by the i-th element of the vector classes. |
Patterns are ordered by their index value, as assigned by the EOCR.FindAllChars process.
| void eVision.EOCR.LearnPatterns | ( | eVision.EROIBW8 | sourceImage, |
| string | text, | ||
| uint[] | classes, | ||
| bool | autoSegmentation ) |
Adds all the patterns from the source image to the font.
| sourceImage | Pointer to the source image/ROI. |
| text | String containing character codes of the patterns. |
| classes | If specified, the i-th character of the string is associated with the class specified by the i-th element of the vector classes. |
| autoSegmentation | Boolean indicating whether the calculation of the true threshold has to be forced (default true) or bypassed (false). |
Patterns are ordered by their index value, as assigned by the EOCR.FindAllChars process.
| void eVision.EOCR.Load | ( | eVision.ESerializer | serializer | ) |
Loads the EOCR object configuration.
| serializer | The serializer. |
The given ESerializer must have been created for reading.
| void eVision.EOCR.Load | ( | string | path | ) |
Loads the EOCR object configuration.
| path | The path from which to load the configuration. |
The given ESerializer must have been created for reading.
| void eVision.EOCR.MatchChar | ( | eVision.EROIBW8 | sourceImage, |
| uint | classes, | ||
| int | index, | ||
| int | shiftX, | ||
| int | shiftY ) |
Reads a single character, i.e. finds the best match between the patterns in the font and the given character.
| sourceImage | Pointer to the source image/ROI. |
| classes | Logical mask obtained by combining the values of EOCRClass, to specify to what classes the character may belong. |
| index | Character number (in range 0..NumChars-1). |
| shiftX | Horizontal translation applied to the character. |
| shiftY | Vertical translation applied to the character. |
A shift can be apply to the character. This operation can only be performed after a call to EOCR.FindAllChars.
| void eVision.EOCR.NewFont | ( | ) |
Empties the contents of the font and sets the size of the pattern array to be used from then on.
A larger pattern array improves the recognition sensitivity, at the expense of increased processing time.
| void eVision.EOCR.NewFont | ( | uint | patternWidth | ) |
Empties the contents of the font and sets the size of the pattern array to be used from then on.
| patternWidth | Width of the normalized pattern representation, in pixels. |
A larger pattern array improves the recognition sensitivity, at the expense of increased processing time.
| void eVision.EOCR.NewFont | ( | uint | patternWidth, |
| uint | patternHeight ) |
Empties the contents of the font and sets the size of the pattern array to be used from then on.
| patternWidth | Width of the normalized pattern representation, in pixels. |
| patternHeight | Height of the normalized pattern representation, in pixels. |
A larger pattern array improves the recognition sensitivity, at the expense of increased processing time.
| string eVision.EOCR.ReadText | ( | eVision.EROIBW8 | sourceImage, |
| int | maximumNumberOfCharacters, | ||
| uint | classes ) |
Reads one or more rows of characters, i.e. finds the best match between the patterns in the font and the segmented characters.
| sourceImage | Pointer to the source image/ROI. |
| maximumNumberOfCharacters | Maximum number of characters to be read. |
| classes | Pointer to an array of logical masks obtained by combining the values of EOCRClass, to specify to what classes the character may belong. Each mask value in the array applies to the corresponding character. |
This operation can only be performed after a call to EOCR.FindAllChars.
| string eVision.EOCR.ReadText | ( | eVision.EROIBW8 | sourceImage, |
| int | maximumNumberOfCharacters, | ||
| uint | classes, | ||
| bool | autoSegmentation ) |
Reads one or more rows of characters, i.e. finds the best match between the patterns in the font and the segmented characters.
| sourceImage | Pointer to the source image/ROI. |
| maximumNumberOfCharacters | Maximum number of characters to be read. |
| classes | Pointer to an array of logical masks obtained by combining the values of EOCRClass, to specify to what classes the character may belong. Each mask value in the array applies to the corresponding character. |
| autoSegmentation | Boolean indicating whether the calculation of the true threshold has to be forced (default true) or bypassed (false). |
This operation can only be performed after a call to EOCR.FindAllChars.
| string eVision.EOCR.ReadText | ( | eVision.EROIBW8 | sourceImage, |
| int | maximumNumberOfCharacters, | ||
| uint[] | classes ) |
Reads one or more rows of characters, i.e. finds the best match between the patterns in the font and the segmented characters.
| sourceImage | Pointer to the source image/ROI. |
| maximumNumberOfCharacters | Maximum number of characters to be read. |
| classes | Pointer to an array of logical masks obtained by combining the values of EOCRClass, to specify to what classes the character may belong. Each mask value in the array applies to the corresponding character. |
This operation can only be performed after a call to EOCR.FindAllChars.
| string eVision.EOCR.ReadText | ( | eVision.EROIBW8 | sourceImage, |
| int | maximumNumberOfCharacters, | ||
| uint[] | classes, | ||
| bool | autoSegmentation ) |
Reads one or more rows of characters, i.e. finds the best match between the patterns in the font and the segmented characters.
| sourceImage | Pointer to the source image/ROI. |
| maximumNumberOfCharacters | Maximum number of characters to be read. |
| classes | Pointer to an array of logical masks obtained by combining the values of EOCRClass, to specify to what classes the character may belong. Each mask value in the array applies to the corresponding character. |
| autoSegmentation | Boolean indicating whether the calculation of the true threshold has to be forced (default true) or bypassed (false). |
This operation can only be performed after a call to EOCR.FindAllChars.
| string eVision.EOCR.ReadTextWide | ( | eVision.EROIBW8 | sourceImage, |
| int | maximumNumberOfCharacters, | ||
| uint | classes ) |
Reads one or more rows of characters, i.e. finds the best match between the patterns in the font and the segmented characters.
| sourceImage | Pointer to the source image/ROI. |
| maximumNumberOfCharacters | Maximum number of characters to be read. |
| classes | Pointer to an array of logical masks obtained by combining the values of EOCRClass, to specify to what classes the character may belong. Each mask value in the array applies to the corresponding character. |
This operation can only be performed after a call to EOCR.FindAllChars.
Use the EOCR.ReadText method instead as it performs similarly to this method, except it returns UTF-8 instead of wide characters.
Deprecated in version 23.8. Scheduled to be removed in version 27.6.
| string eVision.EOCR.ReadTextWide | ( | eVision.EROIBW8 | sourceImage, |
| int | maximumNumberOfCharacters, | ||
| uint | classes, | ||
| bool | autoSegmentation ) |
Reads one or more rows of characters, i.e. finds the best match between the patterns in the font and the segmented characters.
| sourceImage | Pointer to the source image/ROI. |
| maximumNumberOfCharacters | Maximum number of characters to be read. |
| classes | Pointer to an array of logical masks obtained by combining the values of EOCRClass, to specify to what classes the character may belong. Each mask value in the array applies to the corresponding character. |
| autoSegmentation | Boolean indicating whether the calculation of the true threshold has to be forced (default true) or bypassed (false). |
This operation can only be performed after a call to EOCR.FindAllChars.
Use the EOCR.ReadText method instead as it performs similarly to this method, except it returns UTF-8 instead of wide characters.
Deprecated in version 23.8. Scheduled to be removed in version 27.6.
| string eVision.EOCR.ReadTextWide | ( | eVision.EROIBW8 | sourceImage, |
| int | maximumNumberOfCharacters, | ||
| uint[] | classes ) |
Reads one or more rows of characters, i.e. finds the best match between the patterns in the font and the segmented characters.
| sourceImage | Pointer to the source image/ROI. |
| maximumNumberOfCharacters | Maximum number of characters to be read. |
| classes | Pointer to an array of logical masks obtained by combining the values of EOCRClass, to specify to what classes the character may belong. Each mask value in the array applies to the corresponding character. |
This operation can only be performed after a call to EOCR.FindAllChars.
Use the EOCR.ReadText method instead as it performs similarly to this method, except it returns UTF-8 instead of wide characters.
Deprecated in version 23.8. Scheduled to be removed in version 27.6.
| string eVision.EOCR.ReadTextWide | ( | eVision.EROIBW8 | sourceImage, |
| int | maximumNumberOfCharacters, | ||
| uint[] | classes, | ||
| bool | autoSegmentation ) |
Reads one or more rows of characters, i.e. finds the best match between the patterns in the font and the segmented characters.
| sourceImage | Pointer to the source image/ROI. |
| maximumNumberOfCharacters | Maximum number of characters to be read. |
| classes | Pointer to an array of logical masks obtained by combining the values of EOCRClass, to specify to what classes the character may belong. Each mask value in the array applies to the corresponding character. |
| autoSegmentation | Boolean indicating whether the calculation of the true threshold has to be forced (default true) or bypassed (false). |
This operation can only be performed after a call to EOCR.FindAllChars.
Use the EOCR.ReadText method instead as it performs similarly to this method, except it returns UTF-8 instead of wide characters.
Deprecated in version 23.8. Scheduled to be removed in version 27.6.
| string eVision.EOCR.Recognize | ( | eVision.EROIBW8 | sourceImage, |
| int | maximumNumberOfCharacters, | ||
| uint | classes ) |
Achieves all processing phases (blob analysis, character segmentation and pattern recognition) in a single operation.
| sourceImage | Pointer to the source image/ROI. |
| maximumNumberOfCharacters | Maximum number of characters to be read. |
| classes | Pointer to an array of logical mask obtained by combining the values of EOCRClass, to specify to what classes the character may belong. Each mask value in the array applies to the corresponding character. |
This method does the same as a sequence of EOCR.BuildObjects/EOCR.FindAllChars/EOCR.ReadText,
| string eVision.EOCR.Recognize | ( | eVision.EROIBW8 | sourceImage, |
| int | maximumNumberOfCharacters, | ||
| uint[] | classes ) |
Achieves all processing phases (blob analysis, character segmentation and pattern recognition) in a single operation.
| sourceImage | Pointer to the source image/ROI. |
| maximumNumberOfCharacters | Maximum number of characters to be read. |
| classes | Pointer to an array of logical mask obtained by combining the values of EOCRClass, to specify to what classes the character may belong. Each mask value in the array applies to the corresponding character. |
This method does the same as a sequence of EOCR.BuildObjects/EOCR.FindAllChars/EOCR.ReadText,
| string eVision.EOCR.RecognizeWide | ( | eVision.EROIBW8 | sourceImage, |
| int | maximumNumberOfCharacters, | ||
| uint | classes ) |
Achieves all processing phases (blob analysis, character segmentation and pattern recognition) in a single operation.
| sourceImage | Pointer to the source image/ROI. |
| maximumNumberOfCharacters | Maximum number of characters to be read. |
| classes | Pointer to an array of logical mask obtained by combining the values of EOCRClass, to specify to what classes the character may belong. Each mask value in the array applies to the corresponding character. |
This method does the same as a sequence of EOCR.BuildObjects/EOCR.FindAllChars/EOCR.ReadText,
Use the EOCR.Recognize method instead as it performs similarly to this method, except it returns UTF-8 instead of wide characters.
Deprecated in version 23.8. Scheduled to be removed in version 27.6.
| string eVision.EOCR.RecognizeWide | ( | eVision.EROIBW8 | sourceImage, |
| int | maximumNumberOfCharacters, | ||
| uint[] | classes ) |
Achieves all processing phases (blob analysis, character segmentation and pattern recognition) in a single operation.
| sourceImage | Pointer to the source image/ROI. |
| maximumNumberOfCharacters | Maximum number of characters to be read. |
| classes | Pointer to an array of logical mask obtained by combining the values of EOCRClass, to specify to what classes the character may belong. Each mask value in the array applies to the corresponding character. |
This method does the same as a sequence of EOCR.BuildObjects/EOCR.FindAllChars/EOCR.ReadText,
Use the EOCR.Recognize method instead as it performs similarly to this method, except it returns UTF-8 instead of wide characters.
Deprecated in version 23.8. Scheduled to be removed in version 27.6.
| void eVision.EOCR.RemovePattern | ( | uint | index | ) |
Removes a given pattern from the current font.
| index | Index of the pattern to be removed from the current font. |
| void eVision.EOCR.Save | ( | eVision.ESerializer | serializer | ) |
Saves the EOCR object configuration.
| serializer | The serializer. |
The given ESerializer must have been created for writing.
| void eVision.EOCR.Save | ( | string | path | ) |
Saves the EOCR object configuration.
| path | The path from which to save the configuration. |
The given ESerializer must have been created for writing.
| void eVision.EOCR.SetPatternClass | ( | int | index, |
| uint | classIdx ) |
Sets the class of a given pattern in the current font.
| index | Pattern number (in range 0..NumPatterns-1). |
| classIdx | The class. |
| void eVision.EOCR.SetPatternCode | ( | int | index, |
| int | code ) |
Sets the character code of a given pattern in the current font.
| index | Pattern number (in range 0..NumPatterns-1). |
| code | The character code. |
|
get |
|
getset |
Spacing that separates characters.
When two objects are separated by a vertical gap larger or equal than the spacing, they are considered to belong to distinct characters. Note that two objects can still be separated if their merging will be wider than EOCR.MaxCharWidth. The segmentation parameters must be the same for both learning and recognition process.
|
getset |
Flag indicating whether the character aspect ratio is used to compute the recognition score.
When true, the character aspect ratio is used to compute the recognition score.
|
getset |
Flag indicating whether the large chars cutting mode is used.
If true, candidate characters larger than MaxWidth are split into as many parts as required. If false, large characters are discarded. The segmentation parameters must be the same for both learning and recognition process.
|
getset |
Line spacing mode to sort the character boxes into lines. Default mode is ELineSpacingMode.ELineSpacingMode_Overlap.
|
getset |
Matching mode to use to compare characters to the template.
By default, the root-mean-square error method is used. These modes are meant to be used without thresholding, that is when one of the EOCRColor.EOCRColor_DarkOnLight and EOCRColor.EOCRColor_LightOnDark colors are used.
|
getset |
Maximum character height.
A character larger than the maximum width or higher than the maximum height is discarded. The segmentation parameters must be the same for both learning and recognition process.
|
getset |
Maximum character width.
A character larger than the maximum width or higher than the maximum height is discarded. The segmentation parameters must be the same for both learning and recognition process.
|
getset |
Minimum character height.
A character both narrower than the minimum width and lower than the minimum height is discarded by default (see EOCR.RemoveNarrowOrFlat). The segmentation parameters must be the same for both learning and recognition process.
|
getset |
Minimum character width.
A character both narrower than the minimum width and lower than the minimum height is discarded by default (see EOCR.RemoveNarrowOrFlat). The segmentation parameters must be the same for both learning and recognition process.
|
getset |
Noise area.
When a blob has an area smaller than this value, it is ignored. The segmentation parameters must be the same for both learning and recognition process.
|
get |
Number of recognized characters.
|
get |
Number of patterns in the current font.
|
get |
Current pattern height, as set at the last EOCR.NewFont or EOCR.Load operation.
|
get |
Current pattern width, as set at the last EOCR.NewFont or EOCR.Load operation.
|
getset |
Relative spacing value.
This value is the ratio of the width of the spaces between characters and the character width. For example, characters 25 pixels wide separated by 10 pixels gaps correspond to a relative spacing of 10/25 = 0.4. The default value of this parameter is 0, corresponding to no spacing. This parameter is relevant only when the CutLargeChars mode is enabled. The segmentation parameters must be the same for both learning and recognition process.
|
getset |
Relative threshold used for image segmentation.
The RelativeThreshold is the fraction of the image pixels that will be set below the threshold. Only used when the EOCR.Threshold property is set to EThresholdMode.EThresholdMode_Relative. The default value is 0.5.
|
getset |
Flag indicating whether all blobs touching the ROI edges are automatically discarded.
If true, all blobs touching the ROI edges are automatically discarded. By default, this feature is turned on. The segmentation parameters must be the same for both learning and recognition process.
|
getset |
Flag indicating whether the characters are discarded when either dimension falls below the minimum value.
If true, characters are discarded if either their width or their height is smaller than the minimum value. By default, this feature is disabled (only smaller characters in both height and width are discarded: the condition could be written NarrowAndFlat). The segmentation parameters must be the same for both learning and recognition process.
|
getset |
Segmentation mode.
The segmentation parameters must be the same for both learning and recognition process.
|
getset |
Shifting mode to use to compare characters to the template.
|
getset |
Horizontal translation tolerance around the nominal position when the character positions are explicitly specified.
By default, no shifting is allowed (ShiftX = 0). The tolerance can be used in two ways: either each character is moved individually until the best match is found, or the set of characters is matched as a whole, until the best average error is reached. See EOCR.ShiftingMode.
|
getset |
Vertical translation tolerance around the nominal position when the character positions are explicitly specified.
By default, no shifting is allowed (ShiftY = 0). The tolerance can be used in two ways: either each character is moved individually until the best match is found, or the set of characters is matched as a whole, until the best average error is reached. See EOCR.ShiftingMode.
|
getset |
Text color.
The segmentation parameters must be the same for both learning and recognition process.
|
getset |
Threshold mode used for image segmentation.
Threshold value as defined by the EThresholdMode enum. By default, the "minimum residue" mode is used to determine the threshold value. In case of an absolute threshold, the threshold value is given instead.
|
get |
Absolute threshold level when using a single threshold.
This value is valid only when the EOCR.BuildObjects or EOCR.ReadText method has been called beforehand.