This project focuses on the development of an intelligent and user-friendly web application that can accurately detect medicinal plants using deep learning techniques. By leveraging the power of YOLOv8 (You Only Look Once) object detection model and Streamlit, this application allows users to upload images of plants and receive real-time predictions on the identified medicinal species.
This tool is designed to support botanical research, herbal medicine identification, and educational purposes, especially in rural and tribal areas where access to professional botanical expertise may be limited.
- Build a lightweight and accurate object detection model capable of recognizing multiple medicinal plants.
- Deploy an interactive web interface using Streamlit for ease of use.
- Enable image upload, display the most confident plant classification, and provide downloadable reports.
- Maintain user-specific logs with timestamped detection data (name, age, and results).
| Component | Description |
|---|---|
| Model | YOLOv8 (Ultralytics) pre-trained + custom |
| Framework | PyTorch, Streamlit |
| Language | Python |
| Interface | Streamlit-based UI |
| Tools & Libraries | OpenCV, NumPy, Pandas, PIL, os, datetime |
- The YOLOv8 model was trained using a custom dataset consisting of labeled medicinal plant images.
- Training involves:
- Data preprocessing and augmentation
- Bounding box annotations in YOLO format
- Model fine-tuning and validation
- The final model is exported as
best.pt, ready for inference.
- π± Upload an image for medicinal plant detection.
- π Detect and show only the most confident plant name from the image.
- π§Ύ Display the result clearly below the image.
- π§βπΌ Collect user name and age for logging purposes.
- β° Show a real-time clock on the interface.
- π₯ Download detection results and image as a
.txtlog file. - β¨ Custom UI with background styling for an enhanced experience.
βββ Medical Plant Detection.ipynb # Jupyter Notebook for model loading and Streamlit app
βββ best.pt # Trained YOLOv8 model
βββ plant_images/ # Folder with test or sample plant images
βββ requirements.txt # Required Python packages
βββ utils/ # Helper functions (optional)
βββ README.md # Project documentation
-
Run the Streamlit app:
streamlit run app.py
-
Upload a plant image.
-
Fill in your name and age in the provided fields.
-
View the detection result and download the output file.
Name: Rohith
Age: 22
Timestamp: 2025-05-29 17:05:23
Detected Plant: Ocimum tenuiflorum (Tulsi)
- Python 3.8+
- YOLOv8 (
ultralyticspackage) - Streamlit
- OpenCV, Pillow, Pandas
Install dependencies:
pip install -r requirements.txtThis project utilizes a comprehensive medical plant detection dataset hosted on Roboflow Universe. The dataset contains high-quality annotated images of various medicinal plants, specifically curated for object detection and classification tasks.
Dataset URL: https://universe.roboflow.com/pkm-cj9yb/plant-detection-iqmnt
- High-resolution images of medicinal plants
- Accurate bounding box annotations
- Multiple export formats (YOLO, COCO, Pascal VOC)
- Pre-processing and augmentation options
- Suitable for training custom plant detection models
The dataset is used to train our deep learning models for accurate plant identification and classification, enabling the system to recognize various medicinal plants with high precision.
streamlit run Medical_Plant_Detection.py- Medicinal plant identification in remote areas.
- Assisting researchers and herbal practitioners.
- Building botanical datasets for AI.
- Educational tools for plant taxonomy.
User login interface for accessing the medical plant detection system
Upload image interface for plant identification
Real-time plant detection using webcam
Interactive AI chatbot for plant-related queries
View previous plant detection results and analysis
User feedback interface for system improvement
Information about the medical plant detection system
Hi, Iβm Rohith Boppana β a passionate and driven final-year B.Tech student in Computer Science and Engineering with a specialization in Artificial Intelligence & Machine Learning.
I'm deeply interested in building real-world tech solutions that combine data, intelligence, and intuitive design. My academic journey and hands-on projects reflect a strong foundation in both theory and practical application.
- π€ Artificial Intelligence & Machine Learning
- π Data Science & Analytics
- π BI Dashboards & Predictive Modeling
- π‘ Problem-Solving with Scalable Technologies
I enjoy translating business needs and data insights into impactful software solutions that solve real problems and enhance user experiences.
π« LinkedIn
Letβs connect and grow professionally:
linkedin.com/in/rohith-boppana-39ab57279
π Portfolio
Explore my latest work, skills, and projects here:
rohith-boppana.vercel.app
π‘ βFinal-year student, forever learner β building the future, one project at a time.β
Feel free to explore my repositories and reach out for collaborations, internships, or to discuss innovative ideas!






