Represents a text line detected by a ETextReader. More...


Public Member Functions | |
| ETextLine () | |
| Constructs a ETextLine. | |
| ETextLine (eVision.EasyDeepOCR.ETextLine other) | |
| Constructs a ETextLine. | |
| ETextLine (eVision.ERectangle rectangle, string text) | |
| Constructs a ETextLine. | |
| void | Load (string path) |
| Loads the ETextLine. | |
| void | Load (eVision.ESerializer serializer) |
| Loads the ETextLine. | |
| void | Save (string path) |
| Saves the ETextLine. | |
| void | Save (eVision.ESerializer serializer) |
| Saves the ETextLine. | |
| bool | Match (eVision.EasyDeepOCR.ETextLine reference) |
| Returns true if this ETextLine matches the reference ETextLine. A ETextLine matches a reference ETextLine when both ETextLine.String are equal and when this ETextLine.Rectangle is similar, or slightly wider, than the reference ETextLine.Rectangle. | |
| eVision.EBaseROI | ExtractMiniature (eVision.EBaseROI roi) |
| Extracts a miniature image delimited by this ETextLine.Rectangle from a source EBaseROI. | |
| eVision.EasyDeepOCR.ETextLine[] | SplitInWords () |
| Splits the ETextLine into multiple ETextLine, one for each word. Every returned ETextLine corresponds to a single word from the original ETextLine. The width of each ETextLine.Rectangle is based on the word's character count, assuming a fixed character width. This method is intended for testing purposes only. | |
| void | Draw (eVision.EDrawAdapter graphicContext, float zoomX, float zoomY, float panX, float panY) |
| Draws the text line box. | |
| void | Draw (eVision.EDrawAdapter graphicContext, float zoomX, float zoomY, float panX) |
| Draws the text line box. | |
| void | Draw (eVision.EDrawAdapter graphicContext, float zoomX, float zoomY) |
| Draws the text line box. | |
| void | Draw (eVision.EDrawAdapter graphicContext, float zoomX) |
| Draws the text line box. | |
| void | Draw (eVision.EDrawAdapter graphicContext) |
| Draws the text line box. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EasyDeepOCR.ETextDrawingParameters drawingParameters, float zoomX, float zoomY, float panX, float panY) |
| Draws the text line box. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EasyDeepOCR.ETextDrawingParameters drawingParameters, float zoomX, float zoomY, float panX) |
| Draws the text line box. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EasyDeepOCR.ETextDrawingParameters drawingParameters, float zoomX, float zoomY) |
| Draws the text line box. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EasyDeepOCR.ETextDrawingParameters drawingParameters, float zoomX) |
| Draws the text line box. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EasyDeepOCR.ETextDrawingParameters drawingParameters) |
| Draws the text line box. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY) |
| Draws the text line box. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame, float zoomX, float zoomY, float panX) |
| Draws the text line box. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame, float zoomX, float zoomY) |
| Draws the text line box. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame, float zoomX) |
| Draws the text line box. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame) |
| Draws the text line box. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame, eVision.EasyDeepOCR.ETextDrawingParameters drawingParameters, float zoomX, float zoomY, float panX, float panY) |
| Draws the text line box. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame, eVision.EasyDeepOCR.ETextDrawingParameters drawingParameters, float zoomX, float zoomY, float panX) |
| Draws the text line box. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame, eVision.EasyDeepOCR.ETextDrawingParameters drawingParameters, float zoomX, float zoomY) |
| Draws the text line box. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame, eVision.EasyDeepOCR.ETextDrawingParameters drawingParameters, float zoomX) |
| Draws the text line box. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame, eVision.EasyDeepOCR.ETextDrawingParameters drawingParameters) |
| Draws the text line box. | |
Properties | |
| string | String [get, set] |
| Text line string. | |
| eVision.ERectangle | Rectangle [get, set] |
| Text line box. | |
| bool | IsRegex [get, set] |
| States whether the ETextLine.String is a regular expression or not. This flag is used only when converting this ETextLine to an EasyDeepOCR.ESampleTextLine. This property is a workaround to be able to create ESamples with regex from the public API, for testing purpuses. | |
| float | Score [get] |
| Returns the score of this text line. The score value resides in the interval [0.0; 1.0]. It can be used to get an approximation of the reading quality of the underlying text. | |
Represents a text line detected by a ETextReader.
License(s): EasyDeepOCR
| eVision.EasyDeepOCR.ETextLine.ETextLine | ( | ) |
Constructs a ETextLine.
| eVision.EasyDeepOCR.ETextLine.ETextLine | ( | eVision.EasyDeepOCR.ETextLine | other | ) |
| eVision.EasyDeepOCR.ETextLine.ETextLine | ( | eVision.ERectangle | rectangle, |
| string | text ) |
Constructs a ETextLine.
| rectangle | Text line box. |
| text | Text string. |
| void eVision.EasyDeepOCR.ETextLine.Draw | ( | eVision.EDrawAdapter | graphicContext | ) |
Draws the text line box.
| graphicContext | Handle to the device context of the destination window. |
| void eVision.EasyDeepOCR.ETextLine.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EasyDeepOCR.ETextDrawingParameters | drawingParameters ) |
Draws the text line box.
| graphicContext | Handle to the device context of the destination window. |
| drawingParameters | Class specifying the drawing parameters. |
| void eVision.EasyDeepOCR.ETextLine.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EasyDeepOCR.ETextDrawingParameters | drawingParameters, | ||
| float | zoomX ) |
Draws the text line box.
| graphicContext | Handle to the device context of the destination window. |
| drawingParameters | Class specifying the drawing parameters. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, no zooming occurs. |
| void eVision.EasyDeepOCR.ETextLine.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EasyDeepOCR.ETextDrawingParameters | drawingParameters, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the text line box.
| graphicContext | Handle to the device context of the destination window. |
| drawingParameters | Class specifying the drawing parameters. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, no zooming occurs. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. By default, no zooming occurs. |
| void eVision.EasyDeepOCR.ETextLine.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EasyDeepOCR.ETextDrawingParameters | drawingParameters, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the text line box.
| graphicContext | Handle to the device context of the destination window. |
| drawingParameters | Class specifying the drawing parameters. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, no zooming occurs. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. By default, no zooming occurs. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| void eVision.EasyDeepOCR.ETextLine.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EasyDeepOCR.ETextDrawingParameters | drawingParameters, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the text line box.
| graphicContext | Handle to the device context of the destination window. |
| drawingParameters | Class specifying the drawing parameters. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, no zooming occurs. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. By default, no zooming occurs. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
| void eVision.EasyDeepOCR.ETextLine.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EFrame | frame ) |
Draws the text line box.
| graphicContext | Handle to the device context of the destination window. |
| frame | Frame associated with the text. |
| void eVision.EasyDeepOCR.ETextLine.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EFrame | frame, | ||
| eVision.EasyDeepOCR.ETextDrawingParameters | drawingParameters ) |
Draws the text line box.
| graphicContext | Handle to the device context of the destination window. |
| frame | Frame associated with the text. |
| drawingParameters | Class specifying the drawing parameters. |
| void eVision.EasyDeepOCR.ETextLine.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EFrame | frame, | ||
| eVision.EasyDeepOCR.ETextDrawingParameters | drawingParameters, | ||
| float | zoomX ) |
Draws the text line box.
| graphicContext | Handle to the device context of the destination window. |
| frame | Frame associated with the text. |
| drawingParameters | Class specifying the drawing parameters. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, no zooming occurs. |
| void eVision.EasyDeepOCR.ETextLine.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EFrame | frame, | ||
| eVision.EasyDeepOCR.ETextDrawingParameters | drawingParameters, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the text line box.
| graphicContext | Handle to the device context of the destination window. |
| frame | Frame associated with the text. |
| drawingParameters | Class specifying the drawing parameters. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, no zooming occurs. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. By default, no zooming occurs. |
| void eVision.EasyDeepOCR.ETextLine.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EFrame | frame, | ||
| eVision.EasyDeepOCR.ETextDrawingParameters | drawingParameters, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the text line box.
| graphicContext | Handle to the device context of the destination window. |
| frame | Frame associated with the text. |
| drawingParameters | Class specifying the drawing parameters. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, no zooming occurs. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. By default, no zooming occurs. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| void eVision.EasyDeepOCR.ETextLine.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EFrame | frame, | ||
| eVision.EasyDeepOCR.ETextDrawingParameters | drawingParameters, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the text line box.
| graphicContext | Handle to the device context of the destination window. |
| frame | Frame associated with the text. |
| drawingParameters | Class specifying the drawing parameters. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, no zooming occurs. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. By default, no zooming occurs. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
| void eVision.EasyDeepOCR.ETextLine.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EFrame | frame, | ||
| float | zoomX ) |
Draws the text line box.
| graphicContext | Handle to the device context of the destination window. |
| frame | Frame associated with the text. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, no zooming occurs. |
| void eVision.EasyDeepOCR.ETextLine.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the text line box.
| graphicContext | Handle to the device context of the destination window. |
| frame | Frame associated with the text. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, no zooming occurs. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. By default, no zooming occurs. |
| void eVision.EasyDeepOCR.ETextLine.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the text line box.
| graphicContext | Handle to the device context of the destination window. |
| frame | Frame associated with the text. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, no zooming occurs. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. By default, no zooming occurs. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| void eVision.EasyDeepOCR.ETextLine.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the text line box.
| graphicContext | Handle to the device context of the destination window. |
| frame | Frame associated with the text. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, no zooming occurs. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. By default, no zooming occurs. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
| void eVision.EasyDeepOCR.ETextLine.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| float | zoomX ) |
Draws the text line box.
| graphicContext | Handle to the device context of the destination window. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, no zooming occurs. |
| void eVision.EasyDeepOCR.ETextLine.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| float | zoomX, | ||
| float | zoomY ) |
Draws the text line box.
| graphicContext | Handle to the device context of the destination window. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, no zooming occurs. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. By default, no zooming occurs. |
| void eVision.EasyDeepOCR.ETextLine.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the text line box.
| graphicContext | Handle to the device context of the destination window. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, no zooming occurs. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. By default, no zooming occurs. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| void eVision.EasyDeepOCR.ETextLine.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the text line box.
| graphicContext | Handle to the device context of the destination window. |
| zoomX | Magnification factor for zooming in or out in the horizontal direction. By default, no zooming occurs. |
| zoomY | Magnification factor for zooming in or out in the vertical direction. By default, no zooming occurs. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
| eVision.EBaseROI eVision.EasyDeepOCR.ETextLine.ExtractMiniature | ( | eVision.EBaseROI | roi | ) |
Extracts a miniature image delimited by this ETextLine.Rectangle from a source EBaseROI.
| void eVision.EasyDeepOCR.ETextLine.Load | ( | eVision.ESerializer | serializer | ) |
Loads the ETextLine.
| serializer |
| void eVision.EasyDeepOCR.ETextLine.Load | ( | string | path | ) |
| bool eVision.EasyDeepOCR.ETextLine.Match | ( | eVision.EasyDeepOCR.ETextLine | reference | ) |
Returns true if this ETextLine matches the reference ETextLine. A ETextLine matches a reference ETextLine when both ETextLine.String are equal and when this ETextLine.Rectangle is similar, or slightly wider, than the reference ETextLine.Rectangle.
| void eVision.EasyDeepOCR.ETextLine.Save | ( | eVision.ESerializer | serializer | ) |
Saves the ETextLine.
| serializer |
| void eVision.EasyDeepOCR.ETextLine.Save | ( | string | path | ) |
| eVision.EasyDeepOCR.ETextLine[] eVision.EasyDeepOCR.ETextLine.SplitInWords | ( | ) |
Splits the ETextLine into multiple ETextLine, one for each word. Every returned ETextLine corresponds to a single word from the original ETextLine. The width of each ETextLine.Rectangle is based on the word's character count, assuming a fixed character width. This method is intended for testing purposes only.
|
getset |
States whether the ETextLine.String is a regular expression or not. This flag is used only when converting this ETextLine to an EasyDeepOCR.ESampleTextLine. This property is a workaround to be able to create ESamples with regex from the public API, for testing purpuses.
|
getset |
Text line box.
|
get |
Returns the score of this text line. The score value resides in the interval [0.0; 1.0]. It can be used to get an approximation of the reading quality of the underlying text.
|
getset |
Text line string.