Spaces:
Sleeping
Sleeping
readme
Browse files
README.md
CHANGED
@@ -12,3 +12,80 @@ short_description: Garbage Classifier UI
|
|
12 |
---
|
13 |
|
14 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
---
|
13 |
|
14 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
15 |
+
|
16 |
+
# π§ Garbage Classifier UI
|
17 |
+
|
18 |
+
A real-world deep learning application that classifies garbage images into categories like **plastic**, **metal**, **cardboard**, etc.
|
19 |
+
|
20 |
+
This app uses a **custom-trained CNN model** to demonstrate computer vision for sustainability-related use cases. Powered by **TensorFlow** and deployed with **Streamlit** on Hugging Face Spaces.
|
21 |
+
|
22 |
+
π **Live App**: [Click to open π](https://huggingface.co/spaces/sykamraju/garbage-classifier-ui)
|
23 |
+
|
24 |
+
π **GitHub Repo**: [SykamRaju/Garbage-Classifier](https://github.com/SykamRaju/Garbage-Classifier)
|
25 |
+
|
26 |
+
---
|
27 |
+
|
28 |
+
## πΌοΈ How it works
|
29 |
+
|
30 |
+
1. Upload an image of waste material (e.g. bottle, paper, can).
|
31 |
+
2. The backend model predicts the category.
|
32 |
+
3. The prediction and confidence score are displayed instantly.
|
33 |
+
|
34 |
+
---
|
35 |
+
|
36 |
+
## π¦ Tech Stack
|
37 |
+
|
38 |
+
- **Model**: TensorFlow (CNN trained on Garbage Classification dataset)
|
39 |
+
- **Frontend**: Streamlit
|
40 |
+
- **Deployment**: Hugging Face Spaces
|
41 |
+
- **Language**: Python
|
42 |
+
|
43 |
+
---
|
44 |
+
|
45 |
+
## π Project Structure
|
46 |
+
|
47 |
+
.
|
48 |
+
βββ model/ # Saved Keras model
|
49 |
+
βββ src/
|
50 |
+
β βββ app.py # Streamlit frontend app
|
51 |
+
βββ utils.py # Helper functions
|
52 |
+
βββ requirements.txt # Python dependencies
|
53 |
+
βββ README.md # You're reading this π
|
54 |
+
|
55 |
+
yaml
|
56 |
+
Copy
|
57 |
+
Edit
|
58 |
+
|
59 |
+
---
|
60 |
+
|
61 |
+
## π§ͺ Example Predictions
|
62 |
+
|
63 |
+
| Image | Predicted Class |
|
64 |
+
|-------|-----------------|
|
65 |
+
|  | `Plastic` |
|
66 |
+
|  | `Metal` |
|
67 |
+
|
68 |
+
---
|
69 |
+
|
70 |
+
## πββοΈ About Me
|
71 |
+
|
72 |
+
Hi, I'm **Raju Sykam** β a full-stack developer and AI enthusiast with 20+ years of software experience.
|
73 |
+
I'm currently building a suite of AI projects in Python to showcase my skills.
|
74 |
+
π I also run [FreeAstrologyAPI.com](https://freeastrologyapi.com) and love math, astronomy, and stargazing!
|
75 |
+
|
76 |
+
---
|
77 |
+
|
78 |
+
## π License
|
79 |
+
|
80 |
+
This project is licensed under the MIT License.
|
81 |
+
|
82 |
+
---
|
83 |
+
|
84 |
+
Let me know if youβd like a downloadable `.md` file or want to push this from Git.
|
85 |
+
|
86 |
+
|
87 |
+
|
88 |
+
|
89 |
+
|
90 |
+
|
91 |
+
|