Computer Vision
Computer vision pipelines for aerial robotics combine multispectral payload processing, semantic segmentation, and 6-DOF geometric pose estimation.
How would you build a segmentation pipeline for crop health monitoring?
Building a precision crop-health segmentation pipeline requires multispectral sensor integration, custom loss functions, and spatial reprojection onto geo-referenced field maps.
1. Multispectral Vegetation Index Features
Combine 4-channel imagery (RGB + Near-Infrared NIR) to compute Normalized Difference Vegetation Index (NDVI) and Normalized Difference Red Edge (NDRE) channels as model inputs:
2. Model Architecture & Loss Function
Deploy a **DeepLabV3+** model with a ConvNeXt-Tiny encoder backbone. To handle severe class imbalance (small disease lesions vs. massive healthy canopy background), train using a combined **Focal Loss + Dice Loss**:
Detection vs. segmentation vs. pose estimation — when would you use each on a drone?
| Perception Output | Output Dimension | Compute Overhead | Robotics Use Case |
|---|---|---|---|
| 2D Bounding Box Detection | $\mathcal{O}(N \times 4)$ | Minimal ($<5\text{ms}$) | Search and rescue human detection, obstacle presence check |
| Semantic / Instance Segmentation | $\mathcal{O}(H \times W)$ | Moderate ($15-30\text{ms}$) | Crop health mapping, navigable surface corridor detection |
| 6-DOF Object Pose Estimation | $\mathbf{R} \in SO(3), \mathbf{t} \in \mathbb{R}^3$ | High ($20-50\text{ms}$) | Aerial grasping, precision pad landing, manipulator docking |
Marker-based vs. markerless visual state estimation — what are the trade-offs?
Marker-based (AprilTag / ArUco) pose estimation extracts known 3D corner coordinates to solve the **Perspective-n-Point (PnP)** problem via Direct Linear Transform (DLT) + Levenberg-Marquardt optimization. It provides instant metric scale recovery with zero drift at $<5\text{ms}$ compute. Markerless VIO (ORB-SLAM3) tracks visual features across frame sequences, estimating scale by integrating IMU accelerations ($\Delta p = \iint R a dt^2$). Markerless generalizes to uninstrumented environments but suffers from scale drift and tracking loss under fast rotation.