MBProcessorGroup


@interface MBProcessorGroup : NSObject

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

  • Undocumented

    Declaration

    Objective-C

    MB_INIT_UNAVAILABLE
  • Constructor for MBProcessorGroup.

    Declaration

    Objective-C

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

    Swift

    init(processingLocation: Any!, dewarpPolicy: MBDewarpPolicy, andProcessors processors: [MBProcessor])

    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 (readonly, strong, nonatomic)
        NSArray<__kindof MBProcessor *> *_Nonnull processors;

    Swift

    var processors: [MBProcessor] { get }