项目
在 GitHub 查看
HusseinYoussef/Arabic-OCR
HusseinYoussef/Arabic-OCR has 333 GitHub stars and 80 forks. GitHot measured +1 stars in 24 hours. Last checked 2026-11-22 19:20 UTC. Last push 2023-10-04.
实测星标增长
- 24小时
- +1
- 7天
- 正在收集历史
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
关于
OCR system for Arabic language that converts images of typed text to machine-encoded text.
机器学习README.md
原文Arabic OCR
- OCR system for Arabic language that converts images of typed text to machine-encoded text.
- The system aims to solve a simpler problem of OCR with images that contain only Arabic characters (check the dataset link below to see a sample of the images).
Important Note
The system currently supports only letters (29 letters) ا-ى , لا (no numbers or special symbols).
Setup
Install python then run this command:
pip install -r requirements.txt
Run
- Put the images in src/test directory
- Go to src directory and run the following command
python OCR.py - Output folder will be created with:
- text folder which has text files corresponding to the images.
- running_time file which has the time taken to process each image.
Pipeline
Dataset
- Link to dataset of images and the corresponding text: here.
- We used 1000 images to generate character dataset that we used for training.
Examples
Line Segmentation

Word Segmentation

Character Segmentation

Testing
NOTE: Make sure you have a folder with the truth output with same file names to compare it with the predicted text.
From within src folder run:
python edit.py 'output/text' 'truth'

Performance
- Average accuracy: 95%.
- Average time per image: 16 seconds.
NOTE
We achieved these results when we used only the flatten image as feature.
References
探索相关项目
加载中…