An API that utilizes a Deep Learning model built with Keras (Tensorflow) to detect if a plant is healthy or suffering from Rust and Powder formation.
This API provides the capability to detect plant diseases using a pre-trained deep learning model. It allows you to upload an image of a plant, and it will predict whether the plant is healthy or suffering from Rust and Powder formation.
To run the API, follow these steps:
-
Fork the repository.
-
Create a new branch for your feature or bug fix.
-
Implement your changes.
-
Test your changes.
-
Create a pull request.
- Description: The root function returns the prediction and confidence level of an image using a pre-trained model.
- Parameters:
file
(UploadFile): The image to be predicted.
- Returns: A dictionary containing the prediction and confidence level.
Contributions to this project are welcome. If you'd like to contribute, please follow these steps:
-
Fork the repository.
-
Create a new branch for your feature or bug fix.
-
Implement your changes.
-
Test your changes.
-
Create a pull request.
This project is licensed under the Apache License 2.0.