Skip to content

This is an image reader that is implemented using Python.

Notifications You must be signed in to change notification settings

CherutoSharleen/Image-Reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Image-Reader

This is an image reader that is implemented using Python.

How it Works

The application asks the user to select a file(limited to file type PNG, JPG, JPEG) from the local or connected external strorage. Once the file is selected the image is preprocessed(resizing, dilation and erosion). It is then converted to string using Pytesseract and displayed on the interface using Streamlit.

Requirements.

  1. Numpy - Used For Image Resizing
  2. OpenCV - Used for Image Manipulation and Preprocessing
  3. PyTesseract - convert the image to String
  4. Streamlit - A Python Front-End Framework

How To Run It.

Use the command streamlit run thefilename.py in this case it is streamlit run streamlit_image_reader.py

Screenshots

  1. The Initial Part For Selecting an Image

IDReader 1

  1. A Selected Image(Left) and Expected Text Output(Right) ** Some Information has been coloured out since this is a Picture from the internet image

To Note

  1. The Application is accurate to some extent, that is when working with clear images, with colour contrasting foregrounds and backgrounds. The text should also be legible. If a trained model is to be used it would improve the accuracy significantly.
  2. I had an issue trying to upload the file using streamlit and still reading the same file from the storage. My workarond: Saving uploaded files to a new folder that is being called within the application when I attempt to read the Image.(Suggestions on how to improve this are highly welcomed)

About

This is an image reader that is implemented using Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages