/maui-app-beatus

Beatus is a plant leaf disease detection application built with .NET MAUI, C#, and third-party tools such as Custom Vision AI and OpenAI GPT-3.

Primary LanguageC#

Beatus

Beatus is a plant leaf disease detection application built with .NET MAUI, C#, and third-party tools such as Custom Vision AI and OpenAI GPT-3. When the custom vision AI model makes a correct prediction, the application passes the Tagname obtained to the OpenAI GPT-3 API. OpenAI GPT-3 generates recommended tips for the current condition of the plant, providing valuable insights into how best to manage the disease and ensure the plant's health. Predictions can also be saved to an SQLite database for off-line access.

Getting Started

To get started, follow these steps:

  • Clone this repository and open it in Visual Studio 2022.

  • Ensure that you have .NET 7 installed on your machine.

  • Create an appsettings.json file within the project. The file should be in this format:

    {
      "CustomVision": {
         "Endpoint": "<Custom Vision Endpoint>",
         "Key": "<Custom Vision API Key>"
      },
      "OpenAI": {
         "Endpoint": "<OpenAI API Endpoint>",
         "Key": "<OpenAI API Key>"
      }
    }

    The Endpoint should contain the URL for the API endpoint, while the Key should contain the API key for authentication.

  • Build and run the application.

Datasets:

The custom vision model was trained using the following datasets:

Please note that the app has not been tested on Mac or iOS devices, although it was developed using .NET MAUI, which is a cross-platform framework, it's still possible that some features may not work as expected on these platforms.