ALDigitResult Class Reference

Inherits from NSObject
Declared in ALDigitResult.h

Overview

The ALDigitResult provides all the neccessary information of one computed digit.

  value

The computed value of the digit.

@property (nonatomic, strong, readonly) id value

Declared In

ALDigitResult.h

  segments

The segments for this 7-Segment digit.

@property (nonatomic, strong, readonly) NSArray *segments

Declared In

ALDigitResult.h

  qualitySegments

Array with all the segments which are used for the quality or accurracy of the digit.

@property (nonatomic, strong, readonly) NSArray *qualitySegments

Declared In

ALDigitResult.h

  indexPath

The IndexPath of this digit. It is a representation for the digits how they are located on the display and related to each other.

@property (nonatomic, strong, readonly) ALIndexPath *indexPath

Declared In

ALDigitResult.h

  identifier

The identifier for this digit. With the identifier digits can be logically bind together and will be validated together.

@property (nonatomic, strong, readonly) NSString *identifier

Declared In

ALDigitResult.h

  patternResultDictionary

The patternResultDictionary is used to interpret the segment results of a digit to an outcome value.

@property (nonatomic, strong, readonly) NSDictionary *patternResultDictionary

Declared In

ALDigitResult.h

– quality

Returns the Quality or accuracy of a digit. This is the average value of all the specified qualitySegments.

- (float)quality

Return Value

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

Declared In

ALDigitResult.h