Archive for 8th July 2009

iPhone 3Gs Encodes Camera Orientation in EXIF (?)

On a hunch I checked the EXIF data attached to my first photos from my new iPhone. The intriguing news is that it has values such as:

GPSImageDirection : 2535/383
GPSImageDirectionRef: T

The GpsImageDirectionRef = “T” appears to be a constant.(Update: signifies True and not Magnetic north.)

Pointing the camera roughly N,E,S,W resulted in:

N : 2535/383 (and then, pointed ‘up’: 19845/113)
E : 27081/81
S : 20749/113
W: 28546/113

My guess is that this is a fraction representing degrees from N. The use of a denominator may indicate accuracy (?). When I first saw it, I thought it could encode tilt, but that doesn’t seem to fit the data (at least to my eye). No other obvious EXIF source of tilt info.

More experimenting in order.

Ob-hack: Augmented reality. Place Godzilla / Cloverfield properly in all photos of Tokyo / New York.

Update: It’s just heading. Cue sad trombone.

DasBlog Links Finally Rewritten

Driven by the mocking of a colleague for never having done the stupid gruntwork of rewriting my old DasBlog-based permalinks, I stole Jon Udell’s python code and ran it over the 8+ year history of Knowing.net. I think it mostly worked, although internal links between posts remain broken, since the DasBlog GUID-based identifiers have been lost.

I suppose I should now write a program to monitor the 404s and do manual fixups as traffic calls for, but I’m not even going to pretend that “I’ll get to that in a couple days.”

I apologize if this caused any spurious “There are 2100 new posts” messages from your newsreader.