Holds a vector of EOCR2Line objects representing a text. More...
#include <eVision/EasyOcr/EasyOCR2/EOCR2Text.h>
Public Member Functions | |
| EOCR2Text () | |
| Constructs an EOCR2Text context. | |
| EOCR2Text (const eVision::EOCR2Text &other) | |
| Constructs an EOCR2Text context. | |
| virtual | ~EOCR2Text () throw () |
| eVision::EOCR2Text & | operator= (const eVision::EOCR2Text &other) |
| Copies all the data from another EOCR2Text object into the current EOCR2Text object. | |
| std::string | GetString () |
| Gets the read string. | |
| std::vector< eVision::EOCR2Line > | GetLines () const |
| The vector of EOCR2Line objects representing the text. | |
| void | SetLines (std::vector< eVision::EOCR2Line > lines) |
| The vector of EOCR2Line objects representing the text. | |
| int32_t | GetLineCount () const |
| Gets the number of lines. | |
| eVision::ERectangle | GetBoundingBox () const |
| The bounding box encapsulating all characters in the text. | |
| void | SetText (const std::string &text) |
| The true value of all characters in the text. | |
| std::string | GetText () const |
| The true value of all characters in the text. | |
| void | DrawSegmentation (eVision::EDrawAdapter *drawAdapter, eVision::EasyOCR2DrawSegmentationStyle style, float zoomX, float zoomY, float panX, float panY, const eVision::EFrame &frame) const |
| Draws the blobs found by the segmentation algorithm. | |
| void | DrawSegmentation (eVision::EDrawAdapter *drawAdapter, eVision::EasyOCR2DrawSegmentationStyle style, float zoomX, float zoomY, float panX, float panY) const |
| Draws the blobs found by the segmentation algorithm. | |
| void | DrawSegmentation (eVision::EDrawAdapter *drawAdapter, eVision::EasyOCR2DrawSegmentationStyle style, float zoomX, float zoomY, float panX) const |
| Draws the blobs found by the segmentation algorithm. | |
| void | DrawSegmentation (eVision::EDrawAdapter *drawAdapter, eVision::EasyOCR2DrawSegmentationStyle style, float zoomX, float zoomY) const |
| Draws the blobs found by the segmentation algorithm. | |
| void | DrawSegmentation (eVision::EDrawAdapter *drawAdapter, eVision::EasyOCR2DrawSegmentationStyle style, float zoomX) const |
| Draws the blobs found by the segmentation algorithm. | |
| void | DrawSegmentation (eVision::EDrawAdapter *drawAdapter, eVision::EasyOCR2DrawSegmentationStyle style) const |
| Draws the blobs found by the segmentation algorithm. | |
| void | DrawDetection (eVision::EDrawAdapter *drawAdapter, eVision::EasyOCR2DrawDetectionStyle style, float zoomX, float zoomY, float panX, float panY, const eVision::EFrame &frame) const |
| Draws the bounding boxes found by the topology detection algorithm. | |
| void | DrawDetection (eVision::EDrawAdapter *drawAdapter, eVision::EasyOCR2DrawDetectionStyle style, float zoomX, float zoomY, float panX, float panY) const |
| Draws the bounding boxes found by the topology detection algorithm. | |
| void | DrawDetection (eVision::EDrawAdapter *drawAdapter, eVision::EasyOCR2DrawDetectionStyle style, float zoomX, float zoomY, float panX) const |
| Draws the bounding boxes found by the topology detection algorithm. | |
| void | DrawDetection (eVision::EDrawAdapter *drawAdapter, eVision::EasyOCR2DrawDetectionStyle style, float zoomX, float zoomY) const |
| Draws the bounding boxes found by the topology detection algorithm. | |
| void | DrawDetection (eVision::EDrawAdapter *drawAdapter, eVision::EasyOCR2DrawDetectionStyle style, float zoomX) const |
| Draws the bounding boxes found by the topology detection algorithm. | |
| void | DrawDetection (eVision::EDrawAdapter *drawAdapter, eVision::EasyOCR2DrawDetectionStyle style) const |
| Draws the bounding boxes found by the topology detection algorithm. | |
| void | DrawRecognition (eVision::EDrawAdapter *drawAdapter, eVision::EasyOCR2DrawRecognitionStyle style, int32_t fontSize, float zoomX, float zoomY, float panX, float panY, const eVision::EFrame &frame) const |
| Draws the recognized text next to the character bounding box in the image. | |
| void | DrawRecognition (eVision::EDrawAdapter *drawAdapter, eVision::EasyOCR2DrawRecognitionStyle style, int32_t fontSize, float zoomX, float zoomY, float panX, float panY) const |
| Draws the recognized text next to the character bounding box in the image. | |
| void | DrawRecognition (eVision::EDrawAdapter *drawAdapter, eVision::EasyOCR2DrawRecognitionStyle style, int32_t fontSize, float zoomX, float zoomY, float panX) const |
| Draws the recognized text next to the character bounding box in the image. | |
| void | DrawRecognition (eVision::EDrawAdapter *drawAdapter, eVision::EasyOCR2DrawRecognitionStyle style, int32_t fontSize, float zoomX, float zoomY) const |
| Draws the recognized text next to the character bounding box in the image. | |
| void | DrawRecognition (eVision::EDrawAdapter *drawAdapter, eVision::EasyOCR2DrawRecognitionStyle style, int32_t fontSize, float zoomX) const |
| Draws the recognized text next to the character bounding box in the image. | |
| void | DrawRecognition (eVision::EDrawAdapter *drawAdapter, eVision::EasyOCR2DrawRecognitionStyle style, int32_t fontSize) const |
| Draws the recognized text next to the character bounding box in the image. | |
| void | DrawRecognition (eVision::EDrawAdapter *drawAdapter, eVision::EasyOCR2DrawRecognitionStyle style) const |
| Draws the recognized text next to the character bounding box in the image. | |
| bool | HitTestChar (eVision::EOCR2Char &character, int32_t x, int32_t y, float zoomX, float zoomY, float panX, float panY, const eVision::EFrame &frame) const |
| Tests the cursor position for the presence of a character. If one is present under the cursor, it returns true and fills the EOCR2Char object passed as parameter. | |
| bool | HitTestChar (eVision::EOCR2Char &character, int32_t x, int32_t y, float zoomX, float zoomY, float panX, float panY) const |
| Tests the cursor position for the presence of a character. If one is present under the cursor, it returns true and fills the EOCR2Char object passed as parameter. | |
| bool | HitTestChar (eVision::EOCR2Char &character, int32_t x, int32_t y, float zoomX, float zoomY, float panX) const |
| Tests the cursor position for the presence of a character. If one is present under the cursor, it returns true and fills the EOCR2Char object passed as parameter. | |
| bool | HitTestChar (eVision::EOCR2Char &character, int32_t x, int32_t y, float zoomX, float zoomY) const |
| Tests the cursor position for the presence of a character. If one is present under the cursor, it returns true and fills the EOCR2Char object passed as parameter. | |
| bool | HitTestChar (eVision::EOCR2Char &character, int32_t x, int32_t y, float zoomX) const |
| Tests the cursor position for the presence of a character. If one is present under the cursor, it returns true and fills the EOCR2Char object passed as parameter. | |
| bool | HitTestChar (eVision::EOCR2Char &character, int32_t x, int32_t y) const |
| Tests the cursor position for the presence of a character. If one is present under the cursor, it returns true and fills the EOCR2Char object passed as parameter. | |
| bool | HitTestWord (eVision::EOCR2Word &word, int32_t x, int32_t y, float zoomX, float zoomY, float panX, float panY, const eVision::EFrame &frame) const |
| Tests the cursor position for the presence of a word. If one is present under the cursor, it returns true and fills the EOCR2Word object passed as parameter. | |
| bool | HitTestWord (eVision::EOCR2Word &word, int32_t x, int32_t y, float zoomX, float zoomY, float panX, float panY) const |
| Tests the cursor position for the presence of a word. If one is present under the cursor, it returns true and fills the EOCR2Word object passed as parameter. | |
| bool | HitTestWord (eVision::EOCR2Word &word, int32_t x, int32_t y, float zoomX, float zoomY, float panX) const |
| Tests the cursor position for the presence of a word. If one is present under the cursor, it returns true and fills the EOCR2Word object passed as parameter. | |
| bool | HitTestWord (eVision::EOCR2Word &word, int32_t x, int32_t y, float zoomX, float zoomY) const |
| Tests the cursor position for the presence of a word. If one is present under the cursor, it returns true and fills the EOCR2Word object passed as parameter. | |
| bool | HitTestWord (eVision::EOCR2Word &word, int32_t x, int32_t y, float zoomX) const |
| Tests the cursor position for the presence of a word. If one is present under the cursor, it returns true and fills the EOCR2Word object passed as parameter. | |
| bool | HitTestWord (eVision::EOCR2Word &word, int32_t x, int32_t y) const |
| Tests the cursor position for the presence of a word. If one is present under the cursor, it returns true and fills the EOCR2Word object passed as parameter. | |
| bool | HitTestLine (eVision::EOCR2Line &line, int32_t x, int32_t y, float zoomX, float zoomY, float panX, float panY, const eVision::EFrame &frame) const |
| Tests the cursor position for the presence of a line. If one is present under the cursor, it returns true and fills the EOCR2Line object passed as parameter. | |
| bool | HitTestLine (eVision::EOCR2Line &line, int32_t x, int32_t y, float zoomX, float zoomY, float panX, float panY) const |
| Tests the cursor position for the presence of a line. If one is present under the cursor, it returns true and fills the EOCR2Line object passed as parameter. | |
| bool | HitTestLine (eVision::EOCR2Line &line, int32_t x, int32_t y, float zoomX, float zoomY, float panX) const |
| Tests the cursor position for the presence of a line. If one is present under the cursor, it returns true and fills the EOCR2Line object passed as parameter. | |
| bool | HitTestLine (eVision::EOCR2Line &line, int32_t x, int32_t y, float zoomX, float zoomY) const |
| Tests the cursor position for the presence of a line. If one is present under the cursor, it returns true and fills the EOCR2Line object passed as parameter. | |
| bool | HitTestLine (eVision::EOCR2Line &line, int32_t x, int32_t y, float zoomX) const |
| Tests the cursor position for the presence of a line. If one is present under the cursor, it returns true and fills the EOCR2Line object passed as parameter. | |
| bool | HitTestLine (eVision::EOCR2Line &line, int32_t x, int32_t y) const |
| Tests the cursor position for the presence of a line. If one is present under the cursor, it returns true and fills the EOCR2Line object passed as parameter. | |
| bool | HitTestText (int32_t x, int32_t y, float zoomX, float zoomY, float panX, float panY, const eVision::EFrame &frame) const |
| Tests the cursor position for the presence of a text. If one is present under the cursor, it returns true. | |
| bool | HitTestText (int32_t x, int32_t y, float zoomX, float zoomY, float panX, float panY) const |
| Tests the cursor position for the presence of a text. If one is present under the cursor, it returns true. | |
| bool | HitTestText (int32_t x, int32_t y, float zoomX, float zoomY, float panX) const |
| Tests the cursor position for the presence of a text. If one is present under the cursor, it returns true. | |
| bool | HitTestText (int32_t x, int32_t y, float zoomX, float zoomY) const |
| Tests the cursor position for the presence of a text. If one is present under the cursor, it returns true. | |
| bool | HitTestText (int32_t x, int32_t y, float zoomX) const |
| Tests the cursor position for the presence of a text. If one is present under the cursor, it returns true. | |
| bool | HitTestText (int32_t x, int32_t y) const |
| Tests the cursor position for the presence of a text. If one is present under the cursor, it returns true. | |
| eVision::EFrame | ToFrame (bool useAngle, eVision::EFrameScaling frameScaling) const |
| Converts the shape to a frame. | |
| eVision::EFrame | ToFrame (bool useAngle, eVision::EFrameScaling frameScaling, const eVision::EFrame &frame) const |
| Converts the shape to a frame. | |
| eVision::ERegion | ToRegion () const |
| Creates an ERegion from the EOCR2Text. | |
| EOCR2Text (CppWrapperInternal::InternalConstructor) | |
Public Attributes | |
| CppWrapperInternal::WrappedClass | wrappedClass_ |
Holds a vector of EOCR2Line objects representing a text.
License(s): None
| eVision::EOCR2Text::EOCR2Text | ( | ) |
Constructs an EOCR2Text context.
Default and copy constructors.
| eVision::EOCR2Text::EOCR2Text | ( | const eVision::EOCR2Text & | other | ) |
|
virtual | ||||||||||||
| eVision::EOCR2Text::EOCR2Text | ( | CppWrapperInternal::InternalConstructor | ) |
| void eVision::EOCR2Text::DrawDetection | ( | eVision::EDrawAdapter * | drawAdapter, |
| eVision::EasyOCR2DrawDetectionStyle | style ) const |
Draws the bounding boxes found by the topology detection algorithm.
| drawAdapter | EDrawAdapter that will be used to draw. |
| style | The style in which each detection box should be drawn. |
| void eVision::EOCR2Text::DrawDetection | ( | eVision::EDrawAdapter * | drawAdapter, |
| eVision::EasyOCR2DrawDetectionStyle | style, | ||
| float | zoomX ) const |
Draws the bounding boxes found by the topology detection algorithm.
| drawAdapter | 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. |
| void eVision::EOCR2Text::DrawDetection | ( | eVision::EDrawAdapter * | drawAdapter, |
| eVision::EasyOCR2DrawDetectionStyle | style, | ||
| float | zoomX, | ||
| float | zoomY ) const |
Draws the bounding boxes found by the topology detection algorithm.
| drawAdapter | 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. |
| void eVision::EOCR2Text::DrawDetection | ( | eVision::EDrawAdapter * | drawAdapter, |
| eVision::EasyOCR2DrawDetectionStyle | style, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) const |
Draws the bounding boxes found by the topology detection algorithm.
| drawAdapter | 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. |
| void eVision::EOCR2Text::DrawDetection | ( | eVision::EDrawAdapter * | drawAdapter, |
| eVision::EasyOCR2DrawDetectionStyle | style, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) const |
Draws the bounding boxes found by the topology detection algorithm.
| drawAdapter | 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. |
| void eVision::EOCR2Text::DrawDetection | ( | eVision::EDrawAdapter * | drawAdapter, |
| eVision::EasyOCR2DrawDetectionStyle | style, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY, | ||
| const eVision::EFrame & | frame ) const |
Draws the bounding boxes found by the topology detection algorithm.
| drawAdapter | 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. |
| void eVision::EOCR2Text::DrawRecognition | ( | eVision::EDrawAdapter * | drawAdapter, |
| eVision::EasyOCR2DrawRecognitionStyle | style ) const |
Draws the recognized text next to the character bounding box in the image.
| drawAdapter | EDrawAdapter that will be used to draw. |
| style | The style in which each recognition result should be drawn. |
| void eVision::EOCR2Text::DrawRecognition | ( | eVision::EDrawAdapter * | drawAdapter, |
| eVision::EasyOCR2DrawRecognitionStyle | style, | ||
| int32_t | fontSize ) const |
Draws the recognized text next to the character bounding box in the image.
| drawAdapter | 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. |
| void eVision::EOCR2Text::DrawRecognition | ( | eVision::EDrawAdapter * | drawAdapter, |
| eVision::EasyOCR2DrawRecognitionStyle | style, | ||
| int32_t | fontSize, | ||
| float | zoomX ) const |
Draws the recognized text next to the character bounding box in the image.
| drawAdapter | 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. |
| void eVision::EOCR2Text::DrawRecognition | ( | eVision::EDrawAdapter * | drawAdapter, |
| eVision::EasyOCR2DrawRecognitionStyle | style, | ||
| int32_t | fontSize, | ||
| float | zoomX, | ||
| float | zoomY ) const |
Draws the recognized text next to the character bounding box in the image.
| drawAdapter | 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. |
| void eVision::EOCR2Text::DrawRecognition | ( | eVision::EDrawAdapter * | drawAdapter, |
| eVision::EasyOCR2DrawRecognitionStyle | style, | ||
| int32_t | fontSize, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) const |
Draws the recognized text next to the character bounding box in the image.
| drawAdapter | 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. |
| void eVision::EOCR2Text::DrawRecognition | ( | eVision::EDrawAdapter * | drawAdapter, |
| eVision::EasyOCR2DrawRecognitionStyle | style, | ||
| int32_t | fontSize, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) const |
Draws the recognized text next to the character bounding box in the image.
| drawAdapter | 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. |
| void eVision::EOCR2Text::DrawRecognition | ( | eVision::EDrawAdapter * | drawAdapter, |
| eVision::EasyOCR2DrawRecognitionStyle | style, | ||
| int32_t | fontSize, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY, | ||
| const eVision::EFrame & | frame ) const |
Draws the recognized text next to the character bounding box in the image.
| drawAdapter | 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. |
| void eVision::EOCR2Text::DrawSegmentation | ( | eVision::EDrawAdapter * | drawAdapter, |
| eVision::EasyOCR2DrawSegmentationStyle | style ) const |
Draws the blobs found by the segmentation algorithm.
| drawAdapter | EDrawAdapter that will be used to draw. |
| style | The style in which each blob should be drawn. |
| void eVision::EOCR2Text::DrawSegmentation | ( | eVision::EDrawAdapter * | drawAdapter, |
| eVision::EasyOCR2DrawSegmentationStyle | style, | ||
| float | zoomX ) const |
Draws the blobs found by the segmentation algorithm.
| drawAdapter | 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. |
| void eVision::EOCR2Text::DrawSegmentation | ( | eVision::EDrawAdapter * | drawAdapter, |
| eVision::EasyOCR2DrawSegmentationStyle | style, | ||
| float | zoomX, | ||
| float | zoomY ) const |
Draws the blobs found by the segmentation algorithm.
| drawAdapter | 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. |
| void eVision::EOCR2Text::DrawSegmentation | ( | eVision::EDrawAdapter * | drawAdapter, |
| eVision::EasyOCR2DrawSegmentationStyle | style, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) const |
Draws the blobs found by the segmentation algorithm.
| drawAdapter | 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. |
| void eVision::EOCR2Text::DrawSegmentation | ( | eVision::EDrawAdapter * | drawAdapter, |
| eVision::EasyOCR2DrawSegmentationStyle | style, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) const |
Draws the blobs found by the segmentation algorithm.
| drawAdapter | 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. |
| void eVision::EOCR2Text::DrawSegmentation | ( | eVision::EDrawAdapter * | drawAdapter, |
| eVision::EasyOCR2DrawSegmentationStyle | style, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY, | ||
| const eVision::EFrame & | frame ) const |
Draws the blobs found by the segmentation algorithm.
| drawAdapter | 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. |
| eVision::ERectangle eVision::EOCR2Text::GetBoundingBox | ( | ) | const |
The bounding box encapsulating all characters in the text.
| int32_t eVision::EOCR2Text::GetLineCount | ( | ) | const |
Gets the number of lines.
| std::vector< eVision::EOCR2Line > eVision::EOCR2Text::GetLines | ( | ) | const |
The vector of EOCR2Line objects representing the text.
| std::string eVision::EOCR2Text::GetString | ( | ) |
Gets the read string.
| std::string eVision::EOCR2Text::GetText | ( | ) | const |
The true value of all characters in the text.
Use a space (" ") to separate two words and a linebreak ("\n") to separate two lines.
| bool eVision::EOCR2Text::HitTestChar | ( | eVision::EOCR2Char & | character, |
| int32_t | x, | ||
| int32_t | y ) const |
Tests the cursor position for the presence of a character. If one is present under the cursor, it returns true and fills the 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 | ( | eVision::EOCR2Char & | character, |
| int32_t | x, | ||
| int32_t | y, | ||
| float | zoomX ) const |
Tests the cursor position for the presence of a character. If one is present under the cursor, it returns true and fills the 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 | ( | eVision::EOCR2Char & | character, |
| int32_t | x, | ||
| int32_t | y, | ||
| float | zoomX, | ||
| float | zoomY ) const |
Tests the cursor position for the presence of a character. If one is present under the cursor, it returns true and fills the 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 | ( | eVision::EOCR2Char & | character, |
| int32_t | x, | ||
| int32_t | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) const |
Tests the cursor position for the presence of a character. If one is present under the cursor, it returns true and fills the 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 | ( | eVision::EOCR2Char & | character, |
| int32_t | x, | ||
| int32_t | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) const |
Tests the cursor position for the presence of a character. If one is present under the cursor, it returns true and fills the 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 | ( | eVision::EOCR2Char & | character, |
| int32_t | x, | ||
| int32_t | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY, | ||
| const eVision::EFrame & | frame ) const |
Tests the cursor position for the presence of a character. If one is present under the cursor, it returns true and fills the 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 | ( | eVision::EOCR2Line & | line, |
| int32_t | x, | ||
| int32_t | y ) const |
Tests the cursor position for the presence of a line. If one is present under the cursor, it returns true and fills the 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 | ( | eVision::EOCR2Line & | line, |
| int32_t | x, | ||
| int32_t | y, | ||
| float | zoomX ) const |
Tests the cursor position for the presence of a line. If one is present under the cursor, it returns true and fills the 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 | ( | eVision::EOCR2Line & | line, |
| int32_t | x, | ||
| int32_t | y, | ||
| float | zoomX, | ||
| float | zoomY ) const |
Tests the cursor position for the presence of a line. If one is present under the cursor, it returns true and fills the 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 | ( | eVision::EOCR2Line & | line, |
| int32_t | x, | ||
| int32_t | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) const |
Tests the cursor position for the presence of a line. If one is present under the cursor, it returns true and fills the 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 | ( | eVision::EOCR2Line & | line, |
| int32_t | x, | ||
| int32_t | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) const |
Tests the cursor position for the presence of a line. If one is present under the cursor, it returns true and fills the 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 | ( | eVision::EOCR2Line & | line, |
| int32_t | x, | ||
| int32_t | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY, | ||
| const eVision::EFrame & | frame ) const |
Tests the cursor position for the presence of a line. If one is present under the cursor, it returns true and fills the 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 | ( | int32_t | x, |
| int32_t | y ) const |
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 | ( | int32_t | x, |
| int32_t | y, | ||
| float | zoomX ) const |
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 | ( | int32_t | x, |
| int32_t | y, | ||
| float | zoomX, | ||
| float | zoomY ) const |
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 | ( | int32_t | x, |
| int32_t | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) const |
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 | ( | int32_t | x, |
| int32_t | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) const |
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 | ( | int32_t | x, |
| int32_t | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY, | ||
| const eVision::EFrame & | frame ) const |
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 | ( | eVision::EOCR2Word & | word, |
| int32_t | x, | ||
| int32_t | y ) const |
Tests the cursor position for the presence of a word. If one is present under the cursor, it returns true and fills the 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 | ( | eVision::EOCR2Word & | word, |
| int32_t | x, | ||
| int32_t | y, | ||
| float | zoomX ) const |
Tests the cursor position for the presence of a word. If one is present under the cursor, it returns true and fills the 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 | ( | eVision::EOCR2Word & | word, |
| int32_t | x, | ||
| int32_t | y, | ||
| float | zoomX, | ||
| float | zoomY ) const |
Tests the cursor position for the presence of a word. If one is present under the cursor, it returns true and fills the 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 | ( | eVision::EOCR2Word & | word, |
| int32_t | x, | ||
| int32_t | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) const |
Tests the cursor position for the presence of a word. If one is present under the cursor, it returns true and fills the 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 | ( | eVision::EOCR2Word & | word, |
| int32_t | x, | ||
| int32_t | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) const |
Tests the cursor position for the presence of a word. If one is present under the cursor, it returns true and fills the 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 | ( | eVision::EOCR2Word & | word, |
| int32_t | x, | ||
| int32_t | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY, | ||
| const eVision::EFrame & | frame ) const |
Tests the cursor position for the presence of a word. If one is present under the cursor, it returns true and fills the 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. |
| eVision::EOCR2Text & eVision::EOCR2Text::operator= | ( | const eVision::EOCR2Text & | other | ) |
| void eVision::EOCR2Text::SetLines | ( | std::vector< eVision::EOCR2Line > | lines | ) |
The vector of EOCR2Line objects representing the text.
| void eVision::EOCR2Text::SetText | ( | const std::string & | text | ) |
The true value of all characters in the text.
| text | A string containing the true value of all characters in the text. |
Use a space (" ") to separate two words and a linebreak ("\n") to separate two lines.
| eVision::EFrame eVision::EOCR2Text::ToFrame | ( | bool | useAngle, |
| eVision::EFrameScaling | frameScaling ) const |
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 | ( | bool | useAngle, |
| eVision::EFrameScaling | frameScaling, | ||
| const eVision::EFrame & | frame ) const |
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 | ( | ) | const |
| CppWrapperInternal::WrappedClass eVision::EOCR2Text::wrappedClass_ |