//
//  MBDebugRecognizerRunnerDelegate.h
//  MicroBlinkDev
//
//  Created by Jura Skrlec on 04/01/2018.
//

@class MBRecognizerRunner;
@class MBImage;

/**
 * Protocol for obtaining debug metadata
 */
@protocol MBDebugRecognizerRunnerDelegate <NSObject>
@optional

/**
 * Scanning library did output debug image
 * NOTE: This method is called on background processing thread. Make sure that you dispatch all your UI API calls to main thread.
 */
- (void)recognizerRunner:(nonnull MBRecognizerRunner *)recognizerRunner didOutputDebugImage:(nonnull MBImage *)image;

/**
 * Scanning library did output debug text
 * NOTE: This method is called on background processing thread. Make sure that you dispatch all your UI API calls to main thread.
 */
- (void)recognizerRunner:(nonnull MBRecognizerRunner *)recognizerRunner didOutputDebugText:(nonnull NSString *)text;

@end
