## Overview

The Hugging Face and ModelScope demos use the same open-source code and are built with [Streamlit](https://streamlit.io/) or [Gradio](https://www.gradio.app/guides/quickstart).

ModelScope is usually easier to access from mainland China. Hugging Face may require additional network access depending on your location.

The demos let you:

- test recognition quality and inference time on your own images;
- compare different RapidOCR model versions.

### RapidOCR v3

For `rapidocr` v3.x:

<p align="left">
    <a href="https://huggingface.co/spaces/RapidAI/RapidOCRv3" target="_blank"><img src="https://img.shields.io/badge/%F0%9F%A4%97-Hugging%20Face%20Demo%20v3-blue"></a>
    <a href="https://www.modelscope.cn/studios/RapidAI/RapidOCRv3.0.0" target="_blank"><img src="https://img.shields.io/badge/ModelScope-Demo%20v3-blue"></a>
</p>

### RapidOCR v2

For `rapidocr` v2.x:

<p align="left">
    <a href="https://huggingface.co/spaces/RapidAI/RapidOCRv2" target="_blank"><img src="https://img.shields.io/badge/%F0%9F%A4%97-Hugging%20Face%20Demo%20v2-blue"></a>
    <a href="https://www.modelscope.cn/studios/RapidAI/RapidOCRv2" target="_blank"><img src="https://img.shields.io/badge/ModelScope-Demo%20v2-blue"></a>
</p>

### RapidOCR v1

For `rapidocr` v1.x:

<p align="left">
    <a href="https://huggingface.co/spaces/RapidAI/RapidOCR" target="_blank"><img src="https://img.shields.io/badge/%F0%9F%A4%97-Hugging%20Face%20Demo%20v1-blue"></a>
    <a href="https://www.modelscope.cn/studios/RapidAI/RapidOCRDemo" target="_blank"><img src="https://img.shields.io/badge/ModelScope-Demo%20v1-blue"></a>
</p>
