Skip to content

Rajeev766/Pepper-bell-disease

Repository files navigation

bell pepper disease classification

bell pepper disease classification

Dataset

Dataset Link

How To Run

Training Model

Step 1 : git clone https://github.com/Rajeev766/Pepper-bell-disease

Step 2 : cd Pepper-bell-disease

Step 3 : pip install -r requirements.txt or pip3 install -r requirements.txt

Step 4 : python CNN_Model.py

Quantized Model

Step 1 python CNN_Quantized_tf_lite_Model.py

Install ReactJS

Step 1 : cd webApp

Step 2 : sudo apt update

Step 3 : sudo apt upgrade

Step 4 : sudo apt install nodejs

Step 5 : npm install --from-lock-json

Step 6 : npm audit fix

start docker container

docker run -t --rm -p 8501:8501 -v /media/rajeev/3785310C09CB4011/Project/Pepper-bell-disease:/Pepper-bell-disease tensorflow/serving --rest_api_port=8501 --model_config_file=/Pepper-bell-disease/models.config

Run FastAPI

Step 1 : cd api
Step 2 : pip install -r requirements.txt or pip3 install -r requirements.txt
Step 3 : python main_tf_serving.py

Run ReactJS

Step 1 : cd webApp
Step 2 : npm run start

Required Package's or Librarie's:

pip install numpy

numpy Link

pip install tensorflow

tensorflow Link

pip install matplotlib

matplotlib Link

About

Project Work Sem VII BT40795

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages