File size: 945 Bytes
f3270e6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
doctr.utils
===========

This module regroups non-core features that are complementary to the rest of the package.

.. currentmodule:: doctr.utils


Visualization
-------------
Easy-to-use functions to make sense of your model's predictions.

.. currentmodule:: doctr.utils.visualization

.. autofunction:: visualize_page

Reconstitution
---------------

.. currentmodule:: doctr.utils.reconstitution

.. autofunction:: synthesize_page


.. _metrics:

Task evaluation
---------------
Implementations of task-specific metrics to easily assess your model performances.

.. currentmodule:: doctr.utils.metrics

.. autoclass:: TextMatch

   .. automethod:: update
   .. automethod:: summary

.. autoclass:: LocalizationConfusion

   .. automethod:: update
   .. automethod:: summary

.. autoclass:: OCRMetric

   .. automethod:: update
   .. automethod:: summary

.. autoclass:: DetectionMetric

   .. automethod:: update
   .. automethod:: summary