This file is indexed.

/usr/share/doc/python-gamera.toolkits.ocr/src/functions.txt is in python-gamera.toolkits.ocr 1.0.6-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
=============================
OCR Toolkit: Global Functions
=============================

The toolkit defines a number of free function which are not image
methods. These are defined in *ocr_toolkit.py* and can be imported
in a python script with

.. code:: Python

   from gamera.toolkits.ocr.ocr_toolkit import *


Output text generation
''''''''''''''''''''''

While the class Page_ splits the image into Textline_ objects and
possibly classifies the characters, it does not generate an output string.
For this purpose, you can use the function `textline_to_string`_.

.. _Page: gamera.toolkits.ocr.classes.Page.html
.. _Textline: gamera.toolkits.ocr.classes.Textline.html
.. _`textline_to_string`: #textline-to-string


.. docstring:: gamera.toolkits.ocr.ocr_toolkit textline_to_string
.. docstring:: gamera.toolkits.ocr.ocr_toolkit return_char
.. docstring:: gamera.toolkits.ocr.ocr_toolkit chars_make_words


Segmentation
''''''''''''

These functions are used in the segmentation methods of class Page_.
You will generally not need to call them, unless you are implementing
a custom segmentation method.

.. _Page: gamera.toolkits.ocr.classes.Page.html

.. docstring:: gamera.toolkits.ocr.ocr_toolkit get_line_glyphs
.. docstring:: gamera.toolkits.ocr.ocr_toolkit show_bboxes