Design the weed-targeting vision system for an agricultural robotics company whose field robot destroys weeds with lasers instead of spraying herbicide, in the spirit of laser weeders such as Carbon Robotics’ LaserWeeder. As the machine crosses the field at a few km/h, ‘predict’ cameras image the ground ahead of each weeding module. A plant-level crop/weed classifier on onboard GPUs must localize every weed and hand coordinates to ‘target’ cameras and the laser controller, which fires at the weed’s meristem, all within the tens of milliseconds before the plant leaves the firing zone.
Everything runs on the machine. Rural fields have unreliable connectivity, dust and vibration shake the optics, and lighting spans noon glare to darkness (strobed LED illumination freezes motion and kills shadows). Missing weeds loses yield; hitting crop plants destroys revenue.
How would you design this system? Cover the predict-to-target camera handoff (upstream detection, multi-camera tracking under vehicle motion, timing geometry from ground speed), the plant classifier under severe imbalance and growth-stage/region domain shift, the edge inference budget (per-module GPU, thermal/power limits, deterministic latency), the offline fleet-learning loop over intermittent links (hard-example upload, central retrain, OTA model rollout), and safe fallback when sensing or laser calibration degrades.

The Problem: a weed seen by the predict camera ahead must be found again under the laser behind while the machine keeps moving, then hit on a millimeter-scale meristem without touching the neighboring crop.
Answer
The design is a two-stage sense-then-aim loop that runs entirely on the machine. A strobed predict camera feeds a per-module GPU detector that classifies every plant and locates its meristem. A ground-frame tracker fuses the 4-5 looks each plant gets, using wheel odometry, IMU, and visual odometry to carry it forward. The target camera then re-acquires the plant locally, refines the aim point, and steers the laser through its dwell while the plant keeps moving. Every shot passes an asymmetric fire gate (never inside a crop buffer, weeds only above a per-crop calibrated confidence), and a store-and-forward fleet loop plus a hold-fire supervisor keep the system improving and safe when links, optics, or calibration fail.
(1) Strobed, Hardware-Timestamped Capture: a shrouded LED strobe with a 50 µs exposure freezes motion to about 0.04 mm and makes noon and midnight frames look alike; every frame carries its trigger time.
(2) One-Pass Plant Detector: a single-stage network outputs meristem keypoint, box, size, and crop/weed class for all plants at once, so latency does not grow with weed density.
(3) Ground-Frame Tracking And Handoff: detections become tracks in a shared machine frame, fused across looks and adjacent cameras, then handed to the target camera with a predicted position and uncertainty.
(4) Asymmetric Fire Gate: no shot within a crop buffer, and weed thresholds calibrated per crop and growth stage against a 0.1% crop-hit cap.
(5) Deterministic Edge Runtime: fixed-shape INT8 engines, locked GPU clocks, and a 60 ms p99 predict deadline where late frames are dropped, not queued.
(6) Store-And-Forward Fleet Loop: onboard triage uploads only hard examples, central retraining passes a slice-level gate, and signed OTA engines roll out through shadow, canary, and automatic rollback.

Figure 1: The per-module loop: a strobed predict camera feeds the detector and ground tracker, the fire gate hands survivors to the target camera and laser, and a store-and-forward fleet loop plus a safety supervisor sit beside it.
Clarify Before Designing:
(1) Speed And Geometry: what ground-speed range, how many modules, and how far ahead of the laser does each predict camera look? These set the dead-reckoning distance and the firing window.
(2) Aim Tolerance And Dwell: how precisely must the beam land on the meristem, and how long must it dwell per weed at each size? Millimeter tolerance forces closed-loop re-acquisition, and dwell sets laser capacity.
(3) Crops, Regions, Stages: which crops and growth stages, which regions and soils, and how much plant-level labeled data exists for each combination?
(4) Cost Asymmetry: what crop-hit rate is tolerable (0.1% of plants?) versus what weed escape rate, and is a second pass or hand crew available for escapes?
(5) Compute Envelope: one GPU per module or a shared box, and what power and thermal limits does a sealed, dusty enclosure impose?
(6) Connectivity: how much cellular uplink exists in the field versus Wi-Fi at the yard, and how often?
Leave a Reply