Recovering Blurred Text Using Photoshop and JavaScript 157
An anonymous reader writes "There's been a lot of talk about recovering blurred or pixelated text, but here's an actual implementation using nothing but Photoshop and a little JavaScript. Includes a Hollywood-esque video showing the uncovered letters slowly appearing."
Just ovveride? (Score:5, Insightful)
drawing a big black rectangle is 10x faster and there is no way you can de-obfuscate that
General case != this (Score:5, Insightful)
Is it not the case that the reason this works is because you're running the -same blur algorithm- with the -same input- (the unblurred letters/pixels) and simply iterating through the letters and looking for equivalent output?
Presumably, the blur algorithm output could resolve such that multiple unblurred letters resolve to the same blurred pixels, but even if it is not this trivial to map the input state to output state, it still wouldn't seem to me to approach solving the general case of letters "blurred" by any arbitrary means, which is the real-world capability implied by the article.
What am I missing here?
Re:Just ovveride? (Score:5, Insightful)
Absolutely agree.
Plus TFA says the original image was blurred using the Photoshop "mosaic" filter. So this approach, while interesting for text blurred using that exact filter, is probably useless in most real-world approaches, such as trying to recover text obliterated with the rubber-stamp tool, or like you suggest, a black box.
Re:Ideal conditions (Score:3, Insightful)
I imagine the "cheating" aspect of using a PSD file is that you are working with a lossless image. There's no JPEG/MPEG compression going on etc. Working with another lossless format like BMP, or PNG, would probably work just as well.
Re:Just ovveride? (Score:1, Insightful)
Better is to blur something completely different from the original. Then if someone decodes it all they will get is a funny message about them wasting their time (or maybe a big "fuck you" or something).
Failure (Score:5, Insightful)
"While my original goal of recovering the censored text on my friendâ(TM)s page was never achieved, the project was a success."
I wouldn't call that a success...
Good execution of a basic concept, but the fact remains that this shit is infeasible in practice. You have all the font issues (the typeface, the spacing, the color, the size, etc.), and you've got all the source issues - Are you sure that's text? Is it English? Was it obfuscated in other ways? Has the image been altered after the text was rendered? How has compression affected it?
The biggest fucking issue, of course, is that you're assuming the text was obfuscated using photoshop, or at least very similar blurring/pixelating algorithms.
It's a great project in terms of using javascript and photoshop to do something neat but basic in concept (essentially brute forcing, as the author says).
But unless you have inside info about how the text was rendered and obfuscated, you're better off taking a step back and squinting.
I think I see a duck.
Re:Just ovveride? (Score:5, Insightful)
What about nipples? (Score:5, Insightful)
Re:Just ovveride? (Score:1, Insightful)
disturbunny is disturbed.
Simple way to make believable mosaics: (Score:1, Insightful)
Remove the text you want hidden and replace it with some lipsum of believable length and general consistency. Apply standard mosaic filter. Simple, relatively quick, no special software needed.
randomize after (Score:3, Insightful)