ALTextDataPoint Class Reference

Inherits from ALDataPoint : NSObject
Declared in ALTextDataPoint.h

  tesseractParameter

The tesseract parameters which should be used for this TextDataPoint. ex. “tessedit_char_whitelist”.

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

Declared In

ALTextDataPoint.h

  languages

The languages which should be used. Should contain language strings like “eng” or “ger”. The representing tessdata trainingfile has to be found in the Main Bundle in a tessdata folder and be named ex. “eng.traineddata”.

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

Declared In

ALTextDataPoint.h

  characterCount

@property (nonatomic) ALCharacterRange characterCount

– initWithArea:indexPath:identifier:languages:tesseractParameter:

Init method for a new TextDataPoint

- (instancetype)initWithArea:(CGRect)area indexPath:(ALIndexPath *)indexPath identifier:(NSString *)identifier languages:(NSArray *)languages tesseractParameter:(NSDictionary *)tesseractParameter

Parameters

area

The area where in the ROI the TextDataPoint is.

indexPath

The indexPath for the specified datapoint.

identifier

The identifier for the datapoint

languages

The languages array used for the datapoint

tesseractParameter

The dictionary containing the special tesseractParameter

Return Value

New instance of TextDataPoint.

Declared In

ALTextDataPoint.h

– initWithArea:indexPath:identifier:languages:tesseractParameter:characterRange:

Init method for a new TextDataPoint

- (instancetype)initWithArea:(CGRect)area indexPath:(ALIndexPath *)indexPath identifier:(NSString *)identifier languages:(NSArray *)languages tesseractParameter:(NSDictionary *)tesseractParameter characterRange:(ALCharacterRange)characterRange

Parameters

area

The area where in the ROI the TextDataPoint is.

indexPath

The indexPath for the specified datapoint.

identifier

The identifier for the datapoint

languages

The languages array used for the datapoint

tesseractParameter

The dictionary containing the special tesseractParameter

characterRange

The character count range we need for this datapoint

Return Value

New instance of TextDataPoint.

Declared In

ALTextDataPoint.h