I have build a simple ios app in unity using vuforia.
I would like a script that calculates the tilt of the vertical lean of an image target. The intended use is to calculate the tilt of a street pole in real life. If the lean of the street poles exceeds 5 degrees (from directly up ie gravity) it needs to be straitened. It is very difficult judge this by eye. We currently use a hanging weight on a string (plumb bob) and a protractor. It doesn't have to be perfectly accurate, its just to demonstrate it is possible.
Need it completed in 2 days time.