Skip to content

Detection and Classification of tomato diseases for farmers in Nigeria using cutting-edge convolution neural networks (CNN) and leveraging the power of VGG19 model as a transfer model.

Notifications You must be signed in to change notification settings

fosetorico/tomato_disease_detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Detection and Classification of Tomato Diseases for Farmers in Nigeria.

Tomatoes hold immense significance not only in Nigerian cuisines but also as a major agricultural commodity in the country. Following the 2015 Nigeria tomato crisis triggered by diseases, significant investments were made in tomato production and pest management. As of 2024, fear among farmer still soar as to curb the problem; thats where this project comes in hand. This project focuses on applying computer vision techniques to detect early the presence of these unwanted disesases.

Training

The training involved 4500 images which belonged to 3 classes (Early Blight, Late Blight, Healthy). The reading of the images of the images was done in batches of 32, with 80% assigned to training, 10% assigned to validation and 10% assigned to test. The model achitecture involved one layer which contained the vgg19 layout, with the top set to false, as well as trainable also set to false and a second layer for the output of the training classes. With 20 epochs, the output is analysed below train_vs_val

Testing

For the perpose of testing, a user interface using the React library with an API created using FastAPI was created, the saved was recruited in the API to foster an interaction with react frontend. Below shows some result from the forntend/backend interaction frontend frontend_2

Deployment

The API was deployed on the Google Cloud Platform, for access, the logs of various interactions is shown below gcp

About

Detection and Classification of tomato diseases for farmers in Nigeria using cutting-edge convolution neural networks (CNN) and leveraging the power of VGG19 model as a transfer model.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published