James R. Barlow
66c03c9166
Revise after code review
2016-12-11 22:26:05 +01:00
James R. Barlow
bdb690ba06
Implement a new orientation and script detection API for C and C++
...
See issue #424 .
The existing C API for TessBaseAPIDetectOS requires a C caller to successfully allocate struct OSResults which is actually a C++ class. Generally it won't
be possible for a regular C compiler to do this properly.
It's also assumed that most API level users of Tesseract are only interested in Tesseract's best guess as to script and orientation, not the individual values for all possible scripts.
This introduces a new API with a better name that is more closely aligned with the output of 'tesseract -psm 0'. Both tesseract -psm 0 and this API now share the same code in baseapi.cpp.
2016-12-11 22:25:59 +01:00
Zdenko Podobný
75e27414eb
add copyright to C-API
2016-03-18 19:17:09 +01:00
Zdenko Podobný
628de5ba3f
enable pdfrender with NO_CUBE_BUILD
2015-08-07 23:20:22 +02:00
Zdenko Podobný
41478fd5a1
implement build without cube (-DNO_CUBE_BUILD)
2015-07-24 11:51:44 +02:00
Zdenko Podobný
473141c1de
fix bool in c-api
2014-12-28 17:55:56 +01:00
Zdenko Podobný
4da712d04d
Add paragraph info to C-API(fix issue 1388)
2014-12-07 14:07:14 +01:00
Zdenko Podobný
239f350a72
remove const from C API TessResultIteratorGetChoiceIterator (issue 1342)
2014-10-14 22:46:11 +02:00
zdenop
1156098567
Add font info to hocr output - fix issue 1219
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1132 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-08-03 16:22:12 +00:00
zdenop
e64f555567
fix Issue 1223: TessPolyBlockType enum is outdated in C-API
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1112 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-05-31 20:31:48 +00:00
zdenop
19c4c2f0e7
fix C-API to resent C++ API changes - thanks to Nick White
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1109 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-05-25 21:03:11 +00:00
zdenop
979f9cafe5
Add word recognition language to C-API - fix issue 1200
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1102 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-05-16 18:35:54 +00:00
zdenop
30f6ae6742
amendment to r1091
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1095 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-05-07 20:53:03 +00:00
zdenop
bc09cd9040
fix formating in C-API and add TessChoiceIteratorDelete
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1092 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-05-03 20:21:37 +00:00
zdenop
f86e9d83d4
add ChoiceIterator to C-API - fix issue 1149
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1091 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-05-03 09:29:20 +00:00
zdenop
f01ea0e485
C-API: remove comments
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1047 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-02-04 20:01:55 +00:00
zdenop
4e526f987e
C-API: another update API based on changes in baseapi.h
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1041 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-02-03 13:24:55 +00:00
zdenop
0e238d43ba
C-API: update API based on changes in baseapi.h; add renderer
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1040 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-02-02 23:50:47 +00:00
zdenop
080e0c028a
C-API: add function to set init parameter during Init with c-string array
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1036 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-02-01 10:36:40 +00:00
theraysmith@gmail.com
4d514d5a60
Major refactor of beam search, elimination of dead code, misc bug fixes, updates to Makefile.am, Changelog etc.
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@878 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2013-09-23 15:26:50 +00:00
zdenop@gmail.com
1032cb1692
fix issue 881: capi.h redefines things from Leptonica, causing compilation failures
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@836 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2013-04-29 17:57:21 +00:00
zdenop@gmail.com
23f1d16037
fix fox issue 346 / GetAvailableLanguagesAsVector
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@760 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-09-24 05:20:23 +00:00
zdenop@gmail.com
dc8bd4682b
C-API (fix issue 362)
...
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@759 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-09-24 05:14:11 +00:00