MBIProcessorGroup


@interface MBIProcessorGroup : NSObject

Class that represents a group of processors that will be executed on same dewarped image.

  • Unavailable

    Undocumented

    Declaration

    Objective-C

    MB_INIT_UNAVAILABLE
  • Constructor for MBIProcessorGroup.

    Declaration

    Objective-C

    - (nonnull instancetype)
        initWithProcessingLocation:(CGRect)processingLocation
                      dewarpPolicy:(nonnull MBIDewarpPolicy *)dewarpPolicy
                     andProcessors:
                         (nonnull NSArray<__kindof MBIProcessor *> *)processors;

    Swift

    init(processingLocation: CGRect, dewarpPolicy: MBIDewarpPolicy, andProcessors processors: [MBIProcessor])

    Parameters

    processingLocation

    Position in detected location that should be processed. Expressed as relative rectangle with respect to detected rectangle.

    dewarpPolicy

    Dewarp policy that will mandate how the perspective correction will be performed.

    processors

    Processors that will be executed on given processing location after perspective has been corrected.

  • Processors that are members of the processor group

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSArray<__kindof MBIProcessor *> *_Nonnull processors;

    Swift

    var processors: [MBIProcessor] { get }