ocrcommon.h File Reference

API published in: S60 3rd Ed FP 1

Link against: ocrsrv.lib

Capability Information

Required Capabilities

None


#include <e32std.h>
#include <e32def.h>
#include <e32base.h>

Go to the source code of this file.


Data Structures

class   TOCRTextLineInfo
  OCR (Optical Character Recognition) Text Line Information. More...
class   TOCRBlockInfo
  OCR (Optical Character Recognition) Text Line Information. More...
class   TOCRTextRgnInfo
  OCR (Optical Character Recognition) Text Block Information. More...
class   TOCRLayoutSetting
  OCR (Optical Character Recognition) Setting for Layout Analysis. More...
class   TOCRRecognizeSetting
  OCR (Optical Character Recognition) Setting for Recognize (Reserved). More...
class   TOCRLayoutBlockInfo
  OCR (Optical Character Recognition) Block Information for Recognizing Blocks. More...
class   TRegionInfo
  OCR (Optical Character Recognition) Block Information for Recognizing Blocks. More...
class   TOcrEngineEnv
  OCR (Optical Character Recognition) Engine Environment Settings. More...

Enumerations

enum   TOcrLayoutType { EOcrLayoutTypeH, EOcrLayoutTypeV }
  Type of the text layouts. More...
enum   TOcrTextType { EOcrTextMultiLine, EOcrTextSingleLine }
  Type of the text. More...
enum   TOcrBackgroundType { EOcrBackgroundLight, EOcrBackgroundDark, EOcrBackgroundUnknown }
  Type of the text background. More...

Functions

const TInt  KErrOcrBadImage (-1001)
  Bad image or unsupported format.
const TInt  KErrOcrBadLanguage (-1002)
  Unsupported language.
const TInt  KErrOcrBadRegion (-1003)
  Bad layout region.
const TInt  KErrOcrNotSetLanguage (-1004)
  Not set any language.
const TInt  KErrOcrBadDictFile (-1005)
  Not set any language packages.

Enumeration Type Documentation

enum TOcrBackgroundType
 

Type of the text background.

Enumerator:
EOcrBackgroundLight  light character with light background
EOcrBackgroundDark  dark character with dark background
EOcrBackgroundUnknown  un-suspected background
enum TOcrLayoutType
 

Type of the text layouts.

Enumerator:
EOcrLayoutTypeH  Texts in the block is horizontal.
EOcrLayoutTypeV  Texts in the block is vertical.
enum TOcrTextType
 

Type of the text.

Enumerator:
EOcrTextMultiLine  when the image or recognition area has multi-line format
EOcrTextSingleLine  when the image or recognition area has single-line format

Function Documentation

const TInt KErrOcrBadDictFile 1005  ) 
 

Not set any language packages.

const TInt KErrOcrBadImage 1001  ) 
 

Bad image or unsupported format.

const TInt KErrOcrBadLanguage 1002  ) 
 

Unsupported language.

const TInt KErrOcrBadRegion 1003  ) 
 

Bad layout region.

const TInt KErrOcrNotSetLanguage 1004  ) 
 

Not set any language.


Copyright © Nokia Corporation 2001-2008
Back to top