Click here to Skip to main content
15,878,852 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hey, I would like to program an app which can detect people height. For example standing against to the wall and putting my phone vertically on to my head (an app measure height above ground). Is it possible to program it using built in sensors (any coding tips)?
Posted
Updated 29-Aug-14 22:06pm
v2

Hope this helps: Smart Measure[^]

Description
Smart Measure is a tool in the 2nd set of the Smart Tools collection (distance, height).

This rangefinder(telemeter) measures the Distance, Height, Width and Area of a target with your phone by trigonometry.

Usage is simple: just stand up and press the shutter. The important point is aiming the camera at the GROUND, NOT the object. (i.e. In order to measure the distance from someone, aim at his shoes.)

If it is inaccurate, please read the instructions in this app or see the checklist diagram in the blog. The sensors on your phone can be changed by OS version, firmware and battery status.
You can calibrate them with the calibrate menu and settings for yourself.

* Now, 3 tools for distance were completed.
1) Smart Ruler (short, touch) : 1-50cm
2) Smart Measure (medium, trigonometry) : 1-50m
3) Smart Distance (long, perspective) : 10m-1km
 
Share this answer
 
Ok, thank you for the information.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900