Table of Contents
The OCR Citizenship is a powerful software program designed to streamline the extraction of valuable entities from citizenship images. Leveraging advanced image processing techniques, Optical Character Recognition (OCR), and Natural Language Processing (NLP) algorithms, this project automates the process of extracting essential information from citizenship documents, reducing manual effort and enhancing efficiency. The user interface and front-end of the system are built using Streamlit, providing a seamless and interactive experience for users.
- Python
- Tensorflow
- Tesseract/ PyTesseract
- Streamlit
- OpenCV
- Numpy
- Docker
- Google OCR
To get a local copy up and running follow these simple steps.
- Clone the repo
git clone git@github.com:sushilld/ocr_citizenship.git
- Install Docker
https://docs.docker.com/engine/install/
- Install Docker Compose
https://docs.docker.com/compose/install/
- Build Docker Image
docker build -t ocr_citizenship . - Run Docker Container
docker run -it -p 8501:8501 -e ip_address="127.0.0.1" -e ip_port="6011" -e show_google="true" sushil3125/ocr_citizenship
- Login using test as username and test as password
- Upload both of the images of the citizenship (Front and Back)
- Click on Submit button and you will see a preview of your citienship card.
- Navigate to specific tab to see the extracted entities from the image.
Following are the prerequisites for this project.
- Docker
https://docs.docker.com/engine/install/
- Docker Compose
https://docs.docker.com/compose/install/
- Python
https://www.python.org/downloads/
- Clone the repo
git clone git@github.com:sushilld/ocr_citizenship.git
- Install Docker
https://docs.docker.com/engine/install/
- Install Docker Compose
https://docs.docker.com/compose/install/
- Build Docker Image
docker build -t ocr_citizenship . - Run Docker Container
docker run -it -p 8501:8501 -e ip_address="127.0.0.1" -e ip_port="6011" -e show_google="true" sushil3125/ocr_citizenship
This project is designed to extract valuable entities from citizenship images. The user interface and front-end of the system are built using Streamlit, providing a seamless and interactive experience for users. The user can upload the image of the citizenship card and the system will extract the following entities from the image.
Sushil Dhakal - LinkedIn - sushilldhakal25@gmail.com
Project Link: https://github.com/sushilld/ocr_citizenship.git
Thanks to the following resources for helping me build this project.
- [![Streamlit][Streamlit.io]][Streamlit-url]
- [![Tensorflow][Tensorflow.org]][Tensorflow-url]
- [![PyTesseract][PyTesseract.org]][PyTesseract-url]
- [![OpenCV][OpenCV.org]][OpenCV-url]
- [![Numpy][Numpy.org]][Numpy-url]
- and many more...





