AnylineDebugDelegate Protocol Reference

Conforms to NSObject
Declared in AnylineAbstractModuleView.h

Overview

The delegate for the AnylineOCRModuleView.

– anylineModuleView:reportDebugVariable:value:

Called with interesting values, that arise during processing.

Some possibly reported values:

  • $brightness - the brightness of the center region of the cutout as a float value
  • $confidence - the confidence, an Integer value between 0 and 100
  • $thresholdedImage - the current image transformed into black and white (the base image used for OCR)

- (void)anylineModuleView:(AnylineAbstractModuleView *_Nonnull)anylineModuleView reportDebugVariable:(NSString *_Nonnull)variableName value:(id _Nonnull)value

Parameters

anylineModuleView

The AnylineAbstractModuleView

variableName

The variable name of the reported value

value

The reported value

Declared In

AnylineAbstractModuleView.h

– anylineModuleView:runSkipped:

Is called when the processing is aborted for the current image before reaching return. (If not text is found or confidence is to low, etc.)

- (void)anylineModuleView:(AnylineAbstractModuleView *_Nonnull)anylineModuleView runSkipped:(ALRunFailure)runFailure

Parameters

anylineModuleView

The AnylineAbstractModuleView

runFailure

The reason why the run failed

Declared In

AnylineAbstractModuleView.h