Slashdot Mirror


Webcam Jigsaw Solver in 200 Lines of Python

leighklotz writes "Jeff Breidenbach and 200 lines of Python code have brought us the Glyphsaw Puzzle solver. Hold a puzzle piece up to a webcam, and the display sgiws exactly where in the puzzle the piece belongs. The solver uses the Python Imaging Library (PIL), Numerical Python, and the PARC DataGlyph Toolkit. By the way, you can make your own DataGlyphs."

19 of 199 comments (clear)

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

    Oh, but I bet it uses a bunch of libraries post.

    1. Re:First by stupidfoo · · Score: 1, Funny

      The code:


      from puzzlesolver.puzzlepiece import puzzlepiece
      from puzzlesolver.placepiece import placepiece


      Yes, my python skills are quite good.

  2. sgiws? by MaineCoon · · Score: 5, Funny
    and the display sgiws exactly where in
    English, please?
    --
    Hunt your preferred prey at Aliens vs Predator MUD. Join the war at avpmud.com port 4000
    1. Re:sgiws? by JPickard · · Score: 5, Funny

      What's wrong with sgiws? it's a perfectly cromulent word.

    2. Re:sgiws? by ackthpt · · Score: 3, Funny
      and the display sgiws exactly where in

      English, please?

      It's a welsh word, you insensitive clod!

      --

      A feeling of having made the same mistake before: Deja Foobar
    3. Re:sgiws? by gambit3 · · Score: 4, Funny

      See, if you had the jigsaw solver, it would solve this puzzle for you!

      r;r,rmystu. ,u frst Esydpm///

    4. Re:sgiws? by CitznFish · · Score: 3, Funny

      Maybe you needed to pay more attention in Engrish class?

      --
      'mmmmmmmmm.... forbidden donut'
    5. Re:sgiws? by Reignking · · Score: 1, Funny

      Me fail English? That's unpossible!

      --
      One man's Funny is another man's Offtopic.
    6. Re:sgiws? by Spunk · · Score: 2, Funny

      Holy shit, it solves Welsh?

  3. Somone should sgiw them by amling · · Score: 5, Funny

    exactly where the 'h' and 'o' keys are.

    --
    70e808a22cb027cde4a6abddf6435d55
  4. Since it can use anything it wants by Neil+Blender · · Score: 3, Funny

    Here's a one line puzzle solver

    [user@localhost] perl -e '`python glyphsaw`'

    1. Re:Since it can use anything it wants by Sweetshark · · Score: 2, Funny
      [user@localhost] perl -e '`python glyphsaw`'
      Bah! That must be a fake! Real Perl should be unspeakable and unreadable!
  5. More importantly... by gabecubbage · · Score: 2, Funny

    Yes, very nice.

    But the important question is, can it assemble the puzzle faster than Gary Kasparov?

    1. Re:More importantly... by Anonymous Coward · · Score: 3, Funny

      > can it assemble the puzzle faster than Gary Kasparov?
      No, Gary Kasparov takes a much longer time to assemble.

  6. Google knows all by jesser · · Score: 5, Funny

    Google Search: sgiws

    Did you mean: shows

    --
    The shareholder is always right.
  7. Re:Jiglyph by PedanticSpellingTrol · · Score: 3, Funny

    In soviet russia, Pedantic defines me!

  8. Wow !!! by kabz · · Score: 2, Funny

    Finally ... something on Slashdot to interest my grandmother !!

    --
    -- "It's not stalking if you're married!" My Wife.
  9. A REAL puzzle by sburnett · · Score: 3, Funny

    If you hold a piece of their Slashdotted Web server up to the camera, will this program be able to reassemble it?

  10. Re:Wrong section? by Anonymous Coward · · Score: 1, Funny

    They'll get it right when they repost it tomorrow. See, dupes DO have a purpose!