Slashdot Mirror


Recovering Blurred Text Using Photoshop and JavaScript

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."

13 of 157 comments (clear)

  1. Oblig by Anonymous Coward · · Score: 5, Funny

    Now for all of the other pixellated stuff...

    Bwahahahaha.

    1. Re:Oblig by Anonymous Coward · · Score: 5, Funny

      I'm off to ebay to try it on all those XP serial numbers.

  2. Re:Computer... magnify and enhace by gardyloo · · Score: 5, Funny

    BIG squares.

  3. Just ovveride? by Dreen · · Score: 5, Insightful

    I never understood why people use pixel mis-mashing when they want to obfuscate something in an image.

    drawing a big black rectangle is 10x faster and there is no way you can de-obfuscate that

    1. Re:Just ovveride? by larry+bagina · · Score: 5, Funny

      Heck, forget the plugin, these would be pretty simple to automate these within Photoshop.

      This is gimp country. On a quiet night, you can hear adobe squeal like a pig.

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

    2. Re:Just ovveride? by lostmongoose · · Score: 5, Funny

      I'm gonna go with 'funsturbing'

  4. Ideal conditions by Itninja · · Score: 5, Interesting

    The article mentions the authors 'cheating a little' by de-blurring the image under 'ideal conditions'. From what I can gather, he is using a source Photoshop file (PSD) as the sample. If he already had access to the source PSD file, wouldn't it be easier to just click undo a few dozen times? Can this be reproduced to a raster image at all?

    --
    I judt got a nre Kinesis keybiartf so please excusr ant egregiou typos.
  5. Old tech by Glith · · Score: 5, Funny

    Jeez. Hasn't anyone seen CSI?

    1. Re:Old tech by mpaulsen · · Score: 5, Funny

      I was going to watch it online, but they created a GUI interface in Visual Basic to track my IP. http://www.youtube.com/watch?v=Ni_rAamVP2s

  6. Failure by sexconker · · 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.

  7. Re:Interesting by caffeinemessiah · · Score: 5, Funny

    There's another easy way to recover blurred text in Photoshop: Ctrl+Z.

    --
    An old-timer with old-timey ideas.
  8. Yes, you can de-obfuscate black rectangles. by IdahoEv · · Score: 5, Interesting

    drawing a big black rectangle is 10x faster and there is no way you can de-obfuscate that

    That's not entirely true. There was an article a couple years back about a technique for recovering redacted text with pretty high reliability.

    It used the fact that most standard fonts have variable spacing, and that once you've determined the font you can model that only certain combinations of letters will actually fit in the space of the redacted word or words. Combined with a dictionary and bayesian matching based on nearby words, you can often figure out what words would have fit into a redacted rectangle. Or at least limit it to a fairly small pool of possibilities.

    They demonstrated it on a redacted government document, and pulled out some places where the redacted words had to be "Iran" and "Ahmedinejad" etc., because nothing else both fit and made sense. If it's a monospaced font, you know the exact number of letters of the redacted text.

    I can't find the original link, but here's a paper that describes some of the techniques available for "cracking" blackout redaction. (some apply only to magic-marker-type redaction, but others apply even to electronic black-rectangle redaction).

    --
    I stole this sig from someone cleverer than me.
  9. What about nipples? by vodevil · · Score: 5, Insightful

    I think people would be more interested if this removed the blur from nipples.