Abstract
This paper introduces ResearchDoom, a modified version of the Doom game engine optimized for the automated extraction of rich computer vision metadata, and CocoDoom, a large-scale synthetic dataset derived from it. By leveraging the deterministic nature of game rendering, the authors provide a massive repository of pixel-perfect ground truth data—including depth maps, object masks, and ego-motion logs—formatted for the MS COCO benchmark. This work aims to lower the barrier for using synthetic data in training robust computer vision models.
Introduction
The advancement of deep learning in computer vision is heavily dependent on large-scale, high-quality datasets. However, manual annotation for tasks such as instance segmentation and depth estimation is prohibitively expensive and prone to human error. While the reinforcement learning (RL) community has successfully utilized video games as training environments, the computer vision community has yet to fully exploit games as a primary source of supervised training data.
ResearchDoom and CocoDoom address this gap by treating the game engine as a source of "free" labels. Although Doom lacks modern photorealism, it presents fundamental geometric and semantic challenges that are highly relevant to real-world perception tasks.
The ResearchDoom Engine
The ResearchDoom engine is a minimal modification of the open-source Chocolate Doom engine. Unlike existing RL-focused tools like VizDoom, ResearchDoom is specifically designed for data recording and extraction. For every frame (or "tic"), the engine exports four primary data streams: standard RGB appearance, precise depth maps, pixel-level object masks for every instance, and ego-motion logs detailing the player's 3D coordinates and orientation.
A critical feature of this engine is its deterministic playback. Researchers can record a single playthrough and subsequently re-run it to extract different metadata types, ensuring that the visual scene remains identical across all data modalities.
The CocoDoom Dataset
CocoDoom is a massive dataset generated from three complete playthroughs of Doom II, covering 32 levels. The dataset is provided in the Microsoft COCO format, allowing for immediate integration into existing computer vision pipelines.
The dataset is offered in two main variants:
- Standard Subset: Contains approximately 80,000 images and 300,000 object annotations, filtering out rare categories and very small objects.
- Full Subset: Comprises over 500,000 images and 1.4 million annotations, providing a high-volume resource for pre-training deep networks.
The dataset includes 94 distinct object categories, ranging from various enemy types to environmental items and projectiles. This diversity, combined with pixel-perfect masks, makes it a unique resource for studying object detection and tracking in complex, cluttered environments.
Discussion and Conclusion
The primary advantage of the ResearchDoom framework is the "free label" advantage. In synthetic environments, metadata is a direct byproduct of the rendering process, ensuring 100% accuracy without human intervention. While Doom's 2.5D nature and 1990s graphics present certain limitations—such as restricted camera rotation and a domain gap with real-world imagery—the engine serves as an excellent, computationally efficient "sandbox" for isolating specific vision problems.
Future work includes integrating ResearchDoom’s extraction capabilities with VizDoom and exploring more advanced engines like Unreal Engine to bridge the photorealism gap. By providing these tools, the authors hope to encourage the broader computer vision community to embrace synthetic game data as a powerful supplement to real-world datasets.
Summary updated