• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
ihbuhs04

ihbuhs04

splendidPurpleSalamander

Public
Like
splendidPurpleSalamander
Home
Code
2
README.md
H
main.tsx
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
/
x
/
ihbuhs04
/
splendidPurpleSalamander
/
branch
/
main
/
code
/
README.md
/
README.md
Code
/
/
x
/
ihbuhs04
/
splendidPurpleSalamander
/
branch
/
main
/
code
/
README.md
/
README.md
Search
2/25/2025
README.md

Overview

This project is a machine learning-based web application designed to detect and classify plants as crops or weeds. The model is built using TensorFlow.js and MobileNet, allowing users to upload images and receive predictions in real time.

πŸš€ Features

Real-time plant classification using MobileNet.

User-friendly UI for uploading and analyzing images.

Visual feedback indicating whether the uploaded image is a crop or a weed.

Deployed at: Crop & Weed Detector

πŸ› οΈ Tech Stack

Frontend: React 18, HTML, CSS

Machine Learning: TensorFlow.js, MobileNet Model

Deployment: Val.Town

πŸ“₯ Installation & Setup

To run the project locally, follow these steps:

Clone the repository:

git clone https://github.com/your-username/crop-weed-detector.git cd crop-weed-detector

Install dependencies:

npm install

Start the development server:

npm run dev

Open the application in your browser at http://localhost:3000

πŸ“Έ How to Use

Click on the Upload Image button.

Select an image of a crop or weed.

The model will analyze the image and display a prediction with confidence score.

The background color will indicate whether the plant is a crop (green) or weed (red).

πŸ”₯ Future Improvements

Train a custom model for higher accuracy on agriculture datasets.

Add batch image processing for multiple uploads.

Optimize performance for mobile and low-end devices.

Enhance UI with better loading indicators and result visualization.

πŸ“ License

This project is open-source and available under the MIT License.

πŸ’‘ Contributors

Shubhi Mishra

Feel free to contribute by submitting pull requests!

Get started with a template:
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
Β© 2025 Val Town, Inc.