File size: 1,866 Bytes
a3ee830
 
 
 
112a70a
 
 
 
 
 
 
 
a3ee830
8b27a61
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a0bda43
 
 
 
8b27a61
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a3ee830
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
language:
- en
pipeline_tag: image-classification
license: mit
datasets:
- ssharma2020/Plant-Seedlings-Dataset
metrics:
- accuracy
library_name: keras
tags:
- biology
---
# 🌱 Plant Seedlings Classification β€” AI for Smarter Agriculture  

## 🧩 Overview  
Agriculture remains one of the most vital yet labor-intensive industries.  
Farmers and agronomists often spend countless hours identifying seedlings, weeds, and crop health manually.  
This model leverages **Deep Learning and Computer Vision** to automatically recognize plant species from seedling images β€”  
helping accelerate early-stage crop monitoring and enabling precision agriculture.  

---

## πŸ€– Model Details  
- **Model Type:** CNN-based Image Classifier  
- **Framework:** TensorFlow / Keras  
- **Dataset:** Plant Seedlings Dataset (12 plant categories)  
- **Input:** RGB image of a seedling  
- **Output:** Predicted plant species label  

---

## 🌾 Why It Matters  
βœ… Reduces manual effort in plant identification  
βœ… Boosts accuracy and consistency in seedling detection  
βœ… Supports sustainable, data-driven agriculture  
βœ… Enables automation in large-scale farming and greenhouse monitoring  

πŸ“˜ **Full Source Notebook:**  
The complete training and evaluation notebook is available on GitHub:  
πŸ‘‰ [View on GitHub](https://github.com/joyjitroy/Machine_Learning/blob/main/Bank_Customer_Churn_Prediction_using_Artificial_Neural_Networks.ipynb)

---

## πŸš€ Example Usage  
```python
from tensorflow.keras.models import load_model
from tensorflow.keras.preprocessing import image
import numpy as np

model = load_model("plant_seedlings_model.h5")

img = image.load_img("seedling.jpg", target_size=(128, 128))
x = image.img_to_array(img)
x = np.expand_dims(x, axis=0) / 255.0

pred = np.argmax(model.predict(x), axis=1)
print("Predicted plant category:", pred)