Skip to content

jiteshpabla/image_to_code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IMAGE-TO-CODE

Image-to-code is a python based OCR tool specifically made to capture an image with a code-snippet, and instantly get in in text form onto a text editor for the user.

It uses the pytesseract wrapper for the tesseract-OCR and pyGtk for GUI.

Usage

Simply run the gui1.py file using the terminal.

$ python gui1.py

This will open up a simple text editor.

Then, follow these steps:

  • Click the choose file button, and choose an image file with the code-snippet in it
  • Click the scan button
  • The code from the image comes into the text editor (the language of the code is identified and is highlighted accordingly)

(You may have to edit the scanned code as the OCR is not perfect, and can result in abnormal scans)

Future features

  • Add support for other popular languages
  • Drag and drop images
  • Train the OCR for better results
  • Enhance the text editor

Tech

Image-to-code uses a number of open source projects to work properly:

Others:

Developers

  1. Jitesh Pabla
  2. Sajal Subodh

Mentor Assigned For This Project By JDEV(Jaypee Developer's group)

  • Shivan Trivedi

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages