Overview
Describes a barcode detected in a still image frame.
Its properties provide barcode value information.
Inherits GMVFeature.
Public Attributes | |
NSString *const | GMVFeatureTypeFace |
NSString *const | GMVFeatureTypeBarcode |
NSString *const | GMVFeatureTypeTextBlock |
NSString *const | GMVFeatureTypeTextLine |
NSString *const | GMVFeatureTypeTextElement |
Property Summary | |
NSString * | rawValue |
Barcode value as it was encoded in the barcode. More... | |
NSString * | displayValue |
Barcode value in a user-friendly format. More... | |
GMVDetectorBarcodeFormat | format |
Barcode format; for example, EAN_13. More... | |
NSArray< NSValue * > * | cornerPoints |
The four corner points of the barcode, in clockwise order starting with the top left relative to the detected image in the view coordinate system. More... | |
GMVDetectorBarcodeValueFormat | valueFormat |
Format of the barcode value. More... | |
GMVBarcodeFeatureEmail * | |
An email message from a 'MAILTO:' or similar QR Code type. More... | |
GMVBarcodeFeaturePhone * | phone |
A phone number from a 'TEL:' or similar QR Code type. More... | |
GMVBarcodeFeatureSMS * | sms |
An SMS message from an 'SMS:' or similar QR Code type. More... | |
GMVBarcodeFeatureURLBookmark * | url |
A URL and title from a 'MEBKM:' or similar QR Code type. More... | |
GMVBarcodeFeatureWiFi * | wifi |
Wi-Fi network parameters from a 'WIFI:' or similar QR Code type. More... | |
GMVBarcodeFeatureGeoPoint * | geoPoint |
GPS coordinates from a 'GEO:' or similar QR Code type. More... | |
GMVBarcodeFeatureContactInfo * | contactInfo |
A person's or organization's business card. More... | |
GMVBarcodeFeatureCalendarEvent * | calendarEvent |
A calendar event extracted from a QR Code. More... | |
GMVBarcodeFeatureDriverLicense * | driverLicense |
A driver license or ID card. 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 |
Barcode value as it was encoded in the barcode.
Structured values are not parsed, for example: 'MEBKM:TITLE:Google;URL:https://www.google.com;;'. Does not include the supplemental value.
|
readatomiccopy |
Barcode value in a user-friendly format.
May omit some of the information encoded in the barcode. For example, in the case above the display_value might be 'https://www.google.com'. If valueFormat==TEXT, this field will be equal to rawValue. This value may be multiline, for example, when line breaks are encoded into the original TEXT barcode value. May include the supplement value.
|
readatomicassign |
Barcode format; for example, EAN_13.
Note that this field may contain values not present in the current set of format constants. When mapping this value to something else, it is advisable to have a default/fallback case.
|
readatomiccopy |
The four corner points of the barcode, in clockwise order starting with the top left relative to the detected image in the view coordinate system.
These are CGPoints boxed in NSValues. Due to the possible perspective distortions, this is not necessarily a rectangle.
|
readatomicassign |
Format of the barcode value.
For example, TEXT, PRODUCT, URL, etc. Note that this field may contain values not present in the current set of value format constants. When mapping this value to something else, it is advisable to have a default/fallback case.
|
readatomicstrong |
An email message from a 'MAILTO:' or similar QR Code type.
This properly is only set if valueFormat is GMVDetectorBarcodeValueFormatEmail.
|
readatomicstrong |
A phone number from a 'TEL:' or similar QR Code type.
This property is only set if valueFormat is GMVDetectorBarcodeValueFormatPhone.
|
readatomicstrong |
An SMS message from an 'SMS:' or similar QR Code type.
This property is only set if valueFormat is GMVDetectorBarcodeValueFormatSMS.
|
readatomicstrong |
A URL and title from a 'MEBKM:' or similar QR Code type.
This property is only set iff valueFormat is GMVDetectorBarcodeValueFormatURL.
|
readatomicstrong |
Wi-Fi network parameters from a 'WIFI:' or similar QR Code type.
This property is only set iff valueFormat is GMVDetectorBarcodeValueFormatWifi.
|
readatomicstrong |
GPS coordinates from a 'GEO:' or similar QR Code type.
This property is only set iff valueFormat is GMVDetectorBarcodeValueFormatGeo
|
readatomicstrong |
A person's or organization's business card.
For example a VCARD. This property is only set iff valueFormat is GMVDetectorBarcodeValueFormatContactInfo.
|
readatomicstrong |
A calendar event extracted from a QR Code.
This property is only set iff valueFormat is GMVDetectorBarcodeValueFormatCalendarEvent.
|
readatomicstrong |
A driver license or ID card.
This property is only set iff valueFormat is GMVDetectorBarcodeValueFormatDriverLicense.
|
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 barcode among consecutive video frames.