This is an image classification app built using TensorFlow 2, Django 3, Django REST Framework 3, React 17, and Material UI 5. The app uses a machine learning model built in TensorFlow and trained on the MNIST dataset to recognize handwritten digits.
Install the following prerequisites:
- Python 3.7-3.9
This project uses TensorFlow v2.7.0. For TensorFlow to work, you must have a correct Python version installed on your machine. More information here. - Node.js
- Visual Studio Code
From the root directory run:
cd backend
python -m venv venv
From the backend directory run:
On macOS:
source venv/bin/activate
On Windows:
venv\scripts\activate
From the backend directory run:
pip install -r requirements.txt
From the backend directory run:
python manage.py makemigrations
python manage.py migrate
From the root directory run:
cd frontend
npm install
To run the application, you need to have both the backend and the frontend up and running.
From the backend directory run:
python manage.py runserver
From the frontend directory run:
npm start
Go to http://localhost:3000/ to view the application.