cropguard-system / README.md
The-Bricklayer7's picture
Upload 1069 files
403f212 verified
|
Raw
History Blame Contribute Delete
1.01 kB

CropGuard GH ๐ŸŒฟ

Image-Based Crop Disease Detection System for Smallholder Farmers in Ghana. Final Year Project โ€” Oppong David, BTech Computer Technology, Kumasi Technical University.

Two ways to run it

  1. Instant / no install โ€” open cropguard.html on any phone or browser. Covers all 14 Ghanaian crops via the model; works offline as an estimate (English + Twi). Can also connect to the trained model โ€” see Settings / docs.

  2. Full production system โ€” the real Chapter 3 stack:

    • backend/train.py โ€” train the MobileNetV2 model
    • backend/app.py โ€” FastAPI inference server
    • backend/recommendations.json โ€” treatment knowledge base
    • frontend/src/CropGuard.jsx โ€” React frontend

Quick start (backend)

cd backend
pip install -r requirements.txt
python train.py --data ./data          # train (needs a dataset)
uvicorn app:app --port 8000            # serve

Full details, API reference and report mapping: docs/DOCUMENTATION.md.