Platforms to show: All Mac Windows Linux Cross-Platform

Back to AVMetadataObjectMBS class.

AVMetadataObjectMBS.barcodeDescriptor as Variant

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 21.2 ✅ Yes ❌ No ❌ No ✅ Yes All
A barcode description for use in Core Image.

(Read only property)

AVMetadataObjectMBS.bodyID as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 21.2 ✅ Yes ❌ No ❌ No ✅ Yes All
An integer value that defines the unique identifier of an object in a picture.

For bodys including human, dog or cat.
(Read only property)

AVMetadataObjectMBS.Bounds as CGRectMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 21.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The bounding rectangle associated with the metadata.

The bounding rectangle is specified relative to the picture or video of the corresponding media. The rectangle’s origin is always specified in the top-left corner, and the x and y axis extend down and to the right.
If the metadata has no bounding rectangle, the value of this property should be CGRectZero.
For video content, the bounding rectangle may be expressed using scalar values in the range 0.0 to 1.0. Scalar values remain meaningful even when the original video has been scaled down.

Available on macOS 10.10 or later.
(Read only property)

AVMetadataObjectMBS.Duration as CMTimeMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 21.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The duration of the media associated with this metadata object.

For metadata originating from a sample buffer (CMSampleBuffer), the duration reflects the duration of the sample buffer. If there is no valid duration value associated with the metadata, this property should contain invalid.

Available on macOS 10.10 or later.
(Read only property)

AVMetadataObjectMBS.faceID as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 21.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The unique ID for this face metadata object.

Each time a face enters the picture, it is assigned a new unique identifier, which you can use to reference the face in your code. Face IDs are not reused, and the same face leaving and entering the picture again is assigned a new identifier.

For face objects only.
(Read only property)

AVMetadataObjectMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ✅ Yes All
The internal object reference.

(Read and Write property)

AVMetadataObjectMBS.hasRollAngle as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 21.2 ✅ Yes ❌ No ❌ No ✅ Yes All
A Boolean value indicating whether there is a valid roll angle associated with the face.

If the value of this property is false, the value in the rollAngle property is invalid and must not be accessed.

For face objects only.
(Read only property)

AVMetadataObjectMBS.hasYawAngle as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 21.2 ✅ Yes ❌ No ❌ No ✅ Yes All
A Boolean value indicating whether there is a valid yaw angle associated with the face.

If the value of this property is false, the value in the yawAngle property is invalid and must not be accessed.

For face objects only.
(Read only property)

AVMetadataObjectMBS.objectID as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 21.2 ✅ Yes ❌ No ❌ No ✅ Yes All
An integer value that defines the unique identifier of an object in a picture.

When an object enters the picture, it’s assigned a new, unique identifier.

For salient objects only.
(Read only property)

AVMetadataObjectMBS.rollAngle as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 21.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The roll angle of the face specified in degrees.

The roll angle represents the side-to-side tilt of the face relative to the metadata’s bounding rectangle. A value of 0.0 yields a face that is level relative to the picture, whereas a value of 90 yields a face that is perpendicular relative to the picture.

You must check the value of the hasRollAngle property before accessing this property. If the value in the hasRollAngle property is false, reading the value in this property raises an exception.

For face objects only.
(Read only property)

AVMetadataObjectMBS.stringValue as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 21.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the error-corrected data decoded into a human-readable string.

For barcodes.

The value of this property is a string created by decoding the binary payload according to the format of the machine-readable code, or "" if a string representation cannot be created.
(Read only property)

AVMetadataObjectMBS.Time as CMTimeMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 21.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The media time value associated with the metadata object.

For captured media, this property represents the time when the metadata was captured. For metadata originating from a sample buffer (CMSampleBuffer), the time is the sample buffer’s presentation time. If there is no valid time value associated with the metadata, this property should contain invalid.

Available on macOS 10.10 or later.
(Read only property)

AVMetadataObjectMBS.Type as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 21.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The type of the metadata.

You use this property value to distinguish between different types of metadata. The possible values for this property are defined by subclasses, which can define constants for the type of metadata they represent.
(Read only property)

AVMetadataObjectMBS.yawAngle as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 21.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The yaw angle of the face specified in degrees.

The yaw angle represents the rotation of the face around the vertical axis. A value of 0.0 yields a face that is looking directly at the camera, whereas a yaw angle of 90 degrees yields a face whose eye line is perpendicular to that of the camera.

You must check the value of the hasYawAngle property before accessing this property. If the value in the hasYawAngle property is NO, reading the value in this property raises an exception.

For face objects only.
(Read only property)

The items on this page are in the following plugins: MBS AVFoundation Plugin.


The biggest plugin in space...