Update README.md
Browse files
README.md
CHANGED
|
@@ -1,40 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# βοΈ Handwritten Line Text Recognition (HTR)
|
| 2 |
|
| 3 |
This project implements a **Handwritten Line Text Recognition (HTR)** system using Deep Learning with TensorFlow.
|
| 4 |
|
| 5 |
-
The model is based on a **CRNN (CNN + BiLSTM + CTC
|
| 6 |
-
|
| 7 |
-
Deployed with β€οΈ on Hugging Face Spaces using Gradio.
|
| 8 |
-
|
| 9 |
-
---
|
| 10 |
-
|
| 11 |
-
## π Demo
|
| 12 |
-
|
| 13 |
-
Upload an image of a handwritten text line and the model will predict the text.
|
| 14 |
|
| 15 |
-
|
| 16 |
-
- English characters (AβZ, aβz)
|
| 17 |
-
- Numbers (0β9)
|
| 18 |
-
- Space
|
| 19 |
|
| 20 |
---
|
| 21 |
|
| 22 |
-
##
|
| 23 |
-
|
| 24 |
-
The architecture follows a standard CRNN pipeline:
|
| 25 |
-
|
| 26 |
-
Image β CNN β Feature Map β BiLSTM β Dense β CTC Decoding
|
| 27 |
|
| 28 |
-
|
| 29 |
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
-
|
| 33 |
-
|
| 34 |
-
- **CTC (Connectionist Temporal Classification)**
|
| 35 |
-
- Handles variable-length sequences without alignment
|
| 36 |
|
| 37 |
---
|
| 38 |
|
| 39 |
-
## π Project
|
| 40 |
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Handwritten Text Recognition
|
| 3 |
+
emoji: βοΈ
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: purple
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: "4.44.0"
|
| 8 |
+
python_version: "3.13"
|
| 9 |
+
app_file: app.py
|
| 10 |
+
pinned: false
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
# βοΈ Handwritten Line Text Recognition (HTR)
|
| 14 |
|
| 15 |
This project implements a **Handwritten Line Text Recognition (HTR)** system using Deep Learning with TensorFlow.
|
| 16 |
|
| 17 |
+
The model is based on a **CRNN (CNN + BiLSTM + CTC)** architecture and can recognize handwritten English text lines from images.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
+
Deployed on Hugging Face Spaces using Gradio.
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
---
|
| 22 |
|
| 23 |
+
## π How It Works
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
+
Image β CNN β BiLSTM β Dense β CTC Decode β Text Output
|
| 26 |
|
| 27 |
+
The model:
|
| 28 |
+
- Extracts visual features using Convolutional layers
|
| 29 |
+
- Models sequence dependencies with Bidirectional LSTM
|
| 30 |
+
- Uses CTC decoding to predict variable-length text
|
|
|
|
|
|
|
| 31 |
|
| 32 |
---
|
| 33 |
|
| 34 |
+
## π Project Files
|
| 35 |
|