Skip to content

Ankit404butfound/HomeworkMachine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HomeworkMachine

This project is capable of converting computer characters to hand-written characters, you need to install pytesserect exe as well as the library. Copy the "CodeWithGUI.py" and "AutoDownloader.py" file in same folder on the desktop and run, all the images will be automatically downloaded in the same folder.

Install instructions :

Add Python IDLE to your path, if you are already aware of PIP then you can skip this step.To do that, download the latest version of IDLE and…
Python setup

Now, open cmd or Command Prompt on your computer and type - pip, if everything is find, you should see something like this
Command prompt

Now type pip install numpy press enter After it’s installed, type pip install keyboard and after it’s installed, type pip install Pillow and do the same for cv2 library.

After all the libraries are installed, open this link and download 32bit or 64bit installer of tesseract-ocr, the page should look something like this
This is image not text

Just click next a few times and it’s installed, now open the place where it’s and search for an exe file there named teserract, something like this and copy it’s path somewhere, we will need it later. (Remember this step)
tessseract is installed

Now open the source code of the project and open the folder named “Programs” and download these two programs
Source code programs

Now after they are downloaded, create a folder on Desktop and save both files in that folder
desktop 1
desktop 2

Now, double click on AutoDownloader file and if all libraries are correctly installed, the code will download all images in the same folder
first time open

Meanwhile, open the CodeWithGUI file with IDLE to view it’s source code and you will see a line like this
img1
img2

You’d need to edit that line, so this is where we need the path of that exe file I told you about earlier
path i told earlier

After you copied the file’s path, open that source code and replace this part of the line with the path of your own exe file
path of exe file

DO NOT TOUCH ANYTHING ELSE, not even those quotations, message me before moving on if you want.

Now save the changes you have made and close it. Now again open cmd or command prompt ant type pip install pytesseract. After it’s installed goto that folder.

Now run CodeWithGUI and you should see this if everything works fine
check if everything is fine

Now move the image from which you want to read texts from, in the same folder and input it’s name in the entry field and press extract. It will take some time to convert.
now move the image

The output should look like this, however that capital letters will not be there as I am working on it.

Now, if you want to use the scan feature, press on the button and it will tell you what to do.

About

Computer characters to handwritten text converter.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages