Abstract With the advent of faster internet services and growth of multimedia content, we observe a massive growth in the number of online videos. The users generate these video contents at an unprecedented rate, owing to the use of smart-phones and other hand-held video capturing devices. This creates immense potential for the advertising and marketing agencies to create personalized content for the users. In this paper, we attempt to assist the video editors to generate augmented video content, by proposing candidate spaces in video frames. We propose and release a large-scale dataset of outdoor scenes, along with manually annotated maps for candidate spaces. We also benchmark several deep-learning based semantic segmentation algorithms on this proposed dataset.
Introduction
As online video consumption continues to explode, traditional advertising methods like "skip-ad" buttons are becoming less effective. A promising alternative is embedded marketing, where advertisements are digitally integrated directly into the video scene—for instance, placing a new poster on a blank city wall during post-production.
Currently, identifying these "candidate spaces" is a manual, labor-intensive task performed by video editors. They must identify locations that are "sensical," meaning the advertisement appears natural and does not obstruct the primary action of the scene. To automate this process, we introduce the CASE (CAndidate Spaces for advErt implantation) dataset, providing the first large-scale resource for training models to identify optimal advertisement placement zones.
The CASE Dataset
The CASE dataset consists of 10,000 street-view images randomly selected from the well-known Cityscapes benchmark. Each image has been manually annotated by paid volunteers to identify the single "best" candidate space for an advertisement.
Annotators were tasked with selecting four points to define a rectangular area. These areas were categorized as either "anchored" (attached to a physical surface like a wall) or "floating" (positioned in the air). To reflect the subjective nature of video editing, annotators were restricted to choosing only one space per image, even when multiple valid locations existed. This constraint ensures the dataset captures human preference for the most effective placement.
Methodology
We frame the identification of candidate spaces as a semantic segmentation problem. We benchmarked three prominent deep learning architectures to evaluate their ability to predict these human-selected zones:
- FCN (Fully Convolutional Network): A foundational model for pixel-wise classification.
- PSPNet (Pyramid Scene Parsing Network): Utilizes a pyramid pooling module to capture global context at multiple scales.
- U-Net: Features a symmetric encoder-decoder structure designed to capture both fine-grained local details and broader global information.
Results and Discussion
The performance of these models was evaluated using standard segmentation metrics, including Pixel Accuracy and Mean Intersection Over Union (IOU).
| Model | Pixel Accuracy | Mean Accuracy | Mean IOU |
|---|---|---|---|
| FCN | 0.978 | 0.509 | 0.498 |
| PSPNet | 0.545 | 0.625 | 0.284 |
| U-Net | 0.619 | 0.727 | 0.327 |
While FCN achieved the highest overall Pixel Accuracy and Mean IOU, it tended to be "conservative," often failing to propose any candidate space to avoid false positives. In contrast, U-Net achieved the highest Mean Accuracy (0.727), indicating a better ability to identify the candidate space class specifically, albeit with more false positives.
Qualitative analysis of the heatmaps reveals that while models often miss the exact bounding box chosen by a human annotator, they successfully learn the underlying semantics of the environment. The models correctly identify walls, buildings, and roadsides as logical locations for signage, demonstrating that they are learning to interpret the scene's structure rather than just looking for empty pixels.
Conclusion
The CASE dataset highlights the significant potential for AI-assisted video editing while underscoring the challenge of subjectivity in advertisement placement. Future work will involve expanding the dataset to include indoor environments and entertainment media, as well as developing bespoke neural architectures tailored specifically for the logic of digital product placement. By relaxing the single-choice constraint in future iterations, we hope to better capture the full range of valid candidate spaces in complex scenes.
Summary updated