Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix img src and max-height #244

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions web_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,14 @@ There are various ways to build a system which implements this Web API. In this
architecture, which greatly improves the scalability, flexibility, and reliability of the system compared to
the [CLI](https://ocr-d.de/en/spec/cli) and the Distributed Processor REST Calls approach.

<figure>
<img src="images/web-api-distributed-queue.jpg" alt="Distributed architecture with the Web API"/>
<p class="figure img" style="max-height: 100%">
<a href="/assets/web-api-distributed-queue.jpg" style="max-height: 100%">
<img src="/assets/web-api-distributed-queue.jpg" alt="Distributed architecture with the Web API"/>
</a>
<figcaption align="center">
<b>Fig. 1:</b> OCR-D System Architecture
</figcaption>
</figure>
</p>

In this architecture, all servers are implemented using [FastAPI](https://fastapi.tiangolo.com/). Behind the scene, it
runs [Uvicorn](https://www.uvicorn.org/), an [ASGI](https://asgi.readthedocs.io/en/latest/) web server implementation
Expand Down