A light weight web application that identifies plants using your camera and displays their medicinal properties, powered by TensorFlow.js and Google Teachable Machine cloud model.
📷 Real-time plant identification using webcam.
💊 Detailed medicinal uses for each plant.
🌱 Clean, responsive interface.
🔄 Continuous prediction while camera is active.
🚀 No backend/server required
🔗 Uses Teachable Machine's hosted model
- Mango Tree
- Neem Tree
- Black Plum
- Pomegranate
- Tamarind Tree
- Sacred Fig
- Banyan Tree
- Oleander (toxic - red warning)
- Download
plantmedindex.html - Open it in Chrome/Firefox
- Allow camera access when prompted
The app automatically loads:
- TensorFlow.js from CDN
- Teachable Machine library from CDN
- Your trained model from Google's servers
- Train at Teachable Machine
- Export as "TensorFlow.js (cloud)"
- Replace this line in
plantmedindex.html:
<script>
const modelURL = "https://teachablemachine.withgoogle.com/models/YOUR_MODEL_ID/";
</script>- Camera not starting: Allow camera permissions in browser
- "tmImage not defined": Check internet connection and CDN links
- Low accuracy: Retrain model with more images
- Blank predictions: Ensure proper lighting and focus
- Add more plant species
- Mobile app version
- Multi-language support
MIT License - Free for educational and personal use
Project idea brought about by Praveen Bhaskar B from EVidyaloka. Developed by Shreya Rawat using Google's Teachable Machine platform.



