Initial commit: Plant Disease Identification app

- Next.js 16 App Router project with Tailwind CSS
- Plant disease knowledge base (93 diseases, 25 plants)
- Image upload with client+server preprocessing
- ML inference pipeline with mock/demo fallback
- Responsive results page with disease cards and treatment
- Full test suite (285 passing tests)
This commit is contained in:
2026-06-05 19:21:16 -04:00
commit 820a872f07
100 changed files with 23271 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
/**
* Mock for onnxruntime-node.
* Used during testing when the real package isn't installed.
* The model-loader will fall back to mock mode when this import fails.
*/
// This mock throws on load to simulate the package not being available
// The model-loader catches this and falls back to mock mode
throw new Error("onnxruntime-node not installed");