寻求编程方面的帮助?

编程入门 行业动态 更新时间:2024-10-20 01:19:53
本文介绍了寻求编程方面的帮助?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

嘿,我想编写一个可以检测人身高的应用程序。例如,站在墙上并将我的手机垂直放在我的头上(app尺寸高于地面)。是否可以使用内置传感器(任何编码提示)对其进行编程?

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)?

推荐答案

希望这会有所帮助:智能测量 [ ^ ] 说明 智能测量是第二套智能工具系列中的工具(距离,高度)。 此测距仪(遥测仪)测量距离,高度,手机的宽度和面积用三角法测量。 使用很简单:只需站起来按下快门。重点是将相机对准地面,而不是物体。 (即为了测量与某人的距离,瞄准他的鞋子。) 如果不准确,请阅读此应用程序中的说明或查看清单图表在博客中。可以通过操作系统版本,固件和电池状态更改手机上的传感器。 您可以使用校准菜单和设置自行校准它们。 *现在,已完成3个距离工具。 1)智能标尺(短,触摸):1-50cm 2)智能测量(中等,三角):1-50米 3)智能距离(长,透视):10m-1km 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

好的,谢谢您的信息。

更多推荐

寻求编程方面的帮助?

本文发布于:2023-11-28 15:27:39,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1642954.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!