Captured Label#

Defined in framework ScanditLabelCapture

SDCCapturedLabel#
@interface SDCCapturedLabel : NSObject

Added in version 6.0.0

A captured label tracked over multiple frames. This class holds the list of label fields as well as the predicted boundary of the label. Each instance of a found label has a unique tracking Id which remains constant over multiple frames.

fields#
@property (nonatomic, nonnull, readonly) NSArray<SDCLabelField *> *fields

Added in version 6.0.0

List of fields in the form. For each field in the label description, exactly one captured field is returned.

name#
@property (nonatomic, nonnull, readonly) NSString *name

Added in version 6.0.0

The name of this label, e.g. label-a. This property can be used in case multiple different label definitions are used at the same time.

isComplete#
@property (nonatomic, readonly) BOOL isComplete

Added in version 6.0.0

Whether the label has been completely scanned. True as soon as all the required fields are present. Optional fields do not need to be present for this property to be true.

predictedBounds#
@property (nonatomic, readonly) SDCQuadrilateral predictedBounds

Added in version 6.0.0

The predicted label bounds in image coordinates. These coordinates will need to be converted to view coordinates before they can be visualized.

deltaTimeToPrediction#
@property (nonatomic, readonly) NSTimeInterval deltaTimeToPrediction

Added in version 6.0.0

The delta time used for predicting the label bounds (predictedBounds) as well as the field locations (available as SDCLabelField.predictedLocation).

trackingId#
@property (nonatomic, readonly) NSInteger trackingId

Added in version 6.0.0

The tracking identifier for this label.

JSONString#
@property (nonatomic, nonnull, readonly) NSString *JSONString

Added in version 6.4.0

Returns the JSON representation of the captured label.