Downloads · 30 days
30
16% of all-time downloads
Tushansh/ayush-medicinal-plant-classifier
ayush-medicinal-plant-classifier is a image classification model from Tushansh. Use it when you need a label for an image. It is set up for keras. The card lists the license as apache-2.0.
🌿 A deep learning model for classifying 7 Indian medicinal plants based on leaf images.
Downloads · 30 days
30
16% of all-time downloads
All-time downloads
182
Public
Repo size
87.1 MB
Likes
0
Public
Click a slice to open those files.
.keras87.1 MB · 100%
From the Hugging Face model README
🌿 A deep learning model for classifying 7 Indian medicinal plants based on leaf images.
This model uses transfer learning with Xception architecture to identify medicinal plants commonly used in AYUSH (Ayurveda, Yoga & Naturopathy, Unani, Siddha, and Homeopathy) medicine.
The model can identify the following 7 medicinal plants:
import requests from PIL import Image import io
API_URL = "https://api-inference.huggingface.co/models/Tushansh/ayush-medicinal-plant-classifier headers = {{"Authorization": "Bearer YOUR_HF_TOKEN"}}
def query(image_bytes): response = requests.post(API_URL, headers=headers, data=image_bytes) return response.json() Load your image with open("plant_leaf.jpg", "rb") as f: data = f.read()
Get prediction output = query(data) print(output)
from huggingface_hub import from_pretrained_keras
model = from_pretrained_keras( + REPO_ID + )
Process image and make predictions
This model is intended for educational and research purposes. Plant identification should be verified by botanical experts before use in medical applications.
@misc{{ayush-plant-classifier, author = {{Your Name}}, title = {{AYUSH Medicinal Plant Classifier}}, year = {{2025}}, publisher = {{Hugging Face}} }}
Apache 2.0
For questions or feedback, please open an issue in the repository.