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

5 of 199 comments (clear)

  1. Python == cock sucking shit by Anonymous Coward · · Score: -1, Troll

    I know lets name my software on a stupid pathetic old TV series that nobody with even a tiny bit of self respect finds funny anymore apart from stupid Americans and idiotic Germans. It's highly stimulating lefist wacky zany humour ironically about highly educated and priviledged English people jumping about appeals to those who code. It is on their wavelength. Also I will make my whitespace meaningful unlike every other language on Earth. Ho ho ho I am so clever. It is so cool. yay I am in my own little world and prefer life here.

    Years later the only useful app written Python is bittorrent. That tells you something.

  2. SPcONGE by Anonymous Coward · · Score: -1, Troll
  3. Re:its by MattJakel · · Score: 0, Troll

    But it's still misleading to say "only 200 lines of Python" when really all of the module imports add up to thousands of lines. This isn't a downside of course, but such a description makes the program sound simpler than it is.

  4. Heh by Dwonis · · Score: 0, Troll
    That's nothing! I can write a powerful 3D first-person shooter in *two* lines of python!
    import os
    os.execl("/usr/games/nethack", "doom4")
  5. Re:First by Anonymous Coward · · Score: -1, Troll

    You're just bitter because Python fucked your mother.

    Let it go, man. Move on.