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

Space using KousarRaza/sindhi-hand-writing-ocr 1