medicinal leaves classification Computer Vision Model

byMiniproject 6Task:
Object Detection
License:CC BY 4.01.37k views51 downloads

How to use the medicinal leaves classification Detection API

Try This Model

Drop an image here or click to upload

Or try a test image 

Code Snippets

from inference_sdk import InferenceHTTPClient

CLIENT = InferenceHTTPClient(
    api_url="https://serverless.roboflow.com",
    api_key="API_KEY"
)

result = CLIENT.infer("YOUR_IMAGE.jpg", model_id="medicinal-leaves-classification/2")
Give your agent everything it needs

Or, Use Free Lemongrass, Neem and Tulsi Detection API

Powered by general detection model

Code
pip install inference-sdk
# 1. Import the library
from inference_sdk import InferenceHTTPClient

# 2. Connect to your workspace
client = InferenceHTTPClient(
  api_url="https://serverless.roboflow.com",
  api_key="API_KEY"
)

# 3. Run your workflow on an image
result = client.run_workflow(
  workspace_name="<YOUR_WORKSPACE>",
  workflow_id="<YOUR_WORKFLOW_ID>",
  images={
    "image": "YOUR_IMAGE.jpg"  # Path to your image file
  },
  parameters={
    "classes": "lemongrass, neem, tulsi"
  },
  use_cache=True  # cache workflow definition for 15 minutes
)

# 4. Get your results
print(result)

Run on custom image

Drop an image here or click to upload

Detecting classes:
Or try a test image 

About medicinal leaves classification Model

Here are a few use cases for this project:

  1. Herbal Medicine Tutorials: This model could be utilized in creating digital tools to help users recognize and correctly identify medicinal leaves in online herbal medicine tutorials. Key search terms may include: "herbal medicine", "online education", "e-learning", "digital tutorial", "medicinal leaves identification".

  2. Medicinal Plant Cultivation: It can be used in supporting the cultivation of medicinal plants in nurseries or greenhouses, ensuring the correct identification and classification of the plant types. Key search terms could be: "plant cultivation", "greenhouse", "nurseries", "botany", "agriculture".

  3. Support in Pharmaceutical Research: This model could assist pharmaceutical researchers in recognizing medicinal plants, aiding the extraction of medicinal components for drug development. Search keywords could include "pharmaceutical research", "drug development", "herbal extraction", "medicinal component identification".

  4. Nature Activity App: It can be used in nature-based applications for hikers, campers, or survivalists to identify useful plants in the wild. Search terms could be: "Nature activity", "hiking", "camping", "wild survival", "wild plant identification".

  5. Home Gardening Apps: The model could be included in home gardening apps to help hobbyists correctly identify their medicinal plants. Keywords could include: "home gardening", "DIY herbal medicine", "horticulture", "home pharmacy".

Cite This Project

LicenseCC BY 4.0

If you use this dataset in a research paper, please cite it using the following BibTeX:

@misc{ medicinal-leaves-classification_dataset,
  title = { medicinal leaves classification Dataset },
  type = { Open Source Dataset },
  author = { Miniproject 6 },
  howpublished = { \url{ https://universe.roboflow.com/miniproject-6/medicinal-leaves-classification } },
  url = { https://universe.roboflow.com/miniproject-6/medicinal-leaves-classification },
  journal = { Roboflow Universe },
  publisher = { Roboflow },
  year = { 2023 },
  month = { aug },
  note = { visited on 2026-07-29 },
}

Similar Projects

See More