Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/breta01/handwriting-ocr
OCR software for recognition of handwritten text
https://github.com/breta01/handwriting-ocr
handwriting-ocr machine-learning ocr opencv python recognition tensorflow
Last synced: 14 days ago
JSON representation
OCR software for recognition of handwritten text
- Host: GitHub
- URL: https://github.com/breta01/handwriting-ocr
- Owner: Breta01
- License: mit
- Created: 2017-01-14T21:13:37.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-23T08:43:21.000Z (almost 2 years ago)
- Last Synced: 2024-10-16T19:27:20.446Z (27 days ago)
- Topics: handwriting-ocr, machine-learning, ocr, opencv, python, recognition, tensorflow
- Language: Jupyter Notebook
- Homepage:
- Size: 508 MB
- Stars: 753
- Watchers: 29
- Forks: 239
- Open Issues: 80
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Handwriting OCR
The project tries to create software for recognition of a handwritten text from photos (also for Czech language). It uses computer vision and machine learning. And it experiments with different approaches to the problem. It started as a school project which I got a chance to present on Intel ISEF 2018.## Program Structure
Proces of recognition is divided into 4 steps. The initial input is a photo of page with text.1. Detection of page and removal of background
2. Detection and separation of words
3. Normalization of words
4. Separation and recognition of characters (recognition of words)Main files combining all the steps are [OCR.ipynb](notebooks/OCR.ipynb) or [OCR-Evaluator.ipynb](notebooks/ocr_evaluator.ipynb). Naming of files goes by step representing - name of machine learning model.
## Getting Started
### 1. Clone the repository
```
git clone https://github.com/Breta01/handwriting-ocr.git
```
After downloading the repo, you have to download the datasets and models (for more info look into [data](data/) and [models](models/) folders).### 2. Requirements
The project is created using Python 3.6 with Jupyter Notebook. I recommend using Anaconda. If you have it, you can run the installation as:
```
conda create --name ocr-env --file environment.yml
conda activate ocr-env
```
Main libraries (all required libraries are in [environment.yml](environment.yml)):
* Numpy (1.13)
* Tensorflow (1.4)
* OpenCV (3.1)
* Pandas (0.21)
* Matplotlib (2.1)### Run
With all required libraries installed and cloned repo, run `jupyter notebook` in the directory of the project. Then you can work on the particular notebook.## Contributing
Best way how to get involved is through creating [GitHub issues](https://github.com/Breta01/handwriting-ocr/issues) or solving one! If there aren't any issues you can contact me directly on email.## License
**MIT**## Support the project
If this project helped you or you want to support quick answers to questions and issues. Or you just think it is an interesting project. Please consider a small donation.[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif)](https://paypal.me/bretahajek/2)