The task is to develop a Streamlit application that facilitates the extraction of relevant information from business cards using easyOCR. The extracted information includes the company name, card holder name, designation, mobile number, email address, website URL, area, city, state, and pin code. Additionally, the application should allow users to save this information, along with the uploaded business card image, into a database. The database should support multiple entries, each with its own business card image and extracted information.
Make sure to have the following packages installed:
# Install Python
install python
pip install pandas
pip install streamlit
pip install sqlalchemy
pip install PyMySQL
pip install numpy
pip install streamlit-option-menu
pip install Pillow
install pytorch https://pytorch.org/
pip install easyocr
Create a user-friendly interface using Streamlit, incorporating widgets like file uploader, buttons, and text boxes to guide users through the process.
Utilize easyOCR for extracting relevant information from the business card image.
Present the extracted information in an organized manner within the Streamlit GUI, using widgets like tables, text boxes, and labels.
Integrate a database management system (SQLite or MySQL) to store extracted information and associated business card images. Utilize SQL queries for creating tables, inserting, updating, and retrieving data.
streamlit run ./home.py
This will launch the Streamlit application, allowing you to upload business card images, extract information, and store it in the integrated database