Skip to content

Commit

Permalink
[skip ci] Documentation updates
Browse files Browse the repository at this point in the history
  • Loading branch information
odulcy-mindee committed May 15, 2024
1 parent b9c5d0e commit 4919692
Show file tree
Hide file tree
Showing 94 changed files with 3,619 additions and 14,323 deletions.
Binary file modified .doctrees/environment.pickle
Binary file not shown.
2 changes: 1 addition & 1 deletion latest/_modules/doctr/models/detection/zoo.html
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ <h1>Source code for doctr.models.detection.zoo</h1><div class="highlight"><pre>
<div class="viewcode-block" id="detection_predictor">
<a class="viewcode-back" href="../../../../modules/models.html#doctr.models.detection.detection_predictor">[docs]</a>
<span class="k">def</span> <span class="nf">detection_predictor</span><span class="p">(</span>
<span class="n">arch</span><span class="p">:</span> <span class="n">Any</span> <span class="o">=</span> <span class="s2">&quot;db_resnet50&quot;</span><span class="p">,</span>
<span class="n">arch</span><span class="p">:</span> <span class="n">Any</span> <span class="o">=</span> <span class="s2">&quot;fast_base&quot;</span><span class="p">,</span>
<span class="n">pretrained</span><span class="p">:</span> <span class="nb">bool</span> <span class="o">=</span> <span class="kc">False</span><span class="p">,</span>
<span class="n">assume_straight_pages</span><span class="p">:</span> <span class="nb">bool</span> <span class="o">=</span> <span class="kc">True</span><span class="p">,</span>
<span class="o">**</span><span class="n">kwargs</span><span class="p">:</span> <span class="n">Any</span><span class="p">,</span>
Expand Down
4 changes: 2 additions & 2 deletions latest/_modules/doctr/models/zoo.html
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ <h1>Source code for doctr.models.zoo</h1><div class="highlight"><pre>
<div class="viewcode-block" id="ocr_predictor">
<a class="viewcode-back" href="../../../modules/models.html#doctr.models.ocr_predictor">[docs]</a>
<span class="k">def</span> <span class="nf">ocr_predictor</span><span class="p">(</span>
<span class="n">det_arch</span><span class="p">:</span> <span class="n">Any</span> <span class="o">=</span> <span class="s2">&quot;db_resnet50&quot;</span><span class="p">,</span>
<span class="n">det_arch</span><span class="p">:</span> <span class="n">Any</span> <span class="o">=</span> <span class="s2">&quot;fast_base&quot;</span><span class="p">,</span>
<span class="n">reco_arch</span><span class="p">:</span> <span class="n">Any</span> <span class="o">=</span> <span class="s2">&quot;crnn_vgg16_bn&quot;</span><span class="p">,</span>
<span class="n">pretrained</span><span class="p">:</span> <span class="nb">bool</span> <span class="o">=</span> <span class="kc">False</span><span class="p">,</span>
<span class="n">pretrained_backbone</span><span class="p">:</span> <span class="nb">bool</span> <span class="o">=</span> <span class="kc">True</span><span class="p">,</span>
Expand Down Expand Up @@ -488,7 +488,7 @@ <h1>Source code for doctr.models.zoo</h1><div class="highlight"><pre>
<div class="viewcode-block" id="kie_predictor">
<a class="viewcode-back" href="../../../modules/models.html#doctr.models.kie_predictor">[docs]</a>
<span class="k">def</span> <span class="nf">kie_predictor</span><span class="p">(</span>
<span class="n">det_arch</span><span class="p">:</span> <span class="n">Any</span> <span class="o">=</span> <span class="s2">&quot;db_resnet50&quot;</span><span class="p">,</span>
<span class="n">det_arch</span><span class="p">:</span> <span class="n">Any</span> <span class="o">=</span> <span class="s2">&quot;fast_base&quot;</span><span class="p">,</span>
<span class="n">reco_arch</span><span class="p">:</span> <span class="n">Any</span> <span class="o">=</span> <span class="s2">&quot;crnn_vgg16_bn&quot;</span><span class="p">,</span>
<span class="n">pretrained</span><span class="p">:</span> <span class="nb">bool</span> <span class="o">=</span> <span class="kc">False</span><span class="p">,</span>
<span class="n">pretrained_backbone</span><span class="p">:</span> <span class="nb">bool</span> <span class="o">=</span> <span class="kc">True</span><span class="p">,</span>
Expand Down
6 changes: 3 additions & 3 deletions latest/modules/models.html

Large diffs are not rendered by default.

552 changes: 0 additions & 552 deletions v0.1.0/_modules/doctr/documents/elements.html

This file was deleted.

449 changes: 0 additions & 449 deletions v0.1.0/_modules/doctr/documents/reader.html

This file was deleted.

This file was deleted.

147 changes: 112 additions & 35 deletions v0.1.0/_modules/doctr/models/detection/zoo.html

Large diffs are not rendered by default.

426 changes: 0 additions & 426 deletions v0.1.0/_modules/doctr/models/export.html

This file was deleted.

444 changes: 0 additions & 444 deletions v0.1.0/_modules/doctr/models/recognition/crnn.html

This file was deleted.

642 changes: 0 additions & 642 deletions v0.1.0/_modules/doctr/models/recognition/sar.html

This file was deleted.

151 changes: 89 additions & 62 deletions v0.1.0/_modules/doctr/models/recognition/zoo.html

Large diffs are not rendered by default.

325 changes: 261 additions & 64 deletions v0.1.0/_modules/doctr/models/zoo.html

Large diffs are not rendered by default.

422 changes: 360 additions & 62 deletions v0.1.0/_modules/doctr/utils/visualization.html

Large diffs are not rendered by default.

88 changes: 75 additions & 13 deletions v0.1.0/_modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -239,15 +239,38 @@
<input type="hidden" name="area" value="default">
</form>
<div id="searchbox"></div><div class="sidebar-scroll"><div class="sidebar-tree">
<p class="caption" role="heading"><span class="caption-text">Getting Started</span></p>
<p class="caption" role="heading"><span class="caption-text">Getting started</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../installing.html">Installation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../getting_started/installing.html">Installation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../notebooks.html">docTR Notebooks</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Package Documentation</span></p>
<p class="caption" role="heading"><span class="caption-text">Using docTR</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../documents.html">doctr.documents</a></li>
<li class="toctree-l1"><a class="reference internal" href="../models.html">doctr.models</a></li>
<li class="toctree-l1"><a class="reference internal" href="../utils.html">doctr.utils</a></li>
<li class="toctree-l1"><a class="reference internal" href="../using_doctr/using_models.html">Choosing the right model</a></li>
<li class="toctree-l1"><a class="reference internal" href="../using_doctr/using_datasets.html">Choose a ready to use dataset</a></li>
<li class="toctree-l1"><a class="reference internal" href="../using_doctr/using_contrib_modules.html">Integrate contributions into your pipeline</a></li>
<li class="toctree-l1"><a class="reference internal" href="../using_doctr/sharing_models.html">Share your model with the community</a></li>
<li class="toctree-l1"><a class="reference internal" href="../using_doctr/using_model_export.html">Preparing your model for inference</a></li>
<li class="toctree-l1"><a class="reference internal" href="../using_doctr/custom_models_training.html">Train your own model</a></li>
<li class="toctree-l1"><a class="reference internal" href="../using_doctr/running_on_aws.html">AWS Lambda</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Package Reference</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../modules/contrib.html">doctr.contrib</a></li>
<li class="toctree-l1"><a class="reference internal" href="../modules/datasets.html">doctr.datasets</a></li>
<li class="toctree-l1"><a class="reference internal" href="../modules/io.html">doctr.io</a></li>
<li class="toctree-l1"><a class="reference internal" href="../modules/models.html">doctr.models</a></li>
<li class="toctree-l1"><a class="reference internal" href="../modules/transforms.html">doctr.transforms</a></li>
<li class="toctree-l1"><a class="reference internal" href="../modules/utils.html">doctr.utils</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Contributing</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../contributing/code_of_conduct.html">Contributor Covenant Code of Conduct</a></li>
<li class="toctree-l1"><a class="reference internal" href="../contributing/contributing.html">Contributing to docTR</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Notes</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../changelog.html">Changelog</a></li>
</ul>

</div>
Expand Down Expand Up @@ -283,15 +306,54 @@
</div>
<article role="main" id="furo-main-content">
<h1>All modules for which code is available</h1>
<ul><li><a href="doctr/documents/elements.html">doctr.documents.elements</a></li>
<li><a href="doctr/documents/reader.html">doctr.documents.reader</a></li>
<li><a href="doctr/models/detection/differentiable_binarization.html">doctr.models.detection.differentiable_binarization</a></li>
<ul><li><a href="doctr/datasets/cord.html">doctr.datasets.cord</a></li>
<li><a href="doctr/datasets/detection.html">doctr.datasets.detection</a></li>
<li><a href="doctr/datasets/doc_artefacts.html">doctr.datasets.doc_artefacts</a></li>
<li><a href="doctr/datasets/funsd.html">doctr.datasets.funsd</a></li>
<li><a href="doctr/datasets/generator/tensorflow.html">doctr.datasets.generator.tensorflow</a></li>
<li><a href="doctr/datasets/ic03.html">doctr.datasets.ic03</a></li>
<li><a href="doctr/datasets/ic13.html">doctr.datasets.ic13</a></li>
<li><a href="doctr/datasets/iiit5k.html">doctr.datasets.iiit5k</a></li>
<li><a href="doctr/datasets/iiithws.html">doctr.datasets.iiithws</a></li>
<li><a href="doctr/datasets/imgur5k.html">doctr.datasets.imgur5k</a></li>
<li><a href="doctr/datasets/loader.html">doctr.datasets.loader</a></li>
<li><a href="doctr/datasets/mjsynth.html">doctr.datasets.mjsynth</a></li>
<li><a href="doctr/datasets/ocr.html">doctr.datasets.ocr</a></li>
<li><a href="doctr/datasets/recognition.html">doctr.datasets.recognition</a></li>
<li><a href="doctr/datasets/sroie.html">doctr.datasets.sroie</a></li>
<li><a href="doctr/datasets/svhn.html">doctr.datasets.svhn</a></li>
<li><a href="doctr/datasets/svt.html">doctr.datasets.svt</a></li>
<li><a href="doctr/datasets/synthtext.html">doctr.datasets.synthtext</a></li>
<li><a href="doctr/datasets/utils.html">doctr.datasets.utils</a></li>
<li><a href="doctr/datasets/wildreceipt.html">doctr.datasets.wildreceipt</a></li>
<li><a href="doctr/io/elements.html">doctr.io.elements</a></li>
<li><a href="doctr/io/html.html">doctr.io.html</a></li>
<li><a href="doctr/io/image/base.html">doctr.io.image.base</a></li>
<li><a href="doctr/io/image/tensorflow.html">doctr.io.image.tensorflow</a></li>
<li><a href="doctr/io/pdf.html">doctr.io.pdf</a></li>
<li><a href="doctr/io/reader.html">doctr.io.reader</a></li>
<li><a href="doctr/models/classification/magc_resnet/tensorflow.html">doctr.models.classification.magc_resnet.tensorflow</a></li>
<li><a href="doctr/models/classification/mobilenet/tensorflow.html">doctr.models.classification.mobilenet.tensorflow</a></li>
<li><a href="doctr/models/classification/resnet/tensorflow.html">doctr.models.classification.resnet.tensorflow</a></li>
<li><a href="doctr/models/classification/textnet/tensorflow.html">doctr.models.classification.textnet.tensorflow</a></li>
<li><a href="doctr/models/classification/vgg/tensorflow.html">doctr.models.classification.vgg.tensorflow</a></li>
<li><a href="doctr/models/classification/vit/tensorflow.html">doctr.models.classification.vit.tensorflow</a></li>
<li><a href="doctr/models/classification/zoo.html">doctr.models.classification.zoo</a></li>
<li><a href="doctr/models/detection/differentiable_binarization/tensorflow.html">doctr.models.detection.differentiable_binarization.tensorflow</a></li>
<li><a href="doctr/models/detection/fast/tensorflow.html">doctr.models.detection.fast.tensorflow</a></li>
<li><a href="doctr/models/detection/linknet/tensorflow.html">doctr.models.detection.linknet.tensorflow</a></li>
<li><a href="doctr/models/detection/zoo.html">doctr.models.detection.zoo</a></li>
<li><a href="doctr/models/export.html">doctr.models.export</a></li>
<li><a href="doctr/models/recognition/crnn.html">doctr.models.recognition.crnn</a></li>
<li><a href="doctr/models/recognition/sar.html">doctr.models.recognition.sar</a></li>
<li><a href="doctr/models/factory/hub.html">doctr.models.factory.hub</a></li>
<li><a href="doctr/models/recognition/crnn/tensorflow.html">doctr.models.recognition.crnn.tensorflow</a></li>
<li><a href="doctr/models/recognition/master/tensorflow.html">doctr.models.recognition.master.tensorflow</a></li>
<li><a href="doctr/models/recognition/parseq/tensorflow.html">doctr.models.recognition.parseq.tensorflow</a></li>
<li><a href="doctr/models/recognition/sar/tensorflow.html">doctr.models.recognition.sar.tensorflow</a></li>
<li><a href="doctr/models/recognition/vitstr/tensorflow.html">doctr.models.recognition.vitstr.tensorflow</a></li>
<li><a href="doctr/models/recognition/zoo.html">doctr.models.recognition.zoo</a></li>
<li><a href="doctr/models/zoo.html">doctr.models.zoo</a></li>
<li><a href="doctr/transforms/modules/base.html">doctr.transforms.modules.base</a></li>
<li><a href="doctr/transforms/modules/tensorflow.html">doctr.transforms.modules.tensorflow</a></li>
<li><a href="doctr/utils/metrics.html">doctr.utils.metrics</a></li>
<li><a href="doctr/utils/visualization.html">doctr.utils.visualization</a></li>
</ul>
</article>
Expand Down Expand Up @@ -325,7 +387,7 @@ <h1>All modules for which code is available</h1>

</aside>
</div>
</div><script src="../_static/documentation_options.js?v=60e81644"></script>
</div><script src="../_static/documentation_options.js?v=306f4ebe"></script>
<script src="../_static/doctools.js?v=9a2dae69"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../_static/scripts/furo.js?v=4e2eecee"></script>
Expand Down
35 changes: 0 additions & 35 deletions v0.1.0/_sources/documents.rst.txt

This file was deleted.

115 changes: 102 additions & 13 deletions v0.1.0/_sources/index.rst.txt
Original file line number Diff line number Diff line change
@@ -1,25 +1,114 @@
DocTR: Document Text Recognition
================================
********************************
docTR: Document Text Recognition
********************************

State-of-the-art Optical Character Recognition made seamless & accessible to anyone, powered by TensorFlow 2 & PyTorch

.. image:: https://github.com/mindee/doctr/releases/download/v0.2.0/ocr.png
:align: center


DocTR provides an easy and powerful way to extract valuable information from your documents:

* |:receipt:| **for automation**: seemlessly process documents for Natural Language Understanding tasks
* |:woman_scientist:| **for research**: quickly compare your own architectures performances with state-of-art models
* |:receipt:| **for automation**: seamlessly process documents for Natural Language Understanding tasks: we provide OCR predictors to parse textual information (localize and identify each word) from your documents.
* |:woman_scientist:| **for research**: quickly compare your own architectures speed & performances with state-of-art models on public datasets.


Main Features
-------------

* |:robot:| Robust 2-stage (detection + recognition) OCR predictors with pretrained parameters
* |:zap:| User-friendly, 3 lines of code to load a document and extract text with a predictor
* |:rocket:| State-of-the-art performance on public document datasets, comparable with GoogleVision/AWS Textract
* |:zap:| Optimized for inference speed on both CPU & GPU
* |:bird:| Light package, minimal dependencies
* |:tools:| Actively maintained by Mindee
* |:factory:| Easy integration (available templates for browser demo & API deployment)


.. toctree::
:maxdepth: 2
:caption: Getting started
:hidden:

getting_started/installing
notebooks


Model zoo
^^^^^^^^^

Text detection models
"""""""""""""""""""""
* DBNet from `"Real-time Scene Text Detection with Differentiable Binarization" <https://arxiv.org/pdf/1911.08947.pdf>`_
* LinkNet from `"LinkNet: Exploiting Encoder Representations for Efficient Semantic Segmentation" <https://arxiv.org/pdf/1707.03718.pdf>`_
* FAST from `"FAST: Faster Arbitrarily-Shaped Text Detector with Minimalist Kernel Representation" <https://arxiv.org/pdf/2111.02394.pdf>`_

Text recognition models
"""""""""""""""""""""""
* SAR from `"Show, Attend and Read: A Simple and Strong Baseline for Irregular Text Recognition" <https://arxiv.org/pdf/1811.00751.pdf>`_
* CRNN from `"An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognition" <https://arxiv.org/pdf/1507.05717.pdf>`_
* MASTER from `"MASTER: Multi-Aspect Non-local Network for Scene Text Recognition" <https://arxiv.org/pdf/1910.02562.pdf>`_
* ViTSTR from `"Vision Transformer for Fast and Efficient Scene Text Recognition" <https://arxiv.org/pdf/2105.08582.pdf>`_
* PARSeq from `"Scene Text Recognition with Permuted Autoregressive Sequence Models" <https://arxiv.org/pdf/2207.06966>`_


Supported datasets
^^^^^^^^^^^^^^^^^^
* FUNSD from `"FUNSD: A Dataset for Form Understanding in Noisy Scanned Documents" <https://arxiv.org/pdf/1905.13538.pdf>`_.
* CORD from `"CORD: A Consolidated Receipt Dataset forPost-OCR Parsing" <https://openreview.net/pdf?id=SJl3z659UH>`_.
* SROIE from `ICDAR 2019 <https://rrc.cvc.uab.es/?ch=13>`_.
* IIIT-5k from `CVIT <https://cvit.iiit.ac.in/research/projects/cvit-projects/the-iiit-5k-word-dataset>`_.
* Street View Text from `"End-to-End Scene Text Recognition" <http://vision.ucsd.edu/~kai/pubs/wang_iccv2011.pdf>`_.
* SynthText from `Visual Geometry Group <https://www.robots.ox.ac.uk/~vgg/data/scenetext/>`_.
* SVHN from `"Reading Digits in Natural Images with Unsupervised Feature Learning" <http://ufldl.stanford.edu/housenumbers/nips2011_housenumbers.pdf>`_.
* IC03 from `ICDAR 2003 <http://www.iapr-tc11.org/mediawiki/index.php?title=ICDAR_2003_Robust_Reading_Competitions>`_.
* IC13 from `ICDAR 2013 <http://dagdata.cvc.uab.es/icdar2013competition/>`_.
* IMGUR5K from `"TextStyleBrush: Transfer of Text Aesthetics from a Single Example" <https://github.com/facebookresearch/IMGUR5K-Handwriting-Dataset>`_.
* MJSynth from `"Synthetic Data and Artificial Neural Networks for Natural Scene Text Recognition" <https://www.robots.ox.ac.uk/~vgg/data/text/>`_.
* IIITHWS from `"Generating Synthetic Data for Text Recognition" <https://github.com/kris314/hwnet>`_.
* WILDRECEIPT from `"Spatial Dual-Modality Graph Reasoning for Key Information Extraction" <https://arxiv.org/pdf/2103.14470v1.pdf>`_.


.. toctree::
:maxdepth: 2
:caption: Using docTR
:hidden:

using_doctr/using_models
using_doctr/using_datasets
using_doctr/using_contrib_modules
using_doctr/sharing_models
using_doctr/using_model_export
using_doctr/custom_models_training
using_doctr/running_on_aws


.. toctree::
:maxdepth: 2
:caption: Getting Started
:caption: Package Reference
:hidden:

modules/contrib
modules/datasets
modules/io
modules/models
modules/transforms
modules/utils

installing

.. toctree::
:maxdepth: 1
:caption: Package Documentation
:maxdepth: 2
:caption: Contributing
:hidden:

documents
models
utils
contributing/code_of_conduct
contributing/contributing


.. automodule:: doctr
:members:
.. toctree::
:maxdepth: 2
:caption: Notes
:hidden:

changelog
36 changes: 0 additions & 36 deletions v0.1.0/_sources/installing.rst.txt

This file was deleted.

Loading

0 comments on commit 4919692

Please sign in to comment.