Complete computer vision system with U-Net for automated root growth monitoring
Complete computer vision system developed for the NPEC research facility to automatically monitor plant root growth. The system uses a U-Net deep learning model for root segmentation, individual root tracking over time, and integration with a robot for automated feeding. The full production-ready system includes a CLI tool, FastAPI backend, React dashboard, and Azure cloud deployment with 24/7 availability. The project was executed in two phases: Block B (CV model development and robotics) and Block D (full-stack system development in a team of five).
The system needed to detect roots with millimeter precision for robotics applications. Separating and tracking individual roots when they overlap or are complexly intertwined was a major challenge. Additionally, the complete system engineering, including API, monitoring, CI/CD, and cloud deployment, required the same attention as model accuracy. Close collaboration with NPEC biologists to understand the significance of accurate biological measurements was essential.
The U-Net model achieved an 11% SMAPE score for root length predictions, which is exceptionally accurate for biological measurements. The system processes five plants per image with individual tracking. Three deployment options are available: Azure cloud (24/7 multi-location access), on-premise GPU for fast batch processing, and local development.
This project demonstrates the complete workflow of an ML system: from data labeling and model training to cloud deployment and monitoring. Not a "proof of concept" but a working system that NPEC researchers could use.
U-Net architecture for root detection with 11% SMAPE score
Track up to 5 plants simultaneously with measurements and growth rate per individual root
Exact root-tip coordinates for automated feeding system
Visualizations of root growth over time with trend analysis per plant
Azure Container Apps with auto-scaling and 24/7 availability
Automatic model updates with new data via feedback loop
The system consists of multiple components that together form a complete solution:
U-Net was specifically developed for biomedical image segmentation and performs well with limited training data. The skip connections ensure the model retains both fine details (precise edges) and global context (correct classification). This makes U-Net perfectly suited for root detection, where both accurate edges and overall root structure are crucial.
Azure Container Apps
Auto-scaling enabled
99.9% uptime SLA
React Dashboard
Real-time updates
Interactive charts
Docker Deployment
GPU support
Local processing
GitHub Actions
Automated testing
Zero-downtime deploys
The system supports three deployment scenarios:
"NPEC was very satisfied with the system's implementation. They were particularly enthusiastic about the ability to monitor and visualize individual root growth over time. The combination of accurate segmentation and per-root tracking provides valuable insights for their research context. The system demonstrates well how computer vision can be applied within plant phenotyping."
Specific impact:
For each uploaded plant image, the system generates:
What started as an individual computer vision project in Block B grew into a full team effort in Block D. With 5 team members, we specialized. My primary focus was on the deep learning pipeline, training automation, and system architecture.