现在去除视频审查比以往任何时候都更容易了。
It's easier than ever to de-censor videos

原始链接: https://www.jeffgeerling.com/blog/2025/its-easier-ever-de-censor-videos

演示者发现视频中对敏感信息进行像素化或模糊处理很容易被还原。他向观众挑战,让他们还原他视频中文件夹的像素,三天内有三人成功做到,每人获得50美元奖励。 GitHub用户KoKuToru分享了他们的过程,使用了两种方法:一种是使用TensorFlow对窗口中的像素数据进行暴力破解和聚合;另一种是使用GIMP和ffmpeg进行更精确的窗口选择,并获得更好的结果。这两种方法之所以有效,是因为像素化就像百叶窗一样,随着窗口的移动,会显示底层图像的不同部分。 演示者指出,人工智能和更快的计算机使得像素化还原越来越容易实现。视频运动提供了更多用于反向工程的数据点。他现在建议使用纯色遮罩代替模糊或像素化来对敏感信息进行审查。

一个Hacker News帖子讨论了Jeff Geerling一篇关于视频去审查的文章。一位评论者提供了一种低技术含量的使用MS-Paint涂黑截图的方法,声称纯黑色遮盖能够抵抗AI去审查。另一位评论者批评了Lockpicking Lawyer在视频中模糊信息而不是完全遮挡的做法,认为模糊的数据通常可以恢复。一位评论者回忆起一位同事用移动的狭缝创建图像。最后,另一位评论者说他们喜欢Jeff Geerling。另一位用户详细解释说,模糊可以通过反卷积恢复,而像素化则主动删除了数据。

原文

Last month I asked people to hack part of my YouTube video, specifically to de-pixelate the contents of a folder I had pixelated starting at the 4:57 mark.

For years, people have used the censor tool to blur or pixelate out parts of videos where there's sensitive information. And for years, every time I've used it, I get a few comments from people saying that's not a safe way to censor information.

So is that true?

I wanted to find out, so I put a message saying I'd send fifty bucks to anyone who could tell me what it said under the pixelation. And you know what? Less than a day later, three people solved it, using three slightly different techniques—scary!

This blog post is a lightly edited transcript of the following video:

How did they do it?

But how did they do it? I asked each of them, and they were more than happy to share. For most of us who like reverse-engineering or tinkering, it's fun to share the craft. And even more fun when it's sanctioned fun. Add on a little monetary reward, and that's just icing on the cake.

GitHub user KoKuToru was kind enough to share an entire GitHub repo with the process and the code, along with two different ways that user tried to depixlate my footage.

First a brute-force attempt to extract aligned images of just the window, with some code using TensorFlow to extract pixel data and aggregate it into a somewhat-fuzzy (but almost clear enough to read) picture:

The idea here is the pixelation is kind of like shutters over a picture. As you move the image beneath, you can peek into different parts of the picture. As long as you have a solid frame of reference, like the window that stays the same size, you can 'accumulate' pixel data from the picture underneath.

Due to the slight error in selecting the window by hand, the final result was slightly blotchy. For the second attempt, GIMP was used to get a better window selection algorithm with ffmpeg, and with a slight bit more data (more frames extracted), a perfectly legible result:

Any way to prevent it?

Blurring or pixelating video, especially moving video, may lead to similar results as you saw here. Years ago it would've required a supercomputer and a PhD to do this stuff. But today, between AI assistance with the trickier bits of coding, and how fast neural networks run on computers, it's easier and faster than ever to de-pixelate video!

If there's one thing computers are good at, it's finding order in seeming chaos, like how modern tools can pull a clean voice out of a horrible recording.

The more motion in the video, the more data points the reverse engineering has to play with. And thus, the better the confidence in the results.

If I hadn't moved around my Finder window in the video, I don't think it would've worked. You might get a couple letters right, but it would be very low confidence.

Moving forward, if I do have sensitive data to hide, I'll place a pure-color mask over the area, instead of a blur or pixelation effect.

Intuitively, blur might do better than pixelation... but that might just be my own monkey brain talking. I'd love to hear more in the comments if you've dealt with that kind of image processing in the past.

It's amazing what people can do with a neural network, ingenuity, and time.

I guess the moral of the story is if you don't want people to read censored data... don't post it online.

tl;dr - check out KoKoToru's de-pixelate GitHub repo for all the details on how it was done.

联系我们 contact @ memedata.com