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
A CIBarcodeDescriptorMBS object with low-level details about the barcode and its data.

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
A boolean indicating if the barcode is color inverted.

(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
Boolean indicating if the barcode carries any GS1 application specific data

(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
The raw data representation of the barcode's payload if available.

(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
The string representation of the barcode's payload.

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
Represents the supplemental composite type.

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
Supplemental payload data.

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
Decode the supplemental code in the descriptor as a string value.

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
The symbology of the observed barcode.

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.


The biggest plugin in space...