Hayk Arutyunyan commited on
Commit
30130a9
·
1 Parent(s): e4c17c3

Add HuggingFace demo

Browse files
Files changed (4) hide show
  1. README.md +8 -15
  2. streamlit_app.py → app.py +0 -0
  3. requirements.txt +4 -17
  4. runtime.txt +1 -0
README.md CHANGED
@@ -1,18 +1,11 @@
1
- # Mnemo OCR (demo)
2
- Авто-оцифровка датчиков на технологических мнемосхемах (АСУ ТП) с помощью Python + OCR.
3
 
4
- ## Быстрый старт
5
- ## 🚀 Быстрый старт (в браузере, без установки)
6
 
7
- Запустите проект прямо в Google Colab:
 
 
 
 
8
 
9
- 👉 **[Запустить в Google Colab](https://colab.research.google.com/github/bianconeri91/mnemo_ocr/blob/main/notebook/mnemo_ocr_colab.ipynb)**
10
-
11
- 1. Откройте ноутбук в Colab.
12
- 2. Выполните ячейки сверху вниз.
13
- 3. Загрузите изображение или DOCX.
14
- 4. Получите распознанный титул и сенсоры.
15
-
16
-
17
- ## Что делает
18
- - Обрабатывает изображения мнемосхем → извлекает подписи датчиков (OCR) → сохраняет результат в Excel.
 
1
+ # MNEMO OCR Demo
 
2
 
3
+ This is an interactive demo of the MNEMO OCR module, built using **PaddleOCR** and **Gradio**, and deployed on **HuggingFace Spaces**.
 
4
 
5
+ ## 🚀 Features
6
+ - Upload any image
7
+ - Perform text recognition using PaddleOCR
8
+ - Display extracted text with confidence scores
9
+ - Runs fully in the browser
10
 
11
+ ## ▶️ How to run locally
 
 
 
 
 
 
 
 
 
streamlit_app.py → app.py RENAMED
File without changes
requirements.txt CHANGED
@@ -1,18 +1,5 @@
1
- numpy==1.26.4
2
- pandas==2.2.3
3
- pillow==10.4.0
4
-
5
- scikit-image==0.25.2
6
-
7
  paddlepaddle==2.6.1
8
- paddleocr==2.6.1
9
-
10
- opencv-python-headless==4.7.0.72
11
-
12
- pytesseract==0.3.10
13
- python-docx==1.2.0
14
- pdf2image==1.17.0
15
-
16
- streamlit==1.36.0
17
- pyyaml==6.0.2
18
- openpyxl==3.1.5
 
1
+ gradio==4.37.2
 
 
 
 
 
2
  paddlepaddle==2.6.1
3
+ paddleocr==2.6.1.0
4
+ pillow==10.4.0
5
+ numpy==1.26.4
 
 
 
 
 
 
 
 
runtime.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ python-3.10