Using the Wii Remote to correct perspective in digital photos



Daniel M. German found a way to automate perspective correction and projection adjustments for his wide angle photography. He does this by using a Wiimote to record the pitch and roll of the camera at the time a photo is taken. This information can then be fed directly into panotools, instead of manually entering control lines and processing the images to calculate these tilt values after the fact.

I modified an open source DarwiinRemote to record inclination. It happens that if you keep the WiiR in a stationary state, its three accelerometers can be used as two inclinometers. Fortunately most of the time, when one takes a handheld photo, one keeps the camera steady. Steady enough to read the inclination of the WiiR.

I also modified the driver to record the reading from the accelometers, the estimated inclinations, and the timestamp. I would then use the timestamp to match the images from the camera to the readings from the WiiR.

This is a cool idea. I would not be surprized to find high end cameras internally recording and stamping this information into photographs in the near future. A lot of consumer cameras already support panoramic stitching, so with digital accelerometers and tilt sensors being as cheap as they are, why not internally support adjustments like perspective correction or projection remapping?

Using the Wii Remote to correct perspective – Link

0 thoughts on “Using the Wii Remote to correct perspective in digital photos

  1. flowgar says:

    Have a look at FAROO, a peer-to-peer web search engine (although not open source). It was selected as one of the finalists at the TechCrunch40 conference. Distributed crawler, distributed index, distributed ranking.

    See also Building An Open Source, Distributed Google Clone

Discuss this article with the rest of the community on our Discord server!


Maker Faire Bay Area 2023 - Mare Island, CA

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).