gpt4 book ai didi

android - 是否可以从 Android 上的 TOF(飞行时间)传感器读取数据?

转载 作者:塔克拉玛干 更新时间:2023-11-02 20:10:17 25 4
gpt4 key购买 nike

最新型号的 Android 手机(Honor View 20、Huawei P30 Pro、Samsung Galaxy 10 5g)具有 TOF(飞行时间)传感器。是否可以通过一些 API 或制造商 SDK 读取它?

最佳答案

华为可以使用AR Engine SDK

https://developer.huawei.com/consumer/en/ar

SDK文档摘录AREnginesdk-sample-2.0.0.6\HUAWEI AR Engine功能手册.doc

4.13 Scene mesh
Huawei AR Engine provides real-time output scene mesh capability. The output includes the pose of the mobile phone in space. The 3D mesh of the current camera view only supports the specified Huawei models(Honor V20、P30Pro) that can obtain depth information, and the supported scanning scene is static.

SDK文档摘录AREnginesdk-sample-2.0.0.6\java\HUAWEI AR Engine SDK接口(interface)手册.docx

2.2.1.18.   ARSceneMesh
• Description: The class used to return the tracking result when the environment Mesh is tracked. The result includes the Mesh vertex coordinates, the triangle subscript, and so on.
• Methods:
public ShortBuffer getSceneDepth()
// Get the depth image of current frame(optimized).
public int getSceneDepthHeight()
// Get the height of the depth image.
public int getSceneDepthWidth()
// Get the width of the depth image.


可能在华为使用camera2 API

https://github.com/google-ar/arcore-android-sdk/issues/120#issuecomment-535413944

ARCore 中的这个问题包含了很多信息!

似乎也可以在 S10 5G 上使用,但目前不能在 Note 10+ 上使用

摘自 Night Vision / ToF Viewer app description :

This app is currently working only on Huawei P30 Pro, Honor View 20 and Samsung S10 5G. More devices will start working by future device software updates.

New features

  • compatibility for Samsung S10 5G added (and maybe for other devices)
  • resolution dialog removed
  • support for front facing removed

Note: There was done a big research for Samsung Note10+ support, however this device does not seem to support ToF for 3rd party apps.


另一个有趣的应用程序:

使用华为 ToF 传感器的 3D 扫描仪应用 https://play.google.com/store/apps/details?id=com.lvonasek.arcore3dscannerpro

关于android - 是否可以从 Android 上的 TOF(飞行时间)传感器读取数据?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55381412/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com