Git Product home page Git Product logo

homeworkmachine's Introduction

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.

homeworkmachine's People

Contributors

ankit404butfound avatar nikhilcad avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.