-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy patha00032_source.html
352 lines (350 loc) · 74.9 KB
/
a00032_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
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>tesseract: /tesseract/include/tesseract/publictypes.h 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">5.0.0-alpha-619-ge9db</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<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('a00032_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">publictypes.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="a00032.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: publictypes.h</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// Description: Types used in both the API and internally</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// Author: Ray Smith</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">//</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">// (C) Copyright 2010, Google Inc.</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// Licensed under the Apache License, Version 2.0 (the "License");</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">// you may not use this file except in compliance with the License.</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// You may obtain a copy of the License at</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">// distributed under the License is distributed on an "AS IS" BASIS,</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// See the License for the specific language governing permissions and</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">// limitations under the License.</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment">//</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"></span> </div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#ifndef TESSERACT_CCSTRUCT_PUBLICTYPES_H_</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#define TESSERACT_CCSTRUCT_PUBLICTYPES_H_</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  </div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment">// This file contains types that are used both by the API and internally</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment">// to Tesseract. In order to decouple the API from Tesseract and prevent cyclic</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment">// dependencies, THIS FILE SHOULD NOT DEPEND ON ANY OTHER PART OF TESSERACT.</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment">// Restated: It is OK for low-level Tesseract files to include publictypes.h,</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment">// but not for the low-level tesseract code to include top-level API code.</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment">// This file should not use other Tesseract types, as that would drag</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment">// their includes into the API-level.</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment">// API-level code should include apitypes.h in preference to this file.</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  </div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="a00032.html#ab03591f4bd6542c3cafef1dc44335fe5"> 32</a></span> constexpr <span class="keywordtype">int</span> <a class="code" href="a00032.html#ab03591f4bd6542c3cafef1dc44335fe5">kPointsPerInch</a> = 72;</div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="a00032.html#a50de1107a605eb91c55d5b12f72a0700"> 37</a></span> constexpr <span class="keywordtype">int</span> <a class="code" href="a00032.html#a50de1107a605eb91c55d5b12f72a0700">kMinCredibleResolution</a> = 70;</div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="a00032.html#ab234efeaafa7336d56a5652a1891266e"> 39</a></span> constexpr <span class="keywordtype">int</span> <a class="code" href="a00032.html#ab234efeaafa7336d56a5652a1891266e">kMaxCredibleResolution</a> = 2400;</div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="a00032.html#a3ba4e2d09ff690dc22ab94055a5e5bba"> 44</a></span> constexpr <span class="keywordtype">int</span> <a class="code" href="a00032.html#a3ba4e2d09ff690dc22ab94055a5e5bba">kResolutionEstimationFactor</a> = 10;</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  </div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="a00032.html#a03566528a98c079dafeebf00502f2b60"> 52</a></span> <span class="keyword">enum</span> <a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60">PolyBlockType</a> {</div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="a00032.html#a03566528a98c079dafeebf00502f2b60ac0b3cd1b4592e1a3c609ff4273fb505b"> 53</a></span>  <a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60ac0b3cd1b4592e1a3c609ff4273fb505b">PT_UNKNOWN</a>, <span class="comment">// Type is not yet known. Keep as the first element.</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="a00032.html#a03566528a98c079dafeebf00502f2b60aaa63d8d8a99ddc2b3957f8e8787b4eca"> 54</a></span>  <a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60aaa63d8d8a99ddc2b3957f8e8787b4eca">PT_FLOWING_TEXT</a>, <span class="comment">// Text that lives inside a column.</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="a00032.html#a03566528a98c079dafeebf00502f2b60a47f25d4065407dd98db92554ca54468b"> 55</a></span>  <a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60a47f25d4065407dd98db92554ca54468b">PT_HEADING_TEXT</a>, <span class="comment">// Text that spans more than one column.</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="a00032.html#a03566528a98c079dafeebf00502f2b60a0e758c0b8cd519397b9c94ce6c12858c"> 56</a></span>  <a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60a0e758c0b8cd519397b9c94ce6c12858c">PT_PULLOUT_TEXT</a>, <span class="comment">// Text that is in a cross-column pull-out region.</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="a00032.html#a03566528a98c079dafeebf00502f2b60adfde914b43bcf45b29f149fa4415bf45"> 57</a></span>  <a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60adfde914b43bcf45b29f149fa4415bf45">PT_EQUATION</a>, <span class="comment">// Partition belonging to an equation region.</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="a00032.html#a03566528a98c079dafeebf00502f2b60aa52ce81f771512916e01215965910fc6"> 58</a></span>  <a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60aa52ce81f771512916e01215965910fc6">PT_INLINE_EQUATION</a>, <span class="comment">// Partition has inline equation.</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="a00032.html#a03566528a98c079dafeebf00502f2b60a5f41d3730899e22bf30c977bef2bcfa3"> 59</a></span>  <a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60a5f41d3730899e22bf30c977bef2bcfa3">PT_TABLE</a>, <span class="comment">// Partition belonging to a table region.</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="a00032.html#a03566528a98c079dafeebf00502f2b60adf6b7dd3b8ca94923c3b94dfe53f230e"> 60</a></span>  <a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60adf6b7dd3b8ca94923c3b94dfe53f230e">PT_VERTICAL_TEXT</a>, <span class="comment">// Text-line runs vertically.</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="a00032.html#a03566528a98c079dafeebf00502f2b60af25906cdd91c91c56489f5878b89b99b"> 61</a></span>  <a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60af25906cdd91c91c56489f5878b89b99b">PT_CAPTION_TEXT</a>, <span class="comment">// Text that belongs to an image.</span></div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="a00032.html#a03566528a98c079dafeebf00502f2b60ae4dd1e076e7d8354de8123bbdfb9e6b0"> 62</a></span>  <a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60ae4dd1e076e7d8354de8123bbdfb9e6b0">PT_FLOWING_IMAGE</a>, <span class="comment">// Image that lives inside a column.</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="a00032.html#a03566528a98c079dafeebf00502f2b60a919711bca6bed2e6a9846e4dc91f3900"> 63</a></span>  <a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60a919711bca6bed2e6a9846e4dc91f3900">PT_HEADING_IMAGE</a>, <span class="comment">// Image that spans more than one column.</span></div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="a00032.html#a03566528a98c079dafeebf00502f2b60a88dcd7f4800095eb2f18b8a9bd521001"> 64</a></span>  <a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60a88dcd7f4800095eb2f18b8a9bd521001">PT_PULLOUT_IMAGE</a>, <span class="comment">// Image that is in a cross-column pull-out region.</span></div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="a00032.html#a03566528a98c079dafeebf00502f2b60ad3f3a03631d09be1ba300cdd2af9a0d5"> 65</a></span>  <a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60ad3f3a03631d09be1ba300cdd2af9a0d5">PT_HORZ_LINE</a>, <span class="comment">// Horizontal Line.</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="a00032.html#a03566528a98c079dafeebf00502f2b60a0cc815637c8f3f7967719c6abd956f0f"> 66</a></span>  <a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60a0cc815637c8f3f7967719c6abd956f0f">PT_VERT_LINE</a>, <span class="comment">// Vertical Line.</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="a00032.html#a03566528a98c079dafeebf00502f2b60a639c79458d7bb60c9d6f26f661dee484"> 67</a></span>  <a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60a639c79458d7bb60c9d6f26f661dee484">PT_NOISE</a>, <span class="comment">// Lies outside of any column.</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="a00032.html#a03566528a98c079dafeebf00502f2b60a1cfce41c30bf1aefe403aaa66d271da1"> 68</a></span>  <a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60a1cfce41c30bf1aefe403aaa66d271da1">PT_COUNT</a></div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> };</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  </div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="a00032.html#adaf51915410883cb49ce4b2309528641"> 72</a></span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="a00032.html#adaf51915410883cb49ce4b2309528641">PTIsLineType</a>(<a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60">PolyBlockType</a> <a class="code" href="a01827.html#a2aec20b482a80e7f8b08bd60ef53bd44">type</a>) {</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keywordflow">return</span> <a class="code" href="a01827.html#a2aec20b482a80e7f8b08bd60ef53bd44">type</a> == <a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60ad3f3a03631d09be1ba300cdd2af9a0d5">PT_HORZ_LINE</a> || <a class="code" href="a01827.html#a2aec20b482a80e7f8b08bd60ef53bd44">type</a> == <a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60a0cc815637c8f3f7967719c6abd956f0f">PT_VERT_LINE</a>;</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> }</div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="a00032.html#a92fa403305db196dae658fac2153f2e9"> 76</a></span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="a00032.html#a92fa403305db196dae658fac2153f2e9">PTIsImageType</a>(<a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60">PolyBlockType</a> <a class="code" href="a01827.html#a2aec20b482a80e7f8b08bd60ef53bd44">type</a>) {</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordflow">return</span> <a class="code" href="a01827.html#a2aec20b482a80e7f8b08bd60ef53bd44">type</a> == <a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60ae4dd1e076e7d8354de8123bbdfb9e6b0">PT_FLOWING_IMAGE</a> || <a class="code" href="a01827.html#a2aec20b482a80e7f8b08bd60ef53bd44">type</a> == <a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60a919711bca6bed2e6a9846e4dc91f3900">PT_HEADING_IMAGE</a> ||</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <a class="code" href="a01827.html#a2aec20b482a80e7f8b08bd60ef53bd44">type</a> == <a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60a88dcd7f4800095eb2f18b8a9bd521001">PT_PULLOUT_IMAGE</a>;</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> }</div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="a00032.html#a49b7c03fb4e55b82a8fd22b7c6094082"> 81</a></span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="a00032.html#a49b7c03fb4e55b82a8fd22b7c6094082">PTIsTextType</a>(<a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60">PolyBlockType</a> <a class="code" href="a01827.html#a2aec20b482a80e7f8b08bd60ef53bd44">type</a>) {</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keywordflow">return</span> <a class="code" href="a01827.html#a2aec20b482a80e7f8b08bd60ef53bd44">type</a> == <a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60aaa63d8d8a99ddc2b3957f8e8787b4eca">PT_FLOWING_TEXT</a> || <a class="code" href="a01827.html#a2aec20b482a80e7f8b08bd60ef53bd44">type</a> == <a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60a47f25d4065407dd98db92554ca54468b">PT_HEADING_TEXT</a> ||</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <a class="code" href="a01827.html#a2aec20b482a80e7f8b08bd60ef53bd44">type</a> == <a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60a0e758c0b8cd519397b9c94ce6c12858c">PT_PULLOUT_TEXT</a> || <a class="code" href="a01827.html#a2aec20b482a80e7f8b08bd60ef53bd44">type</a> == <a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60a5f41d3730899e22bf30c977bef2bcfa3">PT_TABLE</a> ||</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <a class="code" href="a01827.html#a2aec20b482a80e7f8b08bd60ef53bd44">type</a> == <a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60adf6b7dd3b8ca94923c3b94dfe53f230e">PT_VERTICAL_TEXT</a> || <a class="code" href="a01827.html#a2aec20b482a80e7f8b08bd60ef53bd44">type</a> == <a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60af25906cdd91c91c56489f5878b89b99b">PT_CAPTION_TEXT</a> ||</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <a class="code" href="a01827.html#a2aec20b482a80e7f8b08bd60ef53bd44">type</a> == <a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60aa52ce81f771512916e01215965910fc6">PT_INLINE_EQUATION</a>;</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="comment">// Returns true if PolyBlockType is of pullout(inter-column) type</span></div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="a00032.html#a3b3b817fc17799383d414c2ea1c3f888"> 88</a></span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="a00032.html#a3b3b817fc17799383d414c2ea1c3f888">PTIsPulloutType</a>(<a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60">PolyBlockType</a> <a class="code" href="a01827.html#a2aec20b482a80e7f8b08bd60ef53bd44">type</a>) {</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordflow">return</span> <a class="code" href="a01827.html#a2aec20b482a80e7f8b08bd60ef53bd44">type</a> == <a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60a88dcd7f4800095eb2f18b8a9bd521001">PT_PULLOUT_IMAGE</a> || <a class="code" href="a01827.html#a2aec20b482a80e7f8b08bd60ef53bd44">type</a> == <a class="code" href="a00032.html#a03566528a98c079dafeebf00502f2b60a0e758c0b8cd519397b9c94ce6c12858c">PT_PULLOUT_TEXT</a>;</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> }</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> <span class="keyword">namespace </span><a class="code" href="a01818.html">tesseract</a> {</div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="a01818.html#a76ce0248fd3ba576ca053e9bb82e492f"> 116</a></span> <span class="keyword">enum</span> <a class="code" href="a01818.html#a76ce0248fd3ba576ca053e9bb82e492f">Orientation</a> {</div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="a01818.html#a76ce0248fd3ba576ca053e9bb82e492fa6e5beda212ea9e59ce8aad91ac47f248"> 117</a></span>  <a class="code" href="a01818.html#a76ce0248fd3ba576ca053e9bb82e492fa6e5beda212ea9e59ce8aad91ac47f248">ORIENTATION_PAGE_UP</a> = 0,</div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="a01818.html#a76ce0248fd3ba576ca053e9bb82e492fad8849c28e9fc9e0850a7645d285ae576"> 118</a></span>  <a class="code" href="a01818.html#a76ce0248fd3ba576ca053e9bb82e492fad8849c28e9fc9e0850a7645d285ae576">ORIENTATION_PAGE_RIGHT</a> = 1,</div>
<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="a01818.html#a76ce0248fd3ba576ca053e9bb82e492fa55ca6b8e5b1952c18808651fd8223df4"> 119</a></span>  <a class="code" href="a01818.html#a76ce0248fd3ba576ca053e9bb82e492fa55ca6b8e5b1952c18808651fd8223df4">ORIENTATION_PAGE_DOWN</a> = 2,</div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="a01818.html#a76ce0248fd3ba576ca053e9bb82e492fa013a33864930ee598d047ce03de75b18"> 120</a></span>  <a class="code" href="a01818.html#a76ce0248fd3ba576ca053e9bb82e492fa013a33864930ee598d047ce03de75b18">ORIENTATION_PAGE_LEFT</a> = 3,</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>  </div>
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="a01818.html#acac5bfbc6e9f8ca26f42ea3bad95d84e"> 131</a></span> <span class="keyword">enum</span> <a class="code" href="a01818.html#acac5bfbc6e9f8ca26f42ea3bad95d84e">WritingDirection</a> {</div>
<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="a01818.html#acac5bfbc6e9f8ca26f42ea3bad95d84ea525638f610d97a0064cef8e3d25da586"> 132</a></span>  <a class="code" href="a01818.html#acac5bfbc6e9f8ca26f42ea3bad95d84ea525638f610d97a0064cef8e3d25da586">WRITING_DIRECTION_LEFT_TO_RIGHT</a> = 0,</div>
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="a01818.html#acac5bfbc6e9f8ca26f42ea3bad95d84ea876dcb2db2ae5333ff02decbe5628b24"> 133</a></span>  <a class="code" href="a01818.html#acac5bfbc6e9f8ca26f42ea3bad95d84ea876dcb2db2ae5333ff02decbe5628b24">WRITING_DIRECTION_RIGHT_TO_LEFT</a> = 1,</div>
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="a01818.html#acac5bfbc6e9f8ca26f42ea3bad95d84ea2101d1745ea753883e7cd89188fe511d"> 134</a></span>  <a class="code" href="a01818.html#acac5bfbc6e9f8ca26f42ea3bad95d84ea2101d1745ea753883e7cd89188fe511d">WRITING_DIRECTION_TOP_TO_BOTTOM</a> = 2,</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> };</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  </div>
<div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="a01818.html#a28b14f9ab9d686fb45e130abc15c1781"> 148</a></span> <span class="keyword">enum</span> <a class="code" href="a01818.html#a28b14f9ab9d686fb45e130abc15c1781">TextlineOrder</a> {</div>
<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="a01818.html#a28b14f9ab9d686fb45e130abc15c1781a53344bdc7b64779b811381a96b55ae7a"> 149</a></span>  <a class="code" href="a01818.html#a28b14f9ab9d686fb45e130abc15c1781a53344bdc7b64779b811381a96b55ae7a">TEXTLINE_ORDER_LEFT_TO_RIGHT</a> = 0,</div>
<div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="a01818.html#a28b14f9ab9d686fb45e130abc15c1781ac45389026475922de984d60559fe5594"> 150</a></span>  <a class="code" href="a01818.html#a28b14f9ab9d686fb45e130abc15c1781ac45389026475922de984d60559fe5594">TEXTLINE_ORDER_RIGHT_TO_LEFT</a> = 1,</div>
<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="a01818.html#a28b14f9ab9d686fb45e130abc15c1781ae05aaca68080ad5368696f5e90d2b4dc"> 151</a></span>  <a class="code" href="a01818.html#a28b14f9ab9d686fb45e130abc15c1781ae05aaca68080ad5368696f5e90d2b4dc">TEXTLINE_ORDER_TOP_TO_BOTTOM</a> = 2,</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> };</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  </div>
<div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66a"> 159</a></span> <span class="keyword">enum</span> <a class="code" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66a">PageSegMode</a> {</div>
<div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa319d6168eaa4b2002ac84c0558ba947d"> 160</a></span>  <a class="code" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa319d6168eaa4b2002ac84c0558ba947d">PSM_OSD_ONLY</a> = 0, </div>
<div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa1f0a7b4dbb495bc92c36847c555a706b"> 161</a></span>  <a class="code" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa1f0a7b4dbb495bc92c36847c555a706b">PSM_AUTO_OSD</a> = 1, </div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <a class="code" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa6c70374f53473ba410723e32b12f3f01">PSM_AUTO_ONLY</a> = 2, </div>
<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa759fdd456efbe83648acd54f0a9263cb"> 164</a></span>  <a class="code" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa759fdd456efbe83648acd54f0a9263cb">PSM_AUTO</a> = 3, </div>
<div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa73beed38a70fa050cd927691e757eb7d"> 165</a></span>  <a class="code" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa73beed38a70fa050cd927691e757eb7d">PSM_SINGLE_COLUMN</a> = 4, </div>
<div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa6d12cbb6be71dad8d3f090f214301630"> 166</a></span>  <a class="code" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa6d12cbb6be71dad8d3f090f214301630">PSM_SINGLE_BLOCK_VERT_TEXT</a> = 5, </div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <a class="code" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aab76fe3ca390d99e070ea60b892ee18ef">PSM_SINGLE_BLOCK</a> = 6, </div>
<div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aae3fc1f34ef8d2b0a1f7b09a9d3dc138a"> 169</a></span>  <a class="code" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aae3fc1f34ef8d2b0a1f7b09a9d3dc138a">PSM_SINGLE_LINE</a> = 7, </div>
<div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aab2ba05e0391e8fa0014323490c54b1b8"> 170</a></span>  <a class="code" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aab2ba05e0391e8fa0014323490c54b1b8">PSM_SINGLE_WORD</a> = 8, </div>
<div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa2c473f99b506306a04efeb199444217e"> 171</a></span>  <a class="code" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa2c473f99b506306a04efeb199444217e">PSM_CIRCLE_WORD</a> = 9, </div>
<div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa7045cff7a3ae929fb1db5dbf031a4875"> 172</a></span>  <a class="code" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa7045cff7a3ae929fb1db5dbf031a4875">PSM_SINGLE_CHAR</a> = 10, </div>
<div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa52098adaaa77f63a382a3ec2a8202c43"> 173</a></span>  <a class="code" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa52098adaaa77f63a382a3ec2a8202c43">PSM_SPARSE_TEXT</a> =</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  11, </div>
<div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aae9467850a0f8b1ad6df639994a20bfb5"> 175</a></span>  <a class="code" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aae9467850a0f8b1ad6df639994a20bfb5">PSM_SPARSE_TEXT_OSD</a> = 12, </div>
<div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aabea071f8e7061ba47e289e5ca9d7977d"> 176</a></span>  <a class="code" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aabea071f8e7061ba47e289e5ca9d7977d">PSM_RAW_LINE</a> = 13, </div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  </div>
<div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa43cbd9776a49ef8469e8148d8161eaae"> 179</a></span>  <a class="code" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa43cbd9776a49ef8469e8148d8161eaae">PSM_COUNT</a> </div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> };</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  </div>
<div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="a01818.html#a30bf30e24d408ea5baf9bbc83f9930e2"> 188</a></span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="a01818.html#a30bf30e24d408ea5baf9bbc83f9930e2">PSM_OSD_ENABLED</a>(<span class="keywordtype">int</span> pageseg_mode) {</div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <span class="keywordflow">return</span> pageseg_mode <= <a class="code" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa1f0a7b4dbb495bc92c36847c555a706b">PSM_AUTO_OSD</a> || pageseg_mode == <a class="code" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aae9467850a0f8b1ad6df639994a20bfb5">PSM_SPARSE_TEXT_OSD</a>;</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span> }</div>
<div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="a01818.html#a3bbc313593c4d81ccb01b05b5cba680c"> 191</a></span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="a01818.html#a3bbc313593c4d81ccb01b05b5cba680c">PSM_ORIENTATION_ENABLED</a>(<span class="keywordtype">int</span> pageseg_mode) {</div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keywordflow">return</span> pageseg_mode <= <a class="code" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa759fdd456efbe83648acd54f0a9263cb">PSM_AUTO</a> || pageseg_mode == <a class="code" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aae9467850a0f8b1ad6df639994a20bfb5">PSM_SPARSE_TEXT_OSD</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"><a class="line" href="a01818.html#a65f6404c41e8115bf0f3b5a3c3cb0330"> 194</a></span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="a01818.html#a65f6404c41e8115bf0f3b5a3c3cb0330">PSM_COL_FIND_ENABLED</a>(<span class="keywordtype">int</span> pageseg_mode) {</div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <span class="keywordflow">return</span> pageseg_mode >= <a class="code" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa1f0a7b4dbb495bc92c36847c555a706b">PSM_AUTO_OSD</a> && pageseg_mode <= <a class="code" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa759fdd456efbe83648acd54f0a9263cb">PSM_AUTO</a>;</div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span> }</div>
<div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="a01818.html#a8d3049bd09022ed6dd40fa03f9fa4b48"> 197</a></span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="a01818.html#a8d3049bd09022ed6dd40fa03f9fa4b48">PSM_SPARSE</a>(<span class="keywordtype">int</span> pageseg_mode) {</div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  <span class="keywordflow">return</span> pageseg_mode == <a class="code" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa52098adaaa77f63a382a3ec2a8202c43">PSM_SPARSE_TEXT</a> || pageseg_mode == <a class="code" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aae9467850a0f8b1ad6df639994a20bfb5">PSM_SPARSE_TEXT_OSD</a>;</div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span> }</div>
<div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="a01818.html#aec87d6029c75c5289d98a9e723e27a03"> 200</a></span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="a01818.html#aec87d6029c75c5289d98a9e723e27a03">PSM_BLOCK_FIND_ENABLED</a>(<span class="keywordtype">int</span> pageseg_mode) {</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  <span class="keywordflow">return</span> pageseg_mode >= <a class="code" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa1f0a7b4dbb495bc92c36847c555a706b">PSM_AUTO_OSD</a> && pageseg_mode <= <a class="code" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa73beed38a70fa050cd927691e757eb7d">PSM_SINGLE_COLUMN</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"><a class="line" href="a01818.html#a4bccdd42ad4df4d7c901ec9f4241b42f"> 203</a></span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="a01818.html#a4bccdd42ad4df4d7c901ec9f4241b42f">PSM_LINE_FIND_ENABLED</a>(<span class="keywordtype">int</span> pageseg_mode) {</div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <span class="keywordflow">return</span> pageseg_mode >= <a class="code" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa1f0a7b4dbb495bc92c36847c555a706b">PSM_AUTO_OSD</a> && pageseg_mode <= <a class="code" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aab76fe3ca390d99e070ea60b892ee18ef">PSM_SINGLE_BLOCK</a>;</div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span> }</div>
<div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="a01818.html#ae352b5f90645de29b1d9d3a3d6b37946"> 206</a></span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="a01818.html#ae352b5f90645de29b1d9d3a3d6b37946">PSM_WORD_FIND_ENABLED</a>(<span class="keywordtype">int</span> pageseg_mode) {</div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <span class="keywordflow">return</span> (pageseg_mode >= <a class="code" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa1f0a7b4dbb495bc92c36847c555a706b">PSM_AUTO_OSD</a> && pageseg_mode <= <a class="code" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aae3fc1f34ef8d2b0a1f7b09a9d3dc138a">PSM_SINGLE_LINE</a>) ||</div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  pageseg_mode == <a class="code" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa52098adaaa77f63a382a3ec2a8202c43">PSM_SPARSE_TEXT</a> || pageseg_mode == <a class="code" href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aae9467850a0f8b1ad6df639994a20bfb5">PSM_SPARSE_TEXT_OSD</a>;</div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span> }</div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  </div>
<div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="a01818.html#aa26c22b65cc9765a0e747120f4287fd7"> 216</a></span> <span class="keyword">enum</span> <a class="code" href="a01818.html#aa26c22b65cc9765a0e747120f4287fd7">PageIteratorLevel</a> {</div>
<div class="line"><a name="l00217"></a><span class="lineno"><a class="line" href="a01818.html#aa26c22b65cc9765a0e747120f4287fd7a2dcea8d4208c16055353029d26f9bf49"> 217</a></span>  <a class="code" href="a01818.html#aa26c22b65cc9765a0e747120f4287fd7a2dcea8d4208c16055353029d26f9bf49">RIL_BLOCK</a>, <span class="comment">// Block of text/image/separator line.</span></div>
<div class="line"><a name="l00218"></a><span class="lineno"><a class="line" href="a01818.html#aa26c22b65cc9765a0e747120f4287fd7a3e63980691bf64801c704f59bd795bd9"> 218</a></span>  <a class="code" href="a01818.html#aa26c22b65cc9765a0e747120f4287fd7a3e63980691bf64801c704f59bd795bd9">RIL_PARA</a>, <span class="comment">// Paragraph within a block.</span></div>
<div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="a01818.html#aa26c22b65cc9765a0e747120f4287fd7a5e87a35f16de644593c353159ede11d1"> 219</a></span>  <a class="code" href="a01818.html#aa26c22b65cc9765a0e747120f4287fd7a5e87a35f16de644593c353159ede11d1">RIL_TEXTLINE</a>, <span class="comment">// Line within a paragraph.</span></div>
<div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="a01818.html#aa26c22b65cc9765a0e747120f4287fd7afd466aec253e5daa6f0c112b0f0e0610"> 220</a></span>  <a class="code" href="a01818.html#aa26c22b65cc9765a0e747120f4287fd7afd466aec253e5daa6f0c112b0f0e0610">RIL_WORD</a>, <span class="comment">// Word within a textline.</span></div>
<div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="a01818.html#aa26c22b65cc9765a0e747120f4287fd7adbd62c7f34a9ebdd6e3b813a34cd812d"> 221</a></span>  <a class="code" href="a01818.html#aa26c22b65cc9765a0e747120f4287fd7adbd62c7f34a9ebdd6e3b813a34cd812d">RIL_SYMBOL</a> <span class="comment">// Symbol/character within a word.</span></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="l00248"></a><span class="lineno"><a class="line" href="a01818.html#a550970d1662b3ac5830c6a28dba676b1"> 248</a></span> <span class="keyword">enum</span> <a class="code" href="a01818.html#a550970d1662b3ac5830c6a28dba676b1">ParagraphJustification</a> {</div>
<div class="line"><a name="l00249"></a><span class="lineno"><a class="line" href="a01818.html#a550970d1662b3ac5830c6a28dba676b1a90150303905fef6037adc10dc2aa3689"> 249</a></span>  <a class="code" href="a01818.html#a550970d1662b3ac5830c6a28dba676b1a90150303905fef6037adc10dc2aa3689">JUSTIFICATION_UNKNOWN</a>,</div>
<div class="line"><a name="l00250"></a><span class="lineno"><a class="line" href="a01818.html#a550970d1662b3ac5830c6a28dba676b1a0141f695e0959de2dc43e0eb94023ff6"> 250</a></span>  <a class="code" href="a01818.html#a550970d1662b3ac5830c6a28dba676b1a0141f695e0959de2dc43e0eb94023ff6">JUSTIFICATION_LEFT</a>,</div>
<div class="line"><a name="l00251"></a><span class="lineno"><a class="line" href="a01818.html#a550970d1662b3ac5830c6a28dba676b1aa9a39d3bca308f650f8c75b0c14f6838"> 251</a></span>  <a class="code" href="a01818.html#a550970d1662b3ac5830c6a28dba676b1aa9a39d3bca308f650f8c75b0c14f6838">JUSTIFICATION_CENTER</a>,</div>
<div class="line"><a name="l00252"></a><span class="lineno"><a class="line" href="a01818.html#a550970d1662b3ac5830c6a28dba676b1a93a23b19fec3ebdb587df6e0aa9e9fce"> 252</a></span>  <a class="code" href="a01818.html#a550970d1662b3ac5830c6a28dba676b1a93a23b19fec3ebdb587df6e0aa9e9fce">JUSTIFICATION_RIGHT</a>,</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="l00265"></a><span class="lineno"><a class="line" href="a01818.html#a04550a0ed1279562027bf2fc92c421ae"> 265</a></span> <span class="keyword">enum</span> <a class="code" href="a01818.html#a04550a0ed1279562027bf2fc92c421ae">OcrEngineMode</a> {</div>
<div class="line"><a name="l00266"></a><span class="lineno"><a class="line" href="a01818.html#a04550a0ed1279562027bf2fc92c421aeaea8028f61e76a0f4def7cbe7905206cf"> 266</a></span>  <a class="code" href="a01818.html#a04550a0ed1279562027bf2fc92c421aeaea8028f61e76a0f4def7cbe7905206cf">OEM_TESSERACT_ONLY</a>, <span class="comment">// Run Tesseract only - fastest; deprecated</span></div>
<div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="a01818.html#a04550a0ed1279562027bf2fc92c421aead84e1ef94e50df1622b4fcd189c6c00b"> 267</a></span>  <a class="code" href="a01818.html#a04550a0ed1279562027bf2fc92c421aead84e1ef94e50df1622b4fcd189c6c00b">OEM_LSTM_ONLY</a>, <span class="comment">// Run just the LSTM line recognizer.</span></div>
<div class="line"><a name="l00268"></a><span class="lineno"><a class="line" href="a01818.html#a04550a0ed1279562027bf2fc92c421aead2a8d49560cbb1670cb06c547760b113"> 268</a></span>  <a class="code" href="a01818.html#a04550a0ed1279562027bf2fc92c421aead2a8d49560cbb1670cb06c547760b113">OEM_TESSERACT_LSTM_COMBINED</a>, <span class="comment">// Run the LSTM recognizer, but allow fallback</span></div>
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  <span class="comment">// to Tesseract when things get difficult.</span></div>
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <span class="comment">// deprecated</span></div>
<div class="line"><a name="l00271"></a><span class="lineno"><a class="line" href="a01818.html#a04550a0ed1279562027bf2fc92c421aeae7376c1e8d55b9d13e75c639a6930159"> 271</a></span>  <a class="code" href="a01818.html#a04550a0ed1279562027bf2fc92c421aeae7376c1e8d55b9d13e75c639a6930159">OEM_DEFAULT</a>, <span class="comment">// Specify this mode when calling init_*(),</span></div>
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  <span class="comment">// to indicate that any of the above modes</span></div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  <span class="comment">// should be automatically inferred from the</span></div>
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  <span class="comment">// variables in the language-specific config,</span></div>
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  <span class="comment">// command-line configs, or if not specified</span></div>
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  <span class="comment">// in any of the above should be set to the</span></div>
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  <span class="comment">// default OEM_TESSERACT_ONLY.</span></div>
<div class="line"><a name="l00278"></a><span class="lineno"><a class="line" href="a01818.html#a04550a0ed1279562027bf2fc92c421aea07bce4eca97d3881eab857de542b56c1"> 278</a></span>  <a class="code" href="a01818.html#a04550a0ed1279562027bf2fc92c421aea07bce4eca97d3881eab857de542b56c1">OEM_COUNT</a> <span class="comment">// Number of OEMs</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"> 280</span>  </div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span> } <span class="comment">// namespace tesseract.</span></div>
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  </div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span> <span class="preprocessor">#endif // TESSERACT_CCSTRUCT_PUBLICTYPES_H_</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aa01818_html_acac5bfbc6e9f8ca26f42ea3bad95d84ea525638f610d97a0064cef8e3d25da586"><div class="ttname"><a href="a01818.html#acac5bfbc6e9f8ca26f42ea3bad95d84ea525638f610d97a0064cef8e3d25da586">tesseract::WRITING_DIRECTION_LEFT_TO_RIGHT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00132">publictypes.h:132</a></div></div>
<div class="ttc" id="aa00032_html_a03566528a98c079dafeebf00502f2b60adf6b7dd3b8ca94923c3b94dfe53f230e"><div class="ttname"><a href="a00032.html#a03566528a98c079dafeebf00502f2b60adf6b7dd3b8ca94923c3b94dfe53f230e">PT_VERTICAL_TEXT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00060">publictypes.h:60</a></div></div>
<div class="ttc" id="aa01818_html_a30bf30e24d408ea5baf9bbc83f9930e2"><div class="ttname"><a href="a01818.html#a30bf30e24d408ea5baf9bbc83f9930e2">tesseract::PSM_OSD_ENABLED</a></div><div class="ttdeci">bool PSM_OSD_ENABLED(int pageseg_mode)</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00188">publictypes.h:188</a></div></div>
<div class="ttc" id="aa01818_html_a338d4c8b5d497b5ec3e6e4269d8ac66aae9467850a0f8b1ad6df639994a20bfb5"><div class="ttname"><a href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aae9467850a0f8b1ad6df639994a20bfb5">tesseract::PSM_SPARSE_TEXT_OSD</a></div><div class="ttdoc">Sparse text with orientation and script det.</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00175">publictypes.h:175</a></div></div>
<div class="ttc" id="aa01818_html_aa26c22b65cc9765a0e747120f4287fd7afd466aec253e5daa6f0c112b0f0e0610"><div class="ttname"><a href="a01818.html#aa26c22b65cc9765a0e747120f4287fd7afd466aec253e5daa6f0c112b0f0e0610">tesseract::RIL_WORD</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00220">publictypes.h:220</a></div></div>
<div class="ttc" id="aa00032_html_ab03591f4bd6542c3cafef1dc44335fe5"><div class="ttname"><a href="a00032.html#ab03591f4bd6542c3cafef1dc44335fe5">kPointsPerInch</a></div><div class="ttdeci">constexpr int kPointsPerInch</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00032">publictypes.h:32</a></div></div>
<div class="ttc" id="aa01818_html_a550970d1662b3ac5830c6a28dba676b1a93a23b19fec3ebdb587df6e0aa9e9fce"><div class="ttname"><a href="a01818.html#a550970d1662b3ac5830c6a28dba676b1a93a23b19fec3ebdb587df6e0aa9e9fce">tesseract::JUSTIFICATION_RIGHT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00252">publictypes.h:252</a></div></div>
<div class="ttc" id="aa01818_html_a04550a0ed1279562027bf2fc92c421aead2a8d49560cbb1670cb06c547760b113"><div class="ttname"><a href="a01818.html#a04550a0ed1279562027bf2fc92c421aead2a8d49560cbb1670cb06c547760b113">tesseract::OEM_TESSERACT_LSTM_COMBINED</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00268">publictypes.h:268</a></div></div>
<div class="ttc" id="aa01818_html_a65f6404c41e8115bf0f3b5a3c3cb0330"><div class="ttname"><a href="a01818.html#a65f6404c41e8115bf0f3b5a3c3cb0330">tesseract::PSM_COL_FIND_ENABLED</a></div><div class="ttdeci">bool PSM_COL_FIND_ENABLED(int pageseg_mode)</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00194">publictypes.h:194</a></div></div>
<div class="ttc" id="aa01818_html_a338d4c8b5d497b5ec3e6e4269d8ac66aabea071f8e7061ba47e289e5ca9d7977d"><div class="ttname"><a href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aabea071f8e7061ba47e289e5ca9d7977d">tesseract::PSM_RAW_LINE</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00176">publictypes.h:176</a></div></div>
<div class="ttc" id="aa01818_html_a28b14f9ab9d686fb45e130abc15c1781ac45389026475922de984d60559fe5594"><div class="ttname"><a href="a01818.html#a28b14f9ab9d686fb45e130abc15c1781ac45389026475922de984d60559fe5594">tesseract::TEXTLINE_ORDER_RIGHT_TO_LEFT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00150">publictypes.h:150</a></div></div>
<div class="ttc" id="aa01818_html_aa26c22b65cc9765a0e747120f4287fd7a2dcea8d4208c16055353029d26f9bf49"><div class="ttname"><a href="a01818.html#aa26c22b65cc9765a0e747120f4287fd7a2dcea8d4208c16055353029d26f9bf49">tesseract::RIL_BLOCK</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00217">publictypes.h:217</a></div></div>
<div class="ttc" id="aa00032_html_a03566528a98c079dafeebf00502f2b60a88dcd7f4800095eb2f18b8a9bd521001"><div class="ttname"><a href="a00032.html#a03566528a98c079dafeebf00502f2b60a88dcd7f4800095eb2f18b8a9bd521001">PT_PULLOUT_IMAGE</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00064">publictypes.h:64</a></div></div>
<div class="ttc" id="aa00032_html_ab234efeaafa7336d56a5652a1891266e"><div class="ttname"><a href="a00032.html#ab234efeaafa7336d56a5652a1891266e">kMaxCredibleResolution</a></div><div class="ttdeci">constexpr int kMaxCredibleResolution</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00039">publictypes.h:39</a></div></div>
<div class="ttc" id="aa00032_html_a03566528a98c079dafeebf00502f2b60a0e758c0b8cd519397b9c94ce6c12858c"><div class="ttname"><a href="a00032.html#a03566528a98c079dafeebf00502f2b60a0e758c0b8cd519397b9c94ce6c12858c">PT_PULLOUT_TEXT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00056">publictypes.h:56</a></div></div>
<div class="ttc" id="aa00032_html_a03566528a98c079dafeebf00502f2b60a47f25d4065407dd98db92554ca54468b"><div class="ttname"><a href="a00032.html#a03566528a98c079dafeebf00502f2b60a47f25d4065407dd98db92554ca54468b">PT_HEADING_TEXT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00055">publictypes.h:55</a></div></div>
<div class="ttc" id="aa01818_html_a550970d1662b3ac5830c6a28dba676b1"><div class="ttname"><a href="a01818.html#a550970d1662b3ac5830c6a28dba676b1">tesseract::ParagraphJustification</a></div><div class="ttdeci">ParagraphJustification</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00248">publictypes.h:248</a></div></div>
<div class="ttc" id="aa00032_html_a3b3b817fc17799383d414c2ea1c3f888"><div class="ttname"><a href="a00032.html#a3b3b817fc17799383d414c2ea1c3f888">PTIsPulloutType</a></div><div class="ttdeci">bool PTIsPulloutType(PolyBlockType type)</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00088">publictypes.h:88</a></div></div>
<div class="ttc" id="aa01818_html_a76ce0248fd3ba576ca053e9bb82e492fad8849c28e9fc9e0850a7645d285ae576"><div class="ttname"><a href="a01818.html#a76ce0248fd3ba576ca053e9bb82e492fad8849c28e9fc9e0850a7645d285ae576">tesseract::ORIENTATION_PAGE_RIGHT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00118">publictypes.h:118</a></div></div>
<div class="ttc" id="aa01818_html_acac5bfbc6e9f8ca26f42ea3bad95d84ea2101d1745ea753883e7cd89188fe511d"><div class="ttname"><a href="a01818.html#acac5bfbc6e9f8ca26f42ea3bad95d84ea2101d1745ea753883e7cd89188fe511d">tesseract::WRITING_DIRECTION_TOP_TO_BOTTOM</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00134">publictypes.h:134</a></div></div>
<div class="ttc" id="aa01818_html_a04550a0ed1279562027bf2fc92c421aead84e1ef94e50df1622b4fcd189c6c00b"><div class="ttname"><a href="a01818.html#a04550a0ed1279562027bf2fc92c421aead84e1ef94e50df1622b4fcd189c6c00b">tesseract::OEM_LSTM_ONLY</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00267">publictypes.h:267</a></div></div>
<div class="ttc" id="aa01818_html_a338d4c8b5d497b5ec3e6e4269d8ac66aab76fe3ca390d99e070ea60b892ee18ef"><div class="ttname"><a href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aab76fe3ca390d99e070ea60b892ee18ef">tesseract::PSM_SINGLE_BLOCK</a></div><div class="ttdoc">Assume a single uniform block of text. (Default.)</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00168">publictypes.h:168</a></div></div>
<div class="ttc" id="aa00032_html_a03566528a98c079dafeebf00502f2b60a1cfce41c30bf1aefe403aaa66d271da1"><div class="ttname"><a href="a00032.html#a03566528a98c079dafeebf00502f2b60a1cfce41c30bf1aefe403aaa66d271da1">PT_COUNT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00068">publictypes.h:68</a></div></div>
<div class="ttc" id="aa01818_html_acac5bfbc6e9f8ca26f42ea3bad95d84e"><div class="ttname"><a href="a01818.html#acac5bfbc6e9f8ca26f42ea3bad95d84e">tesseract::WritingDirection</a></div><div class="ttdeci">WritingDirection</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00131">publictypes.h:131</a></div></div>
<div class="ttc" id="aa01818_html_a76ce0248fd3ba576ca053e9bb82e492fa013a33864930ee598d047ce03de75b18"><div class="ttname"><a href="a01818.html#a76ce0248fd3ba576ca053e9bb82e492fa013a33864930ee598d047ce03de75b18">tesseract::ORIENTATION_PAGE_LEFT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00120">publictypes.h:120</a></div></div>
<div class="ttc" id="aa01818_html_a338d4c8b5d497b5ec3e6e4269d8ac66aae3fc1f34ef8d2b0a1f7b09a9d3dc138a"><div class="ttname"><a href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aae3fc1f34ef8d2b0a1f7b09a9d3dc138a">tesseract::PSM_SINGLE_LINE</a></div><div class="ttdoc">Treat the image as a single text line.</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00169">publictypes.h:169</a></div></div>
<div class="ttc" id="aa01818_html_ae352b5f90645de29b1d9d3a3d6b37946"><div class="ttname"><a href="a01818.html#ae352b5f90645de29b1d9d3a3d6b37946">tesseract::PSM_WORD_FIND_ENABLED</a></div><div class="ttdeci">bool PSM_WORD_FIND_ENABLED(int pageseg_mode)</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00206">publictypes.h:206</a></div></div>
<div class="ttc" id="aa01818_html_a338d4c8b5d497b5ec3e6e4269d8ac66aab2ba05e0391e8fa0014323490c54b1b8"><div class="ttname"><a href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aab2ba05e0391e8fa0014323490c54b1b8">tesseract::PSM_SINGLE_WORD</a></div><div class="ttdoc">Treat the image as a single word.</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00170">publictypes.h:170</a></div></div>
<div class="ttc" id="aa01818_html_aa26c22b65cc9765a0e747120f4287fd7adbd62c7f34a9ebdd6e3b813a34cd812d"><div class="ttname"><a href="a01818.html#aa26c22b65cc9765a0e747120f4287fd7adbd62c7f34a9ebdd6e3b813a34cd812d">tesseract::RIL_SYMBOL</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00221">publictypes.h:221</a></div></div>
<div class="ttc" id="aa01818_html_a76ce0248fd3ba576ca053e9bb82e492fa55ca6b8e5b1952c18808651fd8223df4"><div class="ttname"><a href="a01818.html#a76ce0248fd3ba576ca053e9bb82e492fa55ca6b8e5b1952c18808651fd8223df4">tesseract::ORIENTATION_PAGE_DOWN</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00119">publictypes.h:119</a></div></div>
<div class="ttc" id="aa01818_html_a04550a0ed1279562027bf2fc92c421ae"><div class="ttname"><a href="a01818.html#a04550a0ed1279562027bf2fc92c421ae">tesseract::OcrEngineMode</a></div><div class="ttdeci">OcrEngineMode</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00265">publictypes.h:265</a></div></div>
<div class="ttc" id="aa00032_html_a03566528a98c079dafeebf00502f2b60aa52ce81f771512916e01215965910fc6"><div class="ttname"><a href="a00032.html#a03566528a98c079dafeebf00502f2b60aa52ce81f771512916e01215965910fc6">PT_INLINE_EQUATION</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00058">publictypes.h:58</a></div></div>
<div class="ttc" id="aa00032_html_a03566528a98c079dafeebf00502f2b60adfde914b43bcf45b29f149fa4415bf45"><div class="ttname"><a href="a00032.html#a03566528a98c079dafeebf00502f2b60adfde914b43bcf45b29f149fa4415bf45">PT_EQUATION</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00057">publictypes.h:57</a></div></div>
<div class="ttc" id="aa01818_html_a8d3049bd09022ed6dd40fa03f9fa4b48"><div class="ttname"><a href="a01818.html#a8d3049bd09022ed6dd40fa03f9fa4b48">tesseract::PSM_SPARSE</a></div><div class="ttdeci">bool PSM_SPARSE(int pageseg_mode)</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00197">publictypes.h:197</a></div></div>
<div class="ttc" id="aa01818_html_a550970d1662b3ac5830c6a28dba676b1a0141f695e0959de2dc43e0eb94023ff6"><div class="ttname"><a href="a01818.html#a550970d1662b3ac5830c6a28dba676b1a0141f695e0959de2dc43e0eb94023ff6">tesseract::JUSTIFICATION_LEFT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00250">publictypes.h:250</a></div></div>
<div class="ttc" id="aa01818_html_a338d4c8b5d497b5ec3e6e4269d8ac66aa6d12cbb6be71dad8d3f090f214301630"><div class="ttname"><a href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa6d12cbb6be71dad8d3f090f214301630">tesseract::PSM_SINGLE_BLOCK_VERT_TEXT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00166">publictypes.h:166</a></div></div>
<div class="ttc" id="aa00032_html_a03566528a98c079dafeebf00502f2b60a639c79458d7bb60c9d6f26f661dee484"><div class="ttname"><a href="a00032.html#a03566528a98c079dafeebf00502f2b60a639c79458d7bb60c9d6f26f661dee484">PT_NOISE</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00067">publictypes.h:67</a></div></div>
<div class="ttc" id="aa01818_html_a28b14f9ab9d686fb45e130abc15c1781"><div class="ttname"><a href="a01818.html#a28b14f9ab9d686fb45e130abc15c1781">tesseract::TextlineOrder</a></div><div class="ttdeci">TextlineOrder</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00148">publictypes.h:148</a></div></div>
<div class="ttc" id="aa01818_html_a338d4c8b5d497b5ec3e6e4269d8ac66aa73beed38a70fa050cd927691e757eb7d"><div class="ttname"><a href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa73beed38a70fa050cd927691e757eb7d">tesseract::PSM_SINGLE_COLUMN</a></div><div class="ttdoc">Assume a single column of text of variable sizes.</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00165">publictypes.h:165</a></div></div>
<div class="ttc" id="aa01818_html_acac5bfbc6e9f8ca26f42ea3bad95d84ea876dcb2db2ae5333ff02decbe5628b24"><div class="ttname"><a href="a01818.html#acac5bfbc6e9f8ca26f42ea3bad95d84ea876dcb2db2ae5333ff02decbe5628b24">tesseract::WRITING_DIRECTION_RIGHT_TO_LEFT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00133">publictypes.h:133</a></div></div>
<div class="ttc" id="aa01818_html_a338d4c8b5d497b5ec3e6e4269d8ac66aa43cbd9776a49ef8469e8148d8161eaae"><div class="ttname"><a href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa43cbd9776a49ef8469e8148d8161eaae">tesseract::PSM_COUNT</a></div><div class="ttdoc">Number of enum entries.</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00179">publictypes.h:179</a></div></div>
<div class="ttc" id="aa01818_html_a550970d1662b3ac5830c6a28dba676b1a90150303905fef6037adc10dc2aa3689"><div class="ttname"><a href="a01818.html#a550970d1662b3ac5830c6a28dba676b1a90150303905fef6037adc10dc2aa3689">tesseract::JUSTIFICATION_UNKNOWN</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00249">publictypes.h:249</a></div></div>
<div class="ttc" id="aa01818_html_a28b14f9ab9d686fb45e130abc15c1781a53344bdc7b64779b811381a96b55ae7a"><div class="ttname"><a href="a01818.html#a28b14f9ab9d686fb45e130abc15c1781a53344bdc7b64779b811381a96b55ae7a">tesseract::TEXTLINE_ORDER_LEFT_TO_RIGHT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00149">publictypes.h:149</a></div></div>
<div class="ttc" id="aa01818_html_aec87d6029c75c5289d98a9e723e27a03"><div class="ttname"><a href="a01818.html#aec87d6029c75c5289d98a9e723e27a03">tesseract::PSM_BLOCK_FIND_ENABLED</a></div><div class="ttdeci">bool PSM_BLOCK_FIND_ENABLED(int pageseg_mode)</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00200">publictypes.h:200</a></div></div>
<div class="ttc" id="aa01818_html_a04550a0ed1279562027bf2fc92c421aeae7376c1e8d55b9d13e75c639a6930159"><div class="ttname"><a href="a01818.html#a04550a0ed1279562027bf2fc92c421aeae7376c1e8d55b9d13e75c639a6930159">tesseract::OEM_DEFAULT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00271">publictypes.h:271</a></div></div>
<div class="ttc" id="aa01818_html_a28b14f9ab9d686fb45e130abc15c1781ae05aaca68080ad5368696f5e90d2b4dc"><div class="ttname"><a href="a01818.html#a28b14f9ab9d686fb45e130abc15c1781ae05aaca68080ad5368696f5e90d2b4dc">tesseract::TEXTLINE_ORDER_TOP_TO_BOTTOM</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00151">publictypes.h:151</a></div></div>
<div class="ttc" id="aa00032_html_a3ba4e2d09ff690dc22ab94055a5e5bba"><div class="ttname"><a href="a00032.html#a3ba4e2d09ff690dc22ab94055a5e5bba">kResolutionEstimationFactor</a></div><div class="ttdeci">constexpr int kResolutionEstimationFactor</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00044">publictypes.h:44</a></div></div>
<div class="ttc" id="aa00032_html_a50de1107a605eb91c55d5b12f72a0700"><div class="ttname"><a href="a00032.html#a50de1107a605eb91c55d5b12f72a0700">kMinCredibleResolution</a></div><div class="ttdeci">constexpr int kMinCredibleResolution</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00037">publictypes.h:37</a></div></div>
<div class="ttc" id="aa00032_html_a03566528a98c079dafeebf00502f2b60ad3f3a03631d09be1ba300cdd2af9a0d5"><div class="ttname"><a href="a00032.html#a03566528a98c079dafeebf00502f2b60ad3f3a03631d09be1ba300cdd2af9a0d5">PT_HORZ_LINE</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00065">publictypes.h:65</a></div></div>
<div class="ttc" id="aa01818_html_a338d4c8b5d497b5ec3e6e4269d8ac66aa1f0a7b4dbb495bc92c36847c555a706b"><div class="ttname"><a href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa1f0a7b4dbb495bc92c36847c555a706b">tesseract::PSM_AUTO_OSD</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00161">publictypes.h:161</a></div></div>
<div class="ttc" id="aa01818_html_aa26c22b65cc9765a0e747120f4287fd7"><div class="ttname"><a href="a01818.html#aa26c22b65cc9765a0e747120f4287fd7">tesseract::PageIteratorLevel</a></div><div class="ttdeci">PageIteratorLevel</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00216">publictypes.h:216</a></div></div>
<div class="ttc" id="aa00032_html_a92fa403305db196dae658fac2153f2e9"><div class="ttname"><a href="a00032.html#a92fa403305db196dae658fac2153f2e9">PTIsImageType</a></div><div class="ttdeci">bool PTIsImageType(PolyBlockType type)</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00076">publictypes.h:76</a></div></div>
<div class="ttc" id="aa00032_html_a03566528a98c079dafeebf00502f2b60a0cc815637c8f3f7967719c6abd956f0f"><div class="ttname"><a href="a00032.html#a03566528a98c079dafeebf00502f2b60a0cc815637c8f3f7967719c6abd956f0f">PT_VERT_LINE</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00066">publictypes.h:66</a></div></div>
<div class="ttc" id="aa00032_html_a03566528a98c079dafeebf00502f2b60aaa63d8d8a99ddc2b3957f8e8787b4eca"><div class="ttname"><a href="a00032.html#a03566528a98c079dafeebf00502f2b60aaa63d8d8a99ddc2b3957f8e8787b4eca">PT_FLOWING_TEXT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00054">publictypes.h:54</a></div></div>
<div class="ttc" id="aa01818_html"><div class="ttname"><a href="a01818.html">tesseract</a></div><div class="ttdef"><b>Definition:</b> <a href="a00005_source.html#l00065">baseapi.h:65</a></div></div>
<div class="ttc" id="aa01818_html_a04550a0ed1279562027bf2fc92c421aea07bce4eca97d3881eab857de542b56c1"><div class="ttname"><a href="a01818.html#a04550a0ed1279562027bf2fc92c421aea07bce4eca97d3881eab857de542b56c1">tesseract::OEM_COUNT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00278">publictypes.h:278</a></div></div>
<div class="ttc" id="aa00032_html_a03566528a98c079dafeebf00502f2b60a919711bca6bed2e6a9846e4dc91f3900"><div class="ttname"><a href="a00032.html#a03566528a98c079dafeebf00502f2b60a919711bca6bed2e6a9846e4dc91f3900">PT_HEADING_IMAGE</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00063">publictypes.h:63</a></div></div>
<div class="ttc" id="aa01818_html_a4bccdd42ad4df4d7c901ec9f4241b42f"><div class="ttname"><a href="a01818.html#a4bccdd42ad4df4d7c901ec9f4241b42f">tesseract::PSM_LINE_FIND_ENABLED</a></div><div class="ttdeci">bool PSM_LINE_FIND_ENABLED(int pageseg_mode)</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00203">publictypes.h:203</a></div></div>
<div class="ttc" id="aa01818_html_aa26c22b65cc9765a0e747120f4287fd7a5e87a35f16de644593c353159ede11d1"><div class="ttname"><a href="a01818.html#aa26c22b65cc9765a0e747120f4287fd7a5e87a35f16de644593c353159ede11d1">tesseract::RIL_TEXTLINE</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00219">publictypes.h:219</a></div></div>
<div class="ttc" id="aa00032_html_a03566528a98c079dafeebf00502f2b60a5f41d3730899e22bf30c977bef2bcfa3"><div class="ttname"><a href="a00032.html#a03566528a98c079dafeebf00502f2b60a5f41d3730899e22bf30c977bef2bcfa3">PT_TABLE</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00059">publictypes.h:59</a></div></div>
<div class="ttc" id="aa01818_html_a76ce0248fd3ba576ca053e9bb82e492fa6e5beda212ea9e59ce8aad91ac47f248"><div class="ttname"><a href="a01818.html#a76ce0248fd3ba576ca053e9bb82e492fa6e5beda212ea9e59ce8aad91ac47f248">tesseract::ORIENTATION_PAGE_UP</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00117">publictypes.h:117</a></div></div>
<div class="ttc" id="aa01818_html_a338d4c8b5d497b5ec3e6e4269d8ac66aa6c70374f53473ba410723e32b12f3f01"><div class="ttname"><a href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa6c70374f53473ba410723e32b12f3f01">tesseract::PSM_AUTO_ONLY</a></div><div class="ttdoc">Automatic page segmentation, but no OSD, or OCR.</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00163">publictypes.h:163</a></div></div>
<div class="ttc" id="aa00032_html_adaf51915410883cb49ce4b2309528641"><div class="ttname"><a href="a00032.html#adaf51915410883cb49ce4b2309528641">PTIsLineType</a></div><div class="ttdeci">bool PTIsLineType(PolyBlockType type)</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00072">publictypes.h:72</a></div></div>
<div class="ttc" id="aa00032_html_a03566528a98c079dafeebf00502f2b60ac0b3cd1b4592e1a3c609ff4273fb505b"><div class="ttname"><a href="a00032.html#a03566528a98c079dafeebf00502f2b60ac0b3cd1b4592e1a3c609ff4273fb505b">PT_UNKNOWN</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00053">publictypes.h:53</a></div></div>
<div class="ttc" id="aa01818_html_a338d4c8b5d497b5ec3e6e4269d8ac66a"><div class="ttname"><a href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66a">tesseract::PageSegMode</a></div><div class="ttdeci">PageSegMode</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00159">publictypes.h:159</a></div></div>
<div class="ttc" id="aa00032_html_a49b7c03fb4e55b82a8fd22b7c6094082"><div class="ttname"><a href="a00032.html#a49b7c03fb4e55b82a8fd22b7c6094082">PTIsTextType</a></div><div class="ttdeci">bool PTIsTextType(PolyBlockType type)</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00081">publictypes.h:81</a></div></div>
<div class="ttc" id="aa01818_html_a3bbc313593c4d81ccb01b05b5cba680c"><div class="ttname"><a href="a01818.html#a3bbc313593c4d81ccb01b05b5cba680c">tesseract::PSM_ORIENTATION_ENABLED</a></div><div class="ttdeci">bool PSM_ORIENTATION_ENABLED(int pageseg_mode)</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00191">publictypes.h:191</a></div></div>
<div class="ttc" id="aa01818_html_a338d4c8b5d497b5ec3e6e4269d8ac66aa2c473f99b506306a04efeb199444217e"><div class="ttname"><a href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa2c473f99b506306a04efeb199444217e">tesseract::PSM_CIRCLE_WORD</a></div><div class="ttdoc">Treat the image as a single word in a circle.</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00171">publictypes.h:171</a></div></div>
<div class="ttc" id="aa01818_html_a338d4c8b5d497b5ec3e6e4269d8ac66aa759fdd456efbe83648acd54f0a9263cb"><div class="ttname"><a href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa759fdd456efbe83648acd54f0a9263cb">tesseract::PSM_AUTO</a></div><div class="ttdoc">Fully automatic page segmentation, but no OSD.</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00164">publictypes.h:164</a></div></div>
<div class="ttc" id="aa01818_html_a338d4c8b5d497b5ec3e6e4269d8ac66aa319d6168eaa4b2002ac84c0558ba947d"><div class="ttname"><a href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa319d6168eaa4b2002ac84c0558ba947d">tesseract::PSM_OSD_ONLY</a></div><div class="ttdoc">Orientation and script detection only.</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00160">publictypes.h:160</a></div></div>
<div class="ttc" id="aa01827_html_a2aec20b482a80e7f8b08bd60ef53bd44"><div class="ttname"><a href="a01827.html#a2aec20b482a80e7f8b08bd60ef53bd44">tesstrain_utils.type</a></div><div class="ttdeci">type</div><div class="ttdef"><b>Definition:</b> <a href="a01397_source.html#l00141">tesstrain_utils.py:141</a></div></div>
<div class="ttc" id="aa01818_html_a338d4c8b5d497b5ec3e6e4269d8ac66aa52098adaaa77f63a382a3ec2a8202c43"><div class="ttname"><a href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa52098adaaa77f63a382a3ec2a8202c43">tesseract::PSM_SPARSE_TEXT</a></div><div class="ttdoc">Find as much text as possible in no particular order.</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00173">publictypes.h:173</a></div></div>
<div class="ttc" id="aa00032_html_a03566528a98c079dafeebf00502f2b60"><div class="ttname"><a href="a00032.html#a03566528a98c079dafeebf00502f2b60">PolyBlockType</a></div><div class="ttdeci">PolyBlockType</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00052">publictypes.h:52</a></div></div>
<div class="ttc" id="aa01818_html_a76ce0248fd3ba576ca053e9bb82e492f"><div class="ttname"><a href="a01818.html#a76ce0248fd3ba576ca053e9bb82e492f">tesseract::Orientation</a></div><div class="ttdeci">Orientation</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00116">publictypes.h:116</a></div></div>
<div class="ttc" id="aa01818_html_a04550a0ed1279562027bf2fc92c421aeaea8028f61e76a0f4def7cbe7905206cf"><div class="ttname"><a href="a01818.html#a04550a0ed1279562027bf2fc92c421aeaea8028f61e76a0f4def7cbe7905206cf">tesseract::OEM_TESSERACT_ONLY</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00266">publictypes.h:266</a></div></div>
<div class="ttc" id="aa01818_html_aa26c22b65cc9765a0e747120f4287fd7a3e63980691bf64801c704f59bd795bd9"><div class="ttname"><a href="a01818.html#aa26c22b65cc9765a0e747120f4287fd7a3e63980691bf64801c704f59bd795bd9">tesseract::RIL_PARA</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00218">publictypes.h:218</a></div></div>
<div class="ttc" id="aa00032_html_a03566528a98c079dafeebf00502f2b60ae4dd1e076e7d8354de8123bbdfb9e6b0"><div class="ttname"><a href="a00032.html#a03566528a98c079dafeebf00502f2b60ae4dd1e076e7d8354de8123bbdfb9e6b0">PT_FLOWING_IMAGE</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00062">publictypes.h:62</a></div></div>
<div class="ttc" id="aa01818_html_a550970d1662b3ac5830c6a28dba676b1aa9a39d3bca308f650f8c75b0c14f6838"><div class="ttname"><a href="a01818.html#a550970d1662b3ac5830c6a28dba676b1aa9a39d3bca308f650f8c75b0c14f6838">tesseract::JUSTIFICATION_CENTER</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00251">publictypes.h:251</a></div></div>
<div class="ttc" id="aa00032_html_a03566528a98c079dafeebf00502f2b60af25906cdd91c91c56489f5878b89b99b"><div class="ttname"><a href="a00032.html#a03566528a98c079dafeebf00502f2b60af25906cdd91c91c56489f5878b89b99b">PT_CAPTION_TEXT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00061">publictypes.h:61</a></div></div>
<div class="ttc" id="aa01818_html_a338d4c8b5d497b5ec3e6e4269d8ac66aa7045cff7a3ae929fb1db5dbf031a4875"><div class="ttname"><a href="a01818.html#a338d4c8b5d497b5ec3e6e4269d8ac66aa7045cff7a3ae929fb1db5dbf031a4875">tesseract::PSM_SINGLE_CHAR</a></div><div class="ttdoc">Treat the image as a single character.</div><div class="ttdef"><b>Definition:</b> <a href="a00032_source.html#l00172">publictypes.h:172</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_00200a555532e7ec3afbcddd6091e65a.html">tesseract</a></li><li class="navelem"><a class="el" href="a00032.html">publictypes.h</a></li>
<li class="footer">Generated on Thu Jan 30 2020 14:22:19 for tesseract by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.16 </li>
</ul>
</div>
</body>
</html>