initWithEngine: method of the AUIMultiPageImageCaptureScenario interface
Connects the AUIMultiPageImageCaptureScenario object with the RTREngine object that implements capturing and recognition.
- (instancetype)initWithEngine:(RTREngine*)engine pageStorage:(id<AUIPageStorage>)storage NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithEngine:(RTREngine*)engine storagePath:(NSString*)path error:(NSError**)error;
Parameters
- engine
- An instance of the corresponding to the scenario RTREngine object.
- storage
- Previously created AUIPageStorage object with images.
- path
- Absolute path to the folder with images that will be converted into the AUIPageStorage object.
- error
- The error that has occurred. In case no errors occurred, this parameter is nil.
Return values
The method returns an instance of the AUIMultiPageImageCaptureScenario interface initialized with the RTREngine object.
02.03.2022 12:59:15