Problem

Generally humans do not carry a measuring tape in their pockets. Considering the fact that you are a human :-p, and you do not have a measuring tape in your pocket, what would you do if it is needed to measure an object lying in front of you? For instance, you want to measure the dimensions of the window of your house, maybe for getting your curtains stitched, what will you do ? Since you do not have a measuring tape in your pocket, you will find a measuring tape throughout your house, use a ladder, climb and take the dimensions. You might need a person to assist you. You might injure yourself too. What if your wrist movement can measure the entire dimensions for you?

Solution

Spectaruler, an Android app, lets you solve this purpose. Only two clicks and your wrist movement enables user to measure the height of the object in front.

Mobile Requirements

1) Android smart phone
2) Embedded with accelerometer
3) Embedded with magnetometer

Methodology - Concept


The user uses the camera to measure the angles. Once the angles are obtained, the calculation is nothing but simple trigonometry.

Measuring the angle



The angle is measured by deriving the Rotation matrix. The rotation matrix makes use of Accelerometer and Magnetometer sensors in the android mobile. From this rotation matrix, azimuth, pitch and roll is derived. This enables us to calculate α and β.

Video Demonstration