Yanbaihui Liu, Erica Babusci, Claudia K. Gunsch, Boyuan Chen
Duke University
Indoor fungal contamination poses significant risks to public health, yet existing detection methods are slow, costly, and lack spatial resolution. Conventional approaches rely on laboratory analysis or high-concentration sampling, making them unsuitable for real-time monitoring and scalable deployment. We introduce Scensory, a robot-enabled olfactory system that simultaneously identifies fungal species and localizes their spatial origin using affordable volatile organic compound (VOC) sensor arrays and deep learning. Our key idea is that temporal VOC dynamics encode both chemical and spatial signatures, which we decode through neural architectures trained on robot-automated data collection. We demonstrate two operational modes: a passive multi-array configuration for environmental monitoring, and a mobile single-array configuration for active source tracking. Across five fungal species, our system achieves up to 89.85% accuracy in species detection and 87.31% accuracy in localization under ambient conditions, where each prediction only takes 3--7s sensor inputs. Additionally, by computationally analyzing model behavior, we can uncover key biochemical signatures without additional laboratory experiments. Our approach enables real-time, spatially aware fungal monitoring and establishes a scalable and affordable framework for autonomous environmental sensing.
-
Clone the repository:
git clone https://github.com/generalroboticslab/Scensory.git
-
Create and activate a new virtual environment:
virtualenv new_env_name source new_env_name/bin/activate -
Install the required dependencies:
pip install -r requirements.txt
Our dataset is available here.
# Multi-array
python training/main_task1_cls.py # species classification
python training/main_task1_loc.py # localization
# Single-array
python training/main_task2_cls.py # species classification
python training/main_task2_dir.py # direction
python training/main_task2_dist.py # distance# Multi-array
python evaluation/evaluate_task1_cls.py # species classification
python evaluation/evaluate_task1_loc.py # localization
# Single-array
python evaluation/evaluate_task2_cls.py # species classification
python evaluation/evaluate_task2_dir.py # direction
python evaluation/evaluate_task2_dist.py # distanceWe provide pretrained model weights in the pretrained folder for quick evaluation and testing. These models are ready to use without additional training.
If you think this paper is helpful, please consider cite our work
@misc{liu2025scensoryautomatedrealtimefungal,
title={Scensory: Automated Real-Time Fungal Identification and Spatial Mapping},
author={Yanbaihui Liu and Erica Babusci and Claudia K. Gunsch and Boyuan Chen},
year={2025},
eprint={2509.19318},
archivePrefix={arXiv},
primaryClass={eess.SP},
url={https://arxiv.org/abs/2509.19318},
}
This repository is released under the CC BY-NC-ND 4.0 License. Duke University has filed patent rights for the technology associated with this article. For further license rights, including using the patent rights for commercial purposes, please contact Duke's Office for Translation and Commercialization (otcquestions@duke.edu) and reference OTC DU8859PROV. See LICENSE for additional details.
This work is supported by NSF Engineering Research Center for Precision Microbiome Engineering (PreMiEr) under award 2133504.
