← Latest papers
🤖 AI

Depth-Guided Video Object Counting in Crowded Scenes

This paper proposes a Depth-Guided Detector (DG-Det) with a unified de-duplication framework and a new RGB-D dataset to significantly improve video object counting accuracy in crowded and occluded scenes by integrating depth cues with multi-scale RGB-D cross-attention.

Original authors: Yuanjing Xu, Xinyan Liu, Weidong Chen, Zixuan Zou, Linhao Zhang, Zhuangzhe Meng, Antoni B. Chan, Weigang Zhang

Published 2026-08-07
📖 5 min read🧠 Deep dive

Original authors: Yuanjing Xu, Xinyan Liu, Weidong Chen, Zixuan Zou, Linhao Zhang, Zhuangzhe Meng, Antoni B. Chan, Weigang Zhang

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to count every single cookie on a messy, crowded baking sheet. If you just look at the top of the cookies, it's easy to get confused. Two cookies might be touching, or one might be hiding behind another, making it look like there's only one big cookie instead of two. In the world of computer vision, this is a huge problem. Scientists teach computers to "see" using cameras that capture color and texture, much like our eyes. This is called RGB data. But when things get crowded and objects block each other, a standard camera gets tricked. It can't tell if two similar-looking items are actually separate or just one big blob. To solve this, researchers have started adding a new sense to the computer's vision: depth. Think of depth like a 3D ruler that tells the computer exactly how far away every pixel is, creating a sense of front and back. This paper dives into a specific challenge: counting objects in videos where they are packed tight and constantly hiding behind one another, like a busy warehouse shelf or a crowded store aisle.

The researchers behind this study, from Harbin Institute of Technology and City University of Hong Kong, realized that just adding depth information wasn't enough; the computer needed a smarter way to use it. They found that simply stacking the color image and the depth map together (like putting two sheets of paper on top of each other) didn't work well because the computer got confused by the differences between the two types of data. Instead, they built a new system called DG-Det (Depth-Guided Detector) as part of a unified framework.

Here is how their invention works, using a playful analogy: Imagine the computer is a detective trying to count people in a crowded room.

  1. The Depth-Guided Detective (DG-Det): In the first stage, the detective doesn't just look at what people are wearing (color/RGB); they also use a special 3D scanner (depth) to see who is standing in front of whom. The paper introduces a clever trick called "Depth Affinity Bias." Think of this as a rule that says, "If two things look very similar but are at different distances, they must be different people!" This helps the computer separate objects that are touching or overlapping, which usually causes it to miss them. They also added a special "occlusion head," which is like a confidence meter that guesses, "Hey, this object is probably being blocked right now," so the computer doesn't give up on counting it.
  2. The Memory Keeper (DG-Track): Counting isn't just about one snapshot; it's about a whole video. If the computer sees a red box in frame 1 and the same red box in frame 2, it needs to know it's the same box, not a new one. The old way often got confused when the box was briefly hidden. The new system uses the 3D depth data to track the box's journey. Even if the box disappears behind a shelf for a second, the depth info helps the computer remember where it was and where it should reappear. They also use a "voting" system that adapts based on how hidden the object is, ensuring they don't accidentally count the same box twice just because it popped in and out of view.

To test their idea, the team couldn't just use old videos because those only had color pictures. So, they created a brand-new dataset called RGBD-VideoCount. This is a collection of 195 video clips featuring 6 different types of items (like books, bags, and bottles) in crowded scenes, all recorded with both a color camera and a depth sensor. It's like giving the computer a whole new library of 3D puzzles to solve.

The results were quite promising. When they tested their method against existing techniques, they found that their depth-guided approach made a huge difference. Specifically, they reported a 62.01% reduction in MAE (Mean Absolute Error, which is basically the average number of mistakes the computer makes) compared to existing baselines generally. They also saw improvements in RMSE (Root Mean Squared Error), another way to measure how far off the count is. The paper suggests that while simply adding depth helps, the real magic comes from how they fused the depth data with the color data and how they used it to predict when objects were hidden.

Interestingly, the paper also tested what happens if the depth data isn't perfect. They simulated "noise" (like static on a TV) and "blur" (like looking through a foggy window). They found that their system was still quite good at counting even if the depth map had some missing holes or was a bit blurry, though random static noise did make it struggle a bit more. This suggests that the method is robust enough for real-world use, where sensors aren't always perfect.

In short, this paper doesn't just say "let's use 3D cameras." It shows that by teaching the computer to understand the relationship between color and depth, and by giving it a way to guess when things are hiding, we can finally get accurate counts in the messiest, most crowded scenes imaginable. It's a step toward making computers that can truly "see" the world the way we do, with a sense of space and depth, rather than just a flat picture.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →