Holds a vector of eVision.EOCR2Line objects representing a text. More...
Public Member Functions | |
| None | __init__ (self) |
| Constructs an eVision.EOCR2Text context. | |
| None | __init__ (self, eVision.EOCR2Text other) |
| Constructs an eVision.EOCR2Text context. | |
| None | DrawSegmentation (self, eVision.EDrawAdapter|None drawAdapter, eVision.EasyOCR2DrawSegmentationStyle style, float zoomX, float zoomY, float panX, float panY, eVision.EFrame frame) |
| Draws the blobs found by the segmentation algorithm. | |
| None | DrawSegmentation (self, eVision.EDrawAdapter|None drawAdapter, eVision.EasyOCR2DrawSegmentationStyle style, float zoomX, float zoomY, float panX, float panY) |
| Draws the blobs found by the segmentation algorithm. | |
| None | DrawSegmentation (self, eVision.EDrawAdapter|None drawAdapter, eVision.EasyOCR2DrawSegmentationStyle style, float zoomX, float zoomY, float panX) |
| Draws the blobs found by the segmentation algorithm. | |
| None | DrawSegmentation (self, eVision.EDrawAdapter|None drawAdapter, eVision.EasyOCR2DrawSegmentationStyle style, float zoomX, float zoomY) |
| Draws the blobs found by the segmentation algorithm. | |
| None | DrawSegmentation (self, eVision.EDrawAdapter|None drawAdapter, eVision.EasyOCR2DrawSegmentationStyle style, float zoomX) |
| Draws the blobs found by the segmentation algorithm. | |
| None | DrawSegmentation (self, eVision.EDrawAdapter|None drawAdapter, eVision.EasyOCR2DrawSegmentationStyle style) |
| Draws the blobs found by the segmentation algorithm. | |
| None | DrawDetection (self, eVision.EDrawAdapter|None drawAdapter, eVision.EasyOCR2DrawDetectionStyle style, float zoomX, float zoomY, float panX, float panY, eVision.EFrame frame) |
| Draws the bounding boxes found by the topology detection algorithm. | |
| None | DrawDetection (self, eVision.EDrawAdapter|None drawAdapter, eVision.EasyOCR2DrawDetectionStyle style, float zoomX, float zoomY, float panX, float panY) |
| Draws the bounding boxes found by the topology detection algorithm. | |
| None | DrawDetection (self, eVision.EDrawAdapter|None drawAdapter, eVision.EasyOCR2DrawDetectionStyle style, float zoomX, float zoomY, float panX) |
| Draws the bounding boxes found by the topology detection algorithm. | |
| None | DrawDetection (self, eVision.EDrawAdapter|None drawAdapter, eVision.EasyOCR2DrawDetectionStyle style, float zoomX, float zoomY) |
| Draws the bounding boxes found by the topology detection algorithm. | |
| None | DrawDetection (self, eVision.EDrawAdapter|None drawAdapter, eVision.EasyOCR2DrawDetectionStyle style, float zoomX) |
| Draws the bounding boxes found by the topology detection algorithm. | |
| None | DrawDetection (self, eVision.EDrawAdapter|None drawAdapter, eVision.EasyOCR2DrawDetectionStyle style) |
| Draws the bounding boxes found by the topology detection algorithm. | |
| None | DrawRecognition (self, eVision.EDrawAdapter|None drawAdapter, eVision.EasyOCR2DrawRecognitionStyle style, int fontSize, float zoomX, float zoomY, float panX, float panY, eVision.EFrame frame) |
| Draws the recognized text next to the character bounding box in the image. | |
| None | DrawRecognition (self, eVision.EDrawAdapter|None drawAdapter, eVision.EasyOCR2DrawRecognitionStyle style, int fontSize, float zoomX, float zoomY, float panX, float panY) |
| Draws the recognized text next to the character bounding box in the image. | |
| None | DrawRecognition (self, eVision.EDrawAdapter|None drawAdapter, eVision.EasyOCR2DrawRecognitionStyle style, int fontSize, float zoomX, float zoomY, float panX) |
| Draws the recognized text next to the character bounding box in the image. | |
| None | DrawRecognition (self, eVision.EDrawAdapter|None drawAdapter, eVision.EasyOCR2DrawRecognitionStyle style, int fontSize, float zoomX, float zoomY) |
| Draws the recognized text next to the character bounding box in the image. | |
| None | DrawRecognition (self, eVision.EDrawAdapter|None drawAdapter, eVision.EasyOCR2DrawRecognitionStyle style, int fontSize, float zoomX) |
| Draws the recognized text next to the character bounding box in the image. | |
| None | DrawRecognition (self, eVision.EDrawAdapter|None drawAdapter, eVision.EasyOCR2DrawRecognitionStyle style, int fontSize) |
| Draws the recognized text next to the character bounding box in the image. | |
| None | DrawRecognition (self, eVision.EDrawAdapter|None drawAdapter, eVision.EasyOCR2DrawRecognitionStyle style) |
| Draws the recognized text next to the character bounding box in the image. | |
| bool | HitTestChar (self, eVision.EOCR2Char character, int x, int y, float zoomX, float zoomY, float panX, float panY, eVision.EFrame frame) |
| Tests the cursor position for the presence of a character. | |
| bool | HitTestChar (self, eVision.EOCR2Char character, int x, int y, float zoomX, float zoomY, float panX, float panY) |
| Tests the cursor position for the presence of a character. | |
| bool | HitTestChar (self, eVision.EOCR2Char character, int x, int y, float zoomX, float zoomY, float panX) |
| Tests the cursor position for the presence of a character. | |
| bool | HitTestChar (self, eVision.EOCR2Char character, int x, int y, float zoomX, float zoomY) |
| Tests the cursor position for the presence of a character. | |
| bool | HitTestChar (self, eVision.EOCR2Char character, int x, int y, float zoomX) |
| Tests the cursor position for the presence of a character. | |
| bool | HitTestChar (self, eVision.EOCR2Char character, int x, int y) |
| Tests the cursor position for the presence of a character. | |
| bool | HitTestWord (self, eVision.EOCR2Word word, int x, int y, float zoomX, float zoomY, float panX, float panY, eVision.EFrame frame) |
| Tests the cursor position for the presence of a word. | |
| bool | HitTestWord (self, eVision.EOCR2Word word, int x, int y, float zoomX, float zoomY, float panX, float panY) |
| Tests the cursor position for the presence of a word. | |
| bool | HitTestWord (self, eVision.EOCR2Word word, int x, int y, float zoomX, float zoomY, float panX) |
| Tests the cursor position for the presence of a word. | |
| bool | HitTestWord (self, eVision.EOCR2Word word, int x, int y, float zoomX, float zoomY) |
| Tests the cursor position for the presence of a word. | |
| bool | HitTestWord (self, eVision.EOCR2Word word, int x, int y, float zoomX) |
| Tests the cursor position for the presence of a word. | |
| bool | HitTestWord (self, eVision.EOCR2Word word, int x, int y) |
| Tests the cursor position for the presence of a word. | |
| bool | HitTestLine (self, eVision.EOCR2Line line, int x, int y, float zoomX, float zoomY, float panX, float panY, eVision.EFrame frame) |
| Tests the cursor position for the presence of a line. | |
| bool | HitTestLine (self, eVision.EOCR2Line line, int x, int y, float zoomX, float zoomY, float panX, float panY) |
| Tests the cursor position for the presence of a line. | |
| bool | HitTestLine (self, eVision.EOCR2Line line, int x, int y, float zoomX, float zoomY, float panX) |
| Tests the cursor position for the presence of a line. | |
| bool | HitTestLine (self, eVision.EOCR2Line line, int x, int y, float zoomX, float zoomY) |
| Tests the cursor position for the presence of a line. | |
| bool | HitTestLine (self, eVision.EOCR2Line line, int x, int y, float zoomX) |
| Tests the cursor position for the presence of a line. | |
| bool | HitTestLine (self, eVision.EOCR2Line line, int x, int y) |
| Tests the cursor position for the presence of a line. | |
| bool | HitTestText (self, int x, int y, float zoomX, float zoomY, float panX, float panY, eVision.EFrame frame) |
| Tests the cursor position for the presence of a text. | |
| bool | HitTestText (self, int x, int y, float zoomX, float zoomY, float panX, float panY) |
| Tests the cursor position for the presence of a text. | |
| bool | HitTestText (self, int x, int y, float zoomX, float zoomY, float panX) |
| Tests the cursor position for the presence of a text. | |
| bool | HitTestText (self, int x, int y, float zoomX, float zoomY) |
| Tests the cursor position for the presence of a text. | |
| bool | HitTestText (self, int x, int y, float zoomX) |
| Tests the cursor position for the presence of a text. | |
| bool | HitTestText (self, int x, int y) |
| Tests the cursor position for the presence of a text. | |
| eVision.EFrame | ToFrame (self, bool useAngle, eVision.EFrameScaling frameScaling) |
| Converts the shape to a frame. | |
| eVision.EFrame | ToFrame (self, bool useAngle, eVision.EFrameScaling frameScaling, eVision.EFrame frame) |
| Converts the shape to a frame. | |
| eVision.ERegion | ToRegion (self) |
| Creates an eVision.ERegion from the eVision.EOCR2Text. | |
| str | String (self) |
| Gets the read string. | |
| list[eVision._eVision.EOCR2Line] | Lines (self) |
| The vector of eVision.EOCR2Line objects representing the text. | |
| Lines (self, list[eVision._eVision.EOCR2Line] value) | |
| The vector of eVision.EOCR2Line objects representing the text. | |
| int | LineCount (self) |
| Gets the number of lines. | |
| eVision.ERectangle | BoundingBox (self) |
| The bounding box encapsulating all characters in the text. | |
| str | Text (self) |
| The true value of all characters in the text. | |
| Text (self, str value) | |
| The true value of all characters in the text. | |
| None eVision.EOCR2Text.__init__ | ( | self | ) |
| None eVision.EOCR2Text.__init__ | ( | self, | |
| eVision.EOCR2Text | other ) |
Constructs an eVision.EOCR2Text context.
Remarks:
Default and copy constructors.
| other | eVision.EOCR2Text object to be copied. |
| eVision.ERectangle eVision.EOCR2Text.BoundingBox | ( | self | ) |
The bounding box encapsulating all characters in the text.
| None eVision.EOCR2Text.DrawDetection | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EasyOCR2DrawDetectionStyle | style ) |
Draws the bounding boxes found by the topology detection algorithm.
| drawAdapter | eVision.EDrawAdapter that will be used to draw. |
| style | The style in which each detection box should be drawn. |
| None eVision.EOCR2Text.DrawDetection | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EasyOCR2DrawDetectionStyle | style, | ||
| float | zoomX ) |
Draws the bounding boxes found by the topology detection algorithm.
| drawAdapter | eVision.EDrawAdapter that will be used to draw. |
| style | The style in which each detection box should be drawn. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| None eVision.EOCR2Text.DrawDetection | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EasyOCR2DrawDetectionStyle | style, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the bounding boxes found by the topology detection algorithm.
| drawAdapter | eVision.EDrawAdapter that will be used to draw. |
| style | The style in which each detection box should be drawn. |
| 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. |
| None eVision.EOCR2Text.DrawDetection | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EasyOCR2DrawDetectionStyle | style, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the bounding boxes found by the topology detection algorithm.
| drawAdapter | eVision.EDrawAdapter that will be used to draw. |
| style | The style in which each detection box should be drawn. |
| 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. |
| None eVision.EOCR2Text.DrawDetection | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EasyOCR2DrawDetectionStyle | style, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the bounding boxes found by the topology detection algorithm.
| drawAdapter | eVision.EDrawAdapter that will be used to draw. |
| style | The style in which each detection box should be drawn. |
| 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. |
| None eVision.EOCR2Text.DrawDetection | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EasyOCR2DrawDetectionStyle | style, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY, | ||
| eVision.EFrame | frame ) |
Draws the bounding boxes found by the topology detection algorithm.
| drawAdapter | eVision.EDrawAdapter that will be used to draw. |
| style | The style in which each detection box should be drawn. |
| 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. |
| frame | Frame used in the last read. |
| None eVision.EOCR2Text.DrawRecognition | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EasyOCR2DrawRecognitionStyle | style ) |
Draws the recognized text next to the character bounding box in the image.
| drawAdapter | eVision.EDrawAdapter that will be used to draw. |
| style | The style in which each recognition result should be drawn. |
| None eVision.EOCR2Text.DrawRecognition | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EasyOCR2DrawRecognitionStyle | style, | ||
| int | fontSize ) |
Draws the recognized text next to the character bounding box in the image.
| drawAdapter | eVision.EDrawAdapter that will be used to draw. |
| style | The style in which each recognition result should be drawn. |
| fontSize | Font size used when drawing read strings. Default is 16. |
| None eVision.EOCR2Text.DrawRecognition | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EasyOCR2DrawRecognitionStyle | style, | ||
| int | fontSize, | ||
| float | zoomX ) |
Draws the recognized text next to the character bounding box in the image.
| drawAdapter | eVision.EDrawAdapter that will be used to draw. |
| style | The style in which each recognition result should be drawn. |
| fontSize | Font size used when drawing read strings. Default is 16. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| None eVision.EOCR2Text.DrawRecognition | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EasyOCR2DrawRecognitionStyle | style, | ||
| int | fontSize, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the recognized text next to the character bounding box in the image.
| drawAdapter | eVision.EDrawAdapter that will be used to draw. |
| style | The style in which each recognition result should be drawn. |
| fontSize | Font size used when drawing read strings. Default is 16. |
| 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. |
| None eVision.EOCR2Text.DrawRecognition | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EasyOCR2DrawRecognitionStyle | style, | ||
| int | fontSize, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the recognized text next to the character bounding box in the image.
| drawAdapter | eVision.EDrawAdapter that will be used to draw. |
| style | The style in which each recognition result should be drawn. |
| fontSize | Font size used when drawing read strings. Default is 16. |
| 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. |
| None eVision.EOCR2Text.DrawRecognition | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EasyOCR2DrawRecognitionStyle | style, | ||
| int | fontSize, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the recognized text next to the character bounding box in the image.
| drawAdapter | eVision.EDrawAdapter that will be used to draw. |
| style | The style in which each recognition result should be drawn. |
| fontSize | Font size used when drawing read strings. Default is 16. |
| 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. |
| None eVision.EOCR2Text.DrawRecognition | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EasyOCR2DrawRecognitionStyle | style, | ||
| int | fontSize, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY, | ||
| eVision.EFrame | frame ) |
Draws the recognized text next to the character bounding box in the image.
| drawAdapter | eVision.EDrawAdapter that will be used to draw. |
| style | The style in which each recognition result should be drawn. |
| fontSize | Font size used when drawing read strings. Default is 16. |
| 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. |
| frame | Frame used in the last read. |
| None eVision.EOCR2Text.DrawSegmentation | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EasyOCR2DrawSegmentationStyle | style ) |
Draws the blobs found by the segmentation algorithm.
| drawAdapter | eVision.EDrawAdapter that will be used to draw. |
| style | The style in which each blob should be drawn. |
| None eVision.EOCR2Text.DrawSegmentation | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EasyOCR2DrawSegmentationStyle | style, | ||
| float | zoomX ) |
Draws the blobs found by the segmentation algorithm.
| drawAdapter | eVision.EDrawAdapter that will be used to draw. |
| style | The style in which each blob should be drawn. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| None eVision.EOCR2Text.DrawSegmentation | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EasyOCR2DrawSegmentationStyle | style, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the blobs found by the segmentation algorithm.
| drawAdapter | eVision.EDrawAdapter that will be used to draw. |
| style | The style in which each blob should be drawn. |
| 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. |
| None eVision.EOCR2Text.DrawSegmentation | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EasyOCR2DrawSegmentationStyle | style, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the blobs found by the segmentation algorithm.
| drawAdapter | eVision.EDrawAdapter that will be used to draw. |
| style | The style in which each blob should be drawn. |
| 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. |
| None eVision.EOCR2Text.DrawSegmentation | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EasyOCR2DrawSegmentationStyle | style, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the blobs found by the segmentation algorithm.
| drawAdapter | eVision.EDrawAdapter that will be used to draw. |
| style | The style in which each blob should be drawn. |
| 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. |
| None eVision.EOCR2Text.DrawSegmentation | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EasyOCR2DrawSegmentationStyle | style, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY, | ||
| eVision.EFrame | frame ) |
Draws the blobs found by the segmentation algorithm.
| drawAdapter | eVision.EDrawAdapter that will be used to draw. |
| style | The style in which each blob should be drawn. |
| 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. |
| frame | Frame used in the last read. |
| bool eVision.EOCR2Text.HitTestChar | ( | self, | |
| eVision.EOCR2Char | character, | ||
| int | x, | ||
| int | y ) |
Tests the cursor position for the presence of a character.
If one is present under the cursor, it returns true and fills the eVision.EOCR2Char object passed as parameter.
| character | Returns the character if one was detected under the cursor. |
| x | Horizontal position of the cursor. |
| y | Vertical position of the cursor. |
| bool eVision.EOCR2Text.HitTestChar | ( | self, | |
| eVision.EOCR2Char | character, | ||
| int | x, | ||
| int | y, | ||
| float | zoomX ) |
Tests the cursor position for the presence of a character.
If one is present under the cursor, it returns true and fills the eVision.EOCR2Char object passed as parameter.
| character | Returns the character if one was detected under the cursor. |
| x | Horizontal position of the cursor. |
| y | Vertical position of the cursor. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| bool eVision.EOCR2Text.HitTestChar | ( | self, | |
| eVision.EOCR2Char | character, | ||
| int | x, | ||
| int | y, | ||
| float | zoomX, | ||
| float | zoomY ) |
Tests the cursor position for the presence of a character.
If one is present under the cursor, it returns true and fills the eVision.EOCR2Char object passed as parameter.
| character | Returns the character if one was detected under the cursor. |
| x | Horizontal position of the cursor. |
| y | Vertical position of the cursor. |
| 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, to provide isotropic zooming. |
| bool eVision.EOCR2Text.HitTestChar | ( | self, | |
| eVision.EOCR2Char | character, | ||
| int | x, | ||
| int | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Tests the cursor position for the presence of a character.
If one is present under the cursor, it returns true and fills the eVision.EOCR2Char object passed as parameter.
| character | Returns the character if one was detected under the cursor. |
| x | Horizontal position of the cursor. |
| y | Vertical position of the cursor. |
| 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, to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| bool eVision.EOCR2Text.HitTestChar | ( | self, | |
| eVision.EOCR2Char | character, | ||
| int | x, | ||
| int | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Tests the cursor position for the presence of a character.
If one is present under the cursor, it returns true and fills the eVision.EOCR2Char object passed as parameter.
| character | Returns the character if one was detected under the cursor. |
| x | Horizontal position of the cursor. |
| y | Vertical position of the cursor. |
| 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, 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. |
| bool eVision.EOCR2Text.HitTestChar | ( | self, | |
| eVision.EOCR2Char | character, | ||
| int | x, | ||
| int | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY, | ||
| eVision.EFrame | frame ) |
Tests the cursor position for the presence of a character.
If one is present under the cursor, it returns true and fills the eVision.EOCR2Char object passed as parameter.
| character | Returns the character if one was detected under the cursor. |
| x | Horizontal position of the cursor. |
| y | Vertical position of the cursor. |
| 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, 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. |
| frame | Frame used in the read of the specified character. |
| bool eVision.EOCR2Text.HitTestLine | ( | self, | |
| eVision.EOCR2Line | line, | ||
| int | x, | ||
| int | y ) |
Tests the cursor position for the presence of a line.
If one is present under the cursor, it returns true and fills the eVision.EOCR2Line object passed as parameter.
| line | Object to fill if a line was detected under the cursor. |
| x | Horizontal position of the cursor. |
| y | Vertical position of the cursor. |
| bool eVision.EOCR2Text.HitTestLine | ( | self, | |
| eVision.EOCR2Line | line, | ||
| int | x, | ||
| int | y, | ||
| float | zoomX ) |
Tests the cursor position for the presence of a line.
If one is present under the cursor, it returns true and fills the eVision.EOCR2Line object passed as parameter.
| line | Object to fill if a line was detected under the cursor. |
| x | Horizontal position of the cursor. |
| y | Vertical position of the cursor. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| bool eVision.EOCR2Text.HitTestLine | ( | self, | |
| eVision.EOCR2Line | line, | ||
| int | x, | ||
| int | y, | ||
| float | zoomX, | ||
| float | zoomY ) |
Tests the cursor position for the presence of a line.
If one is present under the cursor, it returns true and fills the eVision.EOCR2Line object passed as parameter.
| line | Object to fill if a line was detected under the cursor. |
| x | Horizontal position of the cursor. |
| y | Vertical position of the cursor. |
| 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, to provide isotropic zooming. |
| bool eVision.EOCR2Text.HitTestLine | ( | self, | |
| eVision.EOCR2Line | line, | ||
| int | x, | ||
| int | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Tests the cursor position for the presence of a line.
If one is present under the cursor, it returns true and fills the eVision.EOCR2Line object passed as parameter.
| line | Object to fill if a line was detected under the cursor. |
| x | Horizontal position of the cursor. |
| y | Vertical position of the cursor. |
| 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, to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| bool eVision.EOCR2Text.HitTestLine | ( | self, | |
| eVision.EOCR2Line | line, | ||
| int | x, | ||
| int | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Tests the cursor position for the presence of a line.
If one is present under the cursor, it returns true and fills the eVision.EOCR2Line object passed as parameter.
| line | Object to fill if a line was detected under the cursor. |
| x | Horizontal position of the cursor. |
| y | Vertical position of the cursor. |
| 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, 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. |
| bool eVision.EOCR2Text.HitTestLine | ( | self, | |
| eVision.EOCR2Line | line, | ||
| int | x, | ||
| int | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY, | ||
| eVision.EFrame | frame ) |
Tests the cursor position for the presence of a line.
If one is present under the cursor, it returns true and fills the eVision.EOCR2Line object passed as parameter.
| line | Object to fill if a line was detected under the cursor. |
| x | Horizontal position of the cursor. |
| y | Vertical position of the cursor. |
| 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, 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. |
| frame | Frame used in the read of the specified line. |
| bool eVision.EOCR2Text.HitTestText | ( | self, | |
| int | x, | ||
| int | y ) |
Tests the cursor position for the presence of a text.
If one is present under the cursor, it returns true.
| x | Horizontal position of the cursor. |
| y | Vertical position of the cursor. |
| bool eVision.EOCR2Text.HitTestText | ( | self, | |
| int | x, | ||
| int | y, | ||
| float | zoomX ) |
Tests the cursor position for the presence of a text.
If one is present under the cursor, it returns true.
| x | Horizontal position of the cursor. |
| y | Vertical position of the cursor. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| bool eVision.EOCR2Text.HitTestText | ( | self, | |
| int | x, | ||
| int | y, | ||
| float | zoomX, | ||
| float | zoomY ) |
Tests the cursor position for the presence of a text.
If one is present under the cursor, it returns true.
| x | Horizontal position of the cursor. |
| y | Vertical position of the cursor. |
| 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, to provide isotropic zooming. |
| bool eVision.EOCR2Text.HitTestText | ( | self, | |
| int | x, | ||
| int | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Tests the cursor position for the presence of a text.
If one is present under the cursor, it returns true.
| x | Horizontal position of the cursor. |
| y | Vertical position of the cursor. |
| 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, to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| bool eVision.EOCR2Text.HitTestText | ( | self, | |
| int | x, | ||
| int | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Tests the cursor position for the presence of a text.
If one is present under the cursor, it returns true.
| x | Horizontal position of the cursor. |
| y | Vertical position of the cursor. |
| 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, 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. |
| bool eVision.EOCR2Text.HitTestText | ( | self, | |
| int | x, | ||
| int | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY, | ||
| eVision.EFrame | frame ) |
Tests the cursor position for the presence of a text.
If one is present under the cursor, it returns true.
| x | Horizontal position of the cursor. |
| y | Vertical position of the cursor. |
| 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, 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. |
| frame | Frame used in the read of the specified text. |
| bool eVision.EOCR2Text.HitTestWord | ( | self, | |
| eVision.EOCR2Word | word, | ||
| int | x, | ||
| int | y ) |
Tests the cursor position for the presence of a word.
If one is present under the cursor, it returns true and fills the eVision.EOCR2Word object passed as parameter.
| word | Object to fill if a word was detected under the cursor. |
| x | Horizontal position of the cursor. |
| y | Vertical position of the cursor. |
| bool eVision.EOCR2Text.HitTestWord | ( | self, | |
| eVision.EOCR2Word | word, | ||
| int | x, | ||
| int | y, | ||
| float | zoomX ) |
Tests the cursor position for the presence of a word.
If one is present under the cursor, it returns true and fills the eVision.EOCR2Word object passed as parameter.
| word | Object to fill if a word was detected under the cursor. |
| x | Horizontal position of the cursor. |
| y | Vertical position of the cursor. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| bool eVision.EOCR2Text.HitTestWord | ( | self, | |
| eVision.EOCR2Word | word, | ||
| int | x, | ||
| int | y, | ||
| float | zoomX, | ||
| float | zoomY ) |
Tests the cursor position for the presence of a word.
If one is present under the cursor, it returns true and fills the eVision.EOCR2Word object passed as parameter.
| word | Object to fill if a word was detected under the cursor. |
| x | Horizontal position of the cursor. |
| y | Vertical position of the cursor. |
| 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, to provide isotropic zooming. |
| bool eVision.EOCR2Text.HitTestWord | ( | self, | |
| eVision.EOCR2Word | word, | ||
| int | x, | ||
| int | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Tests the cursor position for the presence of a word.
If one is present under the cursor, it returns true and fills the eVision.EOCR2Word object passed as parameter.
| word | Object to fill if a word was detected under the cursor. |
| x | Horizontal position of the cursor. |
| y | Vertical position of the cursor. |
| 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, to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| bool eVision.EOCR2Text.HitTestWord | ( | self, | |
| eVision.EOCR2Word | word, | ||
| int | x, | ||
| int | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Tests the cursor position for the presence of a word.
If one is present under the cursor, it returns true and fills the eVision.EOCR2Word object passed as parameter.
| word | Object to fill if a word was detected under the cursor. |
| x | Horizontal position of the cursor. |
| y | Vertical position of the cursor. |
| 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, 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. |
| bool eVision.EOCR2Text.HitTestWord | ( | self, | |
| eVision.EOCR2Word | word, | ||
| int | x, | ||
| int | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY, | ||
| eVision.EFrame | frame ) |
Tests the cursor position for the presence of a word.
If one is present under the cursor, it returns true and fills the eVision.EOCR2Word object passed as parameter.
| word | Object to fill if a word was detected under the cursor. |
| x | Horizontal position of the cursor. |
| y | Vertical position of the cursor. |
| 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, 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. |
| frame | Frame used in the read of the specified word. |
| int eVision.EOCR2Text.LineCount | ( | self | ) |
Gets the number of lines.
| list[eVision._eVision.EOCR2Line] eVision.EOCR2Text.Lines | ( | self | ) |
The vector of eVision.EOCR2Line objects representing the text.
| eVision.EOCR2Text.Lines | ( | self, | |
| list[eVision._eVision.EOCR2Line] | value ) |
The vector of eVision.EOCR2Line objects representing the text.
| str eVision.EOCR2Text.String | ( | self | ) |
Gets the read string.
| str eVision.EOCR2Text.Text | ( | self | ) |
The true value of all characters in the text.
Remarks:
Use a space (" ") to separate two words and a linebreak ("\n") to separate two lines.
| eVision.EOCR2Text.Text | ( | self, | |
| str | value ) |
The true value of all characters in the text.
Remarks:
Use a space (" ") to separate two words and a linebreak ("\n") to separate two lines.
| eVision.EFrame eVision.EOCR2Text.ToFrame | ( | self, | |
| bool | useAngle, | ||
| eVision.EFrameScaling | frameScaling ) |
Converts the shape to a frame.
| useAngle | Whether to use the angle of the shape as the orientation of the frame |
| frameScaling | How to change the scaling of the frame. |
| eVision.EFrame eVision.EOCR2Text.ToFrame | ( | self, | |
| bool | useAngle, | ||
| eVision.EFrameScaling | frameScaling, | ||
| eVision.EFrame | frame ) |
Converts the shape to a frame.
| useAngle | Whether to use the angle of the shape as the orientation of the frame |
| frameScaling | How to change the scaling of the frame. |
| frame | The frame in which the text is defined |
| eVision.ERegion eVision.EOCR2Text.ToRegion | ( | self | ) |
Creates an eVision.ERegion from the eVision.EOCR2Text.