Skip to content
mars-127Public

About

This project identifies 8 Indian plant species via Teachable Machine Image Model using user's device camera input.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

🌿 Plant Medicinal Identifier 💊

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.

User Interface

Features

📷 Real-time plant identification using webcam.

Camera Input


💊 Detailed medicinal uses for each plant.

Use Case


⚠️ Color-coded safety precautions (red for toxic plants).
🌱 Clean, responsive interface.
🔄 Continuous prediction while camera is active.

Use Case_Wrong USe Case_Fixed


🚀 No backend/server required
🔗 Uses Teachable Machine's hosted model

Supported Plants

  1. Mango Tree
  2. Neem Tree
  3. Black Plum
  4. Pomegranate
  5. Tamarind Tree
  6. Sacred Fig
  7. Banyan Tree
  8. Oleander (toxic - red warning)

How to Use

  1. Download plantmedindex.html
  2. Open it in Chrome/Firefox
  3. Allow camera access when prompted

No Setup Required!

The app automatically loads:

  • TensorFlow.js from CDN
  • Teachable Machine library from CDN
  • Your trained model from Google's servers

For Custom Models

  1. Train at Teachable Machine
  2. Export as "TensorFlow.js (cloud)"
  3. Replace this line in plantmedindex.html:
<script>
  const modelURL = "https://teachablemachine.withgoogle.com/models/YOUR_MODEL_ID/";
</script>

Troubleshooting

Issue Solution

  1. Camera not starting: Allow camera permissions in browser
  2. "tmImage not defined": Check internet connection and CDN links
  3. Low accuracy: Retrain model with more images
  4. Blank predictions: Ensure proper lighting and focus

Future Enhancements

  • Add more plant species
  • Mobile app version
  • Multi-language support

License

MIT License - Free for educational and personal use

Credits

Project idea brought about by Praveen Bhaskar B from EVidyaloka. Developed by Shreya Rawat using Google's Teachable Machine platform.

About

This project identifies 8 Indian plant species via Teachable Machine Image Model using user's device camera input.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages