Overview
Describes a single line of detected text.
Inherits GMVFeature.
Public Attributes | |
NSString *const | GMVFeatureTypeFace |
NSString *const | GMVFeatureTypeBarcode |
NSString *const | GMVFeatureTypeTextBlock |
NSString *const | GMVFeatureTypeTextLine |
NSString *const | GMVFeatureTypeTextElement |
Property Summary | |
NSString * | value |
Text contained in this text line, in string form. More... | |
NSString * | language |
The prevailing language in the text line. More... | |
NSArray< NSValue * > * | cornerPoints |
The four corner points of the text line, in clockwise order starting with the top left relative to the detected image in the view coordinate system. More... | |
NSArray< GMVTextElementFeature * > * | elements |
Text elements in this line. More... | |
CGRect | bounds |
The rectangle that holds the discovered feature relative to the detected image in the view coordinate system. More... | |
NSString * | type |
The type of feature that was discovered. More... | |
BOOL | hasTrackingID |
Indicates whether the object has a tracking ID. More... | |
NSUInteger | trackingID |
The tracking identifier of the feature. More... | |
Member Data Documentation
|
inherited |
The discovered feature is a person’s face. Use the GMVFaceFeature class to get more information about the detected feature.
|
inherited |
The discovered feature is a barcode. Use the GMVBarcodeFeature class to get more information about the detected feature.
|
inherited |
The discovered feature is a text block. Use the GMVTextBlockFeature class to get more information about the detected feature.
|
inherited |
The discovered feature is a text line. Use the GMVTextLineFeature class to get more information about the detected feature.
|
inherited |
The discovered feature is a text element. Use the GMVTextElementFeature class to get more information about the detected feature.
Property Detail
|
readatomiccopy |
Text contained in this text line, in string form.
|
readatomiccopy |
The prevailing language in the text line.
The format is the ISO 639-1 two-letter language code if that is defined (e.g. "en"), or else the ISO 639-2 three-letter code if that is defined.
|
readatomiccopy |
The four corner points of the text line, in clockwise order starting with the top left relative to the detected image in the view coordinate system.
These are CGPoints boxed in NSValues.
|
readatomiccopy |
Text elements in this line.
|
readatomicassigninherited |
The rectangle that holds the discovered feature relative to the detected image in the view coordinate system.
|
readatomiccopyinherited |
The type of feature that was discovered.
|
readatomicassigninherited |
Indicates whether the object has a tracking ID.
|
readatomicassigninherited |
The tracking identifier of the feature.
This ID is not associated with a specific feature but identifies the same line among consecutive video frames.