🌾 Dr. Cotton Platform

Modular AI-powered platform for smart cotton farming β€” combining chatbot interaction, predictive analytics, and data visualization.


πŸ“– Overview

Dr. Cotton is an integrated platform for smart crop management, designed to support cotton producers and researchers through conversational AI, predictive modeling, and intuitive dashboards.
Built as a modular system, it offers access to canopy analytics, growth regulator recommendations, irrigation scheduling, and yield predictions β€” all accessible via a chatbot interface and visual tools.

Developed in collaboration with researchers at Texas A&M AgriLife Research & Extension Center – Corpus Christi.

The platform was presented at the AI in Agriculture Conference in 2025, showcasing its potential to revolutionize precision agriculture through AI and data-driven insights. You can find the poster here.


πŸ› οΈ Technologies Used

  • Chatbot Framework: RASA Open Source (dr_cotton_rasa)
  • Frontend: Flutter (cross-platform app with support for Android, iOS, and Web)
  • Backend API: Django REST Framework (dr_cotton_api)
  • Machine Learning: Digital Twin-based yield prediction, canopy estimation
  • Visualization: Heatmaps and time series charts for canopy features
  • Deployment: Docker, SQLite (local dev) and PostgreSQL (production)

πŸš€ Features

  • βœ… Conversational assistant for agronomic insights
  • βœ… Real-time queries on canopy metrics (cover, volume, height, greenness)
  • βœ… Yield prediction from sensor and remote data
  • βœ… Automated PGR (Plant Growth Regulator) recommendations
  • βœ… Irrigation scheduling suggestions
  • βœ… Role-based access and API token support
  • βœ… Multilingual support in progress (English + Spanish)

πŸ–ΌοΈ Screenshots

DescriptionImage
Main MenuMain Menu
Chat StartChat 1
Chat Query 1Chat 2
Chat Query 2Chat 3
Chat PGR RecommendationChat 4
LinechartLinechart
HeatmapHeatmap

πŸ—ΊοΈ Platform Workflow

  1. 🌱 User interacts with the chatbot or dashboard.
  2. 🧠 RASA detects intent, calls Django API via custom actions.
  3. πŸ“‘ API pulls or computes agronomic data.
  4. πŸ’¬ Response is returned via natural-language format or visualized in-app.

πŸ’¬ Sample Queries

  • β€œWhat’s the canopy cover in field A?”
  • β€œShow me the canopy volume for the last week.”
  • β€œDo I need to apply PIX this week?”
  • β€œWhat’s the canopy height in field A?”

πŸ“ˆ Future Roadmap

  • Cost-effectiveness module for agronomic inputs
  • Integration with remote imagery pipelines
  • Support for other crops (e.g., corn, soybeans)
  • Advanced analytics (e.g., machine learning models)

🀝 Contributing

Dr. Cotton is a research-focused platform, actively developed at Texas A&M AgriLife Research & Extension Center Corpus Christi.
We welcome feedback, collaboration ideas, and domain contributions related to precision agriculture, AI in farming, and decision support tools.


πŸ“„ License

Currently released for internal academic and research use only.