To get started with the project, follow these steps:
- Clone this repository.
git clone https://github.com/NancyPatel11/EVS-Project.git- Install the necessary dependencies. Run the following command in your terminal. Make sure you are at the correct path (home) of the cloned repository.
pip install numpy pandas matplotlib seaborn tensorflow keras tqdm scikit-learn fastapi uvicorn pillowIn the api.py file, simply press the run button to run the code. You will see a localhost being started up in your terminal as shown in the image below. Open this localhost on your browser.

You will be directed to the following page:

Next, type /docs at the end of the url as shown below:

You will get directed to the FASTAPI homepage. Here, you can see the uploadfile post request. Click on it to expand it. You will see the option try it out.

Now click on the try it out button, you will see an image upload section where you can choose any image of the garbage from your computer:

Once you upload a the image of the garbage, click on execute. Our model will then be called in the backend and you will see the classification result along with the model confidence as shown below:
