#the Handwritten Digit Recognition using LeNet-5 Architecture and Streamlit
This is a project that recognizes handwritten digits using the LeNet-5 architecture and deploys the model using Streamlit, a popular Python library for building interactive web applications.
- Python 3.x
- TensorFlow
- Streamlit
- Numpy
- OpenCv
-
Clone the repository:
git clone https://github.com/ahmedhassan187/digit-recognizer
-
Install the required packages:
pip install -r requirements.txt
-
Run the application:
streamlit run app.py
-
Open the URL
http://localhost:8501
in your browser to access the web application.
-
Upload a photo of a handwritten digit to the web application.
-
The LeNet-5 model will then predict the digit and display the result on the screen.
-
app.py
: This is the main file that contains the code for deploying the model using Streamlit. -
model.ipynb
: This file contains the implementation of the LeNet-5 architecture. -
Utilites.py
: This file contains the helper functions used for loading and preprocessing the input image. -
model.h5
: This is the trained model that is used for predicting the digit. -
requirements.txt
: This file contains the list of required packages and their versions.
This project was made possible thanks to the following resources: