πΎ 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
Description | Image |
---|---|
Main Menu | ![]() |
Chat Start | ![]() |
Chat Query 1 | ![]() |
Chat Query 2 | ![]() |
Chat PGR Recommendation | ![]() |
Linechart | ![]() |
Heatmap | ![]() |
πΊοΈ Platform Workflow
- π± User interacts with the chatbot or dashboard.
- π§ RASA detects intent, calls Django API via custom actions.
- π‘ API pulls or computes agronomic data.
- π¬ 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.