Sindhi OCR Model
| Model architecture | Model size | Language |
|---|---|---|
| CNN + Dense | ~XX MB | Sindhi |
π Description
This Sindhi OCR model is designed to recognize handwritten or printed Sindhi characters from scanned or digital images. It supports a basic set of characters and outputs the recognized text as a string.
π Key Features
- Recognizes isolated Sindhi characters from 28x28 grayscale images.
- Pretrained and ready for inference using TensorFlow/Keras.
- Small and lightweight β easily integratable in web or mobile applications.
π§ͺ Use Case
This model is ideal for:
- Educational tools for Sindhi literacy
- OCR engines for digitizing Sindhi handwritten documents
- Research on low-resource language OCR
- Basic Sindhi text recognition pipelines
π₯ Input
- Type: 28x28 grayscale image
- Format: NumPy array or
.png,.jpg - Shape:
(28, 28, 1)
π€ Output
- Type: Text
- Format: Unicode string
- Classes:
['Ψ§', 'Ψ¨', 'Ψ―', 'Ω ', 'Ω', 'Ϊ']
π οΈ How to Use
π Load the model in Python
from tensorflow.keras.models import load_model
model = load_model("sindhi_model.h5")
# Predicting from an image
import numpy as np
from PIL import Image
img = Image.open("test.png").resize((28, 28)).convert("L")
img = np.array(img).reshape(1, 28, 28, 1) / 255.0
prediction = model.predict(img)
predicted_class = class_names[np.argmax(prediction)]
- Downloads last month
- 8
Inference Providers
NEW
This model isn't deployed by any Inference Provider.
π
Ask for provider support