Flatbed scanner -- takes a image along a single line, with no perspective distortions. Additionally, I believe I've seen some people set up cameras that can do the same thing, basically taking pictures overhead directly and laying all of that out as 'layers' on top of one another and getting rid of anything that was not in the 'center' of the picture in order to minimize distortions.
I think there's also some sort of trick with taking the photo from far away? I'm no photography expert, but I believe I've also been told that the further away you are from the object, the less perspective distortion you get. I'm not sure on this.