MBPProcessorGroup
Objective-C
@interface MBPProcessorGroup : NSObject
Swift
class MBPProcessorGroup : NSObject
Class that represents a group of processors that will be executed on same dewarped image.
-
Constructor for MBPProcessorGroup.
Declaration
Objective-C
- (nonnull instancetype) initWithProcessingLocation:(CGRect)processingLocation dewarpPolicy:(nonnull MBPDewarpPolicy *)dewarpPolicy andProcessors: (nonnull NSArray<__kindof MBPProcessor *> *)processors;
Swift
init(processingLocation: CGRect, dewarpPolicy: MBPDewarpPolicy, andProcessors processors: [MBPProcessor])
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 MBPProcessor *> *_Nonnull processors;
Swift
var processors: [MBPProcessor] { get }