ALDisplayResult Class Reference

Inherits from ALResult : NSObject
Conforms to NSCopying
Declared in ALDisplayResult.h

Overview

The ALDisplayResult encapsulates all the neccessary objects and data for the 7-Segment recognition client.

– numberOfDigits

This method returns the overall number of digits in the display.

- (int)numberOfDigits

Return Value

Number of digits in display.

Declared In

ALDisplayResult.h

– digitsForIdentifier:

Returns the digits for a special identifier. Note that there is no sort order garanteed in the array.

- (NSArray *)digitsForIdentifier:(NSString *)identifier

Parameters

identifier

The identifier for some digits.

Return Value

All digits with an identifier, no sort order garanteed.

Declared In

ALDisplayResult.h

– stringRepresentationOfDigitsForIdentifier:

- (NSString *)stringRepresentationOfDigitsForIdentifier:(NSString *)identifier

– quality

Returns the Quality or accuracy of a whole display scan. This is the average value of all the specified digits.

- (float)quality

Return Value

float value for quality. 1 … best quality, 0 … worst quality.

Declared In

ALDisplayResult.h

– digitIdentifiers

Returns all the identifiers for the digit results stored.

- (NSArray *)digitIdentifiers

Return Value

Array with all the identifiers randomly sorted.

Declared In

ALDisplayResult.h