Hardware Store Marauder’s Map Is Clarkian Magic

The map in action, along with a sample of the video feeds.

The “Marauder’s Map” is a magical artifact from the Harry Potter franchise. That sort of magic isn’t real, but as Arthur C. Clarke famously pointed out, it doesn’t need to be — we have technology, and we can make our own magic now. Or, rather, [Dave] on the YouTube Channel Dave’s Armoury can make it.

[Dave]’s hardware store might be in a rough neighborhood, since it has 50 cameras’ worth of CCTV coverage. In this case, the stockman’s loss is the hacker’s gain, as [Dave] has talked his way into accessing all of those various camera feeds and is using machine vision to track every single human in the store.

Of course, locating individuals in a video feed is easy — to locate them in space from that feed, one first needs an accurate map. To do that, [Dave] first 3D scans the entire store with a rover. The scan is in full 3D, and it’s no small amount of data. On the rover, a Jetson AGX is required to handle it; on the bench, a beefy HP Z8 Fury workstation crunches the point cloud into a map. Luckily it came with 500 GB of RAM, since just opening the mesh file generated from that point cloud needs 126 GB. That is processed into a simple 2D floor plan. While the workflow is impressive, we can’t help but wonder if there was an easier way. (Maybe a tape measure?)

Once an accurate map has been generated, it turns out NVIDIA already has a turnkey solution for mapping video feeds to a 2D spatial map. When processing so much data — remember, there are 50 camera feeds in the store — it’s not ideal to be passing the image data from RAM to GPU and back again, but luckily NVIDIA’s “Deep Stream” pipeline will do object detection and tracking (including between different video streams) all on the GPU. There’s also pose estimation right in there for more accurate tracking of where a person is standing than just “inside this red box”. With 50 cameras, it’s all a bit much for one card, but luckily [Dave]’s workstation has two GPUs.

Once the coordinates are spat out of the neural networks, it’s relatively simple to put footprints on the map in true Harry Potter fashion. It really is magic, in the Clarkian sense, what you can do if you throw enough computing power at it.

Unfortunately for show-accuracy (or fortunately, if you prefer to avoid gross privacy violations), it doesn’t track every individual by name, but it does demonstrate the possibility with [Dave] and his robot. If you want a map of something… else… maybe check out this backyard project.

23 thoughts on “Hardware Store Marauder’s Map Is Clarkian Magic

  1. That has to be one of the dumbest ways to get a 2d map.

    It’s hard to believe anyone would think that’s a good strategy, but all these videos are just about generating ad revenue anyway. Turn this crap off, it’s making us much less reasonable and intelligent.

    1. If a 2d map is all you want yes. But if it is of any use to you to have that 3d model, which in this case I could see – perhaps to map out what is in the blind spots of the individual cameras so your thief tracking map is able to stay aware of the folks currently out of sight, including when a camera is obscured quite possibly perfectly legitimately by the guy loading/unload a shelf in the way etc.

      Certainly doubt it was actually used for anything to make it worth it this time, as the whole thing appears to be more an exercise in a fun daft idea taken just far enough to demo it works than anything more real.

    2. Feels like they could have used a robot vacuum or something with the same algorithms.

      The 3D point cloud is overkill but is it really “the dumbest way” if you already had a robot that generated point clouds?

    3. 95% of “maker” youtube is now just people desperately trying to think of ANY project no matter how stupid or pointless that hasn’t already been done.

      Hopefully most of these channels will bankrupt themselves and the few quality ones will be left standing.

  2. As someone living in the EU and having to comply with GDPR, I find it honestly scary that a hardware store would just provide some random person with access to their CCTV system and allow them to post it on the internet.

    1. Given the dystopian state surveillance stuff that it seems most of Europe is jumping towards with great enthusiasm at government levels I think there is more to worry about here than this sort of stuff. Not that I disagree at all, it is scary – though I’m not sure this would actually be impacted by the GDPR stuff anyway – the people are not exactly the focus, really identified, its a ‘public’ space etc. So while its not 100% certainly in the clear legally, and I am not a lawyer, I think it probably doesn’t cross the line.

  3. Unfortunately for show-accuracy (or fortunately, if you prefer to avoid gross privacy violations), it doesn’t track every individual by name,

    That’s because <$$> is an amateur. Tracking people’s phones by various MAC addresses, and tying that to their names via various databases built up as they buy things, is at least 10 years old as a commercially deployed technology. I’m not sure how widely it’s caught on, since I suspect it doesn’t actually pay for itself, but it’s out there.

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.