The cl-tesseract Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The cl-tesseract Reference Manual

This is the cl-tesseract Reference Manual, generated automatically by Declt version 2.3 "Robert April" on Tue Jan 09 14:04:44 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

CL-TESSERACT is a set of CFFI bindings for the Tesseract OCR library v. 3.04: 
https://github.com/tesseract-ocr/tesseract

On OS X, Tesseract can be conveniently installed using Homebrew:
brew install tesseract

As Tesseract OCR’s capi changed in the update to v. 3.04, earlier versions such as 3.02
will not work with these bindings.

CL-TESSERACT also provides convenient lisp functions to retrieve text from images, 
IMAGE-TO-TEXT and IMAGE-TO-HOCR.

IMAGE-TO-TEXT accepts a lisp pathname and an optional language parameter and returns a 
unicode string:

* (image-to-text #P"~/eurotext.tif")
"The (quick) [brown] {fox} jumps!
Over the $43,456.78  #90 dog
& duck/goose, as 12.5% of E-mail
from aspammer@website.com is spam.
Der ,,schnelle” braune Fuchs springt
fiber den faulen Hund. Le renard brun
«rapide» saute par-dessus le chien
paresseux. La volpe marrone rapida
salta sopra i] cane pigro. El zorro
marrén répido salta sobre el perro
perezoso. A raposa marrom répida
salta sobre 0 C50 preguieoso.

"

* (image-to-text #P"~/eurotext.tif" :lang "rus")
"ТЬе (чиісК) [Ьгошп] {Гох} ]итрз!
Очег [пе $43‚456.78 <1а2у> #90 603
& ‹1исК/3005е, аз 12.5% ог Е-таіі
Ггот азраттег@шеЬ5і[е.сош із зрат.
Бег ‚,5с11пе11е” Ьгаипе Риспз зргіпві
ііЬег ‹!еп Тапіеп Нипа. Ье гепага Ьгип
«гарісіе» заше раг-сіеззиз 1е сЬіеп
рагеззеих. Ьа уоіре тапопе гаріаа
зама зорга і] сапе рівго. Е1 гогго
таггбп гёріао зама воЬге е1 репо
регегозо. А гароза шапот гйріаа
зака воЬге о еде ргевиісозо.

"

Available languages are dependent on the Tesseract OCR .traineddata files located in the directory denoted by *TESSDATA-DIRECTORY*. CL-TESSERACT attempts to set this variable to 
a reasonable default for your platform.

IMAGE-TO-HOCR accepts a lisp pathname, the optional language parameter, and a optional 
page number (default 0) and return HOCR XML describing not just the recognized text, but 
its location in the page:

* (image-to-hocr #P"~/python-tesseract/eurotext.jpg”)
"  
. . . word_2_65' title='bbox 391 621 456 651; x_wconf 72' lang='eng' dir='ltr'>C50 preguieoso.

" This can be parsed using Common Lisp libraries such as Closure-XML and plump. Tested on CCL and SBCL. License: MIT Author: Edward Geist (egeist@stanford.edu)

Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 cl-tesseract

Author

Edward Geist

License

MIT

Description

CFFI bindings to the Tesseract OCR library.

Dependency

cffi

Source

cl-tesseract.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.1 cl-tesseract.asd

Location

cl-tesseract.asd

Systems

cl-tesseract (system)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.2 cl-tesseract/package.lisp

Parent

cl-tesseract (system)

Location

package.lisp

Packages

cl-tesseract


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.3 cl-tesseract/library.lisp

Dependency

package.lisp (file)

Parent

cl-tesseract (system)

Location

library.lisp

Exported Definitions

*tessdata-directory* (special variable)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.4 cl-tesseract/capi.lisp

Dependency

library.lisp (file)

Parent

cl-tesseract (system)

Location

capi.lisp

Internal Definitions

Previous: , Up: Lisp files   [Contents][Index]

3.1.5 cl-tesseract/cl-tesseract.lisp

Dependency

capi.lisp (file)

Parent

cl-tesseract (system)

Location

cl-tesseract.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

4 Packages

Packages are listed by definition order.


Previous: , Up: Packages   [Contents][Index]

4.1 cl-tesseract

Source

package.lisp (file)

Nicknames
Use List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.1 Special variables

Special Variable: *tessdata-directory*

*tessdata-directory* should point to the location of the directory containing .traineddata files for use by Tesseract. The value must be a string representing the full path to the directory.

This searches in a common default location for each platform and will follow symlinks to find the true location of the tessdata directory if one exists.

If your .traineddata files are in a non-standard location, it can be shadowed; i.e. (let ((*tessdata-directory* "/path/to/tessdata"))
(image-to-text #P"~/eurotext.jpg"))

Package

cl-tesseract

Source

library.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.2 Macros

Macro: with-base-api API-NAME &body BODY

This macro creates a TessBaseAPI using TessBaseAPICreate and binds it to api-name. It wraps body with an UNWIND-PROTECT form to ensure that TessBaseAPIEnd and TessBaseAPIDelete are called on api-name upon exit.

Package

cl-tesseract

Source

cl-tesseract.lisp (file)


Previous: , Up: Exported definitions   [Contents][Index]

5.1.3 Functions

Function: image-to-hocr FILEPATH &key LANG PAGE

Runs OCR on the file found at filepath for language lang (English by default). Returns HOCR xml string.

Package

cl-tesseract

Source

cl-tesseract.lisp (file)

Function: image-to-text FILEPATH &key LANG

Runs OCR on the file found at filepath for language lang (English by default). Returns text string.

Package

cl-tesseract

Source

cl-tesseract.lisp (file)

Function: init-tess-api API LANG

Calls TessBaseAPIInit3 on api and sets lang, which should be a string naming a .traineddata file in *tessdata-directory*. Attempting to set a language that is not available will raise an error.

Package

cl-tesseract

Source

cl-tesseract.lisp (file)

Function: process-pages API TRUENAME

This function calls TessBaseAPIProcessPages on api, which should be an initialized TessBaseAPI, and then uses Leptonica to load the image found at truename (which must be a string containing the complete path to the file). It then runs OCR on the image. On SBCL, the division-by-zero float trap is masked to prevent it from causing a non-recoverable error.

The details of your Leptonica installation will determine exactly what image formats this function can process successfully.

Returns T on success, otherwise signals error.

Package

cl-tesseract

Source

cl-tesseract.lisp (file)

Function: tesseract-version ()

Returns Tesseract version as string.

Package

cl-tesseract

Source

cl-tesseract.lisp (file)


Previous: , Up: Definitions   [Contents][Index]

5.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.1 Constants

Constant: false
Package

cl-tesseract

Source

capi.lisp (file)

Constant: true
Package

cl-tesseract

Source

capi.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.2 Macros

Macro: mask-sigfpe &body BODY

Under SBCL, this macro wraps body with SB-INT:WITH-FLOAT-TRAPS-MASKED to prevent a SIGFPE generated by libtesseract from causing a non-recoverable error. On other implementations, simply wraps body in a PROGN.

Package

cl-tesseract

Source

cl-tesseract.lisp (file)


Previous: , Up: Internal definitions   [Contents][Index]

5.2.3 Functions

Function: get-hocr-text API PAGE

This function calls TessBaseAPIGetHOCRText on api, which should be an initialized TessBaseAPI with its image set. If called before another function such as PROCESS-PAGES has carried out OCR on the image, it will be carried out. On SBCL, the division-by-zero float trap is masked to prevent it from causing a non-recoverable error.

Returns a lisp string of the HOCR XML produced by Tesseract. This can be parsed using Common Lisp XML packages such as CLOSURE-XML and plump.

Package

cl-tesseract

Source

cl-tesseract.lisp (file)

Function: get-utf8-text API

This function calls TessBaseAPIGetUTF8Text on api, which should be an initialized TessBaseAPI with its image set. If called before another function such as PROCESS-PAGES has carried out OCR on the image, it will be carried out. On SBCL, the division-by-zero float trap is masked to prevent it from causing a non-recoverable error.

Returns a lisp string of the UTF-8 text produced by Tesseract.

Package

cl-tesseract

Source

cl-tesseract.lisp (file)

Function: tessbaseapiadapttowordstr HANDLE MODE WORDSTR
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapiallwordconfidences HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapianalyselayout HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapiclear HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapiclearadaptiveclassifier HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapiclearpersistentcache HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapicreate ()
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapidelete HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapidetectos HANDLE RESULTS
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapidumppgm HANDLE FILENAME
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapiend HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapifindlinescreateblocklist HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigetavailablelanguagesasvector HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigetboolvariable HANDLE NAME VALUE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigetboxtext HANDLE PAGE_NUMBER
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigetcomponentimages HANDLE LEVEL TEXT_ONLY PIXA BLOCKIDS
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigetcomponentimages1 HANDLE LEVEL TEXT_ONLY RAW_IMAGE RAW_PADDING PIXA BLOCKIDS PARAIDS
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigetconnectedcomponents HANDLE CC
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigetcuberecocontext HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigetdatapath HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigetdawg HANDLE I
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigetdoublevariable HANDLE NAME VALUE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigetfeaturesforblob HANDLE BLOB INT_FEATURES NUM_FEATURES FEATUREOUTLINEINDEX
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigethocrtext HANDLE PAGE_NUMBER
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigetinitlanguagesasstring HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigetinputimage HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigetinputname HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigetintvariable HANDLE NAME VALUE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigetiterator HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigetloadedlanguagesasvector HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigetmutableiterator HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigetopencldevice HANDLE DEVICE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigetpagesegmode HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigetregions HANDLE PIXA
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigetsourceyresolution HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigetstringvariable HANDLE NAME
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigetstrips HANDLE PIXA BLOCKIDS
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigettextdirection HANDLE OUT_OFFSET OUT_SLOPE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigettextlines HANDLE PIXA BLOCKIDS
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigettextlines1 HANDLE RAW_IMAGE RAW_PADDING PIXA BLOCKIDS PARAIDS
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigetthresholdedimage HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigetthresholdedimagescalefactor HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigetunichar HANDLE UNICHAR_ID
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigetunlvtext HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigetutf8text HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigetvariableasstring HANDLE NAME VAL
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapigetwords HANDLE PIXA
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapiinit HANDLE DATAPATH LANGUAGE MODE CONFIGS CONFIGS_SIZE VARS_VEC VARS_VEC_SIZE VARS_VALUES VARS_VALUES_SIZE SET_ONLY_INIT_PARAMS
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapiinit1 HANDLE DATAPATH LANGUAGE OEM CONFIGS CONFIGS_SIZE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapiinit2 HANDLE DATAPATH LANGUAGE OEM
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapiinit3 HANDLE DATAPATH LANGUAGE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapiinit4 HANDLE DATAPATH LANGUAGE MODE CONFIGS CONFIGS_SIZE VARS_VEC VARS_VALUES VARS_VEC_SIZE SET_ONLY_NON_DEBUG_PARAMS
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapiinitforanalysepage HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapiinitlangmod HANDLE DATAPATH LANGUAGE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapiinittruthcallback HANDLE CB
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapiisvalidword HANDLE WORD
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapimeantextconf HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapinumdawgs HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapioem HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapiprintvariables HANDLE FP
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapiprintvariablestofile HANDLE FILENAME
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapiprocesspage HANDLE PIX PAGE_INDEX FILENAME RETRY_CONFIG TIMEOUT_MILLISEC RENDERER
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapiprocesspages HANDLE FILENAME RETRY_CONFIG TIMEOUT_MILLISEC RENDERER
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapireadconfigfile HANDLE FILENAME
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapireaddebugconfigfile HANDLE FILENAME
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapirecognize HANDLE MONITOR
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapirecognizeforchoptest HANDLE MONITOR
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapirect HANDLE IMAGEDATA BYTES_PER_PIXEL BYTES_PER_LINE LEFT TOP WIDTH HEIGHT
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapirunadaptiveclassifier HANDLE BLOB NUM_MAX_MATCHES UNICHAR_IDS RATINGS NUM_MATCHES_RETURNED
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapisetdebugvariable HANDLE NAME VALUE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapisetdictfunc HANDLE F
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapisetfilllatticefunc HANDLE F
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapisetimage HANDLE IMAGEDATA WIDTH HEIGHT BYTES_PER_PIXEL BYTES_PER_LINE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapisetimage2 HANDLE PIX
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapisetinputimage HANDLE PIX
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapisetinputname HANDLE NAME
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapisetminorientationmargin HANDLE MARGIN
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapisetoutputname HANDLE NAME
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapisetpagesegmode HANDLE MODE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapisetprobabilityincontextfunc HANDLE F
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapisetrectangle HANDLE LEFT TOP WIDTH HEIGHT
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapisetsourceresolution HANDLE PPI
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapisetthresholder HANDLE THRESHOLDER
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbaseapisetvariable HANDLE NAME VALUE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessbasegetblocktextorientations HANDLE BLOCK_ORIENTATION VERTICAL_WRITING
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessboxtextrenderercreate OUTPUTBASE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tesschoiceiteratorconfidence HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tesschoiceiteratordelete HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tesschoiceiteratorgetutf8text HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tesschoiceiteratornext HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessdeleteblocklist BLOCK_LIST
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessdeleteintarray ARR
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessdeleteresultrenderer RENDERER
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessdeletetext TEXT
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessdeletetextarray ARR
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessfindrowforbox BLOCKS LEFT TOP RIGHT BOTTOM
Package

cl-tesseract

Source

capi.lisp (file)

Function: tesshocrrenderercreate OUTPUTBASE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tesshocrrenderercreate2 OUTPUTBASE FONT_INFO
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessmaketblob PIX
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessmaketessocrrow BASELINE XHEIGHT DESCENDER ASCENDER
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessnormalizetblob TBLOB ROW NUMERIC_MODE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tesspageiteratorbaseline HANDLE LEVEL X1 Y1 X2 Y2
Package

cl-tesseract

Source

capi.lisp (file)

Function: tesspageiteratorbegin HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tesspageiteratorblocktype HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tesspageiteratorboundingbox HANDLE LEVEL LEFT TOP RIGHT BOTTOM
Package

cl-tesseract

Source

capi.lisp (file)

Function: tesspageiteratorcopy HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tesspageiteratordelete HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tesspageiteratorgetbinaryimage HANDLE LEVEL
Package

cl-tesseract

Source

capi.lisp (file)

Function: tesspageiteratorgetimage HANDLE LEVEL PADDING ORIGINAL_IMAGE LEFT TOP
Package

cl-tesseract

Source

capi.lisp (file)

Function: tesspageiteratorisatbeginningof HANDLE LEVEL
Package

cl-tesseract

Source

capi.lisp (file)

Function: tesspageiteratorisatfinalelement HANDLE LEVEL ELEMENT
Package

cl-tesseract

Source

capi.lisp (file)

Function: tesspageiteratornext HANDLE LEVEL
Package

cl-tesseract

Source

capi.lisp (file)

Function: tesspageiteratororientation HANDLE ORIENTATION WRITING_DIRECTION TEXTLINE_ORDER DESKEW_ANGLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tesspageiteratorparagraphinfo HANDLE JUSTIFICATION IS_LIST_ITEM IS_CROWN FIRST_LINE_INDENT
Package

cl-tesseract

Source

capi.lisp (file)

Function: tesspdfrenderercreate OUTPUTBASE DATADIR
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessresultiteratorconfidence HANDLE LEVEL
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessresultiteratorcopy HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessresultiteratordelete HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessresultiteratorgetchoiceiterator HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessresultiteratorgetpageiterator HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessresultiteratorgetpageiteratorconst HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessresultiteratorgetutf8text HANDLE LEVEL
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessresultiteratornext HANDLE LEVEL
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessresultiteratorsymbolisdropcap HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessresultiteratorsymbolissubscript HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessresultiteratorsymbolissuperscript HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessresultiteratorwordfontattributes HANDLE IS_BOLD IS_ITALIC IS_UNDERLINED IS_MONOSPACE IS_SERIF IS_SMALLCAPS POINTSIZE FONT_ID
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessresultiteratorwordisfromdictionary HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessresultiteratorwordisnumeric HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessresultiteratorwordrecognitionlanguage HANDLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessresultrendereraddimage RENDERER API
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessresultrendererbegindocument RENDERER TITLE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessresultrendererenddocument RENDERER
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessresultrendererextention RENDERER
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessresultrendererimagenum RENDERER
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessresultrendererinsert RENDERER NEXT
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessresultrenderernext RENDERER
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessresultrenderertitle RENDERER
Package

cl-tesseract

Source

capi.lisp (file)

Function: tesstextrenderercreate OUTPUTBASE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessunlvrenderercreate OUTPUTBASE
Package

cl-tesseract

Source

capi.lisp (file)

Function: tessversion ()
Package

cl-tesseract

Source

capi.lisp (file)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   C   F   L  
Index Entry  Section

C
cl-tesseract.asd: The cl-tesseract<dot>asd file
cl-tesseract/capi.lisp: The cl-tesseract/capi<dot>lisp file
cl-tesseract/cl-tesseract.lisp: The cl-tesseract/cl-tesseract<dot>lisp file
cl-tesseract/library.lisp: The cl-tesseract/library<dot>lisp file
cl-tesseract/package.lisp: The cl-tesseract/package<dot>lisp file

F
File, Lisp, cl-tesseract.asd: The cl-tesseract<dot>asd file
File, Lisp, cl-tesseract/capi.lisp: The cl-tesseract/capi<dot>lisp file
File, Lisp, cl-tesseract/cl-tesseract.lisp: The cl-tesseract/cl-tesseract<dot>lisp file
File, Lisp, cl-tesseract/library.lisp: The cl-tesseract/library<dot>lisp file
File, Lisp, cl-tesseract/package.lisp: The cl-tesseract/package<dot>lisp file

L
Lisp File, cl-tesseract.asd: The cl-tesseract<dot>asd file
Lisp File, cl-tesseract/capi.lisp: The cl-tesseract/capi<dot>lisp file
Lisp File, cl-tesseract/cl-tesseract.lisp: The cl-tesseract/cl-tesseract<dot>lisp file
Lisp File, cl-tesseract/library.lisp: The cl-tesseract/library<dot>lisp file
Lisp File, cl-tesseract/package.lisp: The cl-tesseract/package<dot>lisp file

Jump to:   C   F   L  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   F   G   I   M   P   T   W  
Index Entry  Section

F
Function, get-hocr-text: Internal functions
Function, get-utf8-text: Internal functions
Function, image-to-hocr: Exported functions
Function, image-to-text: Exported functions
Function, init-tess-api: Exported functions
Function, process-pages: Exported functions
Function, tessbaseapiadapttowordstr: Internal functions
Function, tessbaseapiallwordconfidences: Internal functions
Function, tessbaseapianalyselayout: Internal functions
Function, tessbaseapiclear: Internal functions
Function, tessbaseapiclearadaptiveclassifier: Internal functions
Function, tessbaseapiclearpersistentcache: Internal functions
Function, tessbaseapicreate: Internal functions
Function, tessbaseapidelete: Internal functions
Function, tessbaseapidetectos: Internal functions
Function, tessbaseapidumppgm: Internal functions
Function, tessbaseapiend: Internal functions
Function, tessbaseapifindlinescreateblocklist: Internal functions
Function, tessbaseapigetavailablelanguagesasvector: Internal functions
Function, tessbaseapigetboolvariable: Internal functions
Function, tessbaseapigetboxtext: Internal functions
Function, tessbaseapigetcomponentimages: Internal functions
Function, tessbaseapigetcomponentimages1: Internal functions
Function, tessbaseapigetconnectedcomponents: Internal functions
Function, tessbaseapigetcuberecocontext: Internal functions
Function, tessbaseapigetdatapath: Internal functions
Function, tessbaseapigetdawg: Internal functions
Function, tessbaseapigetdoublevariable: Internal functions
Function, tessbaseapigetfeaturesforblob: Internal functions
Function, tessbaseapigethocrtext: Internal functions
Function, tessbaseapigetinitlanguagesasstring: Internal functions
Function, tessbaseapigetinputimage: Internal functions
Function, tessbaseapigetinputname: Internal functions
Function, tessbaseapigetintvariable: Internal functions
Function, tessbaseapigetiterator: Internal functions
Function, tessbaseapigetloadedlanguagesasvector: Internal functions
Function, tessbaseapigetmutableiterator: Internal functions
Function, tessbaseapigetopencldevice: Internal functions
Function, tessbaseapigetpagesegmode: Internal functions
Function, tessbaseapigetregions: Internal functions
Function, tessbaseapigetsourceyresolution: Internal functions
Function, tessbaseapigetstringvariable: Internal functions
Function, tessbaseapigetstrips: Internal functions
Function, tessbaseapigettextdirection: Internal functions
Function, tessbaseapigettextlines: Internal functions
Function, tessbaseapigettextlines1: Internal functions
Function, tessbaseapigetthresholdedimage: Internal functions
Function, tessbaseapigetthresholdedimagescalefactor: Internal functions
Function, tessbaseapigetunichar: Internal functions
Function, tessbaseapigetunlvtext: Internal functions
Function, tessbaseapigetutf8text: Internal functions
Function, tessbaseapigetvariableasstring: Internal functions
Function, tessbaseapigetwords: Internal functions
Function, tessbaseapiinit: Internal functions
Function, tessbaseapiinit1: Internal functions
Function, tessbaseapiinit2: Internal functions
Function, tessbaseapiinit3: Internal functions
Function, tessbaseapiinit4: Internal functions
Function, tessbaseapiinitforanalysepage: Internal functions
Function, tessbaseapiinitlangmod: Internal functions
Function, tessbaseapiinittruthcallback: Internal functions
Function, tessbaseapiisvalidword: Internal functions
Function, tessbaseapimeantextconf: Internal functions
Function, tessbaseapinumdawgs: Internal functions
Function, tessbaseapioem: Internal functions
Function, tessbaseapiprintvariables: Internal functions
Function, tessbaseapiprintvariablestofile: Internal functions
Function, tessbaseapiprocesspage: Internal functions
Function, tessbaseapiprocesspages: Internal functions
Function, tessbaseapireadconfigfile: Internal functions
Function, tessbaseapireaddebugconfigfile: Internal functions
Function, tessbaseapirecognize: Internal functions
Function, tessbaseapirecognizeforchoptest: Internal functions
Function, tessbaseapirect: Internal functions
Function, tessbaseapirunadaptiveclassifier: Internal functions
Function, tessbaseapisetdebugvariable: Internal functions
Function, tessbaseapisetdictfunc: Internal functions
Function, tessbaseapisetfilllatticefunc: Internal functions
Function, tessbaseapisetimage: Internal functions
Function, tessbaseapisetimage2: Internal functions
Function, tessbaseapisetinputimage: Internal functions
Function, tessbaseapisetinputname: Internal functions
Function, tessbaseapisetminorientationmargin: Internal functions
Function, tessbaseapisetoutputname: Internal functions
Function, tessbaseapisetpagesegmode: Internal functions
Function, tessbaseapisetprobabilityincontextfunc: Internal functions
Function, tessbaseapisetrectangle: Internal functions
Function, tessbaseapisetsourceresolution: Internal functions
Function, tessbaseapisetthresholder: Internal functions
Function, tessbaseapisetvariable: Internal functions
Function, tessbasegetblocktextorientations: Internal functions
Function, tessboxtextrenderercreate: Internal functions
Function, tesschoiceiteratorconfidence: Internal functions
Function, tesschoiceiteratordelete: Internal functions
Function, tesschoiceiteratorgetutf8text: Internal functions
Function, tesschoiceiteratornext: Internal functions
Function, tessdeleteblocklist: Internal functions
Function, tessdeleteintarray: Internal functions
Function, tessdeleteresultrenderer: Internal functions
Function, tessdeletetext: Internal functions
Function, tessdeletetextarray: Internal functions
Function, tesseract-version: Exported functions
Function, tessfindrowforbox: Internal functions
Function, tesshocrrenderercreate: Internal functions
Function, tesshocrrenderercreate2: Internal functions
Function, tessmaketblob: Internal functions
Function, tessmaketessocrrow: Internal functions
Function, tessnormalizetblob: Internal functions
Function, tesspageiteratorbaseline: Internal functions
Function, tesspageiteratorbegin: Internal functions
Function, tesspageiteratorblocktype: Internal functions
Function, tesspageiteratorboundingbox: Internal functions
Function, tesspageiteratorcopy: Internal functions
Function, tesspageiteratordelete: Internal functions
Function, tesspageiteratorgetbinaryimage: Internal functions
Function, tesspageiteratorgetimage: Internal functions
Function, tesspageiteratorisatbeginningof: Internal functions
Function, tesspageiteratorisatfinalelement: Internal functions
Function, tesspageiteratornext: Internal functions
Function, tesspageiteratororientation: Internal functions
Function, tesspageiteratorparagraphinfo: Internal functions
Function, tesspdfrenderercreate: Internal functions
Function, tessresultiteratorconfidence: Internal functions
Function, tessresultiteratorcopy: Internal functions
Function, tessresultiteratordelete: Internal functions
Function, tessresultiteratorgetchoiceiterator: Internal functions
Function, tessresultiteratorgetpageiterator: Internal functions
Function, tessresultiteratorgetpageiteratorconst: Internal functions
Function, tessresultiteratorgetutf8text: Internal functions
Function, tessresultiteratornext: Internal functions
Function, tessresultiteratorsymbolisdropcap: Internal functions
Function, tessresultiteratorsymbolissubscript: Internal functions
Function, tessresultiteratorsymbolissuperscript: Internal functions
Function, tessresultiteratorwordfontattributes: Internal functions
Function, tessresultiteratorwordisfromdictionary: Internal functions
Function, tessresultiteratorwordisnumeric: Internal functions
Function, tessresultiteratorwordrecognitionlanguage: Internal functions
Function, tessresultrendereraddimage: Internal functions
Function, tessresultrendererbegindocument: Internal functions
Function, tessresultrendererenddocument: Internal functions
Function, tessresultrendererextention: Internal functions
Function, tessresultrendererimagenum: Internal functions
Function, tessresultrendererinsert: Internal functions
Function, tessresultrenderernext: Internal functions
Function, tessresultrenderertitle: Internal functions
Function, tesstextrenderercreate: Internal functions
Function, tessunlvrenderercreate: Internal functions
Function, tessversion: Internal functions

G
get-hocr-text: Internal functions
get-utf8-text: Internal functions

I
image-to-hocr: Exported functions
image-to-text: Exported functions
init-tess-api: Exported functions

M
Macro, mask-sigfpe: Internal macros
Macro, with-base-api: Exported macros
mask-sigfpe: Internal macros

P
process-pages: Exported functions

T
tessbaseapiadapttowordstr: Internal functions
tessbaseapiallwordconfidences: Internal functions
tessbaseapianalyselayout: Internal functions
tessbaseapiclear: Internal functions
tessbaseapiclearadaptiveclassifier: Internal functions
tessbaseapiclearpersistentcache: Internal functions
tessbaseapicreate: Internal functions
tessbaseapidelete: Internal functions
tessbaseapidetectos: Internal functions
tessbaseapidumppgm: Internal functions
tessbaseapiend: Internal functions
tessbaseapifindlinescreateblocklist: Internal functions
tessbaseapigetavailablelanguagesasvector: Internal functions
tessbaseapigetboolvariable: Internal functions
tessbaseapigetboxtext: Internal functions
tessbaseapigetcomponentimages: Internal functions
tessbaseapigetcomponentimages1: Internal functions
tessbaseapigetconnectedcomponents: Internal functions
tessbaseapigetcuberecocontext: Internal functions
tessbaseapigetdatapath: Internal functions
tessbaseapigetdawg: Internal functions
tessbaseapigetdoublevariable: Internal functions
tessbaseapigetfeaturesforblob: Internal functions
tessbaseapigethocrtext: Internal functions
tessbaseapigetinitlanguagesasstring: Internal functions
tessbaseapigetinputimage: Internal functions
tessbaseapigetinputname: Internal functions
tessbaseapigetintvariable: Internal functions
tessbaseapigetiterator: Internal functions
tessbaseapigetloadedlanguagesasvector: Internal functions
tessbaseapigetmutableiterator: Internal functions
tessbaseapigetopencldevice: Internal functions
tessbaseapigetpagesegmode: Internal functions
tessbaseapigetregions: Internal functions
tessbaseapigetsourceyresolution: Internal functions
tessbaseapigetstringvariable: Internal functions
tessbaseapigetstrips: Internal functions
tessbaseapigettextdirection: Internal functions
tessbaseapigettextlines: Internal functions
tessbaseapigettextlines1: Internal functions
tessbaseapigetthresholdedimage: Internal functions
tessbaseapigetthresholdedimagescalefactor: Internal functions
tessbaseapigetunichar: Internal functions
tessbaseapigetunlvtext: Internal functions
tessbaseapigetutf8text: Internal functions
tessbaseapigetvariableasstring: Internal functions
tessbaseapigetwords: Internal functions
tessbaseapiinit: Internal functions
tessbaseapiinit1: Internal functions
tessbaseapiinit2: Internal functions
tessbaseapiinit3: Internal functions
tessbaseapiinit4: Internal functions
tessbaseapiinitforanalysepage: Internal functions
tessbaseapiinitlangmod: Internal functions
tessbaseapiinittruthcallback: Internal functions
tessbaseapiisvalidword: Internal functions
tessbaseapimeantextconf: Internal functions
tessbaseapinumdawgs: Internal functions
tessbaseapioem: Internal functions
tessbaseapiprintvariables: Internal functions
tessbaseapiprintvariablestofile: Internal functions
tessbaseapiprocesspage: Internal functions
tessbaseapiprocesspages: Internal functions
tessbaseapireadconfigfile: Internal functions
tessbaseapireaddebugconfigfile: Internal functions
tessbaseapirecognize: Internal functions
tessbaseapirecognizeforchoptest: Internal functions
tessbaseapirect: Internal functions
tessbaseapirunadaptiveclassifier: Internal functions
tessbaseapisetdebugvariable: Internal functions
tessbaseapisetdictfunc: Internal functions
tessbaseapisetfilllatticefunc: Internal functions
tessbaseapisetimage: Internal functions
tessbaseapisetimage2: Internal functions
tessbaseapisetinputimage: Internal functions
tessbaseapisetinputname: Internal functions
tessbaseapisetminorientationmargin: Internal functions
tessbaseapisetoutputname: Internal functions
tessbaseapisetpagesegmode: Internal functions
tessbaseapisetprobabilityincontextfunc: Internal functions
tessbaseapisetrectangle: Internal functions
tessbaseapisetsourceresolution: Internal functions
tessbaseapisetthresholder: Internal functions
tessbaseapisetvariable: Internal functions
tessbasegetblocktextorientations: Internal functions
tessboxtextrenderercreate: Internal functions
tesschoiceiteratorconfidence: Internal functions
tesschoiceiteratordelete: Internal functions
tesschoiceiteratorgetutf8text: Internal functions
tesschoiceiteratornext: Internal functions
tessdeleteblocklist: Internal functions
tessdeleteintarray: Internal functions
tessdeleteresultrenderer: Internal functions
tessdeletetext: Internal functions
tessdeletetextarray: Internal functions
tesseract-version: Exported functions
tessfindrowforbox: Internal functions
tesshocrrenderercreate: Internal functions
tesshocrrenderercreate2: Internal functions
tessmaketblob: Internal functions
tessmaketessocrrow: Internal functions
tessnormalizetblob: Internal functions
tesspageiteratorbaseline: Internal functions
tesspageiteratorbegin: Internal functions
tesspageiteratorblocktype: Internal functions
tesspageiteratorboundingbox: Internal functions
tesspageiteratorcopy: Internal functions
tesspageiteratordelete: Internal functions
tesspageiteratorgetbinaryimage: Internal functions
tesspageiteratorgetimage: Internal functions
tesspageiteratorisatbeginningof: Internal functions
tesspageiteratorisatfinalelement: Internal functions
tesspageiteratornext: Internal functions
tesspageiteratororientation: Internal functions
tesspageiteratorparagraphinfo: Internal functions
tesspdfrenderercreate: Internal functions
tessresultiteratorconfidence: Internal functions
tessresultiteratorcopy: Internal functions
tessresultiteratordelete: Internal functions
tessresultiteratorgetchoiceiterator: Internal functions
tessresultiteratorgetpageiterator: Internal functions
tessresultiteratorgetpageiteratorconst: Internal functions
tessresultiteratorgetutf8text: Internal functions
tessresultiteratornext: Internal functions
tessresultiteratorsymbolisdropcap: Internal functions
tessresultiteratorsymbolissubscript: Internal functions
tessresultiteratorsymbolissuperscript: Internal functions
tessresultiteratorwordfontattributes: Internal functions
tessresultiteratorwordisfromdictionary: Internal functions
tessresultiteratorwordisnumeric: Internal functions
tessresultiteratorwordrecognitionlanguage: Internal functions
tessresultrendereraddimage: Internal functions
tessresultrendererbegindocument: Internal functions
tessresultrendererenddocument: Internal functions
tessresultrendererextention: Internal functions
tessresultrendererimagenum: Internal functions
tessresultrendererinsert: Internal functions
tessresultrenderernext: Internal functions
tessresultrenderertitle: Internal functions
tesstextrenderercreate: Internal functions
tessunlvrenderercreate: Internal functions
tessversion: Internal functions

W
with-base-api: Exported macros

Jump to:   F   G   I   M   P   T   W  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   *  
C   F   S   T  
Index Entry  Section

*
*tessdata-directory*: Exported special variables

C
Constant, false: Internal constants
Constant, true: Internal constants

F
false: Internal constants

S
Special Variable, *tessdata-directory*: Exported special variables

T
true: Internal constants

Jump to:   *  
C   F   S   T  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   C   P   S  
Index Entry  Section

C
cl-tesseract: The cl-tesseract system
cl-tesseract: The cl-tesseract package

P
Package, cl-tesseract: The cl-tesseract package

S
System, cl-tesseract: The cl-tesseract system

Jump to:   C   P   S