[Paper Review] ResearchDoom and CocoDoom: Learning Computer Vision with Games
This paper introduces ResearchDoom, a modified Doom game engine that extracts detailed 3D metadata such as depth maps, object instance masks, and ego-motion during gameplay, and CocoDoom, a large-scale, pre-annotated dataset of 500K images with MS COCO-format annotations. The dataset enables training and evaluation of computer vision models for object detection, segmentation, depth estimation, and tracking without reinforcement learning, offering a scalable, error-free source of synthetic data.
In this short note we introduce ResearchDoom, an implementation of the Doom first-person shooter that can extract detailed metadata from the game. We also introduce the CocoDoom dataset, a collection of pre-recorded data extracted from Doom gaming sessions along with annotations in the MS Coco format. ResearchDoom and CocoDoom can be used to train and evaluate a variety of computer vision methods such as object recognition, detection and segmentation at the level of instances and categories, tracking, ego-motion estimation, monocular depth estimation and scene segmentation. The code and data are available at http://www.robots.ox.ac.uk/~vgg/research/researchdoom.
Motivation & Objective
- To address the growing need for large-scale, accurately annotated training data in computer vision.
- To enable direct training and evaluation of computer vision models using synthetic data from video games, beyond reinforcement learning.
- To lower the barrier to entry for researchers by providing pre-computed, COCO-formatted datasets with detailed metadata.
- To demonstrate that video game environments like Doom can serve as a reliable, scalable source of synthetic data with rich supervisory signals.
- To promote broader adoption of synthetic data in computer vision by offering a plug-and-play dataset compatible with existing COCO-based tools.
Proposed method
- Extends the open-source Chocolate Doom engine to extract per-frame metadata including RGB appearance, depth maps, object instance masks, and ego-motion during gameplay.
- Uses deterministic game sessions to ensure exact reproducibility of data across runs.
- Generates data from three complete playthroughs of Doom II, with frames saved as PNGs and metadata logged in structured text files.
- Applies MS COCO format to object annotations, including instance IDs, class labels, and polygon-based bounding boxes.
- Creates two data subsets: 'standard' (1/5 of frames, 80K images, 300K annotations) and 'full' (500K images, 1.4M annotations) with depth and pixel-level segmentation.
- Defines two data splits—'run' and 'episode'—to support diverse evaluation protocols, with the episode split being more challenging due to map-level separation.
Experimental results
Research questions
- RQ1Can video game environments like Doom serve as a scalable source of synthetic data with rich, automatic annotations for computer vision?
- RQ2To what extent can pre-recorded game data with detailed metadata support direct training of vision models without reinforcement learning?
- RQ3How effective is CocoDoom as a benchmark for object detection, instance segmentation, depth estimation, and tracking compared to real-world datasets?
- RQ4Can the use of a consistent, controlled game environment like Doom improve the reliability and reproducibility of computer vision experiments?
- RQ5How does the inclusion of depth and pixel-level segmentation in synthetic data impact the performance of monocular depth and segmentation models?
Key findings
- The CocoDoom dataset contains approximately 80,000 images and 300,000 object instance annotations in the standard subset, with 500,000 images and 1.4 million annotations in the full subset.
- The dataset includes detailed metadata such as depth maps, object masks, and ego-motion, extracted with high fidelity from deterministic gameplay.
- Object categories were filtered to retain only those with at least 100 images in the training split, resulting in 94 distinct object types.
- The episode split, which separates training, validation, and test sets across different game maps, provides a more challenging evaluation protocol than the run split.
- The dataset is compatible with MS COCO formats, enabling direct integration with existing computer vision pipelines and benchmarking tools.
- The authors demonstrate that synthetic data from video games can provide a rich, scalable, and error-free supervisory signal for training and evaluating diverse computer vision models.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.