-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy patha00011_source.html
294 lines (292 loc) · 252 KB
/
a00011_source.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>tesseract: /usr/src/tesseract-ocr.master/src/api/capi.cpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">tesseract
 <span id="projectnumber">4.0.0-1-g2a2b</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('a00011_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="headertitle">
<div class="title">capi.cpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="a00011.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// File: capi.cpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// Description: C-API TessBaseAPI</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">//</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// (C) Copyright 2012, Google Inc.</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">// Licensed under the Apache License, Version 2.0 (the "License");</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// you may not use this file except in compliance with the License.</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">// You may obtain a copy of the License at</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// distributed under the License is distributed on an "AS IS" BASIS,</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// See the License for the specific language governing permissions and</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// limitations under the License.</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">//</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"></span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#ifndef TESS_CAPI_INCLUDE_BASEAPI</span></div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="a00011.html#a2bd0b6e911fd0f99cee48768b4145a7e"> 19</a></span> <span class="preprocessor"># define TESS_CAPI_INCLUDE_BASEAPI</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include "<a class="code" href="a00014.html">capi.h</a>"</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include "<a class="code" href="a00518.html">genericvector.h</a>"</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include "<a class="code" href="a00584.html">strngs.h</a>"</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="a00014.html#a39bd2da8c36f62d22dad4f36f18b21e6"> 25</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a39bd2da8c36f62d22dad4f36f18b21e6">TessVersion</a>()</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> {</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="keywordflow">return</span> TessBaseAPI::Version();</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> }</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="a00014.html#af0ac5466f656b99f68b9c599be423343"> 30</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#af0ac5466f656b99f68b9c599be423343">TessDeleteText</a>(<span class="keywordtype">char</span>* text)</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> {</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keyword">delete</span> [] text;</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> }</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="a00014.html#a1adb8ed4a3da3197931ffe3fe5951f87"> 35</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a1adb8ed4a3da3197931ffe3fe5951f87">TessDeleteTextArray</a>(<span class="keywordtype">char</span>** arr)</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> {</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keywordflow">for</span> (<span class="keywordtype">char</span>** pos = arr; *pos != <span class="keyword">nullptr</span>; ++pos)</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keyword">delete</span> [] *pos;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keyword">delete</span> [] arr;</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> }</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="a00014.html#ab892431cc9996eae6590fa2ecb773bd3"> 42</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ab892431cc9996eae6590fa2ecb773bd3">TessDeleteIntArray</a>(<span class="keywordtype">int</span>* arr)</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> {</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keyword">delete</span> [] arr;</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> }</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="preprocessor">#ifndef DISABLED_LEGACY_ENGINE</span></div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="a00011.html#af5e90d0092591ff484fb97a429207d61"> 48</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#af5e90d0092591ff484fb97a429207d61">TessDeleteBlockList</a>(BLOCK_LIST* block_list)</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> {</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  TessBaseAPI::DeleteBlockList(block_list);</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> }</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="a00014.html#ac49d969dfca77da40e3de99825fba74f"> 54</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#a79b401fe19433464a13b416108deb755">TessResultRenderer</a>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ac49d969dfca77da40e3de99825fba74f">TessTextRendererCreate</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* outputbase)</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> {</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="a00014.html#a872e38dd847848a617d771dd3adce886">TessTextRenderer</a>(outputbase);</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> }</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="a00014.html#a43a67bd2a39b27ce41311c8c240215ff"> 59</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#a79b401fe19433464a13b416108deb755">TessResultRenderer</a>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a43a67bd2a39b27ce41311c8c240215ff">TessHOcrRendererCreate</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* outputbase)</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> {</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="a00014.html#af1b3b93f62e68981a0be10bf67ce641a">TessHOcrRenderer</a>(outputbase);</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> }</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="a00014.html#a1168a3533e23fe6551c724314a190224"> 64</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#a79b401fe19433464a13b416108deb755">TessResultRenderer</a>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a1168a3533e23fe6551c724314a190224">TessHOcrRendererCreate2</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* outputbase, <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> font_info)</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> {</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="a00014.html#af1b3b93f62e68981a0be10bf67ce641a">TessHOcrRenderer</a>(outputbase, font_info);</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> }</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="a00014.html#a5497911e671fae633358de550a700c03"> 69</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#a79b401fe19433464a13b416108deb755">TessResultRenderer</a>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a5497911e671fae633358de550a700c03">TessPDFRendererCreate</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* outputbase, <span class="keyword">const</span> <span class="keywordtype">char</span>* datadir,</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> textonly)</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> {</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="a00014.html#a31717883a37a7332c296efcd04a08963">TessPDFRenderer</a>(outputbase, datadir, textonly);</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> }</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="a00014.html#a08aac01e35d4bbc7ea96587a6a513dfc"> 75</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#a79b401fe19433464a13b416108deb755">TessResultRenderer</a>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a08aac01e35d4bbc7ea96587a6a513dfc">TessUnlvRendererCreate</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* outputbase)</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> {</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="a00014.html#ac9242125c22e99e11c97021e7d68cc38">TessUnlvRenderer</a>(outputbase);</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> }</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> </div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="a00014.html#a71e0e646a9b6926f95276a8c5ced9908"> 80</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#a79b401fe19433464a13b416108deb755">TessResultRenderer</a>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a71e0e646a9b6926f95276a8c5ced9908">TessBoxTextRendererCreate</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* outputbase)</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span> {</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="a00014.html#ac1e76e08a467d79ae8d359ba56906d5c">TessBoxTextRenderer</a>(outputbase);</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> }</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="a00014.html#a826edd2d238954182571350fc64ee471"> 85</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a826edd2d238954182571350fc64ee471">TessDeleteResultRenderer</a>(<a class="code" href="a00014.html#a79b401fe19433464a13b416108deb755">TessResultRenderer</a>* renderer)</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> {</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keyword">delete</span> renderer;</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> }</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span> </div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="a00014.html#a3f37c98223f3cc673a581f043b98e33f"> 90</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a3f37c98223f3cc673a581f043b98e33f">TessResultRendererInsert</a>(<a class="code" href="a00014.html#a79b401fe19433464a13b416108deb755">TessResultRenderer</a>* renderer, <a class="code" href="a00014.html#a79b401fe19433464a13b416108deb755">TessResultRenderer</a>* next)</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> {</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  renderer->insert(next);</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> }</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="a00014.html#ae4abcef56199572bf8132d8247e4715f"> 95</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#a79b401fe19433464a13b416108deb755">TessResultRenderer</a>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ae4abcef56199572bf8132d8247e4715f">TessResultRendererNext</a>(<a class="code" href="a00014.html#a79b401fe19433464a13b416108deb755">TessResultRenderer</a>* renderer)</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> {</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keywordflow">return</span> renderer->next();</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span> }</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div><div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="a00014.html#ab162cda842c24f77a979f927ae1c336f"> 100</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ab162cda842c24f77a979f927ae1c336f">TessResultRendererBeginDocument</a>(<a class="code" href="a00014.html#a79b401fe19433464a13b416108deb755">TessResultRenderer</a>* renderer, <span class="keyword">const</span> <span class="keywordtype">char</span>* title)</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span> {</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keywordflow">return</span> renderer->BeginDocument(title);</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span> }</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span> </div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="a00014.html#ad468caa7495822db619b74bbfaafa586"> 105</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ad468caa7495822db619b74bbfaafa586">TessResultRendererAddImage</a>(<a class="code" href="a00014.html#a79b401fe19433464a13b416108deb755">TessResultRenderer</a>* renderer, <a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* api)</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span> {</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keywordflow">return</span> renderer->AddImage(api);</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span> }</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span> </div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="a00014.html#abc1a4f05146ce0d9479447d73f926158"> 110</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#abc1a4f05146ce0d9479447d73f926158">TessResultRendererEndDocument</a>(<a class="code" href="a00014.html#a79b401fe19433464a13b416108deb755">TessResultRenderer</a>* renderer)</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span> {</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keywordflow">return</span> renderer->EndDocument();</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span> }</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> </div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="a00014.html#afc8fb27d605ee596066bbd90eea38ac7"> 115</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#afc8fb27d605ee596066bbd90eea38ac7">TessResultRendererExtention</a>(<a class="code" href="a00014.html#a79b401fe19433464a13b416108deb755">TessResultRenderer</a>* renderer)</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span> {</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keywordflow">return</span> renderer->file_extension();</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span> }</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span> </div><div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="a00014.html#a7fd8e38769999f3d1a8f1df1dfb6b0b9"> 120</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a7fd8e38769999f3d1a8f1df1dfb6b0b9">TessResultRendererTitle</a>(<a class="code" href="a00014.html#a79b401fe19433464a13b416108deb755">TessResultRenderer</a>* renderer)</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span> {</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keywordflow">return</span> renderer->title();</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span> }</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span> </div><div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="a00014.html#ac51aacae360670b0499d599fb64934d0"> 125</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">int</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ac51aacae360670b0499d599fb64934d0">TessResultRendererImageNum</a>(<a class="code" href="a00014.html#a79b401fe19433464a13b416108deb755">TessResultRenderer</a>* renderer)</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span> {</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keywordflow">return</span> renderer->imagenum();</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span> }</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span> </div><div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="a00014.html#a675463ec9a73659632bf3b08e0c352dd"> 130</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a675463ec9a73659632bf3b08e0c352dd">TessBaseAPICreate</a>()</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span> {</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>;</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span> }</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span> </div><div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="a00014.html#a14f98256f4902cd332cd15a616ec48de"> 135</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a14f98256f4902cd332cd15a616ec48de">TessBaseAPIDelete</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle)</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span> {</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="keyword">delete</span> handle;</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span> }</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span> </div><div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="a00014.html#a2eac059f6c117c95382b85fbdba567fc"> 140</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">size_t</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a2eac059f6c117c95382b85fbdba567fc">TessBaseAPIGetOpenCLDevice</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keywordtype">void</span> **device)</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span> {</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keywordflow">return</span> handle->getOpenCLDevice(device);</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span> }</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span> </div><div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="a00014.html#acf0c584e90c44ba34f4fac60b71e9bb9"> 145</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#acf0c584e90c44ba34f4fac60b71e9bb9">TessBaseAPISetInputName</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span> {</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  handle->SetInputName(name);</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span> }</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span> </div><div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="a00014.html#ac5deaa694b9573a45f51d2a95a60b4f3"> 150</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ac5deaa694b9573a45f51d2a95a60b4f3">TessBaseAPIGetInputName</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle)</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span> {</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <span class="keywordflow">return</span> handle->GetInputName();</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span> }</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span> </div><div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="a00014.html#a4d72b46ab6a56f8f23a9472a4e0f4a46"> 155</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a35820638d5e3fcec91de68362909804a">TessBaseAPISetInputImage</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, Pix* pix)</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span> {</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  handle->SetInputImage(pix);</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span> }</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span> </div><div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="a00014.html#a1942321d83c3b974c21dc08193f1728a"> 160</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> Pix* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a1aa31e2a448cb701def25963167134e3">TessBaseAPIGetInputImage</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle)</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span> {</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keywordflow">return</span> handle->GetInputImage();</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span> }</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span> </div><div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="a00014.html#abbe5b4fbb8aa168790a90edba9852fc6"> 165</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">int</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#abbe5b4fbb8aa168790a90edba9852fc6">TessBaseAPIGetSourceYResolution</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle)</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span> {</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keywordflow">return</span> handle->GetSourceYResolution();</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span> }</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span> </div><div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="a00014.html#adb571c26660459f5237815ea6d23c431"> 170</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#adb571c26660459f5237815ea6d23c431">TessBaseAPIGetDatapath</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle)</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span> {</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keywordflow">return</span> handle->GetDatapath();</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span> }</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span> </div><div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="a00014.html#ab9e8e32aa2db580c81f654f028bac0ee"> 175</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ab9e8e32aa2db580c81f654f028bac0ee">TessBaseAPISetOutputName</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span> {</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  handle->SetOutputName(name);</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span> }</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span> </div><div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="a00014.html#ad4bf84101a182acc2bf2729b3560317d"> 180</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ad4bf84101a182acc2bf2729b3560317d">TessBaseAPISetVariable</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keyword">const</span> <span class="keywordtype">char</span>* value)</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span> {</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="keywordflow">return</span> handle->SetVariable(name, value) ? <a class="code" href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a> : <a class="code" href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>;</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span> }</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span> </div><div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="a00014.html#a8250386a3374fc36f4e50b3ea49b6bbe"> 185</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a8250386a3374fc36f4e50b3ea49b6bbe">TessBaseAPISetDebugVariable</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keyword">const</span> <span class="keywordtype">char</span>* value)</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span> {</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <span class="keywordflow">return</span> handle->SetVariable(name, value) ? <a class="code" href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a> : <a class="code" href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>;</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span> }</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span> </div><div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="a00014.html#a747f41f6325c29a372f5a461d15ca0a6"> 190</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a747f41f6325c29a372f5a461d15ca0a6">TessBaseAPIGetIntVariable</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keywordtype">int</span>* value)</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span> {</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keywordflow">return</span> handle->GetIntVariable(name, value) ? <a class="code" href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a> : <a class="code" href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>;</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span> }</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span> </div><div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="a00014.html#a5333521fbdafa93ade03b995eddbdcab"> 195</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a5333521fbdafa93ade03b995eddbdcab">TessBaseAPIGetBoolVariable</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* name, <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a>* value)</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span> {</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="keywordtype">bool</span> boolValue;</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  <span class="keywordflow">if</span> (handle->GetBoolVariable(name, &boolValue))</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  {</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  *value = boolValue ? <a class="code" href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a> : <a class="code" href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>;</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  <span class="keywordflow">return</span> <a class="code" href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a>;</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  }</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <span class="keywordflow">else</span></div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  {</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="keywordflow">return</span> <a class="code" href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>;</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  }</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span> }</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span> </div><div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="a00014.html#a839e1399d48dcc7d50d48ff91625146d"> 209</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a839e1399d48dcc7d50d48ff91625146d">TessBaseAPIGetDoubleVariable</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keywordtype">double</span>* value)</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span> {</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="keywordflow">return</span> handle->GetDoubleVariable(name, value) ? <a class="code" href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a> : <a class="code" href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>;</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span> }</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span> </div><div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="a00014.html#a97fce49c5ad62991da8c97d4c85f4580"> 214</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a97fce49c5ad62991da8c97d4c85f4580">TessBaseAPIGetStringVariable</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span> {</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  <span class="keywordflow">return</span> handle->GetStringVariable(name);</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span> }</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span> </div><div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="a00014.html#aaf6e2d68784442ca67a2c74d6baa233a"> 219</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#aaf6e2d68784442ca67a2c74d6baa233a">TessBaseAPIPrintVariables</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, FILE* fp)</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span> {</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  handle->PrintVariables(fp);</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span> }</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span> </div><div class="line"><a name="l00224"></a><span class="lineno"><a class="line" href="a00014.html#aeeef3ac31b9d1baa08f3d4eaf68a604f"> 224</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#aeeef3ac31b9d1baa08f3d4eaf68a604f">TessBaseAPIPrintVariablesToFile</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* filename)</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span> {</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  FILE* fp = fopen(filename, <span class="stringliteral">"w"</span>);</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  <span class="keywordflow">if</span> (fp != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  {</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  handle->PrintVariables(fp);</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  fclose(fp);</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <span class="keywordflow">return</span> <a class="code" href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a>;</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  }</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  <span class="keywordflow">return</span> <a class="code" href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>;</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span> }</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span> </div><div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="a00011.html#aec9b3b37afbbb708d9ce2672c74ecafe"> 236</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#aec9b3b37afbbb708d9ce2672c74ecafe">TessBaseAPIGetVariableAsString</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* name, <a class="code" href="a02834.html">STRING</a>* val)</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span> {</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  <span class="keywordflow">return</span> handle->GetVariableAsString(name, val) ? <a class="code" href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a> : <a class="code" href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>;</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span> }</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span> </div><div class="line"><a name="l00241"></a><span class="lineno"><a class="line" href="a00014.html#ad1a75c9034d3aa72865b9720f8fce333"> 241</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">int</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ad1a75c9034d3aa72865b9720f8fce333">TessBaseAPIInit4</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* datapath, <span class="keyword">const</span> <span class="keywordtype">char</span>* language,</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  <a class="code" href="a00014.html#ae3f1ba7cb9eefb2195a5df6fdf86010a">TessOcrEngineMode</a> mode, <span class="keywordtype">char</span>** configs, <span class="keywordtype">int</span> configs_size,</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  <span class="keywordtype">char</span>** vars_vec, <span class="keywordtype">char</span>** vars_values, <span class="keywordtype">size_t</span> vars_vec_size,</div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> set_only_non_debug_params)</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span> {</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  <a class="code" href="a02182.html">GenericVector<STRING></a> varNames;</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  <a class="code" href="a02182.html">GenericVector<STRING></a> varValues;</div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  <span class="keywordflow">if</span> (vars_vec != <span class="keyword">nullptr</span> && vars_values != <span class="keyword">nullptr</span>) {</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i = 0; i < vars_vec_size; i++) {</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  varNames.<a class="code" href="a02182.html#a0dc89fe2a365b04a61017f9d78c1a303">push_back</a>(<a class="code" href="a02834.html">STRING</a>(vars_vec[i]));</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  varValues.<a class="code" href="a02182.html#a0dc89fe2a365b04a61017f9d78c1a303">push_back</a>(<a class="code" href="a02834.html">STRING</a>(vars_values[i]));</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  }</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  }</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span> </div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  <span class="keywordflow">return</span> handle->Init(datapath, language, mode, configs, configs_size, &varNames, &varValues, set_only_non_debug_params);</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span> }</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span> </div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span> </div><div class="line"><a name="l00259"></a><span class="lineno"><a class="line" href="a00014.html#a7853cfc74c26df554429b695706cc76b"> 259</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">int</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a7853cfc74c26df554429b695706cc76b">TessBaseAPIInit1</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* datapath, <span class="keyword">const</span> <span class="keywordtype">char</span>* language, <a class="code" href="a00014.html#ae3f1ba7cb9eefb2195a5df6fdf86010a">TessOcrEngineMode</a> oem,</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  <span class="keywordtype">char</span>** configs, <span class="keywordtype">int</span> configs_size)</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span> {</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  <span class="keywordflow">return</span> handle->Init(datapath, language, oem, configs, configs_size, <span class="keyword">nullptr</span>, <span class="keyword">nullptr</span>, <span class="keyword">false</span>);</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span> }</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span> </div><div class="line"><a name="l00265"></a><span class="lineno"><a class="line" href="a00014.html#a3de2bd4fdcdab575e0c99da3222de36a"> 265</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">int</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a3de2bd4fdcdab575e0c99da3222de36a">TessBaseAPIInit2</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* datapath, <span class="keyword">const</span> <span class="keywordtype">char</span>* language, <a class="code" href="a00014.html#ae3f1ba7cb9eefb2195a5df6fdf86010a">TessOcrEngineMode</a> oem)</div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span> {</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  <span class="keywordflow">return</span> handle->Init(datapath, language, oem);</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span> }</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span> </div><div class="line"><a name="l00270"></a><span class="lineno"><a class="line" href="a00014.html#acaa08cf1b5cf800ed735d76bba41ff58"> 270</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">int</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#acaa08cf1b5cf800ed735d76bba41ff58">TessBaseAPIInit3</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* datapath, <span class="keyword">const</span> <span class="keywordtype">char</span>* language)</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span> {</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  <span class="keywordflow">return</span> handle->Init(datapath, language);</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span> }</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span> </div><div class="line"><a name="l00275"></a><span class="lineno"><a class="line" href="a00014.html#add7e55da8ef21ed7f886fc4120e4da68"> 275</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#add7e55da8ef21ed7f886fc4120e4da68">TessBaseAPIGetInitLanguagesAsString</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle)</div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span> {</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  <span class="keywordflow">return</span> handle->GetInitLanguagesAsString();</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span> }</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span> </div><div class="line"><a name="l00280"></a><span class="lineno"><a class="line" href="a00014.html#a3f3ba5c97886985df81ec1bb2e9e7d2e"> 280</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">char</span>** <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a3f3ba5c97886985df81ec1bb2e9e7d2e">TessBaseAPIGetLoadedLanguagesAsVector</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle)</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span> {</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  <a class="code" href="a02182.html">GenericVector<STRING></a> languages;</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  handle->GetLoadedLanguagesAsVector(&languages);</div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  <span class="keywordtype">char</span>** arr = <span class="keyword">new</span> <span class="keywordtype">char</span>*[languages.<a class="code" href="a02182.html#a20cfad5c58c50cb85a9529d8ddbd96af">size</a>() + 1];</div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> index = 0; index < languages.<a class="code" href="a02182.html#a20cfad5c58c50cb85a9529d8ddbd96af">size</a>(); ++index)</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  arr[index] = languages[index].strdup();</div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  arr[languages.<a class="code" href="a02182.html#a20cfad5c58c50cb85a9529d8ddbd96af">size</a>()] = <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  <span class="keywordflow">return</span> arr;</div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span> }</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span> </div><div class="line"><a name="l00291"></a><span class="lineno"><a class="line" href="a00014.html#ab59ca135a53a1b464dc81e20db8748b8"> 291</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">char</span>** <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ab59ca135a53a1b464dc81e20db8748b8">TessBaseAPIGetAvailableLanguagesAsVector</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle)</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span> {</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  <a class="code" href="a02182.html">GenericVector<STRING></a> languages;</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  handle->GetAvailableLanguagesAsVector(&languages);</div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  <span class="keywordtype">char</span>** arr = <span class="keyword">new</span> <span class="keywordtype">char</span>*[languages.<a class="code" href="a02182.html#a20cfad5c58c50cb85a9529d8ddbd96af">size</a>() + 1];</div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> index = 0; index < languages.<a class="code" href="a02182.html#a20cfad5c58c50cb85a9529d8ddbd96af">size</a>(); ++index)</div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  arr[index] = languages[index].strdup();</div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  arr[languages.<a class="code" href="a02182.html#a20cfad5c58c50cb85a9529d8ddbd96af">size</a>()] = <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  <span class="keywordflow">return</span> arr;</div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span> }</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span> </div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span> <span class="preprocessor">#ifndef DISABLED_LEGACY_ENGINE</span></div><div class="line"><a name="l00303"></a><span class="lineno"><a class="line" href="a00014.html#add51c6057c093d88185aaea21a37cd3f"> 303</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">int</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#add51c6057c093d88185aaea21a37cd3f">TessBaseAPIInitLangMod</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* datapath, <span class="keyword">const</span> <span class="keywordtype">char</span>* language)</div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span> {</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  <span class="keywordflow">return</span> handle->InitLangMod(datapath, language);</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span> }</div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span> </div><div class="line"><a name="l00309"></a><span class="lineno"><a class="line" href="a00014.html#a0e9db9c0d3dc9967f09741a0727f268c"> 309</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a0e9db9c0d3dc9967f09741a0727f268c">TessBaseAPIInitForAnalysePage</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle)</div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span> {</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  handle->InitForAnalysePage();</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span> }</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span> </div><div class="line"><a name="l00314"></a><span class="lineno"><a class="line" href="a00014.html#ab0c4aac6cdb0d0be113bd1c0f0ed21b9"> 314</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ab0c4aac6cdb0d0be113bd1c0f0ed21b9">TessBaseAPIReadConfigFile</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* filename)</div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span> {</div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  handle->ReadConfigFile(filename);</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span> }</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span> </div><div class="line"><a name="l00319"></a><span class="lineno"><a class="line" href="a00014.html#a3591ecae0e05c1c32696283426e53c83"> 319</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a3591ecae0e05c1c32696283426e53c83">TessBaseAPIReadDebugConfigFile</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* filename)</div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span> {</div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  handle->ReadDebugConfigFile(filename);</div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span> }</div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span> </div><div class="line"><a name="l00324"></a><span class="lineno"><a class="line" href="a00014.html#ab211cd557a93588513c758436b208d8e"> 324</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ab211cd557a93588513c758436b208d8e">TessBaseAPISetPageSegMode</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <a class="code" href="a00014.html#a4d1f965486ce272064ffdbd7a618234c">TessPageSegMode</a> mode)</div><div class="line"><a name="l00325"></a><span class="lineno"> 325</span> {</div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  handle->SetPageSegMode(mode);</div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span> }</div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span> </div><div class="line"><a name="l00329"></a><span class="lineno"><a class="line" href="a00014.html#a9d9543267829eeda49afa38054d34440"> 329</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#a4d1f965486ce272064ffdbd7a618234c">TessPageSegMode</a> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a9d9543267829eeda49afa38054d34440">TessBaseAPIGetPageSegMode</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle)</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span> {</div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  <span class="keywordflow">return</span> handle->GetPageSegMode();</div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span> }</div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span> </div><div class="line"><a name="l00334"></a><span class="lineno"><a class="line" href="a00014.html#a65f571d866580122a034378f7da6237f"> 334</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">char</span>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a65f571d866580122a034378f7da6237f">TessBaseAPIRect</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* imagedata,</div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  <span class="keywordtype">int</span> bytes_per_pixel, <span class="keywordtype">int</span> bytes_per_line,</div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  <span class="keywordtype">int</span> left, <span class="keywordtype">int</span> top, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height)</div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span> {</div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  <span class="keywordflow">return</span> handle->TesseractRect(imagedata, bytes_per_pixel, bytes_per_line, left, top, width, height);</div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span> }</div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span> </div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span> <span class="preprocessor">#ifndef DISABLED_LEGACY_ENGINE</span></div><div class="line"><a name="l00342"></a><span class="lineno"><a class="line" href="a00014.html#afc0c4cdfa0f394d4ca46addb1bd6555e"> 342</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#afc0c4cdfa0f394d4ca46addb1bd6555e">TessBaseAPIClearAdaptiveClassifier</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle)</div><div class="line"><a name="l00343"></a><span class="lineno"> 343</span> {</div><div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  handle->ClearAdaptiveClassifier();</div><div class="line"><a name="l00345"></a><span class="lineno"> 345</span> }</div><div class="line"><a name="l00346"></a><span class="lineno"> 346</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00347"></a><span class="lineno"> 347</span> </div><div class="line"><a name="l00348"></a><span class="lineno"><a class="line" href="a00014.html#a91b6f4e61d40c982c6c2d5c8cd4cbf73"> 348</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a91b6f4e61d40c982c6c2d5c8cd4cbf73">TessBaseAPISetImage</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* imagedata, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height,</div><div class="line"><a name="l00349"></a><span class="lineno"> 349</span>  <span class="keywordtype">int</span> bytes_per_pixel, <span class="keywordtype">int</span> bytes_per_line)</div><div class="line"><a name="l00350"></a><span class="lineno"> 350</span> {</div><div class="line"><a name="l00351"></a><span class="lineno"> 351</span>  handle->SetImage(imagedata, width, height, bytes_per_pixel, bytes_per_line);</div><div class="line"><a name="l00352"></a><span class="lineno"> 352</span> }</div><div class="line"><a name="l00353"></a><span class="lineno"> 353</span> </div><div class="line"><a name="l00354"></a><span class="lineno"><a class="line" href="a00014.html#a7f32f365c8062410070749693c5bfad9"> 354</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a7f32f365c8062410070749693c5bfad9">TessBaseAPISetImage2</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keyword">struct</span> Pix* pix)</div><div class="line"><a name="l00355"></a><span class="lineno"> 355</span> {</div><div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  <span class="keywordflow">return</span> handle->SetImage(pix);</div><div class="line"><a name="l00357"></a><span class="lineno"> 357</span> }</div><div class="line"><a name="l00358"></a><span class="lineno"> 358</span> </div><div class="line"><a name="l00359"></a><span class="lineno"><a class="line" href="a00014.html#ab9dad15b52bf7d895f2bc0dcd85f9972"> 359</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ab9dad15b52bf7d895f2bc0dcd85f9972">TessBaseAPISetSourceResolution</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keywordtype">int</span> ppi)</div><div class="line"><a name="l00360"></a><span class="lineno"> 360</span> {</div><div class="line"><a name="l00361"></a><span class="lineno"> 361</span>  handle->SetSourceResolution(ppi);</div><div class="line"><a name="l00362"></a><span class="lineno"> 362</span> }</div><div class="line"><a name="l00363"></a><span class="lineno"> 363</span> </div><div class="line"><a name="l00364"></a><span class="lineno"><a class="line" href="a00014.html#af743377dcb51260748d1b400e7a15110"> 364</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#af743377dcb51260748d1b400e7a15110">TessBaseAPISetRectangle</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keywordtype">int</span> left, <span class="keywordtype">int</span> top, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height)</div><div class="line"><a name="l00365"></a><span class="lineno"> 365</span> {</div><div class="line"><a name="l00366"></a><span class="lineno"> 366</span>  handle->SetRectangle(left, top, width, height);</div><div class="line"><a name="l00367"></a><span class="lineno"> 367</span> }</div><div class="line"><a name="l00368"></a><span class="lineno"> 368</span> </div><div class="line"><a name="l00369"></a><span class="lineno"><a class="line" href="a00011.html#a1372517566ba86d7a5b34e43c0609d58"> 369</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a1372517566ba86d7a5b34e43c0609d58">TessBaseAPISetThresholder</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, TessImageThresholder* thresholder)</div><div class="line"><a name="l00370"></a><span class="lineno"> 370</span> {</div><div class="line"><a name="l00371"></a><span class="lineno"> 371</span>  handle->SetThresholder(thresholder);</div><div class="line"><a name="l00372"></a><span class="lineno"> 372</span> }</div><div class="line"><a name="l00373"></a><span class="lineno"> 373</span> </div><div class="line"><a name="l00374"></a><span class="lineno"><a class="line" href="a00014.html#a86242cfb7f13a62ed7f7bc0a697ab5fe"> 374</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keyword">struct </span>Pix* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a86242cfb7f13a62ed7f7bc0a697ab5fe">TessBaseAPIGetThresholdedImage</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle)</div><div class="line"><a name="l00375"></a><span class="lineno"> 375</span> {</div><div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  <span class="keywordflow">return</span> handle->GetThresholdedImage();</div><div class="line"><a name="l00377"></a><span class="lineno"> 377</span> }</div><div class="line"><a name="l00378"></a><span class="lineno"> 378</span> </div><div class="line"><a name="l00379"></a><span class="lineno"><a class="line" href="a00014.html#a3c47a6733ac46bd1581f0adc80ea524a"> 379</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keyword">struct </span>Boxa* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a3c47a6733ac46bd1581f0adc80ea524a">TessBaseAPIGetRegions</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keyword">struct</span> Pixa** pixa)</div><div class="line"><a name="l00380"></a><span class="lineno"> 380</span> {</div><div class="line"><a name="l00381"></a><span class="lineno"> 381</span>  <span class="keywordflow">return</span> handle->GetRegions(pixa);</div><div class="line"><a name="l00382"></a><span class="lineno"> 382</span> }</div><div class="line"><a name="l00383"></a><span class="lineno"> 383</span> </div><div class="line"><a name="l00384"></a><span class="lineno"><a class="line" href="a00014.html#ab61d73c2ffa1b9aa54890855c9b92b1f"> 384</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keyword">struct </span>Boxa* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ab61d73c2ffa1b9aa54890855c9b92b1f">TessBaseAPIGetTextlines</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keyword">struct</span> Pixa** pixa, <span class="keywordtype">int</span>** blockids)</div><div class="line"><a name="l00385"></a><span class="lineno"> 385</span> {</div><div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  <span class="keywordflow">return</span> handle->GetTextlines(pixa, blockids);</div><div class="line"><a name="l00387"></a><span class="lineno"> 387</span> }</div><div class="line"><a name="l00388"></a><span class="lineno"> 388</span> </div><div class="line"><a name="l00389"></a><span class="lineno"><a class="line" href="a00014.html#ac29b2e81fc2b684d66c57994d30e3682"> 389</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keyword">struct </span>Boxa* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ac29b2e81fc2b684d66c57994d30e3682">TessBaseAPIGetTextlines1</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keyword">const</span> <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> raw_image, <span class="keyword">const</span> <span class="keywordtype">int</span> raw_padding,</div><div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  <span class="keyword">struct</span> Pixa** pixa, <span class="keywordtype">int</span>** blockids, <span class="keywordtype">int</span>** paraids)</div><div class="line"><a name="l00391"></a><span class="lineno"> 391</span> {</div><div class="line"><a name="l00392"></a><span class="lineno"> 392</span>  <span class="keywordflow">return</span> handle->GetTextlines(raw_image, raw_padding, pixa, blockids, paraids);</div><div class="line"><a name="l00393"></a><span class="lineno"> 393</span> }</div><div class="line"><a name="l00394"></a><span class="lineno"> 394</span> </div><div class="line"><a name="l00395"></a><span class="lineno"><a class="line" href="a00014.html#aa69af4ceb8a382a2c1bc32e55d59af79"> 395</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keyword">struct </span>Boxa* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#aa69af4ceb8a382a2c1bc32e55d59af79">TessBaseAPIGetStrips</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keyword">struct</span> Pixa** pixa, <span class="keywordtype">int</span>** blockids)</div><div class="line"><a name="l00396"></a><span class="lineno"> 396</span> {</div><div class="line"><a name="l00397"></a><span class="lineno"> 397</span>  <span class="keywordflow">return</span> handle->GetStrips(pixa, blockids);</div><div class="line"><a name="l00398"></a><span class="lineno"> 398</span> }</div><div class="line"><a name="l00399"></a><span class="lineno"> 399</span> </div><div class="line"><a name="l00400"></a><span class="lineno"><a class="line" href="a00014.html#a3b875c4eae839e328993ec629319f80d"> 400</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keyword">struct </span>Boxa* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a3b875c4eae839e328993ec629319f80d">TessBaseAPIGetWords</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keyword">struct</span> Pixa** pixa)</div><div class="line"><a name="l00401"></a><span class="lineno"> 401</span> {</div><div class="line"><a name="l00402"></a><span class="lineno"> 402</span>  <span class="keywordflow">return</span> handle->GetWords(pixa);</div><div class="line"><a name="l00403"></a><span class="lineno"> 403</span> }</div><div class="line"><a name="l00404"></a><span class="lineno"> 404</span> </div><div class="line"><a name="l00405"></a><span class="lineno"><a class="line" href="a00014.html#aaad4c3ba7865ea9d427667775226be7a"> 405</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keyword">struct </span>Boxa* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#aaad4c3ba7865ea9d427667775226be7a">TessBaseAPIGetConnectedComponents</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keyword">struct</span> Pixa** cc)</div><div class="line"><a name="l00406"></a><span class="lineno"> 406</span> {</div><div class="line"><a name="l00407"></a><span class="lineno"> 407</span>  <span class="keywordflow">return</span> handle->GetConnectedComponents(cc);</div><div class="line"><a name="l00408"></a><span class="lineno"> 408</span> }</div><div class="line"><a name="l00409"></a><span class="lineno"> 409</span> </div><div class="line"><a name="l00410"></a><span class="lineno"><a class="line" href="a00014.html#a67ae942cb2a917d0e7972fbc53a6e2f9"> 410</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keyword">struct </span>Boxa* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a8e6629b7e066bd8f11e224811f4bf1e7">TessBaseAPIGetComponentImages</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <a class="code" href="a00014.html#aec47a81606272a1a7b914d862feae98c">TessPageIteratorLevel</a> level, <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> text_only, <span class="keyword">struct</span> Pixa** pixa, <span class="keywordtype">int</span>** blockids)</div><div class="line"><a name="l00411"></a><span class="lineno"> 411</span> {</div><div class="line"><a name="l00412"></a><span class="lineno"> 412</span>  <span class="keywordflow">return</span> handle->GetComponentImages(level, text_only != <a class="code" href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>, pixa, blockids);</div><div class="line"><a name="l00413"></a><span class="lineno"> 413</span> }</div><div class="line"><a name="l00414"></a><span class="lineno"> 414</span> </div><div class="line"><a name="l00415"></a><span class="lineno"> 415</span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keyword">struct </span>Boxa*</div><div class="line"><a name="l00416"></a><span class="lineno"><a class="line" href="a00014.html#a1863ca810eaa1b87a8aee3d344073cd2"> 416</a></span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a1863ca810eaa1b87a8aee3d344073cd2">TessBaseAPIGetComponentImages1</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keyword">const</span> <a class="code" href="a00014.html#aec47a81606272a1a7b914d862feae98c">TessPageIteratorLevel</a> level, <span class="keyword">const</span> <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> text_only,</div><div class="line"><a name="l00417"></a><span class="lineno"> 417</span>  <span class="keyword">const</span> <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> raw_image, <span class="keyword">const</span> <span class="keywordtype">int</span> raw_padding,</div><div class="line"><a name="l00418"></a><span class="lineno"> 418</span>  <span class="keyword">struct</span> Pixa** pixa, <span class="keywordtype">int</span>** blockids, <span class="keywordtype">int</span>** paraids)</div><div class="line"><a name="l00419"></a><span class="lineno"> 419</span> {</div><div class="line"><a name="l00420"></a><span class="lineno"> 420</span>  <span class="keywordflow">return</span> handle->GetComponentImages(level, text_only != <a class="code" href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>, raw_image, raw_padding, pixa, blockids, paraids);</div><div class="line"><a name="l00421"></a><span class="lineno"> 421</span> }</div><div class="line"><a name="l00422"></a><span class="lineno"> 422</span> </div><div class="line"><a name="l00423"></a><span class="lineno"><a class="line" href="a00014.html#a311e01521a06b6c5d128dce18ca564d2"> 423</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">int</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a311e01521a06b6c5d128dce18ca564d2">TessBaseAPIGetThresholdedImageScaleFactor</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle)</div><div class="line"><a name="l00424"></a><span class="lineno"> 424</span> {</div><div class="line"><a name="l00425"></a><span class="lineno"> 425</span>  <span class="keywordflow">return</span> handle->GetThresholdedImageScaleFactor();</div><div class="line"><a name="l00426"></a><span class="lineno"> 426</span> }</div><div class="line"><a name="l00427"></a><span class="lineno"> 427</span> </div><div class="line"><a name="l00428"></a><span class="lineno"><a class="line" href="a00014.html#a0c66e201b33d22ec60ea1096a6003b0d"> 428</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#a975e1aea4d19c979138dac040af1510a">TessPageIterator</a>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a0c66e201b33d22ec60ea1096a6003b0d">TessBaseAPIAnalyseLayout</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle)</div><div class="line"><a name="l00429"></a><span class="lineno"> 429</span> {</div><div class="line"><a name="l00430"></a><span class="lineno"> 430</span>  <span class="keywordflow">return</span> handle->AnalyseLayout();</div><div class="line"><a name="l00431"></a><span class="lineno"> 431</span> }</div><div class="line"><a name="l00432"></a><span class="lineno"> 432</span> </div><div class="line"><a name="l00433"></a><span class="lineno"><a class="line" href="a00014.html#ae43bc8c046fde6d6e6418c0d31c59a7c"> 433</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">int</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ae43bc8c046fde6d6e6418c0d31c59a7c">TessBaseAPIRecognize</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <a class="code" href="a02786.html">ETEXT_DESC</a>* monitor)</div><div class="line"><a name="l00434"></a><span class="lineno"> 434</span> {</div><div class="line"><a name="l00435"></a><span class="lineno"> 435</span>  <span class="keywordflow">return</span> handle->Recognize(monitor);</div><div class="line"><a name="l00436"></a><span class="lineno"> 436</span> }</div><div class="line"><a name="l00437"></a><span class="lineno"> 437</span> </div><div class="line"><a name="l00438"></a><span class="lineno"> 438</span> <span class="preprocessor">#ifndef DISABLED_LEGACY_ENGINE</span></div><div class="line"><a name="l00439"></a><span class="lineno"><a class="line" href="a00014.html#a487aecafd75f1e494fe89965fdff2a9c"> 439</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">int</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a487aecafd75f1e494fe89965fdff2a9c">TessBaseAPIRecognizeForChopTest</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <a class="code" href="a02786.html">ETEXT_DESC</a>* monitor)</div><div class="line"><a name="l00440"></a><span class="lineno"> 440</span> {</div><div class="line"><a name="l00441"></a><span class="lineno"> 441</span>  <span class="keywordflow">return</span> handle->RecognizeForChopTest(monitor);</div><div class="line"><a name="l00442"></a><span class="lineno"> 442</span> }</div><div class="line"><a name="l00443"></a><span class="lineno"> 443</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00444"></a><span class="lineno"> 444</span> </div><div class="line"><a name="l00445"></a><span class="lineno"><a class="line" href="a00014.html#a4c6b9a2345519e5a163da4106a7bbd46"> 445</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a4c6b9a2345519e5a163da4106a7bbd46">TessBaseAPIProcessPages</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* filename, <span class="keyword">const</span> <span class="keywordtype">char</span>* retry_config,</div><div class="line"><a name="l00446"></a><span class="lineno"> 446</span>  <span class="keywordtype">int</span> timeout_millisec, <a class="code" href="a00014.html#a79b401fe19433464a13b416108deb755">TessResultRenderer</a>* renderer)</div><div class="line"><a name="l00447"></a><span class="lineno"> 447</span> {</div><div class="line"><a name="l00448"></a><span class="lineno"> 448</span>  <span class="keywordflow">if</span> (handle->ProcessPages(filename, retry_config, timeout_millisec, renderer))</div><div class="line"><a name="l00449"></a><span class="lineno"> 449</span>  <span class="keywordflow">return</span> <a class="code" href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a>;</div><div class="line"><a name="l00450"></a><span class="lineno"> 450</span>  <span class="keywordflow">else</span></div><div class="line"><a name="l00451"></a><span class="lineno"> 451</span>  <span class="keywordflow">return</span> <a class="code" href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>;</div><div class="line"><a name="l00452"></a><span class="lineno"> 452</span> }</div><div class="line"><a name="l00453"></a><span class="lineno"> 453</span> </div><div class="line"><a name="l00454"></a><span class="lineno"><a class="line" href="a00014.html#af417fccf2d2fd8ca0d478ca6847670bf"> 454</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#af417fccf2d2fd8ca0d478ca6847670bf">TessBaseAPIProcessPage</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keyword">struct</span> Pix* pix, <span class="keywordtype">int</span> page_index, <span class="keyword">const</span> <span class="keywordtype">char</span>* filename,</div><div class="line"><a name="l00455"></a><span class="lineno"> 455</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* retry_config, <span class="keywordtype">int</span> timeout_millisec, <a class="code" href="a00014.html#a79b401fe19433464a13b416108deb755">TessResultRenderer</a>* renderer)</div><div class="line"><a name="l00456"></a><span class="lineno"> 456</span> {</div><div class="line"><a name="l00457"></a><span class="lineno"> 457</span>  <span class="keywordflow">if</span> (handle->ProcessPage(pix, page_index, filename, retry_config, timeout_millisec, renderer))</div><div class="line"><a name="l00458"></a><span class="lineno"> 458</span>  <span class="keywordflow">return</span> <a class="code" href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a>;</div><div class="line"><a name="l00459"></a><span class="lineno"> 459</span>  <span class="keywordflow">else</span></div><div class="line"><a name="l00460"></a><span class="lineno"> 460</span>  <span class="keywordflow">return</span> <a class="code" href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>;</div><div class="line"><a name="l00461"></a><span class="lineno"> 461</span> }</div><div class="line"><a name="l00462"></a><span class="lineno"> 462</span> </div><div class="line"><a name="l00463"></a><span class="lineno"><a class="line" href="a00014.html#a3c469bc1ab6240c901049da3fec479eb"> 463</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#aa313de0a41e165b98c3a1d4f1c83b04b">TessResultIterator</a>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a3c469bc1ab6240c901049da3fec479eb">TessBaseAPIGetIterator</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle)</div><div class="line"><a name="l00464"></a><span class="lineno"> 464</span> {</div><div class="line"><a name="l00465"></a><span class="lineno"> 465</span>  <span class="keywordflow">return</span> handle->GetIterator();</div><div class="line"><a name="l00466"></a><span class="lineno"> 466</span> }</div><div class="line"><a name="l00467"></a><span class="lineno"> 467</span> </div><div class="line"><a name="l00468"></a><span class="lineno"><a class="line" href="a00014.html#a9f14f24fb29a330d37227fdc1c4f2f2b"> 468</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#a1b0c4949f7e355a94f2d2e8aeae6b104">TessMutableIterator</a>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a9f14f24fb29a330d37227fdc1c4f2f2b">TessBaseAPIGetMutableIterator</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle)</div><div class="line"><a name="l00469"></a><span class="lineno"> 469</span> {</div><div class="line"><a name="l00470"></a><span class="lineno"> 470</span>  <span class="keywordflow">return</span> handle->GetMutableIterator();</div><div class="line"><a name="l00471"></a><span class="lineno"> 471</span> }</div><div class="line"><a name="l00472"></a><span class="lineno"> 472</span> </div><div class="line"><a name="l00473"></a><span class="lineno"><a class="line" href="a00014.html#a624731fab8a0107a6949195f62d63710"> 473</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">char</span>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a624731fab8a0107a6949195f62d63710">TessBaseAPIGetUTF8Text</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle)</div><div class="line"><a name="l00474"></a><span class="lineno"> 474</span> {</div><div class="line"><a name="l00475"></a><span class="lineno"> 475</span>  <span class="keywordflow">return</span> handle->GetUTF8Text();</div><div class="line"><a name="l00476"></a><span class="lineno"> 476</span> }</div><div class="line"><a name="l00477"></a><span class="lineno"> 477</span> </div><div class="line"><a name="l00478"></a><span class="lineno"><a class="line" href="a00014.html#ad3af0f9856c3622f04ec614d1c137906"> 478</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">char</span>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ad3af0f9856c3622f04ec614d1c137906">TessBaseAPIGetHOCRText</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keywordtype">int</span> page_number)</div><div class="line"><a name="l00479"></a><span class="lineno"> 479</span> {</div><div class="line"><a name="l00480"></a><span class="lineno"> 480</span>  <span class="keywordflow">return</span> handle->GetHOCRText(<span class="keyword">nullptr</span>, page_number);</div><div class="line"><a name="l00481"></a><span class="lineno"> 481</span> }</div><div class="line"><a name="l00482"></a><span class="lineno"> 482</span> </div><div class="line"><a name="l00483"></a><span class="lineno"><a class="line" href="a00014.html#aae16ae4c0c4bb794f2ce19187a83f7ea"> 483</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">char</span>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#aae16ae4c0c4bb794f2ce19187a83f7ea">TessBaseAPIGetBoxText</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keywordtype">int</span> page_number)</div><div class="line"><a name="l00484"></a><span class="lineno"> 484</span> {</div><div class="line"><a name="l00485"></a><span class="lineno"> 485</span>  <span class="keywordflow">return</span> handle->GetBoxText(page_number);</div><div class="line"><a name="l00486"></a><span class="lineno"> 486</span> }</div><div class="line"><a name="l00487"></a><span class="lineno"> 487</span> </div><div class="line"><a name="l00488"></a><span class="lineno"><a class="line" href="a00014.html#ae7c838e1da83d587f51bc6e6f451b265"> 488</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">char</span>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ae7c838e1da83d587f51bc6e6f451b265">TessBaseAPIGetUNLVText</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle)</div><div class="line"><a name="l00489"></a><span class="lineno"> 489</span> {</div><div class="line"><a name="l00490"></a><span class="lineno"> 490</span>  <span class="keywordflow">return</span> handle->GetUNLVText();</div><div class="line"><a name="l00491"></a><span class="lineno"> 491</span> }</div><div class="line"><a name="l00492"></a><span class="lineno"> 492</span> </div><div class="line"><a name="l00493"></a><span class="lineno"><a class="line" href="a00014.html#aa2ecdad1f36a1ec06d8791f966e05cc0"> 493</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">int</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#aa2ecdad1f36a1ec06d8791f966e05cc0">TessBaseAPIMeanTextConf</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle)</div><div class="line"><a name="l00494"></a><span class="lineno"> 494</span> {</div><div class="line"><a name="l00495"></a><span class="lineno"> 495</span>  <span class="keywordflow">return</span> handle->MeanTextConf();</div><div class="line"><a name="l00496"></a><span class="lineno"> 496</span> }</div><div class="line"><a name="l00497"></a><span class="lineno"> 497</span> </div><div class="line"><a name="l00498"></a><span class="lineno"><a class="line" href="a00014.html#a9986f3a04633e1821d52aecc1c899635"> 498</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">int</span>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a9986f3a04633e1821d52aecc1c899635">TessBaseAPIAllWordConfidences</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle)</div><div class="line"><a name="l00499"></a><span class="lineno"> 499</span> {</div><div class="line"><a name="l00500"></a><span class="lineno"> 500</span>  <span class="keywordflow">return</span> handle->AllWordConfidences();</div><div class="line"><a name="l00501"></a><span class="lineno"> 501</span> }</div><div class="line"><a name="l00502"></a><span class="lineno"> 502</span> </div><div class="line"><a name="l00503"></a><span class="lineno"> 503</span> <span class="preprocessor">#ifndef DISABLED_LEGACY_ENGINE</span></div><div class="line"><a name="l00504"></a><span class="lineno"><a class="line" href="a00014.html#a3c2c7d47d3cc12310c8bdf9120fbc786"> 504</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a3c2c7d47d3cc12310c8bdf9120fbc786">TessBaseAPIAdaptToWordStr</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <a class="code" href="a00014.html#a4d1f965486ce272064ffdbd7a618234c">TessPageSegMode</a> mode, <span class="keyword">const</span> <span class="keywordtype">char</span>* wordstr)</div><div class="line"><a name="l00505"></a><span class="lineno"> 505</span> {</div><div class="line"><a name="l00506"></a><span class="lineno"> 506</span>  <span class="keywordflow">return</span> handle->AdaptToWordStr(mode, wordstr) ? <a class="code" href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a> : <a class="code" href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>;</div><div class="line"><a name="l00507"></a><span class="lineno"> 507</span> }</div><div class="line"><a name="l00508"></a><span class="lineno"> 508</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00509"></a><span class="lineno"> 509</span> </div><div class="line"><a name="l00510"></a><span class="lineno"><a class="line" href="a00014.html#a56b8a2a57642d9f7e2cd947cd23d1ded"> 510</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a56b8a2a57642d9f7e2cd947cd23d1ded">TessBaseAPIClear</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle)</div><div class="line"><a name="l00511"></a><span class="lineno"> 511</span> {</div><div class="line"><a name="l00512"></a><span class="lineno"> 512</span>  handle->Clear();</div><div class="line"><a name="l00513"></a><span class="lineno"> 513</span> }</div><div class="line"><a name="l00514"></a><span class="lineno"> 514</span> </div><div class="line"><a name="l00515"></a><span class="lineno"><a class="line" href="a00014.html#a5ca2482d523acb35067760b438a6d647"> 515</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a5ca2482d523acb35067760b438a6d647">TessBaseAPIEnd</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle)</div><div class="line"><a name="l00516"></a><span class="lineno"> 516</span> {</div><div class="line"><a name="l00517"></a><span class="lineno"> 517</span>  handle->End();</div><div class="line"><a name="l00518"></a><span class="lineno"> 518</span> }</div><div class="line"><a name="l00519"></a><span class="lineno"> 519</span> </div><div class="line"><a name="l00520"></a><span class="lineno"><a class="line" href="a00014.html#ae3ba2db585158457f5792de741f79fd5"> 520</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">int</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ae3ba2db585158457f5792de741f79fd5">TessBaseAPIIsValidWord</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keyword">const</span> <span class="keywordtype">char</span>* word)</div><div class="line"><a name="l00521"></a><span class="lineno"> 521</span> {</div><div class="line"><a name="l00522"></a><span class="lineno"> 522</span>  <span class="keywordflow">return</span> handle->IsValidWord(word);</div><div class="line"><a name="l00523"></a><span class="lineno"> 523</span> }</div><div class="line"><a name="l00524"></a><span class="lineno"> 524</span> </div><div class="line"><a name="l00525"></a><span class="lineno"><a class="line" href="a00014.html#af3b57b25abe5220d9b06b91ece83f0d9"> 525</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#af3b57b25abe5220d9b06b91ece83f0d9">TessBaseAPIGetTextDirection</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keywordtype">int</span>* out_offset, <span class="keywordtype">float</span>* out_slope)</div><div class="line"><a name="l00526"></a><span class="lineno"> 526</span> {</div><div class="line"><a name="l00527"></a><span class="lineno"> 527</span>  <span class="keywordflow">return</span> handle->GetTextDirection(out_offset, out_slope) ? <a class="code" href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a> : <a class="code" href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>;</div><div class="line"><a name="l00528"></a><span class="lineno"> 528</span> }</div><div class="line"><a name="l00529"></a><span class="lineno"> 529</span> </div><div class="line"><a name="l00530"></a><span class="lineno"><a class="line" href="a00011.html#a08bc595c20b05430f7a05c3f077188c9"> 530</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a08bc595c20b05430f7a05c3f077188c9">TessBaseAPISetDictFunc</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, TessDictFunc f)</div><div class="line"><a name="l00531"></a><span class="lineno"> 531</span> {</div><div class="line"><a name="l00532"></a><span class="lineno"> 532</span>  handle->SetDictFunc(f);</div><div class="line"><a name="l00533"></a><span class="lineno"> 533</span> }</div><div class="line"><a name="l00534"></a><span class="lineno"> 534</span> </div><div class="line"><a name="l00535"></a><span class="lineno"><a class="line" href="a00011.html#ac4a17da147c71ccfbcba1c227d7cfad5"> 535</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ac4a17da147c71ccfbcba1c227d7cfad5">TessBaseAPIClearPersistentCache</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle)</div><div class="line"><a name="l00536"></a><span class="lineno"> 536</span> {</div><div class="line"><a name="l00537"></a><span class="lineno"> 537</span>  handle->ClearPersistentCache();</div><div class="line"><a name="l00538"></a><span class="lineno"> 538</span> }</div><div class="line"><a name="l00539"></a><span class="lineno"> 539</span> </div><div class="line"><a name="l00540"></a><span class="lineno"><a class="line" href="a00011.html#a83a973531785bf76d8a279e8c4efec42"> 540</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a83a973531785bf76d8a279e8c4efec42">TessBaseAPISetProbabilityInContextFunc</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, TessProbabilityInContextFunc f)</div><div class="line"><a name="l00541"></a><span class="lineno"> 541</span> {</div><div class="line"><a name="l00542"></a><span class="lineno"> 542</span>  handle->SetProbabilityInContextFunc(f);</div><div class="line"><a name="l00543"></a><span class="lineno"> 543</span> }</div><div class="line"><a name="l00544"></a><span class="lineno"> 544</span> </div><div class="line"><a name="l00545"></a><span class="lineno"> 545</span> <span class="preprocessor">#ifndef DISABLED_LEGACY_ENGINE</span></div><div class="line"><a name="l00546"></a><span class="lineno"> 546</span> </div><div class="line"><a name="l00547"></a><span class="lineno"><a class="line" href="a00011.html#afe6db9136c40c25f2efd22e4ebdf6d3e"> 547</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#afe6db9136c40c25f2efd22e4ebdf6d3e">TessBaseAPIDetectOrientationScript</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle,</div><div class="line"><a name="l00548"></a><span class="lineno"> 548</span>  <span class="keywordtype">int</span>* orient_deg, <span class="keywordtype">float</span>* orient_conf, <span class="keyword">const</span> <span class="keywordtype">char</span>** script_name, <span class="keywordtype">float</span>* script_conf)</div><div class="line"><a name="l00549"></a><span class="lineno"> 549</span> {</div><div class="line"><a name="l00550"></a><span class="lineno"> 550</span>  <span class="keywordtype">bool</span> success;</div><div class="line"><a name="l00551"></a><span class="lineno"> 551</span>  success = handle->DetectOrientationScript(orient_deg, orient_conf, script_name, script_conf);</div><div class="line"><a name="l00552"></a><span class="lineno"> 552</span>  <span class="keywordflow">return</span> (<a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a>)success;</div><div class="line"><a name="l00553"></a><span class="lineno"> 553</span> }</div><div class="line"><a name="l00554"></a><span class="lineno"> 554</span> </div><div class="line"><a name="l00555"></a><span class="lineno"><a class="line" href="a00011.html#ab0d556a4e6347ca907e16e845a44a893"> 555</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ab0d556a4e6347ca907e16e845a44a893">TessBaseAPIGetFeaturesForBlob</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <a class="code" href="a02398.html">TBLOB</a>* blob, <a class="code" href="a04130.html">INT_FEATURE_STRUCT</a>* int_features,</div><div class="line"><a name="l00556"></a><span class="lineno"> 556</span>  <span class="keywordtype">int</span>* num_features, <span class="keywordtype">int</span>* FeatureOutlineIndex)</div><div class="line"><a name="l00557"></a><span class="lineno"> 557</span> {</div><div class="line"><a name="l00558"></a><span class="lineno"> 558</span>  handle->GetFeaturesForBlob(blob, int_features, num_features, FeatureOutlineIndex);</div><div class="line"><a name="l00559"></a><span class="lineno"> 559</span> }</div><div class="line"><a name="l00560"></a><span class="lineno"> 560</span> </div><div class="line"><a name="l00561"></a><span class="lineno"><a class="line" href="a00011.html#ac20b1fa119f3204e2ce136ab42fa0e24"> 561</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a02526.html">ROW</a>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ac20b1fa119f3204e2ce136ab42fa0e24">TessFindRowForBox</a>(BLOCK_LIST* blocks, <span class="keywordtype">int</span> left, <span class="keywordtype">int</span> top, <span class="keywordtype">int</span> right, <span class="keywordtype">int</span> bottom)</div><div class="line"><a name="l00562"></a><span class="lineno"> 562</span> {</div><div class="line"><a name="l00563"></a><span class="lineno"> 563</span>  <span class="keywordflow">return</span> TessBaseAPI::FindRowForBox(blocks, left, top, right, bottom);</div><div class="line"><a name="l00564"></a><span class="lineno"> 564</span> }</div><div class="line"><a name="l00565"></a><span class="lineno"> 565</span> </div><div class="line"><a name="l00566"></a><span class="lineno"><a class="line" href="a00011.html#ad37a3fe1ff40571b4576afb7ea06d3b8"> 566</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ad37a3fe1ff40571b4576afb7ea06d3b8">TessBaseAPIRunAdaptiveClassifier</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <a class="code" href="a02398.html">TBLOB</a>* blob, <span class="keywordtype">int</span> num_max_matches,</div><div class="line"><a name="l00567"></a><span class="lineno"> 567</span>  <span class="keywordtype">int</span>* unichar_ids, <span class="keywordtype">float</span>* ratings, <span class="keywordtype">int</span>* num_matches_returned)</div><div class="line"><a name="l00568"></a><span class="lineno"> 568</span> {</div><div class="line"><a name="l00569"></a><span class="lineno"> 569</span>  handle->RunAdaptiveClassifier(blob, num_max_matches, unichar_ids, ratings, num_matches_returned);</div><div class="line"><a name="l00570"></a><span class="lineno"> 570</span> }</div><div class="line"><a name="l00571"></a><span class="lineno"> 571</span> </div><div class="line"><a name="l00572"></a><span class="lineno"> 572</span> <span class="preprocessor">#endif // ndef DISABLED_LEGACY_ENGINE</span></div><div class="line"><a name="l00573"></a><span class="lineno"> 573</span> </div><div class="line"><a name="l00574"></a><span class="lineno"><a class="line" href="a00014.html#a44bbf556df9721bec0ac166075dcee98"> 574</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a44bbf556df9721bec0ac166075dcee98">TessBaseAPIGetUnichar</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keywordtype">int</span> unichar_id)</div><div class="line"><a name="l00575"></a><span class="lineno"> 575</span> {</div><div class="line"><a name="l00576"></a><span class="lineno"> 576</span>  <span class="keywordflow">return</span> handle->GetUnichar(unichar_id);</div><div class="line"><a name="l00577"></a><span class="lineno"> 577</span> }</div><div class="line"><a name="l00578"></a><span class="lineno"> 578</span> </div><div class="line"><a name="l00579"></a><span class="lineno"><a class="line" href="a00011.html#aa93c55f7e5754a96882b2f2bdfe0aa15"> 579</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keyword">const</span> TessDawg* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#aa93c55f7e5754a96882b2f2bdfe0aa15">TessBaseAPIGetDawg</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keywordtype">int</span> i)</div><div class="line"><a name="l00580"></a><span class="lineno"> 580</span> {</div><div class="line"><a name="l00581"></a><span class="lineno"> 581</span>  <span class="keywordflow">return</span> handle->GetDawg(i);</div><div class="line"><a name="l00582"></a><span class="lineno"> 582</span> }</div><div class="line"><a name="l00583"></a><span class="lineno"> 583</span> </div><div class="line"><a name="l00584"></a><span class="lineno"><a class="line" href="a00011.html#a21d76925d32fcaaa3ead75416ae90b05"> 584</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">int</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a21d76925d32fcaaa3ead75416ae90b05">TessBaseAPINumDawgs</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle)</div><div class="line"><a name="l00585"></a><span class="lineno"> 585</span> {</div><div class="line"><a name="l00586"></a><span class="lineno"> 586</span>  <span class="keywordflow">return</span> handle->NumDawgs();</div><div class="line"><a name="l00587"></a><span class="lineno"> 587</span> }</div><div class="line"><a name="l00588"></a><span class="lineno"> 588</span> </div><div class="line"><a name="l00589"></a><span class="lineno"> 589</span> <span class="preprocessor">#ifndef DISABLED_LEGACY_ENGINE</span></div><div class="line"><a name="l00590"></a><span class="lineno"><a class="line" href="a00011.html#a872ef0a0a68f70330b372233a9866e93"> 590</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a02526.html">ROW</a>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a872ef0a0a68f70330b372233a9866e93">TessMakeTessOCRRow</a>(<span class="keywordtype">float</span> <a class="code" href="a00767.html#a2a4b69f9a2827dc98bc4cbc233118865a83297de004f4e58b9be2108c6cd08a23">baseline</a>, <span class="keywordtype">float</span> xheight, <span class="keywordtype">float</span> descender, <span class="keywordtype">float</span> ascender)</div><div class="line"><a name="l00591"></a><span class="lineno"> 591</span> {</div><div class="line"><a name="l00592"></a><span class="lineno"> 592</span>  <span class="keywordflow">return</span> TessBaseAPI::MakeTessOCRRow(<a class="code" href="a00767.html#a2a4b69f9a2827dc98bc4cbc233118865a83297de004f4e58b9be2108c6cd08a23">baseline</a>, xheight, descender, ascender);</div><div class="line"><a name="l00593"></a><span class="lineno"> 593</span> }</div><div class="line"><a name="l00594"></a><span class="lineno"> 594</span> </div><div class="line"><a name="l00595"></a><span class="lineno"><a class="line" href="a00011.html#ab99342de75e4b7ef337c1f20fceccdc2"> 595</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a02398.html">TBLOB</a>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ab99342de75e4b7ef337c1f20fceccdc2">TessMakeTBLOB</a>(<span class="keyword">struct</span> Pix* pix)</div><div class="line"><a name="l00596"></a><span class="lineno"> 596</span> {</div><div class="line"><a name="l00597"></a><span class="lineno"> 597</span>  <span class="keywordflow">return</span> TessBaseAPI::MakeTBLOB(pix);</div><div class="line"><a name="l00598"></a><span class="lineno"> 598</span> }</div><div class="line"><a name="l00599"></a><span class="lineno"> 599</span> </div><div class="line"><a name="l00600"></a><span class="lineno"><a class="line" href="a00011.html#a72101a81e26ba422cbdd3d994498913f"> 600</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a72101a81e26ba422cbdd3d994498913f">TessNormalizeTBLOB</a>(<a class="code" href="a02398.html">TBLOB</a>* tblob, <a class="code" href="a02526.html">ROW</a>* row, <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> numeric_mode)</div><div class="line"><a name="l00601"></a><span class="lineno"> 601</span> {</div><div class="line"><a name="l00602"></a><span class="lineno"> 602</span>  TessBaseAPI::NormalizeTBLOB(tblob, row, numeric_mode != <a class="code" href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>);</div><div class="line"><a name="l00603"></a><span class="lineno"> 603</span> }</div><div class="line"><a name="l00604"></a><span class="lineno"> 604</span> <span class="preprocessor">#endif // ndef DISABLED_LEGACY_ENGINE</span></div><div class="line"><a name="l00605"></a><span class="lineno"> 605</span> </div><div class="line"><a name="l00606"></a><span class="lineno"><a class="line" href="a00011.html#a87d3e35ee18a038a30cca37b991ce835"> 606</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#ae3f1ba7cb9eefb2195a5df6fdf86010a">TessOcrEngineMode</a> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a87d3e35ee18a038a30cca37b991ce835">TessBaseAPIOem</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle)</div><div class="line"><a name="l00607"></a><span class="lineno"> 607</span> {</div><div class="line"><a name="l00608"></a><span class="lineno"> 608</span>  <span class="keywordflow">return</span> handle->oem();</div><div class="line"><a name="l00609"></a><span class="lineno"> 609</span> }</div><div class="line"><a name="l00610"></a><span class="lineno"> 610</span> </div><div class="line"><a name="l00611"></a><span class="lineno"><a class="line" href="a00011.html#a8fd076da1e43e2278dd4c54a9234b7db"> 611</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a8fd076da1e43e2278dd4c54a9234b7db">TessBaseAPIInitTruthCallback</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, TessTruthCallback* cb)</div><div class="line"><a name="l00612"></a><span class="lineno"> 612</span> {</div><div class="line"><a name="l00613"></a><span class="lineno"> 613</span>  handle->InitTruthCallback(cb);</div><div class="line"><a name="l00614"></a><span class="lineno"> 614</span> }</div><div class="line"><a name="l00615"></a><span class="lineno"> 615</span> </div><div class="line"><a name="l00616"></a><span class="lineno"><a class="line" href="a00014.html#a9baae60a120ecf2b643a3e7839ff63fc"> 616</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a9baae60a120ecf2b643a3e7839ff63fc">TessBaseAPISetMinOrientationMargin</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keywordtype">double</span> margin)</div><div class="line"><a name="l00617"></a><span class="lineno"> 617</span> {</div><div class="line"><a name="l00618"></a><span class="lineno"> 618</span>  handle->set_min_orientation_margin(margin);</div><div class="line"><a name="l00619"></a><span class="lineno"> 619</span> }</div><div class="line"><a name="l00620"></a><span class="lineno"> 620</span> </div><div class="line"><a name="l00621"></a><span class="lineno"><a class="line" href="a00011.html#a024e0c89b586062abf01cc900cbb7ac0"> 621</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a024e0c89b586062abf01cc900cbb7ac0">TessBaseGetBlockTextOrientations</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle, <span class="keywordtype">int</span>** block_orientation, <span class="keywordtype">bool</span>** vertical_writing)</div><div class="line"><a name="l00622"></a><span class="lineno"> 622</span> {</div><div class="line"><a name="l00623"></a><span class="lineno"> 623</span>  handle->GetBlockTextOrientations(block_orientation, vertical_writing);</div><div class="line"><a name="l00624"></a><span class="lineno"> 624</span> }</div><div class="line"><a name="l00625"></a><span class="lineno"> 625</span> </div><div class="line"><a name="l00626"></a><span class="lineno"> 626</span> <span class="preprocessor">#ifndef DISABLED_LEGACY_ENGINE</span></div><div class="line"><a name="l00627"></a><span class="lineno"><a class="line" href="a00011.html#afed13d4c982f5761d1da3d0a55c3d923"> 627</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> BLOCK_LIST* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#afed13d4c982f5761d1da3d0a55c3d923">TessBaseAPIFindLinesCreateBlockList</a>(<a class="code" href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a>* handle)</div><div class="line"><a name="l00628"></a><span class="lineno"> 628</span> {</div><div class="line"><a name="l00629"></a><span class="lineno"> 629</span>  <span class="keywordflow">return</span> handle->FindLinesCreateBlockList();</div><div class="line"><a name="l00630"></a><span class="lineno"> 630</span> }</div><div class="line"><a name="l00631"></a><span class="lineno"> 631</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00632"></a><span class="lineno"> 632</span> </div><div class="line"><a name="l00633"></a><span class="lineno"><a class="line" href="a00014.html#ad60cd88835eb679036087e7be47f09d6"> 633</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ad60cd88835eb679036087e7be47f09d6">TessPageIteratorDelete</a>(<a class="code" href="a00014.html#a975e1aea4d19c979138dac040af1510a">TessPageIterator</a>* handle)</div><div class="line"><a name="l00634"></a><span class="lineno"> 634</span> {</div><div class="line"><a name="l00635"></a><span class="lineno"> 635</span>  <span class="keyword">delete</span> handle;</div><div class="line"><a name="l00636"></a><span class="lineno"> 636</span> }</div><div class="line"><a name="l00637"></a><span class="lineno"> 637</span> </div><div class="line"><a name="l00638"></a><span class="lineno"><a class="line" href="a00014.html#a4d44ed1533700578fef06baa7b37a335"> 638</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#a975e1aea4d19c979138dac040af1510a">TessPageIterator</a>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a4d44ed1533700578fef06baa7b37a335">TessPageIteratorCopy</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#a975e1aea4d19c979138dac040af1510a">TessPageIterator</a>* handle)</div><div class="line"><a name="l00639"></a><span class="lineno"> 639</span> {</div><div class="line"><a name="l00640"></a><span class="lineno"> 640</span>  <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="a00014.html#a975e1aea4d19c979138dac040af1510a">TessPageIterator</a>(*handle);</div><div class="line"><a name="l00641"></a><span class="lineno"> 641</span> }</div><div class="line"><a name="l00642"></a><span class="lineno"> 642</span> </div><div class="line"><a name="l00643"></a><span class="lineno"><a class="line" href="a00014.html#a765b7fb70a9a8ee90d7f228d2cb02779"> 643</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a765b7fb70a9a8ee90d7f228d2cb02779">TessPageIteratorBegin</a>(<a class="code" href="a00014.html#a975e1aea4d19c979138dac040af1510a">TessPageIterator</a>* handle)</div><div class="line"><a name="l00644"></a><span class="lineno"> 644</span> {</div><div class="line"><a name="l00645"></a><span class="lineno"> 645</span>  handle->Begin();</div><div class="line"><a name="l00646"></a><span class="lineno"> 646</span> }</div><div class="line"><a name="l00647"></a><span class="lineno"> 647</span> </div><div class="line"><a name="l00648"></a><span class="lineno"><a class="line" href="a00014.html#ac7cdf03cf19047d8748061cac5792118"> 648</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ac7cdf03cf19047d8748061cac5792118">TessPageIteratorNext</a>(<a class="code" href="a00014.html#a975e1aea4d19c979138dac040af1510a">TessPageIterator</a>* handle, <a class="code" href="a00014.html#aec47a81606272a1a7b914d862feae98c">TessPageIteratorLevel</a> level)</div><div class="line"><a name="l00649"></a><span class="lineno"> 649</span> {</div><div class="line"><a name="l00650"></a><span class="lineno"> 650</span>  <span class="keywordflow">return</span> handle->Next(level) ? <a class="code" href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a> : <a class="code" href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>;</div><div class="line"><a name="l00651"></a><span class="lineno"> 651</span> }</div><div class="line"><a name="l00652"></a><span class="lineno"> 652</span> </div><div class="line"><a name="l00653"></a><span class="lineno"><a class="line" href="a00014.html#aa7b8b562a850a5fc1ac3063aa163c9ee"> 653</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#aa7b8b562a850a5fc1ac3063aa163c9ee">TessPageIteratorIsAtBeginningOf</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#a975e1aea4d19c979138dac040af1510a">TessPageIterator</a>* handle, <a class="code" href="a00014.html#aec47a81606272a1a7b914d862feae98c">TessPageIteratorLevel</a> level)</div><div class="line"><a name="l00654"></a><span class="lineno"> 654</span> {</div><div class="line"><a name="l00655"></a><span class="lineno"> 655</span>  <span class="keywordflow">return</span> handle->IsAtBeginningOf(level) ? <a class="code" href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a> : <a class="code" href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>;</div><div class="line"><a name="l00656"></a><span class="lineno"> 656</span> }</div><div class="line"><a name="l00657"></a><span class="lineno"> 657</span> </div><div class="line"><a name="l00658"></a><span class="lineno"><a class="line" href="a00014.html#a48bc1ab63e3e0e474ceb5f910ba42ce5"> 658</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a48bc1ab63e3e0e474ceb5f910ba42ce5">TessPageIteratorIsAtFinalElement</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#a975e1aea4d19c979138dac040af1510a">TessPageIterator</a>* handle, <a class="code" href="a00014.html#aec47a81606272a1a7b914d862feae98c">TessPageIteratorLevel</a> level,</div><div class="line"><a name="l00659"></a><span class="lineno"> 659</span>  <a class="code" href="a00014.html#aec47a81606272a1a7b914d862feae98c">TessPageIteratorLevel</a> element)</div><div class="line"><a name="l00660"></a><span class="lineno"> 660</span> {</div><div class="line"><a name="l00661"></a><span class="lineno"> 661</span>  <span class="keywordflow">return</span> handle->IsAtFinalElement(level, element) ? <a class="code" href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a> : <a class="code" href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>;</div><div class="line"><a name="l00662"></a><span class="lineno"> 662</span> }</div><div class="line"><a name="l00663"></a><span class="lineno"> 663</span> </div><div class="line"><a name="l00664"></a><span class="lineno"><a class="line" href="a00014.html#a3d2f826bf7ba886a92fbf60deb8fd512"> 664</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a3d2f826bf7ba886a92fbf60deb8fd512">TessPageIteratorBoundingBox</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#a975e1aea4d19c979138dac040af1510a">TessPageIterator</a>* handle, <a class="code" href="a00014.html#aec47a81606272a1a7b914d862feae98c">TessPageIteratorLevel</a> level,</div><div class="line"><a name="l00665"></a><span class="lineno"> 665</span>  <span class="keywordtype">int</span>* left, <span class="keywordtype">int</span>* top, <span class="keywordtype">int</span>* right, <span class="keywordtype">int</span>* bottom)</div><div class="line"><a name="l00666"></a><span class="lineno"> 666</span> {</div><div class="line"><a name="l00667"></a><span class="lineno"> 667</span>  <span class="keywordflow">return</span> handle->BoundingBox(level, left, top, right, bottom) ? <a class="code" href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a> : <a class="code" href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>;</div><div class="line"><a name="l00668"></a><span class="lineno"> 668</span> }</div><div class="line"><a name="l00669"></a><span class="lineno"> 669</span> </div><div class="line"><a name="l00670"></a><span class="lineno"><a class="line" href="a00014.html#ae3d31e7a8fb02c951961d7c88d0aa6c8"> 670</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#a02cfd8369d5ad8c70a8b90c0f40d677f">TessPolyBlockType</a> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ae3d31e7a8fb02c951961d7c88d0aa6c8">TessPageIteratorBlockType</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#a975e1aea4d19c979138dac040af1510a">TessPageIterator</a>* handle)</div><div class="line"><a name="l00671"></a><span class="lineno"> 671</span> {</div><div class="line"><a name="l00672"></a><span class="lineno"> 672</span>  <span class="keywordflow">return</span> handle->BlockType();</div><div class="line"><a name="l00673"></a><span class="lineno"> 673</span> }</div><div class="line"><a name="l00674"></a><span class="lineno"> 674</span> </div><div class="line"><a name="l00675"></a><span class="lineno"><a class="line" href="a00014.html#ad2dccf5b9a9d434f2d281150fa36200e"> 675</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keyword">struct </span>Pix* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ad2dccf5b9a9d434f2d281150fa36200e">TessPageIteratorGetBinaryImage</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#a975e1aea4d19c979138dac040af1510a">TessPageIterator</a>* handle, <a class="code" href="a00014.html#aec47a81606272a1a7b914d862feae98c">TessPageIteratorLevel</a> level)</div><div class="line"><a name="l00676"></a><span class="lineno"> 676</span> {</div><div class="line"><a name="l00677"></a><span class="lineno"> 677</span>  <span class="keywordflow">return</span> handle->GetBinaryImage(level);</div><div class="line"><a name="l00678"></a><span class="lineno"> 678</span> }</div><div class="line"><a name="l00679"></a><span class="lineno"> 679</span> </div><div class="line"><a name="l00680"></a><span class="lineno"><a class="line" href="a00014.html#a2013ea71270da8edecf3969230487c01"> 680</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keyword">struct </span>Pix* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a2013ea71270da8edecf3969230487c01">TessPageIteratorGetImage</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#a975e1aea4d19c979138dac040af1510a">TessPageIterator</a>* handle, <a class="code" href="a00014.html#aec47a81606272a1a7b914d862feae98c">TessPageIteratorLevel</a> level, <span class="keywordtype">int</span> padding,</div><div class="line"><a name="l00681"></a><span class="lineno"> 681</span>  <span class="keyword">struct</span> Pix* original_image, <span class="keywordtype">int</span>* left, <span class="keywordtype">int</span>* top)</div><div class="line"><a name="l00682"></a><span class="lineno"> 682</span> {</div><div class="line"><a name="l00683"></a><span class="lineno"> 683</span>  <span class="keywordflow">return</span> handle->GetImage(level, padding, original_image, left, top);</div><div class="line"><a name="l00684"></a><span class="lineno"> 684</span> }</div><div class="line"><a name="l00685"></a><span class="lineno"> 685</span> </div><div class="line"><a name="l00686"></a><span class="lineno"><a class="line" href="a00014.html#a23b3e5651c6604163a2afd1599e1f984"> 686</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a23b3e5651c6604163a2afd1599e1f984">TessPageIteratorBaseline</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#a975e1aea4d19c979138dac040af1510a">TessPageIterator</a>* handle, <a class="code" href="a00014.html#aec47a81606272a1a7b914d862feae98c">TessPageIteratorLevel</a> level,</div><div class="line"><a name="l00687"></a><span class="lineno"> 687</span>  <span class="keywordtype">int</span>* x1, <span class="keywordtype">int</span>* y1, <span class="keywordtype">int</span>* x2, <span class="keywordtype">int</span>* y2)</div><div class="line"><a name="l00688"></a><span class="lineno"> 688</span> {</div><div class="line"><a name="l00689"></a><span class="lineno"> 689</span>  <span class="keywordflow">return</span> handle->Baseline(level, x1, y1, x2, y2) ? <a class="code" href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a> : <a class="code" href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>;</div><div class="line"><a name="l00690"></a><span class="lineno"> 690</span> }</div><div class="line"><a name="l00691"></a><span class="lineno"> 691</span> </div><div class="line"><a name="l00692"></a><span class="lineno"><a class="line" href="a00014.html#a0d80c53189a947e8e572e838ba2dd725"> 692</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a0d80c53189a947e8e572e838ba2dd725">TessPageIteratorOrientation</a>(<a class="code" href="a00014.html#a975e1aea4d19c979138dac040af1510a">TessPageIterator</a>* handle, <a class="code" href="a00014.html#ae6fe79ed409e4d4a9542c0228f99a3de">TessOrientation</a>* orientation,</div><div class="line"><a name="l00693"></a><span class="lineno"> 693</span>  <a class="code" href="a00014.html#af1153a53bc695f0995e898dd6ea65498">TessWritingDirection</a>* writing_direction, <a class="code" href="a00014.html#acd236f7288a6cbc028ab4ce0abde03e3">TessTextlineOrder</a>* textline_order,</div><div class="line"><a name="l00694"></a><span class="lineno"> 694</span>  <span class="keywordtype">float</span>* deskew_angle)</div><div class="line"><a name="l00695"></a><span class="lineno"> 695</span> {</div><div class="line"><a name="l00696"></a><span class="lineno"> 696</span>  handle->Orientation(orientation, writing_direction, textline_order, deskew_angle);</div><div class="line"><a name="l00697"></a><span class="lineno"> 697</span> }</div><div class="line"><a name="l00698"></a><span class="lineno"> 698</span> </div><div class="line"><a name="l00699"></a><span class="lineno"><a class="line" href="a00014.html#a8783250f726786464cc0897870ce856f"> 699</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a8783250f726786464cc0897870ce856f">TessPageIteratorParagraphInfo</a>(<a class="code" href="a00014.html#a975e1aea4d19c979138dac040af1510a">TessPageIterator</a>* handle, <a class="code" href="a00014.html#a144959d83226444ee72a074994f6d68c">TessParagraphJustification</a>* justification,</div><div class="line"><a name="l00700"></a><span class="lineno"> 700</span>  <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> *is_list_item, <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> *is_crown, <span class="keywordtype">int</span> *first_line_indent)</div><div class="line"><a name="l00701"></a><span class="lineno"> 701</span> {</div><div class="line"><a name="l00702"></a><span class="lineno"> 702</span>  <span class="keywordtype">bool</span> bool_is_list_item, bool_is_crown;</div><div class="line"><a name="l00703"></a><span class="lineno"> 703</span>  handle->ParagraphInfo(justification, &bool_is_list_item, &bool_is_crown, first_line_indent);</div><div class="line"><a name="l00704"></a><span class="lineno"> 704</span>  <span class="keywordflow">if</span> (is_list_item)</div><div class="line"><a name="l00705"></a><span class="lineno"> 705</span>  *is_list_item = bool_is_list_item ? <a class="code" href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a> : <a class="code" href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>;</div><div class="line"><a name="l00706"></a><span class="lineno"> 706</span>  <span class="keywordflow">if</span> (is_crown)</div><div class="line"><a name="l00707"></a><span class="lineno"> 707</span>  *is_crown = bool_is_crown ? <a class="code" href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a> : <a class="code" href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>;</div><div class="line"><a name="l00708"></a><span class="lineno"> 708</span> }</div><div class="line"><a name="l00709"></a><span class="lineno"> 709</span> </div><div class="line"><a name="l00710"></a><span class="lineno"> 710</span> </div><div class="line"><a name="l00711"></a><span class="lineno"><a class="line" href="a00014.html#af91cbf1d56ed549004498a0d1f5939da"> 711</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#af91cbf1d56ed549004498a0d1f5939da">TessResultIteratorDelete</a>(<a class="code" href="a00014.html#aa313de0a41e165b98c3a1d4f1c83b04b">TessResultIterator</a>* handle)</div><div class="line"><a name="l00712"></a><span class="lineno"> 712</span> {</div><div class="line"><a name="l00713"></a><span class="lineno"> 713</span>  <span class="keyword">delete</span> handle;</div><div class="line"><a name="l00714"></a><span class="lineno"> 714</span> }</div><div class="line"><a name="l00715"></a><span class="lineno"> 715</span> </div><div class="line"><a name="l00716"></a><span class="lineno"><a class="line" href="a00014.html#a75eb88bc532dbac8f8e4d057587ba2f5"> 716</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#aa313de0a41e165b98c3a1d4f1c83b04b">TessResultIterator</a>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a75eb88bc532dbac8f8e4d057587ba2f5">TessResultIteratorCopy</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#aa313de0a41e165b98c3a1d4f1c83b04b">TessResultIterator</a>* handle)</div><div class="line"><a name="l00717"></a><span class="lineno"> 717</span> {</div><div class="line"><a name="l00718"></a><span class="lineno"> 718</span>  <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="a00014.html#aa313de0a41e165b98c3a1d4f1c83b04b">TessResultIterator</a>(*handle);</div><div class="line"><a name="l00719"></a><span class="lineno"> 719</span> }</div><div class="line"><a name="l00720"></a><span class="lineno"> 720</span> </div><div class="line"><a name="l00721"></a><span class="lineno"><a class="line" href="a00014.html#aa0acd04481f08f973afbe3a5c3af56e9"> 721</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#a975e1aea4d19c979138dac040af1510a">TessPageIterator</a>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#aa0acd04481f08f973afbe3a5c3af56e9">TessResultIteratorGetPageIterator</a>(<a class="code" href="a00014.html#aa313de0a41e165b98c3a1d4f1c83b04b">TessResultIterator</a>* handle)</div><div class="line"><a name="l00722"></a><span class="lineno"> 722</span> {</div><div class="line"><a name="l00723"></a><span class="lineno"> 723</span>  <span class="keywordflow">return</span> handle;</div><div class="line"><a name="l00724"></a><span class="lineno"> 724</span> }</div><div class="line"><a name="l00725"></a><span class="lineno"> 725</span> </div><div class="line"><a name="l00726"></a><span class="lineno"><a class="line" href="a00014.html#a601d6350bd127f65afeb16ceb7fa762c"> 726</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keyword">const</span> <a class="code" href="a00014.html#a975e1aea4d19c979138dac040af1510a">TessPageIterator</a>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a601d6350bd127f65afeb16ceb7fa762c">TessResultIteratorGetPageIteratorConst</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#aa313de0a41e165b98c3a1d4f1c83b04b">TessResultIterator</a>* handle)</div><div class="line"><a name="l00727"></a><span class="lineno"> 727</span> {</div><div class="line"><a name="l00728"></a><span class="lineno"> 728</span>  <span class="keywordflow">return</span> handle;</div><div class="line"><a name="l00729"></a><span class="lineno"> 729</span> }</div><div class="line"><a name="l00730"></a><span class="lineno"> 730</span> </div><div class="line"><a name="l00731"></a><span class="lineno"><a class="line" href="a00014.html#a366abfd6e30a3f74b622ca67a35f9db3"> 731</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#a7c4ee80ec46ad6a93ce21ed96a066c34">TessChoiceIterator</a>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a366abfd6e30a3f74b622ca67a35f9db3">TessResultIteratorGetChoiceIterator</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#aa313de0a41e165b98c3a1d4f1c83b04b">TessResultIterator</a>* handle)</div><div class="line"><a name="l00732"></a><span class="lineno"> 732</span> {</div><div class="line"><a name="l00733"></a><span class="lineno"> 733</span>  <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="a00014.html#a7c4ee80ec46ad6a93ce21ed96a066c34">TessChoiceIterator</a>(*handle);</div><div class="line"><a name="l00734"></a><span class="lineno"> 734</span> }</div><div class="line"><a name="l00735"></a><span class="lineno"> 735</span> </div><div class="line"><a name="l00736"></a><span class="lineno"><a class="line" href="a00014.html#a5c75525f550d5d71bdfb9a752a023b34"> 736</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a5c75525f550d5d71bdfb9a752a023b34">TessResultIteratorNext</a>(<a class="code" href="a00014.html#aa313de0a41e165b98c3a1d4f1c83b04b">TessResultIterator</a>* handle, <a class="code" href="a00014.html#aec47a81606272a1a7b914d862feae98c">TessPageIteratorLevel</a> level)</div><div class="line"><a name="l00737"></a><span class="lineno"> 737</span> {</div><div class="line"><a name="l00738"></a><span class="lineno"> 738</span>  <span class="keywordflow">return</span> handle->Next(level);</div><div class="line"><a name="l00739"></a><span class="lineno"> 739</span> }</div><div class="line"><a name="l00740"></a><span class="lineno"> 740</span> </div><div class="line"><a name="l00741"></a><span class="lineno"><a class="line" href="a00014.html#ac64d7dd7b55f8077af572367c83f0837"> 741</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">char</span>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ac64d7dd7b55f8077af572367c83f0837">TessResultIteratorGetUTF8Text</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#aa313de0a41e165b98c3a1d4f1c83b04b">TessResultIterator</a>* handle, <a class="code" href="a00014.html#aec47a81606272a1a7b914d862feae98c">TessPageIteratorLevel</a> level)</div><div class="line"><a name="l00742"></a><span class="lineno"> 742</span> {</div><div class="line"><a name="l00743"></a><span class="lineno"> 743</span>  <span class="keywordflow">return</span> handle->GetUTF8Text(level);</div><div class="line"><a name="l00744"></a><span class="lineno"> 744</span> }</div><div class="line"><a name="l00745"></a><span class="lineno"> 745</span> </div><div class="line"><a name="l00746"></a><span class="lineno"><a class="line" href="a00014.html#a291d318e2b3c57d4b87d370cfd250d3f"> 746</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">float</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a291d318e2b3c57d4b87d370cfd250d3f">TessResultIteratorConfidence</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#aa313de0a41e165b98c3a1d4f1c83b04b">TessResultIterator</a>* handle, <a class="code" href="a00014.html#aec47a81606272a1a7b914d862feae98c">TessPageIteratorLevel</a> level)</div><div class="line"><a name="l00747"></a><span class="lineno"> 747</span> {</div><div class="line"><a name="l00748"></a><span class="lineno"> 748</span>  <span class="keywordflow">return</span> handle->Confidence(level);</div><div class="line"><a name="l00749"></a><span class="lineno"> 749</span> }</div><div class="line"><a name="l00750"></a><span class="lineno"> 750</span> </div><div class="line"><a name="l00751"></a><span class="lineno"><a class="line" href="a00014.html#a8f62567c9f91314b0813cd77b200484a"> 751</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a8f62567c9f91314b0813cd77b200484a">TessResultIteratorWordRecognitionLanguage</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#aa313de0a41e165b98c3a1d4f1c83b04b">TessResultIterator</a>* handle)</div><div class="line"><a name="l00752"></a><span class="lineno"> 752</span> {</div><div class="line"><a name="l00753"></a><span class="lineno"> 753</span>  <span class="keywordflow">return</span> handle->WordRecognitionLanguage();</div><div class="line"><a name="l00754"></a><span class="lineno"> 754</span> }</div><div class="line"><a name="l00755"></a><span class="lineno"> 755</span> </div><div class="line"><a name="l00756"></a><span class="lineno"><a class="line" href="a00014.html#ab89cd69107e72201b1bb55d69d96cbe2"> 756</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ab89cd69107e72201b1bb55d69d96cbe2">TessResultIteratorWordFontAttributes</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#aa313de0a41e165b98c3a1d4f1c83b04b">TessResultIterator</a>* handle, <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a>* is_bold, <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a>* is_italic,</div><div class="line"><a name="l00757"></a><span class="lineno"> 757</span>  <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a>* is_underlined, <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a>* is_monospace, <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a>* is_serif,</div><div class="line"><a name="l00758"></a><span class="lineno"> 758</span>  <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a>* is_smallcaps, <span class="keywordtype">int</span>* pointsize, <span class="keywordtype">int</span>* font_id)</div><div class="line"><a name="l00759"></a><span class="lineno"> 759</span> {</div><div class="line"><a name="l00760"></a><span class="lineno"> 760</span>  <span class="keywordtype">bool</span> bool_is_bold, bool_is_italic, bool_is_underlined, bool_is_monospace, bool_is_serif, bool_is_smallcaps;</div><div class="line"><a name="l00761"></a><span class="lineno"> 761</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* ret = handle->WordFontAttributes(&bool_is_bold, &bool_is_italic, &bool_is_underlined, &bool_is_monospace, &bool_is_serif,</div><div class="line"><a name="l00762"></a><span class="lineno"> 762</span>  &bool_is_smallcaps, pointsize, font_id);</div><div class="line"><a name="l00763"></a><span class="lineno"> 763</span>  <span class="keywordflow">if</span> (is_bold)</div><div class="line"><a name="l00764"></a><span class="lineno"> 764</span>  *is_bold = bool_is_bold ? <a class="code" href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a> : <a class="code" href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>;</div><div class="line"><a name="l00765"></a><span class="lineno"> 765</span>  <span class="keywordflow">if</span> (is_italic)</div><div class="line"><a name="l00766"></a><span class="lineno"> 766</span>  *is_italic = bool_is_italic ? <a class="code" href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a> : <a class="code" href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>;</div><div class="line"><a name="l00767"></a><span class="lineno"> 767</span>  <span class="keywordflow">if</span> (is_underlined)</div><div class="line"><a name="l00768"></a><span class="lineno"> 768</span>  *is_underlined = bool_is_underlined ? <a class="code" href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a> : <a class="code" href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>;</div><div class="line"><a name="l00769"></a><span class="lineno"> 769</span>  <span class="keywordflow">if</span> (is_monospace)</div><div class="line"><a name="l00770"></a><span class="lineno"> 770</span>  *is_monospace = bool_is_monospace ? <a class="code" href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a> : <a class="code" href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>;</div><div class="line"><a name="l00771"></a><span class="lineno"> 771</span>  <span class="keywordflow">if</span> (is_serif)</div><div class="line"><a name="l00772"></a><span class="lineno"> 772</span>  *is_serif = bool_is_serif ? <a class="code" href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a> : <a class="code" href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>;</div><div class="line"><a name="l00773"></a><span class="lineno"> 773</span>  <span class="keywordflow">if</span> (is_smallcaps)</div><div class="line"><a name="l00774"></a><span class="lineno"> 774</span>  *is_smallcaps = bool_is_smallcaps ? <a class="code" href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a> : <a class="code" href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>;</div><div class="line"><a name="l00775"></a><span class="lineno"> 775</span>  <span class="keywordflow">return</span> ret;</div><div class="line"><a name="l00776"></a><span class="lineno"> 776</span> }</div><div class="line"><a name="l00777"></a><span class="lineno"> 777</span> </div><div class="line"><a name="l00778"></a><span class="lineno"><a class="line" href="a00014.html#a23e2e61e2c80cd421560a9617dc8561d"> 778</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a23e2e61e2c80cd421560a9617dc8561d">TessResultIteratorWordIsFromDictionary</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#aa313de0a41e165b98c3a1d4f1c83b04b">TessResultIterator</a>* handle)</div><div class="line"><a name="l00779"></a><span class="lineno"> 779</span> {</div><div class="line"><a name="l00780"></a><span class="lineno"> 780</span>  <span class="keywordflow">return</span> handle->WordIsFromDictionary() ? <a class="code" href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a> : <a class="code" href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>;</div><div class="line"><a name="l00781"></a><span class="lineno"> 781</span> }</div><div class="line"><a name="l00782"></a><span class="lineno"> 782</span> </div><div class="line"><a name="l00783"></a><span class="lineno"><a class="line" href="a00014.html#af20288baca0de86ca522d8b896a5255f"> 783</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#af20288baca0de86ca522d8b896a5255f">TessResultIteratorWordIsNumeric</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#aa313de0a41e165b98c3a1d4f1c83b04b">TessResultIterator</a>* handle)</div><div class="line"><a name="l00784"></a><span class="lineno"> 784</span> {</div><div class="line"><a name="l00785"></a><span class="lineno"> 785</span>  <span class="keywordflow">return</span> handle->WordIsNumeric() ? <a class="code" href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a> : <a class="code" href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>;</div><div class="line"><a name="l00786"></a><span class="lineno"> 786</span> }</div><div class="line"><a name="l00787"></a><span class="lineno"> 787</span> </div><div class="line"><a name="l00788"></a><span class="lineno"><a class="line" href="a00014.html#a46e2b1d1fafb0f63e1a36edeb52a361a"> 788</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a46e2b1d1fafb0f63e1a36edeb52a361a">TessResultIteratorSymbolIsSuperscript</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#aa313de0a41e165b98c3a1d4f1c83b04b">TessResultIterator</a>* handle)</div><div class="line"><a name="l00789"></a><span class="lineno"> 789</span> {</div><div class="line"><a name="l00790"></a><span class="lineno"> 790</span>  <span class="keywordflow">return</span> handle->SymbolIsSuperscript() ? <a class="code" href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a> : <a class="code" href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>;</div><div class="line"><a name="l00791"></a><span class="lineno"> 791</span> }</div><div class="line"><a name="l00792"></a><span class="lineno"> 792</span> </div><div class="line"><a name="l00793"></a><span class="lineno"><a class="line" href="a00014.html#a978a458973bff996111e16f559badf91"> 793</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a978a458973bff996111e16f559badf91">TessResultIteratorSymbolIsSubscript</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#aa313de0a41e165b98c3a1d4f1c83b04b">TessResultIterator</a>* handle)</div><div class="line"><a name="l00794"></a><span class="lineno"> 794</span> {</div><div class="line"><a name="l00795"></a><span class="lineno"> 795</span>  <span class="keywordflow">return</span> handle->SymbolIsSubscript() ? <a class="code" href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a> : <a class="code" href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>;</div><div class="line"><a name="l00796"></a><span class="lineno"> 796</span> }</div><div class="line"><a name="l00797"></a><span class="lineno"> 797</span> </div><div class="line"><a name="l00798"></a><span class="lineno"><a class="line" href="a00014.html#a674a88af648d17a9207de771382be722"> 798</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a674a88af648d17a9207de771382be722">TessResultIteratorSymbolIsDropcap</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#aa313de0a41e165b98c3a1d4f1c83b04b">TessResultIterator</a>* handle)</div><div class="line"><a name="l00799"></a><span class="lineno"> 799</span> {</div><div class="line"><a name="l00800"></a><span class="lineno"> 800</span>  <span class="keywordflow">return</span> handle->SymbolIsDropcap() ? <a class="code" href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a> : <a class="code" href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>;</div><div class="line"><a name="l00801"></a><span class="lineno"> 801</span> }</div><div class="line"><a name="l00802"></a><span class="lineno"> 802</span> </div><div class="line"><a name="l00803"></a><span class="lineno"><a class="line" href="a00014.html#a18d3f5a438f9239006ba54a7cbad6943"> 803</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a18d3f5a438f9239006ba54a7cbad6943">TessChoiceIteratorDelete</a>(<a class="code" href="a00014.html#a7c4ee80ec46ad6a93ce21ed96a066c34">TessChoiceIterator</a>* handle)</div><div class="line"><a name="l00804"></a><span class="lineno"> 804</span> {</div><div class="line"><a name="l00805"></a><span class="lineno"> 805</span>  <span class="keyword">delete</span> handle;</div><div class="line"><a name="l00806"></a><span class="lineno"> 806</span> }</div><div class="line"><a name="l00807"></a><span class="lineno"> 807</span> </div><div class="line"><a name="l00808"></a><span class="lineno"><a class="line" href="a00014.html#a25e9eb67964d728af85b1438987bf33b"> 808</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a25e9eb67964d728af85b1438987bf33b">TessChoiceIteratorNext</a>(<a class="code" href="a00014.html#a7c4ee80ec46ad6a93ce21ed96a066c34">TessChoiceIterator</a>* handle)</div><div class="line"><a name="l00809"></a><span class="lineno"> 809</span> {</div><div class="line"><a name="l00810"></a><span class="lineno"> 810</span>  <span class="keywordflow">return</span> handle->Next();</div><div class="line"><a name="l00811"></a><span class="lineno"> 811</span> }</div><div class="line"><a name="l00812"></a><span class="lineno"> 812</span> </div><div class="line"><a name="l00813"></a><span class="lineno"><a class="line" href="a00014.html#a2a6dd58f5ad4ac8c28bff654c9b771ad"> 813</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a2a6dd58f5ad4ac8c28bff654c9b771ad">TessChoiceIteratorGetUTF8Text</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#a7c4ee80ec46ad6a93ce21ed96a066c34">TessChoiceIterator</a>* handle)</div><div class="line"><a name="l00814"></a><span class="lineno"> 814</span> {</div><div class="line"><a name="l00815"></a><span class="lineno"> 815</span>  <span class="keywordflow">return</span> handle->GetUTF8Text();</div><div class="line"><a name="l00816"></a><span class="lineno"> 816</span> }</div><div class="line"><a name="l00817"></a><span class="lineno"> 817</span> </div><div class="line"><a name="l00818"></a><span class="lineno"><a class="line" href="a00014.html#ac2f621df13a7879d0fa13b601cb6ce81"> 818</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">float</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ac2f621df13a7879d0fa13b601cb6ce81">TessChoiceIteratorConfidence</a>(<span class="keyword">const</span> <a class="code" href="a00014.html#a7c4ee80ec46ad6a93ce21ed96a066c34">TessChoiceIterator</a>* handle)</div><div class="line"><a name="l00819"></a><span class="lineno"> 819</span> {</div><div class="line"><a name="l00820"></a><span class="lineno"> 820</span>  <span class="keywordflow">return</span> handle->Confidence();</div><div class="line"><a name="l00821"></a><span class="lineno"> 821</span> }</div><div class="line"><a name="l00822"></a><span class="lineno"> 822</span> </div><div class="line"><a name="l00823"></a><span class="lineno"><a class="line" href="a00014.html#a5c286acc2aeaf80817a3b83b8c6bfd9d"> 823</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <a class="code" href="a02786.html">ETEXT_DESC</a>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a5c286acc2aeaf80817a3b83b8c6bfd9d">TessMonitorCreate</a>()</div><div class="line"><a name="l00824"></a><span class="lineno"> 824</span> {</div><div class="line"><a name="l00825"></a><span class="lineno"> 825</span>  <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="a00014.html#ab8e3fa6888258e9b82d97ca2bb703212">ETEXT_DESC</a>();</div><div class="line"><a name="l00826"></a><span class="lineno"> 826</span> }</div><div class="line"><a name="l00827"></a><span class="lineno"> 827</span> </div><div class="line"><a name="l00828"></a><span class="lineno"><a class="line" href="a00014.html#afa8b66dc68c34f80926783e1d53181f6"> 828</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#afa8b66dc68c34f80926783e1d53181f6">TessMonitorDelete</a>(<a class="code" href="a02786.html">ETEXT_DESC</a>* monitor)</div><div class="line"><a name="l00829"></a><span class="lineno"> 829</span> {</div><div class="line"><a name="l00830"></a><span class="lineno"> 830</span>  <span class="keyword">delete</span> monitor;</div><div class="line"><a name="l00831"></a><span class="lineno"> 831</span> }</div><div class="line"><a name="l00832"></a><span class="lineno"> 832</span> </div><div class="line"><a name="l00833"></a><span class="lineno"><a class="line" href="a00014.html#a1d863d8be4c2e01aa5601c49408351ef"> 833</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a1d863d8be4c2e01aa5601c49408351ef">TessMonitorSetCancelFunc</a>(<a class="code" href="a02786.html">ETEXT_DESC</a>* monitor, <a class="code" href="a00014.html#aa2ee919d88770b0dc12682e057edebb5">TessCancelFunc</a> cancelFunc)</div><div class="line"><a name="l00834"></a><span class="lineno"> 834</span> {</div><div class="line"><a name="l00835"></a><span class="lineno"> 835</span>  monitor-><a class="code" href="a02786.html#afcea4319ceed9b37f3c43eec9ec5d55a">cancel</a> = cancelFunc;</div><div class="line"><a name="l00836"></a><span class="lineno"> 836</span> }</div><div class="line"><a name="l00837"></a><span class="lineno"> 837</span> </div><div class="line"><a name="l00838"></a><span class="lineno"><a class="line" href="a00014.html#ac557e425f0d235228ff651f459266daa"> 838</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ac557e425f0d235228ff651f459266daa">TessMonitorSetCancelThis</a>(<a class="code" href="a02786.html">ETEXT_DESC</a>* monitor, <span class="keywordtype">void</span>* cancelThis)</div><div class="line"><a name="l00839"></a><span class="lineno"> 839</span> {</div><div class="line"><a name="l00840"></a><span class="lineno"> 840</span>  monitor-><a class="code" href="a02786.html#a4844a3e9868a0fde7ad2fcaa37f5c5f1">cancel_this</a> = cancelThis;</div><div class="line"><a name="l00841"></a><span class="lineno"> 841</span> }</div><div class="line"><a name="l00842"></a><span class="lineno"> 842</span> </div><div class="line"><a name="l00843"></a><span class="lineno"><a class="line" href="a00014.html#aa4fe3b14c7bc395395e663877a574476"> 843</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span>* <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#aa4fe3b14c7bc395395e663877a574476">TessMonitorGetCancelThis</a>(<a class="code" href="a02786.html">ETEXT_DESC</a>* monitor)</div><div class="line"><a name="l00844"></a><span class="lineno"> 844</span> {</div><div class="line"><a name="l00845"></a><span class="lineno"> 845</span>  <span class="keywordflow">return</span> monitor-><a class="code" href="a02786.html#a4844a3e9868a0fde7ad2fcaa37f5c5f1">cancel_this</a>;</div><div class="line"><a name="l00846"></a><span class="lineno"> 846</span> }</div><div class="line"><a name="l00847"></a><span class="lineno"> 847</span> </div><div class="line"><a name="l00848"></a><span class="lineno"><a class="line" href="a00014.html#ae394c2eb2d08bb8608dc4ffb358cad65"> 848</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#ae394c2eb2d08bb8608dc4ffb358cad65">TessMonitorSetProgressFunc</a>(<a class="code" href="a02786.html">ETEXT_DESC</a>* monitor, <a class="code" href="a00014.html#a321970606761526f4a0d6a642761b5f1">TessProgressFunc</a> progressFunc)</div><div class="line"><a name="l00849"></a><span class="lineno"> 849</span> {</div><div class="line"><a name="l00850"></a><span class="lineno"> 850</span>  monitor-><a class="code" href="a02786.html#a51ef2705184520ed0b44e218aa2b1706">progress_callback2</a> = progressFunc;</div><div class="line"><a name="l00851"></a><span class="lineno"> 851</span> }</div><div class="line"><a name="l00852"></a><span class="lineno"> 852</span> </div><div class="line"><a name="l00853"></a><span class="lineno"><a class="line" href="a00014.html#a386988e461599d2f36078c387a2fb903"> 853</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">int</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a386988e461599d2f36078c387a2fb903">TessMonitorGetProgress</a>(<a class="code" href="a02786.html">ETEXT_DESC</a>* monitor)</div><div class="line"><a name="l00854"></a><span class="lineno"> 854</span> {</div><div class="line"><a name="l00855"></a><span class="lineno"> 855</span>  <span class="keywordflow">return</span> monitor-><a class="code" href="a02786.html#a469c1ab091847e37969871bd89cf1005">progress</a>;</div><div class="line"><a name="l00856"></a><span class="lineno"> 856</span> }</div><div class="line"><a name="l00857"></a><span class="lineno"> 857</span> </div><div class="line"><a name="l00858"></a><span class="lineno"><a class="line" href="a00014.html#a9bbabd304cc94859b57d9d512e889234"> 858</a></span> <a class="code" href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a> <span class="keywordtype">void</span> <a class="code" href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a> <a class="code" href="a00011.html#a9bbabd304cc94859b57d9d512e889234">TessMonitorSetDeadlineMSecs</a>(<a class="code" href="a02786.html">ETEXT_DESC</a>* monitor, <span class="keywordtype">int</span> deadline)</div><div class="line"><a name="l00859"></a><span class="lineno"> 859</span> {</div><div class="line"><a name="l00860"></a><span class="lineno"> 860</span>  monitor-><a class="code" href="a02786.html#a16abfdff240ef121844b07bfa3afd4b5">set_deadline_msecs</a>(deadline);</div><div class="line"><a name="l00861"></a><span class="lineno"> 861</span> }</div><div class="ttc" id="a00011_html_a86242cfb7f13a62ed7f7bc0a697ab5fe"><div class="ttname"><a href="a00011.html#a86242cfb7f13a62ed7f7bc0a697ab5fe">TessBaseAPIGetThresholdedImage</a></div><div class="ttdeci">TESS_API struct Pix *TESS_CALL TessBaseAPIGetThresholdedImage(TessBaseAPI *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00374">capi.cpp:374</a></div></div>
<div class="ttc" id="a00011_html_acf0c584e90c44ba34f4fac60b71e9bb9"><div class="ttname"><a href="a00011.html#acf0c584e90c44ba34f4fac60b71e9bb9">TessBaseAPISetInputName</a></div><div class="ttdeci">TESS_API void TESS_CALL TessBaseAPISetInputName(TessBaseAPI *handle, const char *name)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00145">capi.cpp:145</a></div></div>
<div class="ttc" id="a00014_html_a08851ee04668aadaf71877bc6d361d56"><div class="ttname"><a href="a00014.html#a08851ee04668aadaf71877bc6d361d56">TESS_CALL</a></div><div class="ttdeci">#define TESS_CALL</div><div class="ttdef"><b>Definition:</b> <a href="a00014_source.html#l00045">capi.h:45</a></div></div>
<div class="ttc" id="a00014_html_a7c4ee80ec46ad6a93ce21ed96a066c34"><div class="ttname"><a href="a00014.html#a7c4ee80ec46ad6a93ce21ed96a066c34">TessChoiceIterator</a></div><div class="ttdeci">struct TessChoiceIterator TessChoiceIterator</div><div class="ttdef"><b>Definition:</b> <a href="a00014_source.html#l00093">capi.h:93</a></div></div>
<div class="ttc" id="a00014_html_aa2ee919d88770b0dc12682e057edebb5"><div class="ttname"><a href="a00014.html#aa2ee919d88770b0dc12682e057edebb5">TessCancelFunc</a></div><div class="ttdeci">bool(* TessCancelFunc)(void *cancel_this, int words)</div><div class="ttdef"><b>Definition:</b> <a href="a00014_source.html#l00109">capi.h:109</a></div></div>
<div class="ttc" id="a00011_html_ae3ba2db585158457f5792de741f79fd5"><div class="ttname"><a href="a00011.html#ae3ba2db585158457f5792de741f79fd5">TessBaseAPIIsValidWord</a></div><div class="ttdeci">TESS_API int TESS_CALL TessBaseAPIIsValidWord(TessBaseAPI *handle, const char *word)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00520">capi.cpp:520</a></div></div>
<div class="ttc" id="a00011_html_aa0acd04481f08f973afbe3a5c3af56e9"><div class="ttname"><a href="a00011.html#aa0acd04481f08f973afbe3a5c3af56e9">TessResultIteratorGetPageIterator</a></div><div class="ttdeci">TESS_API TessPageIterator *TESS_CALL TessResultIteratorGetPageIterator(TessResultIterator *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00721">capi.cpp:721</a></div></div>
<div class="ttc" id="a00011_html_a18d3f5a438f9239006ba54a7cbad6943"><div class="ttname"><a href="a00011.html#a18d3f5a438f9239006ba54a7cbad6943">TessChoiceIteratorDelete</a></div><div class="ttdeci">TESS_API void TESS_CALL TessChoiceIteratorDelete(TessChoiceIterator *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00803">capi.cpp:803</a></div></div>
<div class="ttc" id="a00011_html_ac51aacae360670b0499d599fb64934d0"><div class="ttname"><a href="a00011.html#ac51aacae360670b0499d599fb64934d0">TessResultRendererImageNum</a></div><div class="ttdeci">TESS_API int TESS_CALL TessResultRendererImageNum(TessResultRenderer *renderer)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00125">capi.cpp:125</a></div></div>
<div class="ttc" id="a00014_html_af1153a53bc695f0995e898dd6ea65498"><div class="ttname"><a href="a00014.html#af1153a53bc695f0995e898dd6ea65498">TessWritingDirection</a></div><div class="ttdeci">TessWritingDirection</div><div class="ttdef"><b>Definition:</b> <a href="a00014_source.html#l00104">capi.h:104</a></div></div>
<div class="ttc" id="a00011_html_a9baae60a120ecf2b643a3e7839ff63fc"><div class="ttname"><a href="a00011.html#a9baae60a120ecf2b643a3e7839ff63fc">TessBaseAPISetMinOrientationMargin</a></div><div class="ttdeci">TESS_API void TESS_CALL TessBaseAPISetMinOrientationMargin(TessBaseAPI *handle, double margin)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00616">capi.cpp:616</a></div></div>
<div class="ttc" id="a00011_html_a2eac059f6c117c95382b85fbdba567fc"><div class="ttname"><a href="a00011.html#a2eac059f6c117c95382b85fbdba567fc">TessBaseAPIGetOpenCLDevice</a></div><div class="ttdeci">TESS_API size_t TESS_CALL TessBaseAPIGetOpenCLDevice(TessBaseAPI *handle, void **device)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00140">capi.cpp:140</a></div></div>
<div class="ttc" id="a00011_html_a1372517566ba86d7a5b34e43c0609d58"><div class="ttname"><a href="a00011.html#a1372517566ba86d7a5b34e43c0609d58">TessBaseAPISetThresholder</a></div><div class="ttdeci">TESS_API void TESS_CALL TessBaseAPISetThresholder(TessBaseAPI *handle, TessImageThresholder *thresholder)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00369">capi.cpp:369</a></div></div>
<div class="ttc" id="a00011_html_a765b7fb70a9a8ee90d7f228d2cb02779"><div class="ttname"><a href="a00011.html#a765b7fb70a9a8ee90d7f228d2cb02779">TessPageIteratorBegin</a></div><div class="ttdeci">TESS_API void TESS_CALL TessPageIteratorBegin(TessPageIterator *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00643">capi.cpp:643</a></div></div>
<div class="ttc" id="a00011_html_afe6db9136c40c25f2efd22e4ebdf6d3e"><div class="ttname"><a href="a00011.html#afe6db9136c40c25f2efd22e4ebdf6d3e">TessBaseAPIDetectOrientationScript</a></div><div class="ttdeci">TESS_API BOOL TESS_CALL TessBaseAPIDetectOrientationScript(TessBaseAPI *handle, int *orient_deg, float *orient_conf, const char **script_name, float *script_conf)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00547">capi.cpp:547</a></div></div>
<div class="ttc" id="a02182_html_a20cfad5c58c50cb85a9529d8ddbd96af"><div class="ttname"><a href="a02182.html#a20cfad5c58c50cb85a9529d8ddbd96af">GenericVector::size</a></div><div class="ttdeci">int size() const</div><div class="ttdef"><b>Definition:</b> <a href="a00518_source.html#l00071">genericvector.h:71</a></div></div>
<div class="ttc" id="a00011_html_a3f3ba5c97886985df81ec1bb2e9e7d2e"><div class="ttname"><a href="a00011.html#a3f3ba5c97886985df81ec1bb2e9e7d2e">TessBaseAPIGetLoadedLanguagesAsVector</a></div><div class="ttdeci">TESS_API char **TESS_CALL TessBaseAPIGetLoadedLanguagesAsVector(const TessBaseAPI *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00280">capi.cpp:280</a></div></div>
<div class="ttc" id="a00011_html_a311e01521a06b6c5d128dce18ca564d2"><div class="ttname"><a href="a00011.html#a311e01521a06b6c5d128dce18ca564d2">TessBaseAPIGetThresholdedImageScaleFactor</a></div><div class="ttdeci">TESS_API int TESS_CALL TessBaseAPIGetThresholdedImageScaleFactor(const TessBaseAPI *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00423">capi.cpp:423</a></div></div>
<div class="ttc" id="a00011_html_af0ac5466f656b99f68b9c599be423343"><div class="ttname"><a href="a00011.html#af0ac5466f656b99f68b9c599be423343">TessDeleteText</a></div><div class="ttdeci">TESS_API void TESS_CALL TessDeleteText(char *text)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00030">capi.cpp:30</a></div></div>
<div class="ttc" id="a00011_html_a23b3e5651c6604163a2afd1599e1f984"><div class="ttname"><a href="a00011.html#a23b3e5651c6604163a2afd1599e1f984">TessPageIteratorBaseline</a></div><div class="ttdeci">TESS_API BOOL TESS_CALL TessPageIteratorBaseline(const TessPageIterator *handle, TessPageIteratorLevel level, int *x1, int *y1, int *x2, int *y2)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00686">capi.cpp:686</a></div></div>
<div class="ttc" id="a00011_html_a5497911e671fae633358de550a700c03"><div class="ttname"><a href="a00011.html#a5497911e671fae633358de550a700c03">TessPDFRendererCreate</a></div><div class="ttdeci">TESS_API TessResultRenderer *TESS_CALL TessPDFRendererCreate(const char *outputbase, const char *datadir, BOOL textonly)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00069">capi.cpp:69</a></div></div>
<div class="ttc" id="a00014_html_a144959d83226444ee72a074994f6d68c"><div class="ttname"><a href="a00014.html#a144959d83226444ee72a074994f6d68c">TessParagraphJustification</a></div><div class="ttdeci">TessParagraphJustification</div><div class="ttdef"><b>Definition:</b> <a href="a00014_source.html#l00103">capi.h:103</a></div></div>
<div class="ttc" id="a00014_html_ac9242125c22e99e11c97021e7d68cc38"><div class="ttname"><a href="a00014.html#ac9242125c22e99e11c97021e7d68cc38">TessUnlvRenderer</a></div><div class="ttdeci">struct TessUnlvRenderer TessUnlvRenderer</div><div class="ttdef"><b>Definition:</b> <a href="a00014_source.html#l00087">capi.h:87</a></div></div>
<div class="ttc" id="a00011_html_a3c47a6733ac46bd1581f0adc80ea524a"><div class="ttname"><a href="a00011.html#a3c47a6733ac46bd1581f0adc80ea524a">TessBaseAPIGetRegions</a></div><div class="ttdeci">TESS_API struct Boxa *TESS_CALL TessBaseAPIGetRegions(TessBaseAPI *handle, struct Pixa **pixa)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00379">capi.cpp:379</a></div></div>
<div class="ttc" id="a00014_html_aa8cecfc5c5c054d2875c03e77b7be15d"><div class="ttname"><a href="a00014.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a></div><div class="ttdeci">#define TRUE</div><div class="ttdef"><b>Definition:</b> <a href="a00014_source.html#l00051">capi.h:51</a></div></div>
<div class="ttc" id="a00014_html_a4d1f965486ce272064ffdbd7a618234c"><div class="ttname"><a href="a00014.html#a4d1f965486ce272064ffdbd7a618234c">TessPageSegMode</a></div><div class="ttdeci">TessPageSegMode</div><div class="ttdef"><b>Definition:</b> <a href="a00014_source.html#l00095">capi.h:95</a></div></div>
<div class="ttc" id="a00011_html_a44bbf556df9721bec0ac166075dcee98"><div class="ttname"><a href="a00011.html#a44bbf556df9721bec0ac166075dcee98">TessBaseAPIGetUnichar</a></div><div class="ttdeci">TESS_API const char *TESS_CALL TessBaseAPIGetUnichar(TessBaseAPI *handle, int unichar_id)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00574">capi.cpp:574</a></div></div>
<div class="ttc" id="a00560_html_a86e51270628c53ce7e2c23b1c2b4490e"><div class="ttname"><a href="a00560.html#a86e51270628c53ce7e2c23b1c2b4490e">TESS_API</a></div><div class="ttdeci">#define TESS_API</div><div class="ttdef"><b>Definition:</b> <a href="a00560_source.html#l00074">platform.h:74</a></div></div>
<div class="ttc" id="a00014_html_a31717883a37a7332c296efcd04a08963"><div class="ttname"><a href="a00014.html#a31717883a37a7332c296efcd04a08963">TessPDFRenderer</a></div><div class="ttdeci">struct TessPDFRenderer TessPDFRenderer</div><div class="ttdef"><b>Definition:</b> <a href="a00014_source.html#l00086">capi.h:86</a></div></div>
<div class="ttc" id="a00011_html_ac4a17da147c71ccfbcba1c227d7cfad5"><div class="ttname"><a href="a00011.html#ac4a17da147c71ccfbcba1c227d7cfad5">TessBaseAPIClearPersistentCache</a></div><div class="ttdeci">TESS_API void TESS_CALL TessBaseAPIClearPersistentCache(TessBaseAPI *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00535">capi.cpp:535</a></div></div>
<div class="ttc" id="a00011_html_aeeef3ac31b9d1baa08f3d4eaf68a604f"><div class="ttname"><a href="a00011.html#aeeef3ac31b9d1baa08f3d4eaf68a604f">TessBaseAPIPrintVariablesToFile</a></div><div class="ttdeci">TESS_API BOOL TESS_CALL TessBaseAPIPrintVariablesToFile(const TessBaseAPI *handle, const char *filename)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00224">capi.cpp:224</a></div></div>
<div class="ttc" id="a00011_html_ab89cd69107e72201b1bb55d69d96cbe2"><div class="ttname"><a href="a00011.html#ab89cd69107e72201b1bb55d69d96cbe2">TessResultIteratorWordFontAttributes</a></div><div class="ttdeci">TESS_API const char *TESS_CALL TessResultIteratorWordFontAttributes(const TessResultIterator *handle, BOOL *is_bold, BOOL *is_italic, BOOL *is_underlined, BOOL *is_monospace, BOOL *is_serif, BOOL *is_smallcaps, int *pointsize, int *font_id)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00756">capi.cpp:756</a></div></div>
<div class="ttc" id="a00011_html_a08bc595c20b05430f7a05c3f077188c9"><div class="ttname"><a href="a00011.html#a08bc595c20b05430f7a05c3f077188c9">TessBaseAPISetDictFunc</a></div><div class="ttdeci">TESS_API void TESS_CALL TessBaseAPISetDictFunc(TessBaseAPI *handle, TessDictFunc f)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00530">capi.cpp:530</a></div></div>
<div class="ttc" id="a00011_html_a1863ca810eaa1b87a8aee3d344073cd2"><div class="ttname"><a href="a00011.html#a1863ca810eaa1b87a8aee3d344073cd2">TessBaseAPIGetComponentImages1</a></div><div class="ttdeci">TESS_API struct Boxa *TESS_CALL TessBaseAPIGetComponentImages1(TessBaseAPI *handle, const TessPageIteratorLevel level, const BOOL text_only, const BOOL raw_image, const int raw_padding, struct Pixa **pixa, int **blockids, int **paraids)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00416">capi.cpp:416</a></div></div>
<div class="ttc" id="a02786_html_a4844a3e9868a0fde7ad2fcaa37f5c5f1"><div class="ttname"><a href="a02786.html#a4844a3e9868a0fde7ad2fcaa37f5c5f1">ETEXT_DESC::cancel_this</a></div><div class="ttdeci">void * cancel_this</div><div class="ttdoc">monitor-aware progress callback </div><div class="ttdef"><b>Definition:</b> <a href="a00551_source.html#l00132">ocrclass.h:132</a></div></div>
<div class="ttc" id="a00011_html_a386988e461599d2f36078c387a2fb903"><div class="ttname"><a href="a00011.html#a386988e461599d2f36078c387a2fb903">TessMonitorGetProgress</a></div><div class="ttdeci">TESS_API int TESS_CALL TessMonitorGetProgress(ETEXT_DESC *monitor)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00853">capi.cpp:853</a></div></div>
<div class="ttc" id="a00011_html_afa8b66dc68c34f80926783e1d53181f6"><div class="ttname"><a href="a00011.html#afa8b66dc68c34f80926783e1d53181f6">TessMonitorDelete</a></div><div class="ttdeci">TESS_API void TESS_CALL TessMonitorDelete(ETEXT_DESC *monitor)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00828">capi.cpp:828</a></div></div>
<div class="ttc" id="a00014_html_a47436d31525552f08492b8dcdfc12755"><div class="ttname"><a href="a00014.html#a47436d31525552f08492b8dcdfc12755">TessBaseAPI</a></div><div class="ttdeci">struct TessBaseAPI TessBaseAPI</div><div class="ttdef"><b>Definition:</b> <a href="a00014_source.html#l00089">capi.h:89</a></div></div>
<div class="ttc" id="a00011_html_ac5deaa694b9573a45f51d2a95a60b4f3"><div class="ttname"><a href="a00011.html#ac5deaa694b9573a45f51d2a95a60b4f3">TessBaseAPIGetInputName</a></div><div class="ttdeci">TESS_API const char *TESS_CALL TessBaseAPIGetInputName(TessBaseAPI *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00150">capi.cpp:150</a></div></div>
<div class="ttc" id="a00011_html_aec9b3b37afbbb708d9ce2672c74ecafe"><div class="ttname"><a href="a00011.html#aec9b3b37afbbb708d9ce2672c74ecafe">TessBaseAPIGetVariableAsString</a></div><div class="ttdeci">TESS_API BOOL TESS_CALL TessBaseAPIGetVariableAsString(TessBaseAPI *handle, const char *name, STRING *val)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00236">capi.cpp:236</a></div></div>
<div class="ttc" id="a00011_html_a56b8a2a57642d9f7e2cd947cd23d1ded"><div class="ttname"><a href="a00011.html#a56b8a2a57642d9f7e2cd947cd23d1ded">TessBaseAPIClear</a></div><div class="ttdeci">TESS_API void TESS_CALL TessBaseAPIClear(TessBaseAPI *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00510">capi.cpp:510</a></div></div>
<div class="ttc" id="a00011_html_ad3af0f9856c3622f04ec614d1c137906"><div class="ttname"><a href="a00011.html#ad3af0f9856c3622f04ec614d1c137906">TessBaseAPIGetHOCRText</a></div><div class="ttdeci">TESS_API char *TESS_CALL TessBaseAPIGetHOCRText(TessBaseAPI *handle, int page_number)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00478">capi.cpp:478</a></div></div>
<div class="ttc" id="a00011_html_a25e9eb67964d728af85b1438987bf33b"><div class="ttname"><a href="a00011.html#a25e9eb67964d728af85b1438987bf33b">TessChoiceIteratorNext</a></div><div class="ttdeci">TESS_API BOOL TESS_CALL TessChoiceIteratorNext(TessChoiceIterator *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00808">capi.cpp:808</a></div></div>
<div class="ttc" id="a00014_html_a872e38dd847848a617d771dd3adce886"><div class="ttname"><a href="a00014.html#a872e38dd847848a617d771dd3adce886">TessTextRenderer</a></div><div class="ttdeci">struct TessTextRenderer TessTextRenderer</div><div class="ttdef"><b>Definition:</b> <a href="a00014_source.html#l00084">capi.h:84</a></div></div>
<div class="ttc" id="a00011_html_a9bbabd304cc94859b57d9d512e889234"><div class="ttname"><a href="a00011.html#a9bbabd304cc94859b57d9d512e889234">TessMonitorSetDeadlineMSecs</a></div><div class="ttdeci">TESS_API void TESS_CALL TessMonitorSetDeadlineMSecs(ETEXT_DESC *monitor, int deadline)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00858">capi.cpp:858</a></div></div>
<div class="ttc" id="a00014_html_a02cfd8369d5ad8c70a8b90c0f40d677f"><div class="ttname"><a href="a00014.html#a02cfd8369d5ad8c70a8b90c0f40d677f">TessPolyBlockType</a></div><div class="ttdeci">TessPolyBlockType</div><div class="ttdef"><b>Definition:</b> <a href="a00014_source.html#l00099">capi.h:99</a></div></div>
<div class="ttc" id="a00011_html_a624731fab8a0107a6949195f62d63710"><div class="ttname"><a href="a00011.html#a624731fab8a0107a6949195f62d63710">TessBaseAPIGetUTF8Text</a></div><div class="ttdeci">TESS_API char *TESS_CALL TessBaseAPIGetUTF8Text(TessBaseAPI *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00473">capi.cpp:473</a></div></div>
<div class="ttc" id="a00011_html_a5333521fbdafa93ade03b995eddbdcab"><div class="ttname"><a href="a00011.html#a5333521fbdafa93ade03b995eddbdcab">TessBaseAPIGetBoolVariable</a></div><div class="ttdeci">TESS_API BOOL TESS_CALL TessBaseAPIGetBoolVariable(const TessBaseAPI *handle, const char *name, BOOL *value)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00195">capi.cpp:195</a></div></div>
<div class="ttc" id="a00011_html_ab9dad15b52bf7d895f2bc0dcd85f9972"><div class="ttname"><a href="a00011.html#ab9dad15b52bf7d895f2bc0dcd85f9972">TessBaseAPISetSourceResolution</a></div><div class="ttdeci">TESS_API void TESS_CALL TessBaseAPISetSourceResolution(TessBaseAPI *handle, int ppi)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00359">capi.cpp:359</a></div></div>
<div class="ttc" id="a00011_html_a2a6dd58f5ad4ac8c28bff654c9b771ad"><div class="ttname"><a href="a00011.html#a2a6dd58f5ad4ac8c28bff654c9b771ad">TessChoiceIteratorGetUTF8Text</a></div><div class="ttdeci">TESS_API const char *TESS_CALL TessChoiceIteratorGetUTF8Text(const TessChoiceIterator *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00813">capi.cpp:813</a></div></div>
<div class="ttc" id="a04130_html"><div class="ttname"><a href="a04130.html">INT_FEATURE_STRUCT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00737_source.html#l00132">intproto.h:132</a></div></div>
<div class="ttc" id="a00011_html_a1adb8ed4a3da3197931ffe3fe5951f87"><div class="ttname"><a href="a00011.html#a1adb8ed4a3da3197931ffe3fe5951f87">TessDeleteTextArray</a></div><div class="ttdeci">TESS_API void TESS_CALL TessDeleteTextArray(char **arr)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00035">capi.cpp:35</a></div></div>
<div class="ttc" id="a00011_html_a8e6629b7e066bd8f11e224811f4bf1e7"><div class="ttname"><a href="a00011.html#a8e6629b7e066bd8f11e224811f4bf1e7">TessBaseAPIGetComponentImages</a></div><div class="ttdeci">TESS_API struct Boxa *TESS_CALL TessBaseAPIGetComponentImages(TessBaseAPI *handle, TessPageIteratorLevel level, BOOL text_only, struct Pixa **pixa, int **blockids)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00410">capi.cpp:410</a></div></div>
<div class="ttc" id="a00011_html_a48bc1ab63e3e0e474ceb5f910ba42ce5"><div class="ttname"><a href="a00011.html#a48bc1ab63e3e0e474ceb5f910ba42ce5">TessPageIteratorIsAtFinalElement</a></div><div class="ttdeci">TESS_API BOOL TESS_CALL TessPageIteratorIsAtFinalElement(const TessPageIterator *handle, TessPageIteratorLevel level, TessPageIteratorLevel element)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00658">capi.cpp:658</a></div></div>
<div class="ttc" id="a00011_html_ad37a3fe1ff40571b4576afb7ea06d3b8"><div class="ttname"><a href="a00011.html#ad37a3fe1ff40571b4576afb7ea06d3b8">TessBaseAPIRunAdaptiveClassifier</a></div><div class="ttdeci">TESS_API void TESS_CALL TessBaseAPIRunAdaptiveClassifier(TessBaseAPI *handle, TBLOB *blob, int num_max_matches, int *unichar_ids, float *ratings, int *num_matches_returned)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00566">capi.cpp:566</a></div></div>
<div class="ttc" id="a00011_html_ac2f621df13a7879d0fa13b601cb6ce81"><div class="ttname"><a href="a00011.html#ac2f621df13a7879d0fa13b601cb6ce81">TessChoiceIteratorConfidence</a></div><div class="ttdeci">TESS_API float TESS_CALL TessChoiceIteratorConfidence(const TessChoiceIterator *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00818">capi.cpp:818</a></div></div>
<div class="ttc" id="a00011_html_aa93c55f7e5754a96882b2f2bdfe0aa15"><div class="ttname"><a href="a00011.html#aa93c55f7e5754a96882b2f2bdfe0aa15">TessBaseAPIGetDawg</a></div><div class="ttdeci">TESS_API const TessDawg *TESS_CALL TessBaseAPIGetDawg(const TessBaseAPI *handle, int i)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00579">capi.cpp:579</a></div></div>
<div class="ttc" id="a00011_html_a3c2c7d47d3cc12310c8bdf9120fbc786"><div class="ttname"><a href="a00011.html#a3c2c7d47d3cc12310c8bdf9120fbc786">TessBaseAPIAdaptToWordStr</a></div><div class="ttdeci">TESS_API BOOL TESS_CALL TessBaseAPIAdaptToWordStr(TessBaseAPI *handle, TessPageSegMode mode, const char *wordstr)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00504">capi.cpp:504</a></div></div>
<div class="ttc" id="a00011_html_af743377dcb51260748d1b400e7a15110"><div class="ttname"><a href="a00011.html#af743377dcb51260748d1b400e7a15110">TessBaseAPISetRectangle</a></div><div class="ttdeci">TESS_API void TESS_CALL TessBaseAPISetRectangle(TessBaseAPI *handle, int left, int top, int width, int height)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00364">capi.cpp:364</a></div></div>
<div class="ttc" id="a00011_html_aae16ae4c0c4bb794f2ce19187a83f7ea"><div class="ttname"><a href="a00011.html#aae16ae4c0c4bb794f2ce19187a83f7ea">TessBaseAPIGetBoxText</a></div><div class="ttdeci">TESS_API char *TESS_CALL TessBaseAPIGetBoxText(TessBaseAPI *handle, int page_number)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00483">capi.cpp:483</a></div></div>
<div class="ttc" id="a00011_html_ad4bf84101a182acc2bf2729b3560317d"><div class="ttname"><a href="a00011.html#ad4bf84101a182acc2bf2729b3560317d">TessBaseAPISetVariable</a></div><div class="ttdeci">TESS_API BOOL TESS_CALL TessBaseAPISetVariable(TessBaseAPI *handle, const char *name, const char *value)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00180">capi.cpp:180</a></div></div>
<div class="ttc" id="a00011_html_a08aac01e35d4bbc7ea96587a6a513dfc"><div class="ttname"><a href="a00011.html#a08aac01e35d4bbc7ea96587a6a513dfc">TessUnlvRendererCreate</a></div><div class="ttdeci">TESS_API TessResultRenderer *TESS_CALL TessUnlvRendererCreate(const char *outputbase)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00075">capi.cpp:75</a></div></div>
<div class="ttc" id="a00014_html_aec47a81606272a1a7b914d862feae98c"><div class="ttname"><a href="a00014.html#aec47a81606272a1a7b914d862feae98c">TessPageIteratorLevel</a></div><div class="ttdeci">TessPageIteratorLevel</div><div class="ttdef"><b>Definition:</b> <a href="a00014_source.html#l00098">capi.h:98</a></div></div>
<div class="ttc" id="a00011_html_a8250386a3374fc36f4e50b3ea49b6bbe"><div class="ttname"><a href="a00011.html#a8250386a3374fc36f4e50b3ea49b6bbe">TessBaseAPISetDebugVariable</a></div><div class="ttdeci">TESS_API BOOL TESS_CALL TessBaseAPISetDebugVariable(TessBaseAPI *handle, const char *name, const char *value)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00185">capi.cpp:185</a></div></div>
<div class="ttc" id="a00011_html_ac64d7dd7b55f8077af572367c83f0837"><div class="ttname"><a href="a00011.html#ac64d7dd7b55f8077af572367c83f0837">TessResultIteratorGetUTF8Text</a></div><div class="ttdeci">TESS_API char *TESS_CALL TessResultIteratorGetUTF8Text(const TessResultIterator *handle, TessPageIteratorLevel level)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00741">capi.cpp:741</a></div></div>
<div class="ttc" id="a00011_html_ae3d31e7a8fb02c951961d7c88d0aa6c8"><div class="ttname"><a href="a00011.html#ae3d31e7a8fb02c951961d7c88d0aa6c8">TessPageIteratorBlockType</a></div><div class="ttdeci">TESS_API TessPolyBlockType TESS_CALL TessPageIteratorBlockType(const TessPageIterator *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00670">capi.cpp:670</a></div></div>
<div class="ttc" id="a00584_html"><div class="ttname"><a href="a00584.html">strngs.h</a></div></div>
<div class="ttc" id="a00014_html_a321970606761526f4a0d6a642761b5f1"><div class="ttname"><a href="a00014.html#a321970606761526f4a0d6a642761b5f1">TessProgressFunc</a></div><div class="ttdeci">bool(* TessProgressFunc)(ETEXT_DESC *ths, int left, int right, int top, int bottom)</div><div class="ttdef"><b>Definition:</b> <a href="a00014_source.html#l00110">capi.h:110</a></div></div>
<div class="ttc" id="a00011_html_a72101a81e26ba422cbdd3d994498913f"><div class="ttname"><a href="a00011.html#a72101a81e26ba422cbdd3d994498913f">TessNormalizeTBLOB</a></div><div class="ttdeci">TESS_API void TESS_CALL TessNormalizeTBLOB(TBLOB *tblob, ROW *row, BOOL numeric_mode)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00600">capi.cpp:600</a></div></div>
<div class="ttc" id="a00011_html_a1aa31e2a448cb701def25963167134e3"><div class="ttname"><a href="a00011.html#a1aa31e2a448cb701def25963167134e3">TessBaseAPIGetInputImage</a></div><div class="ttdeci">TESS_API Pix *TESS_CALL TessBaseAPIGetInputImage(TessBaseAPI *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00160">capi.cpp:160</a></div></div>
<div class="ttc" id="a00011_html_ad60cd88835eb679036087e7be47f09d6"><div class="ttname"><a href="a00011.html#ad60cd88835eb679036087e7be47f09d6">TessPageIteratorDelete</a></div><div class="ttdeci">TESS_API void TESS_CALL TessPageIteratorDelete(TessPageIterator *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00633">capi.cpp:633</a></div></div>
<div class="ttc" id="a00014_html_ae4cc35dcc70810fa972cc8a5185a28fa"><div class="ttname"><a href="a00014.html#ae4cc35dcc70810fa972cc8a5185a28fa">BOOL</a></div><div class="ttdeci">#define BOOL</div><div class="ttdef"><b>Definition:</b> <a href="a00014_source.html#l00050">capi.h:50</a></div></div>
<div class="ttc" id="a00011_html_a71e0e646a9b6926f95276a8c5ced9908"><div class="ttname"><a href="a00011.html#a71e0e646a9b6926f95276a8c5ced9908">TessBoxTextRendererCreate</a></div><div class="ttdeci">TESS_API TessResultRenderer *TESS_CALL TessBoxTextRendererCreate(const char *outputbase)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00080">capi.cpp:80</a></div></div>
<div class="ttc" id="a00011_html_ac49d969dfca77da40e3de99825fba74f"><div class="ttname"><a href="a00011.html#ac49d969dfca77da40e3de99825fba74f">TessTextRendererCreate</a></div><div class="ttdeci">TESS_API TessResultRenderer *TESS_CALL TessTextRendererCreate(const char *outputbase)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00054">capi.cpp:54</a></div></div>
<div class="ttc" id="a00518_html"><div class="ttname"><a href="a00518.html">genericvector.h</a></div></div>
<div class="ttc" id="a00011_html_a366abfd6e30a3f74b622ca67a35f9db3"><div class="ttname"><a href="a00011.html#a366abfd6e30a3f74b622ca67a35f9db3">TessResultIteratorGetChoiceIterator</a></div><div class="ttdeci">TESS_API TessChoiceIterator *TESS_CALL TessResultIteratorGetChoiceIterator(const TessResultIterator *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00731">capi.cpp:731</a></div></div>
<div class="ttc" id="a00011_html_a0e9db9c0d3dc9967f09741a0727f268c"><div class="ttname"><a href="a00011.html#a0e9db9c0d3dc9967f09741a0727f268c">TessBaseAPIInitForAnalysePage</a></div><div class="ttdeci">TESS_API void TESS_CALL TessBaseAPIInitForAnalysePage(TessBaseAPI *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00309">capi.cpp:309</a></div></div>
<div class="ttc" id="a00011_html_ad1a75c9034d3aa72865b9720f8fce333"><div class="ttname"><a href="a00011.html#ad1a75c9034d3aa72865b9720f8fce333">TessBaseAPIInit4</a></div><div class="ttdeci">TESS_API int TESS_CALL TessBaseAPIInit4(TessBaseAPI *handle, const char *datapath, const char *language, TessOcrEngineMode mode, char **configs, int configs_size, char **vars_vec, char **vars_values, size_t vars_vec_size, BOOL set_only_non_debug_params)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00241">capi.cpp:241</a></div></div>
<div class="ttc" id="a00014_html_ab8e3fa6888258e9b82d97ca2bb703212"><div class="ttname"><a href="a00014.html#ab8e3fa6888258e9b82d97ca2bb703212">ETEXT_DESC</a></div><div class="ttdeci">struct ETEXT_DESC ETEXT_DESC</div><div class="ttdef"><b>Definition:</b> <a href="a00014_source.html#l00106">capi.h:106</a></div></div>
<div class="ttc" id="a00011_html_aa7b8b562a850a5fc1ac3063aa163c9ee"><div class="ttname"><a href="a00011.html#aa7b8b562a850a5fc1ac3063aa163c9ee">TessPageIteratorIsAtBeginningOf</a></div><div class="ttdeci">TESS_API BOOL TESS_CALL TessPageIteratorIsAtBeginningOf(const TessPageIterator *handle, TessPageIteratorLevel level)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00653">capi.cpp:653</a></div></div>
<div class="ttc" id="a00011_html_a7f32f365c8062410070749693c5bfad9"><div class="ttname"><a href="a00011.html#a7f32f365c8062410070749693c5bfad9">TessBaseAPISetImage2</a></div><div class="ttdeci">TESS_API void TESS_CALL TessBaseAPISetImage2(TessBaseAPI *handle, struct Pix *pix)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00354">capi.cpp:354</a></div></div>
<div class="ttc" id="a00011_html_acaa08cf1b5cf800ed735d76bba41ff58"><div class="ttname"><a href="a00011.html#acaa08cf1b5cf800ed735d76bba41ff58">TessBaseAPIInit3</a></div><div class="ttdeci">TESS_API int TESS_CALL TessBaseAPIInit3(TessBaseAPI *handle, const char *datapath, const char *language)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00270">capi.cpp:270</a></div></div>
<div class="ttc" id="a00011_html_ab9e8e32aa2db580c81f654f028bac0ee"><div class="ttname"><a href="a00011.html#ab9e8e32aa2db580c81f654f028bac0ee">TessBaseAPISetOutputName</a></div><div class="ttdeci">TESS_API void TESS_CALL TessBaseAPISetOutputName(TessBaseAPI *handle, const char *name)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00175">capi.cpp:175</a></div></div>
<div class="ttc" id="a00011_html_a3d2f826bf7ba886a92fbf60deb8fd512"><div class="ttname"><a href="a00011.html#a3d2f826bf7ba886a92fbf60deb8fd512">TessPageIteratorBoundingBox</a></div><div class="ttdeci">TESS_API BOOL TESS_CALL TessPageIteratorBoundingBox(const TessPageIterator *handle, TessPageIteratorLevel level, int *left, int *top, int *right, int *bottom)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00664">capi.cpp:664</a></div></div>
<div class="ttc" id="a00011_html_a87d3e35ee18a038a30cca37b991ce835"><div class="ttname"><a href="a00011.html#a87d3e35ee18a038a30cca37b991ce835">TessBaseAPIOem</a></div><div class="ttdeci">TESS_API TessOcrEngineMode TESS_CALL TessBaseAPIOem(const TessBaseAPI *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00606">capi.cpp:606</a></div></div>
<div class="ttc" id="a00011_html_ab0c4aac6cdb0d0be113bd1c0f0ed21b9"><div class="ttname"><a href="a00011.html#ab0c4aac6cdb0d0be113bd1c0f0ed21b9">TessBaseAPIReadConfigFile</a></div><div class="ttdeci">TESS_API void TESS_CALL TessBaseAPIReadConfigFile(TessBaseAPI *handle, const char *filename)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00314">capi.cpp:314</a></div></div>
<div class="ttc" id="a00011_html_aaad4c3ba7865ea9d427667775226be7a"><div class="ttname"><a href="a00011.html#aaad4c3ba7865ea9d427667775226be7a">TessBaseAPIGetConnectedComponents</a></div><div class="ttdeci">TESS_API struct Boxa *TESS_CALL TessBaseAPIGetConnectedComponents(TessBaseAPI *handle, struct Pixa **cc)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00405">capi.cpp:405</a></div></div>
<div class="ttc" id="a00014_html_ae6fe79ed409e4d4a9542c0228f99a3de"><div class="ttname"><a href="a00014.html#ae6fe79ed409e4d4a9542c0228f99a3de">TessOrientation</a></div><div class="ttdeci">TessOrientation</div><div class="ttdef"><b>Definition:</b> <a href="a00014_source.html#l00102">capi.h:102</a></div></div>
<div class="ttc" id="a00011_html_ab99342de75e4b7ef337c1f20fceccdc2"><div class="ttname"><a href="a00011.html#ab99342de75e4b7ef337c1f20fceccdc2">TessMakeTBLOB</a></div><div class="ttdeci">TESS_API TBLOB *TESS_CALL TessMakeTBLOB(struct Pix *pix)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00595">capi.cpp:595</a></div></div>
<div class="ttc" id="a00014_html_ae3f1ba7cb9eefb2195a5df6fdf86010a"><div class="ttname"><a href="a00014.html#ae3f1ba7cb9eefb2195a5df6fdf86010a">TessOcrEngineMode</a></div><div class="ttdeci">TessOcrEngineMode</div><div class="ttdef"><b>Definition:</b> <a href="a00014_source.html#l00094">capi.h:94</a></div></div>
<div class="ttc" id="a00011_html_ad2dccf5b9a9d434f2d281150fa36200e"><div class="ttname"><a href="a00011.html#ad2dccf5b9a9d434f2d281150fa36200e">TessPageIteratorGetBinaryImage</a></div><div class="ttdeci">TESS_API struct Pix *TESS_CALL TessPageIteratorGetBinaryImage(const TessPageIterator *handle, TessPageIteratorLevel level)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00675">capi.cpp:675</a></div></div>
<div class="ttc" id="a00014_html"><div class="ttname"><a href="a00014.html">capi.h</a></div></div>
<div class="ttc" id="a02182_html"><div class="ttname"><a href="a02182.html">GenericVector< STRING ></a></div></div>
<div class="ttc" id="a00011_html_ab162cda842c24f77a979f927ae1c336f"><div class="ttname"><a href="a00011.html#ab162cda842c24f77a979f927ae1c336f">TessResultRendererBeginDocument</a></div><div class="ttdeci">TESS_API BOOL TESS_CALL TessResultRendererBeginDocument(TessResultRenderer *renderer, const char *title)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00100">capi.cpp:100</a></div></div>
<div class="ttc" id="a00011_html_a91b6f4e61d40c982c6c2d5c8cd4cbf73"><div class="ttname"><a href="a00011.html#a91b6f4e61d40c982c6c2d5c8cd4cbf73">TessBaseAPISetImage</a></div><div class="ttdeci">TESS_API void TESS_CALL TessBaseAPISetImage(TessBaseAPI *handle, const unsigned char *imagedata, int width, int height, int bytes_per_pixel, int bytes_per_line)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00348">capi.cpp:348</a></div></div>
<div class="ttc" id="a00014_html_af1b3b93f62e68981a0be10bf67ce641a"><div class="ttname"><a href="a00014.html#af1b3b93f62e68981a0be10bf67ce641a">TessHOcrRenderer</a></div><div class="ttdeci">struct TessHOcrRenderer TessHOcrRenderer</div><div class="ttdef"><b>Definition:</b> <a href="a00014_source.html#l00085">capi.h:85</a></div></div>
<div class="ttc" id="a00011_html_a83a973531785bf76d8a279e8c4efec42"><div class="ttname"><a href="a00011.html#a83a973531785bf76d8a279e8c4efec42">TessBaseAPISetProbabilityInContextFunc</a></div><div class="ttdeci">TESS_API void TESS_CALL TessBaseAPISetProbabilityInContextFunc(TessBaseAPI *handle, TessProbabilityInContextFunc f)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00540">capi.cpp:540</a></div></div>
<div class="ttc" id="a00011_html_a3b875c4eae839e328993ec629319f80d"><div class="ttname"><a href="a00011.html#a3b875c4eae839e328993ec629319f80d">TessBaseAPIGetWords</a></div><div class="ttdeci">TESS_API struct Boxa *TESS_CALL TessBaseAPIGetWords(TessBaseAPI *handle, struct Pixa **pixa)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00400">capi.cpp:400</a></div></div>
<div class="ttc" id="a00011_html_ae4abcef56199572bf8132d8247e4715f"><div class="ttname"><a href="a00011.html#ae4abcef56199572bf8132d8247e4715f">TessResultRendererNext</a></div><div class="ttdeci">TESS_API TessResultRenderer *TESS_CALL TessResultRendererNext(TessResultRenderer *renderer)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00095">capi.cpp:95</a></div></div>
<div class="ttc" id="a00011_html_af5e90d0092591ff484fb97a429207d61"><div class="ttname"><a href="a00011.html#af5e90d0092591ff484fb97a429207d61">TessDeleteBlockList</a></div><div class="ttdeci">TESS_API void TESS_CALL TessDeleteBlockList(BLOCK_LIST *block_list)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00048">capi.cpp:48</a></div></div>
<div class="ttc" id="a00011_html_a8f62567c9f91314b0813cd77b200484a"><div class="ttname"><a href="a00011.html#a8f62567c9f91314b0813cd77b200484a">TessResultIteratorWordRecognitionLanguage</a></div><div class="ttdeci">TESS_API const char *TESS_CALL TessResultIteratorWordRecognitionLanguage(const TessResultIterator *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00751">capi.cpp:751</a></div></div>
<div class="ttc" id="a00014_html_aa93f0eb578d23995850d61f7d61c55c1"><div class="ttname"><a href="a00014.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a></div><div class="ttdeci">#define FALSE</div><div class="ttdef"><b>Definition:</b> <a href="a00014_source.html#l00052">capi.h:52</a></div></div>
<div class="ttc" id="a00011_html_abbe5b4fbb8aa168790a90edba9852fc6"><div class="ttname"><a href="a00011.html#abbe5b4fbb8aa168790a90edba9852fc6">TessBaseAPIGetSourceYResolution</a></div><div class="ttdeci">TESS_API int TESS_CALL TessBaseAPIGetSourceYResolution(TessBaseAPI *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00165">capi.cpp:165</a></div></div>
<div class="ttc" id="a00011_html_a5ca2482d523acb35067760b438a6d647"><div class="ttname"><a href="a00011.html#a5ca2482d523acb35067760b438a6d647">TessBaseAPIEnd</a></div><div class="ttdeci">TESS_API void TESS_CALL TessBaseAPIEnd(TessBaseAPI *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00515">capi.cpp:515</a></div></div>
<div class="ttc" id="a00011_html_ac29b2e81fc2b684d66c57994d30e3682"><div class="ttname"><a href="a00011.html#ac29b2e81fc2b684d66c57994d30e3682">TessBaseAPIGetTextlines1</a></div><div class="ttdeci">TESS_API struct Boxa *TESS_CALL TessBaseAPIGetTextlines1(TessBaseAPI *handle, const BOOL raw_image, const int raw_padding, struct Pixa **pixa, int **blockids, int **paraids)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00389">capi.cpp:389</a></div></div>
<div class="ttc" id="a00011_html_a747f41f6325c29a372f5a461d15ca0a6"><div class="ttname"><a href="a00011.html#a747f41f6325c29a372f5a461d15ca0a6">TessBaseAPIGetIntVariable</a></div><div class="ttdeci">TESS_API BOOL TESS_CALL TessBaseAPIGetIntVariable(const TessBaseAPI *handle, const char *name, int *value)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00190">capi.cpp:190</a></div></div>
<div class="ttc" id="a00011_html_a46e2b1d1fafb0f63e1a36edeb52a361a"><div class="ttname"><a href="a00011.html#a46e2b1d1fafb0f63e1a36edeb52a361a">TessResultIteratorSymbolIsSuperscript</a></div><div class="ttdeci">TESS_API BOOL TESS_CALL TessResultIteratorSymbolIsSuperscript(const TessResultIterator *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00788">capi.cpp:788</a></div></div>
<div class="ttc" id="a00011_html_a5c286acc2aeaf80817a3b83b8c6bfd9d"><div class="ttname"><a href="a00011.html#a5c286acc2aeaf80817a3b83b8c6bfd9d">TessMonitorCreate</a></div><div class="ttdeci">TESS_API ETEXT_DESC *TESS_CALL TessMonitorCreate()</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00823">capi.cpp:823</a></div></div>
<div class="ttc" id="a00011_html_add51c6057c093d88185aaea21a37cd3f"><div class="ttname"><a href="a00011.html#add51c6057c093d88185aaea21a37cd3f">TessBaseAPIInitLangMod</a></div><div class="ttdeci">TESS_API int TESS_CALL TessBaseAPIInitLangMod(TessBaseAPI *handle, const char *datapath, const char *language)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00303">capi.cpp:303</a></div></div>
<div class="ttc" id="a00011_html_ac20b1fa119f3204e2ce136ab42fa0e24"><div class="ttname"><a href="a00011.html#ac20b1fa119f3204e2ce136ab42fa0e24">TessFindRowForBox</a></div><div class="ttdeci">TESS_API ROW *TESS_CALL TessFindRowForBox(BLOCK_LIST *blocks, int left, int top, int right, int bottom)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00561">capi.cpp:561</a></div></div>
<div class="ttc" id="a00011_html_a4c6b9a2345519e5a163da4106a7bbd46"><div class="ttname"><a href="a00011.html#a4c6b9a2345519e5a163da4106a7bbd46">TessBaseAPIProcessPages</a></div><div class="ttdeci">TESS_API BOOL TESS_CALL TessBaseAPIProcessPages(TessBaseAPI *handle, const char *filename, const char *retry_config, int timeout_millisec, TessResultRenderer *renderer)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00445">capi.cpp:445</a></div></div>
<div class="ttc" id="a00011_html_aaf6e2d68784442ca67a2c74d6baa233a"><div class="ttname"><a href="a00011.html#aaf6e2d68784442ca67a2c74d6baa233a">TessBaseAPIPrintVariables</a></div><div class="ttdeci">TESS_API void TESS_CALL TessBaseAPIPrintVariables(const TessBaseAPI *handle, FILE *fp)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00219">capi.cpp:219</a></div></div>
<div class="ttc" id="a00011_html_adb571c26660459f5237815ea6d23c431"><div class="ttname"><a href="a00011.html#adb571c26660459f5237815ea6d23c431">TessBaseAPIGetDatapath</a></div><div class="ttdeci">TESS_API const char *TESS_CALL TessBaseAPIGetDatapath(TessBaseAPI *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00170">capi.cpp:170</a></div></div>
<div class="ttc" id="a00011_html_a3de2bd4fdcdab575e0c99da3222de36a"><div class="ttname"><a href="a00011.html#a3de2bd4fdcdab575e0c99da3222de36a">TessBaseAPIInit2</a></div><div class="ttdeci">TESS_API int TESS_CALL TessBaseAPIInit2(TessBaseAPI *handle, const char *datapath, const char *language, TessOcrEngineMode oem)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00265">capi.cpp:265</a></div></div>
<div class="ttc" id="a00011_html_ad468caa7495822db619b74bbfaafa586"><div class="ttname"><a href="a00011.html#ad468caa7495822db619b74bbfaafa586">TessResultRendererAddImage</a></div><div class="ttdeci">TESS_API BOOL TESS_CALL TessResultRendererAddImage(TessResultRenderer *renderer, TessBaseAPI *api)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00105">capi.cpp:105</a></div></div>
<div class="ttc" id="a02526_html"><div class="ttname"><a href="a02526.html">ROW</a></div><div class="ttdef"><b>Definition:</b> <a href="a00332_source.html#l00036">ocrrow.h:36</a></div></div>
<div class="ttc" id="a00011_html_a024e0c89b586062abf01cc900cbb7ac0"><div class="ttname"><a href="a00011.html#a024e0c89b586062abf01cc900cbb7ac0">TessBaseGetBlockTextOrientations</a></div><div class="ttdeci">TESS_API void TESS_CALL TessBaseGetBlockTextOrientations(TessBaseAPI *handle, int **block_orientation, bool **vertical_writing)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00621">capi.cpp:621</a></div></div>
<div class="ttc" id="a00011_html_a8fd076da1e43e2278dd4c54a9234b7db"><div class="ttname"><a href="a00011.html#a8fd076da1e43e2278dd4c54a9234b7db">TessBaseAPIInitTruthCallback</a></div><div class="ttdeci">TESS_API void TESS_CALL TessBaseAPIInitTruthCallback(TessBaseAPI *handle, TessTruthCallback *cb)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00611">capi.cpp:611</a></div></div>
<div class="ttc" id="a00767_html_a2a4b69f9a2827dc98bc4cbc233118865a83297de004f4e58b9be2108c6cd08a23"><div class="ttname"><a href="a00767.html#a2a4b69f9a2827dc98bc4cbc233118865a83297de004f4e58b9be2108c6cd08a23">baseline</a></div><div class="ttdef"><b>Definition:</b> <a href="a00767_source.html#l00055">mfoutline.h:55</a></div></div>
<div class="ttc" id="a00011_html_a8783250f726786464cc0897870ce856f"><div class="ttname"><a href="a00011.html#a8783250f726786464cc0897870ce856f">TessPageIteratorParagraphInfo</a></div><div class="ttdeci">TESS_API void TESS_CALL TessPageIteratorParagraphInfo(TessPageIterator *handle, TessParagraphJustification *justification, BOOL *is_list_item, BOOL *is_crown, int *first_line_indent)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00699">capi.cpp:699</a></div></div>
<div class="ttc" id="a00011_html_ac7cdf03cf19047d8748061cac5792118"><div class="ttname"><a href="a00011.html#ac7cdf03cf19047d8748061cac5792118">TessPageIteratorNext</a></div><div class="ttdeci">TESS_API BOOL TESS_CALL TessPageIteratorNext(TessPageIterator *handle, TessPageIteratorLevel level)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00648">capi.cpp:648</a></div></div>
<div class="ttc" id="a00011_html_a9986f3a04633e1821d52aecc1c899635"><div class="ttname"><a href="a00011.html#a9986f3a04633e1821d52aecc1c899635">TessBaseAPIAllWordConfidences</a></div><div class="ttdeci">TESS_API int *TESS_CALL TessBaseAPIAllWordConfidences(TessBaseAPI *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00498">capi.cpp:498</a></div></div>
<div class="ttc" id="a00011_html_aa69af4ceb8a382a2c1bc32e55d59af79"><div class="ttname"><a href="a00011.html#aa69af4ceb8a382a2c1bc32e55d59af79">TessBaseAPIGetStrips</a></div><div class="ttdeci">TESS_API struct Boxa *TESS_CALL TessBaseAPIGetStrips(TessBaseAPI *handle, struct Pixa **pixa, int **blockids)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00395">capi.cpp:395</a></div></div>
<div class="ttc" id="a00011_html_a7fd8e38769999f3d1a8f1df1dfb6b0b9"><div class="ttname"><a href="a00011.html#a7fd8e38769999f3d1a8f1df1dfb6b0b9">TessResultRendererTitle</a></div><div class="ttdeci">TESS_API const char *TESS_CALL TessResultRendererTitle(TessResultRenderer *renderer)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00120">capi.cpp:120</a></div></div>
<div class="ttc" id="a00011_html_abc1a4f05146ce0d9479447d73f926158"><div class="ttname"><a href="a00011.html#abc1a4f05146ce0d9479447d73f926158">TessResultRendererEndDocument</a></div><div class="ttdeci">TESS_API BOOL TESS_CALL TessResultRendererEndDocument(TessResultRenderer *renderer)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00110">capi.cpp:110</a></div></div>
<div class="ttc" id="a02182_html_a0dc89fe2a365b04a61017f9d78c1a303"><div class="ttname"><a href="a02182.html#a0dc89fe2a365b04a61017f9d78c1a303">GenericVector::push_back</a></div><div class="ttdeci">int push_back(T object)</div><div class="ttdef"><b>Definition:</b> <a href="a00518_source.html#l00799">genericvector.h:799</a></div></div>
<div class="ttc" id="a00011_html_aa4fe3b14c7bc395395e663877a574476"><div class="ttname"><a href="a00011.html#aa4fe3b14c7bc395395e663877a574476">TessMonitorGetCancelThis</a></div><div class="ttdeci">TESS_API void *TESS_CALL TessMonitorGetCancelThis(ETEXT_DESC *monitor)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00843">capi.cpp:843</a></div></div>
<div class="ttc" id="a00011_html_ab211cd557a93588513c758436b208d8e"><div class="ttname"><a href="a00011.html#ab211cd557a93588513c758436b208d8e">TessBaseAPISetPageSegMode</a></div><div class="ttdeci">TESS_API void TESS_CALL TessBaseAPISetPageSegMode(TessBaseAPI *handle, TessPageSegMode mode)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00324">capi.cpp:324</a></div></div>
<div class="ttc" id="a00011_html_ae7c838e1da83d587f51bc6e6f451b265"><div class="ttname"><a href="a00011.html#ae7c838e1da83d587f51bc6e6f451b265">TessBaseAPIGetUNLVText</a></div><div class="ttdeci">TESS_API char *TESS_CALL TessBaseAPIGetUNLVText(TessBaseAPI *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00488">capi.cpp:488</a></div></div>
<div class="ttc" id="a00011_html_a1d863d8be4c2e01aa5601c49408351ef"><div class="ttname"><a href="a00011.html#a1d863d8be4c2e01aa5601c49408351ef">TessMonitorSetCancelFunc</a></div><div class="ttdeci">TESS_API void TESS_CALL TessMonitorSetCancelFunc(ETEXT_DESC *monitor, TessCancelFunc cancelFunc)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00833">capi.cpp:833</a></div></div>
<div class="ttc" id="a00011_html_a2013ea71270da8edecf3969230487c01"><div class="ttname"><a href="a00011.html#a2013ea71270da8edecf3969230487c01">TessPageIteratorGetImage</a></div><div class="ttdeci">TESS_API struct Pix *TESS_CALL TessPageIteratorGetImage(const TessPageIterator *handle, TessPageIteratorLevel level, int padding, struct Pix *original_image, int *left, int *top)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00680">capi.cpp:680</a></div></div>
<div class="ttc" id="a00011_html_a75eb88bc532dbac8f8e4d057587ba2f5"><div class="ttname"><a href="a00011.html#a75eb88bc532dbac8f8e4d057587ba2f5">TessResultIteratorCopy</a></div><div class="ttdeci">TESS_API TessResultIterator *TESS_CALL TessResultIteratorCopy(const TessResultIterator *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00716">capi.cpp:716</a></div></div>
<div class="ttc" id="a00011_html_a978a458973bff996111e16f559badf91"><div class="ttname"><a href="a00011.html#a978a458973bff996111e16f559badf91">TessResultIteratorSymbolIsSubscript</a></div><div class="ttdeci">TESS_API BOOL TESS_CALL TessResultIteratorSymbolIsSubscript(const TessResultIterator *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00793">capi.cpp:793</a></div></div>
<div class="ttc" id="a00011_html_a601d6350bd127f65afeb16ceb7fa762c"><div class="ttname"><a href="a00011.html#a601d6350bd127f65afeb16ceb7fa762c">TessResultIteratorGetPageIteratorConst</a></div><div class="ttdeci">TESS_API const TessPageIterator *TESS_CALL TessResultIteratorGetPageIteratorConst(const TessResultIterator *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00726">capi.cpp:726</a></div></div>
<div class="ttc" id="a00014_html_acd236f7288a6cbc028ab4ce0abde03e3"><div class="ttname"><a href="a00014.html#acd236f7288a6cbc028ab4ce0abde03e3">TessTextlineOrder</a></div><div class="ttdeci">TessTextlineOrder</div><div class="ttdef"><b>Definition:</b> <a href="a00014_source.html#l00105">capi.h:105</a></div></div>
<div class="ttc" id="a02834_html"><div class="ttname"><a href="a02834.html">STRING</a></div><div class="ttdef"><b>Definition:</b> <a href="a00584_source.html#l00045">strngs.h:45</a></div></div>
<div class="ttc" id="a00014_html_aa313de0a41e165b98c3a1d4f1c83b04b"><div class="ttname"><a href="a00014.html#aa313de0a41e165b98c3a1d4f1c83b04b">TessResultIterator</a></div><div class="ttdeci">struct TessResultIterator TessResultIterator</div><div class="ttdef"><b>Definition:</b> <a href="a00014_source.html#l00091">capi.h:91</a></div></div>
<div class="ttc" id="a00011_html_ab0d556a4e6347ca907e16e845a44a893"><div class="ttname"><a href="a00011.html#ab0d556a4e6347ca907e16e845a44a893">TessBaseAPIGetFeaturesForBlob</a></div><div class="ttdeci">TESS_API void TESS_CALL TessBaseAPIGetFeaturesForBlob(TessBaseAPI *handle, TBLOB *blob, INT_FEATURE_STRUCT *int_features, int *num_features, int *FeatureOutlineIndex)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00555">capi.cpp:555</a></div></div>
<div class="ttc" id="a00011_html_a3f37c98223f3cc673a581f043b98e33f"><div class="ttname"><a href="a00011.html#a3f37c98223f3cc673a581f043b98e33f">TessResultRendererInsert</a></div><div class="ttdeci">TESS_API void TESS_CALL TessResultRendererInsert(TessResultRenderer *renderer, TessResultRenderer *next)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00090">capi.cpp:90</a></div></div>
<div class="ttc" id="a00011_html_a872ef0a0a68f70330b372233a9866e93"><div class="ttname"><a href="a00011.html#a872ef0a0a68f70330b372233a9866e93">TessMakeTessOCRRow</a></div><div class="ttdeci">TESS_API ROW *TESS_CALL TessMakeTessOCRRow(float baseline, float xheight, float descender, float ascender)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00590">capi.cpp:590</a></div></div>
<div class="ttc" id="a00011_html_a65f571d866580122a034378f7da6237f"><div class="ttname"><a href="a00011.html#a65f571d866580122a034378f7da6237f">TessBaseAPIRect</a></div><div class="ttdeci">TESS_API char *TESS_CALL TessBaseAPIRect(TessBaseAPI *handle, const unsigned char *imagedata, int bytes_per_pixel, int bytes_per_line, int left, int top, int width, int height)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00334">capi.cpp:334</a></div></div>
<div class="ttc" id="a00011_html_afc8fb27d605ee596066bbd90eea38ac7"><div class="ttname"><a href="a00011.html#afc8fb27d605ee596066bbd90eea38ac7">TessResultRendererExtention</a></div><div class="ttdeci">TESS_API const char *TESS_CALL TessResultRendererExtention(TessResultRenderer *renderer)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00115">capi.cpp:115</a></div></div>
<div class="ttc" id="a00011_html_ae394c2eb2d08bb8608dc4ffb358cad65"><div class="ttname"><a href="a00011.html#ae394c2eb2d08bb8608dc4ffb358cad65">TessMonitorSetProgressFunc</a></div><div class="ttdeci">TESS_API void TESS_CALL TessMonitorSetProgressFunc(ETEXT_DESC *monitor, TessProgressFunc progressFunc)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00848">capi.cpp:848</a></div></div>
<div class="ttc" id="a02786_html_afcea4319ceed9b37f3c43eec9ec5d55a"><div class="ttname"><a href="a02786.html#afcea4319ceed9b37f3c43eec9ec5d55a">ETEXT_DESC::cancel</a></div><div class="ttdeci">CANCEL_FUNC cancel</div><div class="ttdoc">for errcode use </div><div class="ttdef"><b>Definition:</b> <a href="a00551_source.html#l00129">ocrclass.h:129</a></div></div>
<div class="ttc" id="a00011_html_a39bd2da8c36f62d22dad4f36f18b21e6"><div class="ttname"><a href="a00011.html#a39bd2da8c36f62d22dad4f36f18b21e6">TessVersion</a></div><div class="ttdeci">TESS_API const char *TESS_CALL TessVersion()</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00025">capi.cpp:25</a></div></div>
<div class="ttc" id="a00011_html_a43a67bd2a39b27ce41311c8c240215ff"><div class="ttname"><a href="a00011.html#a43a67bd2a39b27ce41311c8c240215ff">TessHOcrRendererCreate</a></div><div class="ttdeci">TESS_API TessResultRenderer *TESS_CALL TessHOcrRendererCreate(const char *outputbase)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00059">capi.cpp:59</a></div></div>
<div class="ttc" id="a00014_html_a79b401fe19433464a13b416108deb755"><div class="ttname"><a href="a00014.html#a79b401fe19433464a13b416108deb755">TessResultRenderer</a></div><div class="ttdeci">struct TessResultRenderer TessResultRenderer</div><div class="ttdef"><b>Definition:</b> <a href="a00014_source.html#l00083">capi.h:83</a></div></div>
<div class="ttc" id="a00011_html_a9f14f24fb29a330d37227fdc1c4f2f2b"><div class="ttname"><a href="a00011.html#a9f14f24fb29a330d37227fdc1c4f2f2b">TessBaseAPIGetMutableIterator</a></div><div class="ttdeci">TESS_API TessMutableIterator *TESS_CALL TessBaseAPIGetMutableIterator(TessBaseAPI *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00468">capi.cpp:468</a></div></div>
<div class="ttc" id="a02786_html_a51ef2705184520ed0b44e218aa2b1706"><div class="ttname"><a href="a02786.html#a51ef2705184520ed0b44e218aa2b1706">ETEXT_DESC::progress_callback2</a></div><div class="ttdeci">PROGRESS_FUNC2 progress_callback2</div><div class="ttdoc">called whenever progress increases </div><div class="ttdef"><b>Definition:</b> <a href="a00551_source.html#l00131">ocrclass.h:131</a></div></div>
<div class="ttc" id="a00014_html_a1b0c4949f7e355a94f2d2e8aeae6b104"><div class="ttname"><a href="a00014.html#a1b0c4949f7e355a94f2d2e8aeae6b104">TessMutableIterator</a></div><div class="ttdeci">struct TessMutableIterator TessMutableIterator</div><div class="ttdef"><b>Definition:</b> <a href="a00014_source.html#l00092">capi.h:92</a></div></div>
<div class="ttc" id="a00011_html_a826edd2d238954182571350fc64ee471"><div class="ttname"><a href="a00011.html#a826edd2d238954182571350fc64ee471">TessDeleteResultRenderer</a></div><div class="ttdeci">TESS_API void TESS_CALL TessDeleteResultRenderer(TessResultRenderer *renderer)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00085">capi.cpp:85</a></div></div>
<div class="ttc" id="a00011_html_af417fccf2d2fd8ca0d478ca6847670bf"><div class="ttname"><a href="a00011.html#af417fccf2d2fd8ca0d478ca6847670bf">TessBaseAPIProcessPage</a></div><div class="ttdeci">TESS_API BOOL TESS_CALL TessBaseAPIProcessPage(TessBaseAPI *handle, struct Pix *pix, int page_index, const char *filename, const char *retry_config, int timeout_millisec, TessResultRenderer *renderer)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00454">capi.cpp:454</a></div></div>
<div class="ttc" id="a00011_html_a14f98256f4902cd332cd15a616ec48de"><div class="ttname"><a href="a00011.html#a14f98256f4902cd332cd15a616ec48de">TessBaseAPIDelete</a></div><div class="ttdeci">TESS_API void TESS_CALL TessBaseAPIDelete(TessBaseAPI *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00135">capi.cpp:135</a></div></div>
<div class="ttc" id="a00011_html_a3591ecae0e05c1c32696283426e53c83"><div class="ttname"><a href="a00011.html#a3591ecae0e05c1c32696283426e53c83">TessBaseAPIReadDebugConfigFile</a></div><div class="ttdeci">TESS_API void TESS_CALL TessBaseAPIReadDebugConfigFile(TessBaseAPI *handle, const char *filename)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00319">capi.cpp:319</a></div></div>
<div class="ttc" id="a00011_html_ab892431cc9996eae6590fa2ecb773bd3"><div class="ttname"><a href="a00011.html#ab892431cc9996eae6590fa2ecb773bd3">TessDeleteIntArray</a></div><div class="ttdeci">TESS_API void TESS_CALL TessDeleteIntArray(int *arr)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00042">capi.cpp:42</a></div></div>
<div class="ttc" id="a00011_html_a23e2e61e2c80cd421560a9617dc8561d"><div class="ttname"><a href="a00011.html#a23e2e61e2c80cd421560a9617dc8561d">TessResultIteratorWordIsFromDictionary</a></div><div class="ttdeci">TESS_API BOOL TESS_CALL TessResultIteratorWordIsFromDictionary(const TessResultIterator *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00778">capi.cpp:778</a></div></div>
<div class="ttc" id="a00011_html_a35820638d5e3fcec91de68362909804a"><div class="ttname"><a href="a00011.html#a35820638d5e3fcec91de68362909804a">TessBaseAPISetInputImage</a></div><div class="ttdeci">TESS_API void TESS_CALL TessBaseAPISetInputImage(TessBaseAPI *handle, Pix *pix)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00155">capi.cpp:155</a></div></div>
<div class="ttc" id="a00011_html_a0c66e201b33d22ec60ea1096a6003b0d"><div class="ttname"><a href="a00011.html#a0c66e201b33d22ec60ea1096a6003b0d">TessBaseAPIAnalyseLayout</a></div><div class="ttdeci">TESS_API TessPageIterator *TESS_CALL TessBaseAPIAnalyseLayout(TessBaseAPI *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00428">capi.cpp:428</a></div></div>
<div class="ttc" id="a00011_html_af3b57b25abe5220d9b06b91ece83f0d9"><div class="ttname"><a href="a00011.html#af3b57b25abe5220d9b06b91ece83f0d9">TessBaseAPIGetTextDirection</a></div><div class="ttdeci">TESS_API BOOL TESS_CALL TessBaseAPIGetTextDirection(TessBaseAPI *handle, int *out_offset, float *out_slope)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00525">capi.cpp:525</a></div></div>
<div class="ttc" id="a00011_html_a7853cfc74c26df554429b695706cc76b"><div class="ttname"><a href="a00011.html#a7853cfc74c26df554429b695706cc76b">TessBaseAPIInit1</a></div><div class="ttdeci">TESS_API int TESS_CALL TessBaseAPIInit1(TessBaseAPI *handle, const char *datapath, const char *language, TessOcrEngineMode oem, char **configs, int configs_size)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00259">capi.cpp:259</a></div></div>
<div class="ttc" id="a02398_html"><div class="ttname"><a href="a02398.html">TBLOB</a></div><div class="ttdef"><b>Definition:</b> <a href="a00230_source.html#l00268">blobs.h:268</a></div></div>
<div class="ttc" id="a00011_html_a291d318e2b3c57d4b87d370cfd250d3f"><div class="ttname"><a href="a00011.html#a291d318e2b3c57d4b87d370cfd250d3f">TessResultIteratorConfidence</a></div><div class="ttdeci">TESS_API float TESS_CALL TessResultIteratorConfidence(const TessResultIterator *handle, TessPageIteratorLevel level)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00746">capi.cpp:746</a></div></div>
<div class="ttc" id="a00011_html_add7e55da8ef21ed7f886fc4120e4da68"><div class="ttname"><a href="a00011.html#add7e55da8ef21ed7f886fc4120e4da68">TessBaseAPIGetInitLanguagesAsString</a></div><div class="ttdeci">TESS_API const char *TESS_CALL TessBaseAPIGetInitLanguagesAsString(const TessBaseAPI *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00275">capi.cpp:275</a></div></div>
<div class="ttc" id="a00011_html_a4d44ed1533700578fef06baa7b37a335"><div class="ttname"><a href="a00011.html#a4d44ed1533700578fef06baa7b37a335">TessPageIteratorCopy</a></div><div class="ttdeci">TESS_API TessPageIterator *TESS_CALL TessPageIteratorCopy(const TessPageIterator *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00638">capi.cpp:638</a></div></div>
<div class="ttc" id="a02786_html"><div class="ttname"><a href="a02786.html">ETEXT_DESC</a></div><div class="ttdef"><b>Definition:</b> <a href="a00551_source.html#l00119">ocrclass.h:119</a></div></div>
<div class="ttc" id="a00011_html_a21d76925d32fcaaa3ead75416ae90b05"><div class="ttname"><a href="a00011.html#a21d76925d32fcaaa3ead75416ae90b05">TessBaseAPINumDawgs</a></div><div class="ttdeci">TESS_API int TESS_CALL TessBaseAPINumDawgs(const TessBaseAPI *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00584">capi.cpp:584</a></div></div>
<div class="ttc" id="a00011_html_ae43bc8c046fde6d6e6418c0d31c59a7c"><div class="ttname"><a href="a00011.html#ae43bc8c046fde6d6e6418c0d31c59a7c">TessBaseAPIRecognize</a></div><div class="ttdeci">TESS_API int TESS_CALL TessBaseAPIRecognize(TessBaseAPI *handle, ETEXT_DESC *monitor)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00433">capi.cpp:433</a></div></div>
<div class="ttc" id="a00011_html_a839e1399d48dcc7d50d48ff91625146d"><div class="ttname"><a href="a00011.html#a839e1399d48dcc7d50d48ff91625146d">TessBaseAPIGetDoubleVariable</a></div><div class="ttdeci">TESS_API BOOL TESS_CALL TessBaseAPIGetDoubleVariable(const TessBaseAPI *handle, const char *name, double *value)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00209">capi.cpp:209</a></div></div>
<div class="ttc" id="a00011_html_ac557e425f0d235228ff651f459266daa"><div class="ttname"><a href="a00011.html#ac557e425f0d235228ff651f459266daa">TessMonitorSetCancelThis</a></div><div class="ttdeci">TESS_API void TESS_CALL TessMonitorSetCancelThis(ETEXT_DESC *monitor, void *cancelThis)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00838">capi.cpp:838</a></div></div>
<div class="ttc" id="a02786_html_a469c1ab091847e37969871bd89cf1005"><div class="ttname"><a href="a02786.html#a469c1ab091847e37969871bd89cf1005">ETEXT_DESC::progress</a></div><div class="ttdeci">int16_t progress</div><div class="ttdoc">chars in this buffer(0) </div><div class="ttdef"><b>Definition:</b> <a href="a00551_source.html#l00122">ocrclass.h:122</a></div></div>
<div class="ttc" id="a02786_html_a16abfdff240ef121844b07bfa3afd4b5"><div class="ttname"><a href="a02786.html#a16abfdff240ef121844b07bfa3afd4b5">ETEXT_DESC::set_deadline_msecs</a></div><div class="ttdeci">void set_deadline_msecs(int32_t deadline_msecs)</div><div class="ttdef"><b>Definition:</b> <a href="a00551_source.html#l00152">ocrclass.h:152</a></div></div>
<div class="ttc" id="a00011_html_a675463ec9a73659632bf3b08e0c352dd"><div class="ttname"><a href="a00011.html#a675463ec9a73659632bf3b08e0c352dd">TessBaseAPICreate</a></div><div class="ttdeci">TESS_API TessBaseAPI *TESS_CALL TessBaseAPICreate()</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00130">capi.cpp:130</a></div></div>
<div class="ttc" id="a00011_html_afed13d4c982f5761d1da3d0a55c3d923"><div class="ttname"><a href="a00011.html#afed13d4c982f5761d1da3d0a55c3d923">TessBaseAPIFindLinesCreateBlockList</a></div><div class="ttdeci">TESS_API BLOCK_LIST *TESS_CALL TessBaseAPIFindLinesCreateBlockList(TessBaseAPI *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00627">capi.cpp:627</a></div></div>
<div class="ttc" id="a00014_html_ac1e76e08a467d79ae8d359ba56906d5c"><div class="ttname"><a href="a00014.html#ac1e76e08a467d79ae8d359ba56906d5c">TessBoxTextRenderer</a></div><div class="ttdeci">struct TessBoxTextRenderer TessBoxTextRenderer</div><div class="ttdef"><b>Definition:</b> <a href="a00014_source.html#l00088">capi.h:88</a></div></div>
<div class="ttc" id="a00011_html_af20288baca0de86ca522d8b896a5255f"><div class="ttname"><a href="a00011.html#af20288baca0de86ca522d8b896a5255f">TessResultIteratorWordIsNumeric</a></div><div class="ttdeci">TESS_API BOOL TESS_CALL TessResultIteratorWordIsNumeric(const TessResultIterator *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00783">capi.cpp:783</a></div></div>
<div class="ttc" id="a00011_html_a0d80c53189a947e8e572e838ba2dd725"><div class="ttname"><a href="a00011.html#a0d80c53189a947e8e572e838ba2dd725">TessPageIteratorOrientation</a></div><div class="ttdeci">TESS_API void TESS_CALL TessPageIteratorOrientation(TessPageIterator *handle, TessOrientation *orientation, TessWritingDirection *writing_direction, TessTextlineOrder *textline_order, float *deskew_angle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00692">capi.cpp:692</a></div></div>
<div class="ttc" id="a00011_html_a3c469bc1ab6240c901049da3fec479eb"><div class="ttname"><a href="a00011.html#a3c469bc1ab6240c901049da3fec479eb">TessBaseAPIGetIterator</a></div><div class="ttdeci">TESS_API TessResultIterator *TESS_CALL TessBaseAPIGetIterator(TessBaseAPI *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00463">capi.cpp:463</a></div></div>
<div class="ttc" id="a00011_html_aa2ecdad1f36a1ec06d8791f966e05cc0"><div class="ttname"><a href="a00011.html#aa2ecdad1f36a1ec06d8791f966e05cc0">TessBaseAPIMeanTextConf</a></div><div class="ttdeci">TESS_API int TESS_CALL TessBaseAPIMeanTextConf(TessBaseAPI *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00493">capi.cpp:493</a></div></div>
<div class="ttc" id="a00014_html_a975e1aea4d19c979138dac040af1510a"><div class="ttname"><a href="a00014.html#a975e1aea4d19c979138dac040af1510a">TessPageIterator</a></div><div class="ttdeci">struct TessPageIterator TessPageIterator</div><div class="ttdef"><b>Definition:</b> <a href="a00014_source.html#l00090">capi.h:90</a></div></div>
<div class="ttc" id="a00011_html_a1168a3533e23fe6551c724314a190224"><div class="ttname"><a href="a00011.html#a1168a3533e23fe6551c724314a190224">TessHOcrRendererCreate2</a></div><div class="ttdeci">TESS_API TessResultRenderer *TESS_CALL TessHOcrRendererCreate2(const char *outputbase, BOOL font_info)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00064">capi.cpp:64</a></div></div>
<div class="ttc" id="a00011_html_a9d9543267829eeda49afa38054d34440"><div class="ttname"><a href="a00011.html#a9d9543267829eeda49afa38054d34440">TessBaseAPIGetPageSegMode</a></div><div class="ttdeci">TESS_API TessPageSegMode TESS_CALL TessBaseAPIGetPageSegMode(const TessBaseAPI *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00329">capi.cpp:329</a></div></div>
<div class="ttc" id="a00011_html_afc0c4cdfa0f394d4ca46addb1bd6555e"><div class="ttname"><a href="a00011.html#afc0c4cdfa0f394d4ca46addb1bd6555e">TessBaseAPIClearAdaptiveClassifier</a></div><div class="ttdeci">TESS_API void TESS_CALL TessBaseAPIClearAdaptiveClassifier(TessBaseAPI *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00342">capi.cpp:342</a></div></div>
<div class="ttc" id="a00011_html_a674a88af648d17a9207de771382be722"><div class="ttname"><a href="a00011.html#a674a88af648d17a9207de771382be722">TessResultIteratorSymbolIsDropcap</a></div><div class="ttdeci">TESS_API BOOL TESS_CALL TessResultIteratorSymbolIsDropcap(const TessResultIterator *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00798">capi.cpp:798</a></div></div>
<div class="ttc" id="a00011_html_ab59ca135a53a1b464dc81e20db8748b8"><div class="ttname"><a href="a00011.html#ab59ca135a53a1b464dc81e20db8748b8">TessBaseAPIGetAvailableLanguagesAsVector</a></div><div class="ttdeci">TESS_API char **TESS_CALL TessBaseAPIGetAvailableLanguagesAsVector(const TessBaseAPI *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00291">capi.cpp:291</a></div></div>
<div class="ttc" id="a00011_html_a5c75525f550d5d71bdfb9a752a023b34"><div class="ttname"><a href="a00011.html#a5c75525f550d5d71bdfb9a752a023b34">TessResultIteratorNext</a></div><div class="ttdeci">TESS_API BOOL TESS_CALL TessResultIteratorNext(TessResultIterator *handle, TessPageIteratorLevel level)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00736">capi.cpp:736</a></div></div>
<div class="ttc" id="a00011_html_af91cbf1d56ed549004498a0d1f5939da"><div class="ttname"><a href="a00011.html#af91cbf1d56ed549004498a0d1f5939da">TessResultIteratorDelete</a></div><div class="ttdeci">TESS_API void TESS_CALL TessResultIteratorDelete(TessResultIterator *handle)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00711">capi.cpp:711</a></div></div>
<div class="ttc" id="a00011_html_a97fce49c5ad62991da8c97d4c85f4580"><div class="ttname"><a href="a00011.html#a97fce49c5ad62991da8c97d4c85f4580">TessBaseAPIGetStringVariable</a></div><div class="ttdeci">TESS_API const char *TESS_CALL TessBaseAPIGetStringVariable(const TessBaseAPI *handle, const char *name)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00214">capi.cpp:214</a></div></div>
<div class="ttc" id="a00011_html_ab61d73c2ffa1b9aa54890855c9b92b1f"><div class="ttname"><a href="a00011.html#ab61d73c2ffa1b9aa54890855c9b92b1f">TessBaseAPIGetTextlines</a></div><div class="ttdeci">TESS_API struct Boxa *TESS_CALL TessBaseAPIGetTextlines(TessBaseAPI *handle, struct Pixa **pixa, int **blockids)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00384">capi.cpp:384</a></div></div>
<div class="ttc" id="a00011_html_a487aecafd75f1e494fe89965fdff2a9c"><div class="ttname"><a href="a00011.html#a487aecafd75f1e494fe89965fdff2a9c">TessBaseAPIRecognizeForChopTest</a></div><div class="ttdeci">TESS_API int TESS_CALL TessBaseAPIRecognizeForChopTest(TessBaseAPI *handle, ETEXT_DESC *monitor)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00439">capi.cpp:439</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_fce9a394c0d2c636e610a0a34fe30580.html">tesseract-ocr.master</a></li><li class="navelem"><a class="el" href="dir_fd2783e80b2d56815818e17a68fc4d98.html">src</a></li><li class="navelem"><a class="el" href="dir_316d7b7f065455dc5a9611f5cda5f609.html">api</a></li><li class="navelem"><a class="el" href="a00011.html">capi.cpp</a></li>
<li class="footer">Generated on Mon Oct 29 2018 11:03:42 for tesseract by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
</ul>
</div>
</body>
</html>