ALInfoDelegate Protocol Reference

Conforms to NSObject
Declared in ALAbstractScanPlugin.h

Overview

The delegate for the ALAbstractScanPlugin.

– anylineScanPlugin:reportInfo:

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)anylineScanPlugin:(ALAbstractScanPlugin *_Nonnull)anylineScanPlugin reportInfo:(ALScanInfo *_Nonnull)info

Parameters

anylineScanPlugin

The ALAbstractScanPlugin

value

The reported value

variableName

The variable name of the reported value

Declared In

ALAbstractScanPlugin.h

– anylineScanPlugin: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)anylineScanPlugin:(ALAbstractScanPlugin *_Nonnull)anylineScanPlugin runSkipped:(ALRunSkippedReason *_Nonnull)runSkippedReason

Parameters

anylineScanPlugin

The ALAbstractScanPlugin

runFailure

The reason why the run failed

Declared In

ALAbstractScanPlugin.h