How saiganesh-kota/agrovision_aws works
AgroVision AI is a farmer-facing crop-health and farm-intelligence platform. Farmers use the React application to submit crop scans; the Flask service runs diagnosis and returns results that support treatment guidance and follow-on farm tools. Separate product branches cover geospatial disease risk, schemes, crop calendars, yield estimates, alerts, and an AI assistant. The sampled pipeline excerpt establishes its diagnosis and recommendation stages, but does not expose the complete backend orchestration; several backend links are therefore omitted. The README documents the AWS deployment and broad service boundary.
Main entry points: app.py Flask API · App.jsx React application · api.js REST client · pipeline.py Inference pipeline
Components 27
Farmer application
- React application
frontend/src/App.jsx - Crop scanning
frontend/src/pages/ScanPage.jsx - Diagnosis results
frontend/src/pages/AnalysisPage.jsx - Farm dashboard
frontend/src/pages/DashboardPage.jsx - Geo map
frontend/src/pages/GeoMapPage.jsx - Recommendations
frontend/src/pages/RecommendationPage.jsx - Scheme discovery
frontend/src/pages/SchemesPage.jsx - Crop calendar
frontend/src/pages/CropCalendarPage.jsx - Yield estimator
frontend/src/pages/YieldEstimatorPage.jsx - RaithuMitra assistant
frontend/src/components/ChatBot.jsx - REST client
frontend/src/api/api.js
Crop diagnosis
- Flask API
backend/app.py - Inference pipeline
backend/pipeline.py - Disease treatments
backend/disease_treatments.py - Action simulation
backend/action_simulator.py
Farm intelligence
- Spatial intelligence
backend/geo_spatial_engine.py - Spread forecasting
backend/geo_forecast_engine.py - Weather insights
backend/weather_disease_engine.py - Soil insights
backend/soil_api.py
Advice and discovery
- Government schemes
backend/schemes_data.py - Local suppliers
backend/supplier_engine.py - Pest alerts
backend/pest_alerts.py
Feedback and improvement
- Feedback collection
backend/feedback_collector.py - Model retraining
backend/retrain_service.py - Application data
backend/db.py - Storage adapter
backend/storage.py
Other components
- Farmer
Connections 28
- Farmer → React application: uses
README.md - React application → Crop scanning: routes to
frontend/src/App.jsx - React application → Diagnosis results: routes to
frontend/src/App.jsx - React application → Farm dashboard: routes to
frontend/src/App.jsx - React application → Geo map: routes to
frontend/src/App.jsx - React application → Scheme discovery: routes to
frontend/src/App.jsx - React application → Crop calendar: routes to
frontend/src/App.jsx - Crop scanning → REST client: requests
frontend/src/pages/ScanPage.jsx - Diagnosis results → REST client: requests
frontend/src/pages/AnalysisPage.jsx - Farm dashboard → REST client: requests
frontend/src/pages/DashboardPage.jsx - Geo map → REST client: requests
frontend/src/pages/GeoMapPage.jsx - Recommendations → REST client: requests
frontend/src/pages/RecommendationPage.jsx - Scheme discovery → REST client: requests
frontend/src/pages/SchemesPage.jsx - RaithuMitra assistant → REST client: sends chat
frontend/src/components/ChatBot.jsx - REST client → Flask API: REST requests
README.md - Flask API → Inference pipeline: runs diagnosis
backend/app.py - Inference pipeline → Disease treatments: uses disease data
backend/pipeline.py - Inference pipeline → Action simulation: simulates actions
backend/pipeline.py - Flask API → Spatial intelligence: serves geo intelligence
backend/app.py - Spread forecasting → Spatial intelligence: uses spatial data
backend/geo_forecast_engine.py - Flask API → Weather insights: serves weather insights
backend/app.py - Flask API → Soil insights: serves soil insights
backend/app.py - Flask API → Government schemes: serves scheme data
backend/app.py - Flask API → Local suppliers: serves suppliers
backend/app.py - Flask API → Pest alerts: serves alerts
backend/app.py - Flask API → Feedback collection: collects feedback
backend/app.py - Feedback collection → Model retraining: supports adaptation
- Application data → Storage adapter: uses adapter
backend/db.py