Skip to content

This repository contains materials for an IoT-based camera sensor system featuring dual cameras (RGB and NoIR) development for in-field plant phenomics applications.

License

Notifications You must be signed in to change notification settings

WorasitSangjan/IoT-based-Camera-Development

Repository files navigation

AGIcam: An Open-Source IoT-Based Camera System for Automated In-Field Phenotyping and Yield Prediction

License Open Source Python Platform Agriculture Research

A low-cost, solar-powered IoT platform for high-frequency crop monitoring and yield prediction in wheat breeding trials

Repository Structure

IoT-based-Camera-Development/
├── 1_Camera_Development/           # Hardware design & 3D models
│   ├── 1_Enclosure_3DModel/        # STL files for 3D printing
│   └── 2_Program_on_RasPi/         # Raspberry Pi software
├── 2_Backend_System/               # Node-RED data pipeline
│   ├── flows.json                  # Complete data flow
│   └── data_transform.js           # Data transformation
├── 3_AGIcam_Dashboard/             # Web interface
│   ├── index.html                  # Homepage
│   ├── dashboardlists.html         # Sensor dashboards
│   └── planthealth.html            # Image galleries
├── 4_Data_Analysis/                # ML models
│   ├── LSTM_TimeSerie_Yield.../    # LSTM implementation
│   └── RandomForest_TimeSerie_.../ # Random Forest models
└── requirements.txt                # Python dependencies

Overview

AGIcam is an open-source Internet of Things (IoT) camera system designed for automated in-field phenotyping and yield prediction. Developed at Washington State University's Phenomics Lab, this platform enables continuous, high-frequency monitoring essential for capturing rapid phenological transitions and dynamic crop responses in breeding programs.

AGIcam Field Deployment

Figure 1: AGIcam sensor system deployed in a winter wheat breeding trial during the 2022 growing season

Key Features

  • Solar-Powered Autonomy: 6W solar panel with 6,400 mAh battery for season-long operation
  • Wireless Connectivity: 4G LTE and Wi-Fi for real-time data transmission
  • Dual Camera System: Synchronized RGB and NoIR imaging (3x daily capture-Adjustable depend on User's requirement)
  • Edge Computing: On-device vegetation index calculation for 7 VIs
  • Cloud Integration with MING Stack: Automated data transfer from Node-RED MQTT to InfluxDB with Grafana visualization
  • Low Cost: $150-200 per sensor unit

System Architecture

AGIcam System Architecture

Figure 2: System architecture of the AGIcam platform, illustrating its core components

The AGIcam platform consists of four main components:

  1. Hardware Development - Physical sensor design and 3D enclosures
  2. Backend System - Node-RED data pipeline and cloud integration
  3. Web Dashboard - Real-time monitoring interface
  4. Data Analysis - Machine learning models for yield prediction

Performance Highlights

Field Deployment Results (2022 Season)

  • 18 sensors deployed across spring and winter wheat trials
  • 85%+ uptime maintained throughout the growing season
  • Sub-daily monitoring with 3 imaging sessions per day
  • 7 vegetation indices computed in real-time

Yield Prediction Accuracy

Crop Type Model RMSE (kg/ha) Error Rate
Spring Wheat LSTM 221.76 3.41%
Winter Wheat LSTM 210.28 1.62%
Spring Wheat Random Forest 544.79 8.60%
Winter Wheat Random Forest 1059.82 10.41%

Quick Start

Hardware Requirements

  • Raspberry Pi Compute Module 3+ Lite
  • Dual Raspberry Pi Camera V2 (RGB + NoIR)
  • 6W Solar Panel + 6,400 mAh Battery
  • Witty Pi 3 power management
  • Custom 3D-printed enclosure

Software Stack

  • OS: Raspbian Buster
  • Backend: Node-RED, Python 3.7+
  • Database: InfluxDB (time-series)
  • Visualization: Grafana
  • Cloud: Microsoft Azure with Bootstrap framework

Research Applications

Published Results

Our research demonstrates AGIcam's effectiveness for:

  • Yield prediction with LSTM achieving 1.62% error
  • Phenological monitoring during critical growth stages
  • High-throughput phenotyping in breeding programs
  • Real-time decision support for crop management

Citation

If you use AGIcam in your research, please cite:

Paper:

Sangjan, W., Pukrongta, N., Buchanan, T., Carter, A. H., Pumphrey, M. O., & Sankaran, S. (2026).
AGIcam: An open-source IoT-based camera system for automated in-field phenotyping and yield prediction.
bioRxiv, 2026.01.13.699185. https://doi.org/10.64898/2026.01.13.699185

DOI

Dataset:

Sangjan, W., Pukrongta, N., Buchanan, T., Carter, A. H., Pumphrey, M. O., & Sankaran, S. (2025). 
AGIcam Dataset: In-Field IoT Sensor Data for Wheat Phenotyping and Yield Prediction [Data set].
Zenodo. https://doi.org/10.5281/zenodo.17970104

DOI

Acknowledgments

This research was funded by:

  • USDA-NIFA Competitive Project (Accession #1028108)
  • Washington State University Hatch Project (Accession #1014919)
  • WSU College of AHNRS Emerging Research Issues Grant (ERI-20-04)

Contact

License

This project is open source under the MIT License. See the LICENSE file for details.


© 2022 AGIcam - Phenomics Lab|Washington State University

About

This repository contains materials for an IoT-based camera sensor system featuring dual cameras (RGB and NoIR) development for in-field plant phenomics applications.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published