DODA: Adapting Object Detectors to Dynamic Agricultural Environments in Real-Time with Diffusion

Shuai Xiang, Pieter M. Blok, James Burridge, Haozhou Wang, Wei Guo
3/27/2024
cs.CV

Official code: UTokyo-FieldPhenomics-Lab/DODA (27 stars, MIT, last commit 2025-11-06).

Abstract

Object detection has wide applications in agriculture, but domain shifts of diverse environments limit the broader use of the trained models. Existing domain adaptation methods usually require retraining the model for new domains, which is impractical for agricultural applications due to constantly changing environments. In this paper, we propose DODA ($D$iffusion for $O$bject-detection $D$omain Adaptation in $A$griculture), a diffusion-based framework that can adapt the detector to a new domain in just 2 minutes. DODA incorporates external domain embeddings and an improved layout-to-image approach, allowing it to generate high-quality detection data for new domains without additional training. We demonstrate DODA's effectiveness on the Global Wheat Head Detection dataset, where fine-tuning detectors on DODA-generated data yields significant improvements across multiple domains. DODA provides a simple yet powerful solution for agricultural domain adaptation, reducing the barriers for growers to use detection in personalised environments. The code is available at https://github.com/UTokyo-FieldPhenomics-Lab/DODA.

View on arXivView PDF

Code Implementations(1)

MIT

Diffusion for Object-detection Domain Adaptation in Agriculture

275Shell, PythonMar 15, 202411 months agoMIT

Similar Papers

Cite this paper

@article{xiang2024doda,
  title  = {DODA: Adapting Object Detectors to Dynamic Agricultural Environments in Real-Time with Diffusion},
  author = {Shuai Xiang and Pieter M. Blok and James Burridge and Haozhou Wang and Wei Guo},
  year   = {2024},
  eprint = {2403.18334},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.18334v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.18334.svg)](https://codeofpaper.com/paper/2403.18334)

Discussion