Represents a text detected by a ETextReader. A EText is composed of one or several ETextLine, that are returned by EText.Lines. More...


Public Member Functions | |
| EText () | |
| Constructs a EText. | |
| EText (eVision.EasyDeepOCR.EText other) | |
| Constructs a EText. | |
| EText (eVision.EasyDeepOCR.ETextLine[] lines) | |
| Constructs a EText. | |
| EText (eVision.EasyDeepOCR.ETextLine line) | |
| Constructs a EText. | |
| void | Load (string path) |
| Loads the EText. | |
| void | Load (eVision.ESerializer serializer) |
| Loads the EText. | |
| void | Save (string path) |
| Saves the EText. | |
| void | Save (eVision.ESerializer serializer) |
| Saves the EText. | |
| bool | Match (eVision.EasyDeepOCR.EText reference) |
| Returns true if this EText matches the reference EText. A EText matches a reference EText when all their ETextLine match each other (ETextLine.Match). | |
| void | Draw (eVision.EDrawAdapter graphicContext, float zoomX, float zoomY, float panX, float panY) |
| Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings. | |
| void | Draw (eVision.EDrawAdapter graphicContext, float zoomX, float zoomY, float panX) |
| Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings. | |
| void | Draw (eVision.EDrawAdapter graphicContext, float zoomX, float zoomY) |
| Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings. | |
| void | Draw (eVision.EDrawAdapter graphicContext, float zoomX) |
| Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings. | |
| void | Draw (eVision.EDrawAdapter graphicContext) |
| Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EasyDeepOCR.ETextDrawingParameters drawingParameters, float zoomX, float zoomY, float panX, float panY) |
| Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EasyDeepOCR.ETextDrawingParameters drawingParameters, float zoomX, float zoomY, float panX) |
| Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EasyDeepOCR.ETextDrawingParameters drawingParameters, float zoomX, float zoomY) |
| Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EasyDeepOCR.ETextDrawingParameters drawingParameters, float zoomX) |
| Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EasyDeepOCR.ETextDrawingParameters drawingParameters) |
| Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY) |
| Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame, float zoomX, float zoomY, float panX) |
| Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame, float zoomX, float zoomY) |
| Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame, float zoomX) |
| Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame) |
| Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame, eVision.EasyDeepOCR.ETextDrawingParameters drawingParameters, float zoomX, float zoomY, float panX, float panY) |
| Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame, eVision.EasyDeepOCR.ETextDrawingParameters drawingParameters, float zoomX, float zoomY, float panX) |
| Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame, eVision.EasyDeepOCR.ETextDrawingParameters drawingParameters, float zoomX, float zoomY) |
| Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame, eVision.EasyDeepOCR.ETextDrawingParameters drawingParameters, float zoomX) |
| Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame, eVision.EasyDeepOCR.ETextDrawingParameters drawingParameters) |
| Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings. | |
Properties | |
| eVision.EasyDeepOCR.ETextLine[] | Lines [get, set] |
| EText lines. | |
| eVision.ERectangle | Position [get] |
| Returns a rectangle that contains all the lines. | |
| string | String [get] |
| Returns the concatenation of the line strings, separated by the new line character "\n". The line return. | |
| float | Score [get] |
| Returns the score of this text. 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. When the text has multiple lines, the returned score is the mean of all line scores. | |
Represents a text detected by a ETextReader. A EText is composed of one or several ETextLine, that are returned by EText.Lines.
License(s): EasyDeepOCR
| eVision.EasyDeepOCR.EText.EText | ( | ) |
Constructs a EText.
| eVision.EasyDeepOCR.EText.EText | ( | eVision.EasyDeepOCR.EText | other | ) |
| eVision.EasyDeepOCR.EText.EText | ( | eVision.EasyDeepOCR.ETextLine[] | lines | ) |
| eVision.EasyDeepOCR.EText.EText | ( | eVision.EasyDeepOCR.ETextLine | line | ) |
| void eVision.EasyDeepOCR.EText.Draw | ( | eVision.EDrawAdapter | graphicContext | ) |
Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings.
| graphicContext | Handle to the device context of the destination window. |
| void eVision.EasyDeepOCR.EText.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EasyDeepOCR.ETextDrawingParameters | drawingParameters ) |
Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings.
| graphicContext | Handle to the device context of the destination window. |
| drawingParameters | Class specifying the drawing parameters. |
| void eVision.EasyDeepOCR.EText.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EasyDeepOCR.ETextDrawingParameters | drawingParameters, | ||
| float | zoomX ) |
Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings.
| 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.EText.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EasyDeepOCR.ETextDrawingParameters | drawingParameters, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings.
| 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.EText.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EasyDeepOCR.ETextDrawingParameters | drawingParameters, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings.
| 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.EText.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EasyDeepOCR.ETextDrawingParameters | drawingParameters, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings.
| 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.EText.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EFrame | frame ) |
Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings.
| graphicContext | Handle to the device context of the destination window. |
| frame | Frame associated with the text. |
| void eVision.EasyDeepOCR.EText.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EFrame | frame, | ||
| eVision.EasyDeepOCR.ETextDrawingParameters | drawingParameters ) |
Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings.
| 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.EText.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EFrame | frame, | ||
| eVision.EasyDeepOCR.ETextDrawingParameters | drawingParameters, | ||
| float | zoomX ) |
Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings.
| 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.EText.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EFrame | frame, | ||
| eVision.EasyDeepOCR.ETextDrawingParameters | drawingParameters, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings.
| 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.EText.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EFrame | frame, | ||
| eVision.EasyDeepOCR.ETextDrawingParameters | drawingParameters, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings.
| 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.EText.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EFrame | frame, | ||
| eVision.EasyDeepOCR.ETextDrawingParameters | drawingParameters, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings.
| 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.EText.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EFrame | frame, | ||
| float | zoomX ) |
Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings.
| 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.EText.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings.
| 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.EText.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings.
| 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.EText.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings.
| 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.EText.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| float | zoomX ) |
Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings.
| 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.EText.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| float | zoomX, | ||
| float | zoomY ) |
Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings.
| 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.EText.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings.
| 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.EText.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws either the text box labelled with the detected text string, or all the line boxes labelled with the detected line strings.
| 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. |
| void eVision.EasyDeepOCR.EText.Load | ( | eVision.ESerializer | serializer | ) |
Loads the EText.
| serializer |
| void eVision.EasyDeepOCR.EText.Load | ( | string | path | ) |
| bool eVision.EasyDeepOCR.EText.Match | ( | eVision.EasyDeepOCR.EText | reference | ) |
| void eVision.EasyDeepOCR.EText.Save | ( | eVision.ESerializer | serializer | ) |
Saves the EText.
| serializer |
| void eVision.EasyDeepOCR.EText.Save | ( | string | path | ) |
|
getset |
EText lines.
|
get |
Returns a rectangle that contains all the lines.
|
get |
Returns the score of this text. 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. When the text has multiple lines, the returned score is the mean of all line scores.
|
get |
Returns the concatenation of the line strings, separated by the new line character "\n". The line return.