Skip to content

Latest commit

 

History

History
76 lines (48 loc) · 2.43 KB

File metadata and controls

76 lines (48 loc) · 2.43 KB

-----------------------------------------------------

➤ MedAyu - Ayurvedic Plant Identification Android App

logoicon10 (3)

MedAyu is an Android application that utilizes machine learning to predict Ayurvedic plants by scanning their leaves. This repository contains the Flask application that serves as the API endpoint for MedAyu.

-----------------------------------------------------

➤ Getting Started

These instructions will help you set up the Flask application on your local system for development and testing purposes.

Prerequisites

Before running the application, ensure that you have the following installed:

  • Python 3.x
  • TensorFlow
  • Keras
  • OpenCV
  • Flask

Installation

  1. Clone the repository:
git clone https://github.com/your-username/medayu-flask.git

Change to the project directory:

cd medayu-flask

Install the dependencies:

pip install -r requirements.txt

Run the Flask application:

python app.py

The application should now be running locally on http://localhost:5000. -----------------------------------------------------

➤ API Endpoints

The Flask application provides the following API endpoint:

Endpoint: https://flask-production-0d46.up.railway.app/class

  • Method: POST
  • Request Body:
    • test_url: URL of the test image to be sent for prediction
  • Response Body:
    • PlantName: Name of the predicted plant as a string

-----------------------------------------------------

➤ Deployments

The Flask application can be deployed on various platforms. -----------------------------------------------------

➤ License

This project is licensed under the MIT License.