Skip to content

dtruong46me/handwritten-text-recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Problem Description

This project aims to build an application that can recognize handwritting text, then converts them to digital text that can editable.

Installation

1. Clone project

Open your Command line, Terminal, Powershell and run this command:

git clone https://github.com/dtruong46me/handwritten-text-recognition.git

2. Download model

Since our model is too large, so you need to download manually.

Your downloaded model should be located in src/saved/your_model.pth

Example:

..
└───src
    ├───..
    ├───saved
    │   └───trOCR.pth
    │   └───donut.pth
    ├───..

In file src/utils/predict.py, handle your model you downloaded in the line 12

MODEL = "model_downloaded.pth"

3. Change directory to repository & execute main.py

Make sure that you are in this directory ..\handwritten-text-recognition> to execute this project

Install the libraries in requirements.txt:

pip install -r requirements.txt
python main.py

Contributions

Name Student ID Email
Vu Tuan Minh (C) 20210597 minh.vt210597@sis.hust.edu.vn
Le Tuan Anh 20214874 anh.lt214874@sis.hust.edu.vn
Bui Minh Quang 20214925 quang.bn214925@sis.hust.edu.vn
Dinh Nguyen Cong Quy 20214927 quy.dnc214927@sis.hust.edu.vn
Phan Dinh Truong 20214937 truong.pd214937@sis.hust.edu.vn

References