Platforms to show: All Mac Windows Linux Cross-Platform
Back to VNBarcodeObservationMBS class.
VNBarcodeObservationMBS.barcodeDescriptor as Variant
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Vision | MBS MacFrameworks Plugin | 19.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
This object is sufficient for Core Image to regenerate the observed barcode.
Value must be a CIBarcodeDescriptorMBS. We use variant to reduce dependency to other plugins.
(Read only property)
VNBarcodeObservationMBS.isColorInverted as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Vision | MBS MacFrameworks Plugin | 25.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read only property)
VNBarcodeObservationMBS.isGS1DataCarrier as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Vision | MBS MacFrameworks Plugin | 25.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read only property)
VNBarcodeObservationMBS.payloadData as MemoryBlock
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Vision | MBS MacFrameworks Plugin | 25.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read only property)
VNBarcodeObservationMBS.payloadStringValue as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Vision | MBS MacFrameworks Plugin | 19.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Depending on the symbology of the barcode or the payload data itself, a string representation of the payload may not be available.
(Read only property)
Some examples using this property:
VNBarcodeObservationMBS.supplementalCompositeType as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Vision | MBS MacFrameworks Plugin | 25.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Currently, this can only refer to the composite flag of the 2D symbology as part of a GS1 composite symbology.
This attribute only exists when the primary descriptor is the 1D symbology of a GS1 composite symbology, and of which a valid 2D counterpart has been coalesced into.
(Read only property)
VNBarcodeObservationMBS.supplementalPayloadData as MemoryBlock
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Vision | MBS MacFrameworks Plugin | 25.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Decode the supplemental code in the descriptor as a string value. Note: this property might be expensive the first time it is accessed
hen non-nil, and if the descriptor has supplemental raw payload data, the pointer will be set to the decoded supplemental payload raw data value.
(Read only property)
VNBarcodeObservationMBS.supplementalPayloadString as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Vision | MBS MacFrameworks Plugin | 25.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Note: this property might be expensive the first time it is accessed
When non-empty, and if the descriptor has supplemental raw payload data, the pointee will be set to the decoded supplemental payload string value.
(Read only property)
VNBarcodeObservationMBS.symbology as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Vision | MBS MacFrameworks Plugin | 19.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
To detect specific barcode symbologies in a Vision request, add the corresponding VNBarcodeSymbology to the supportedSymbologies property of your VNDetectBarcodesRequestMBS.
(Read only property)
The items on this page are in the following plugins: MBS MacFrameworks Plugin.