现在,我们面临的问题是,华为的P9和它的B/W传感器能够捕捉照片,而不是视频。我想写一个快速和肮脏的解决方案,以使第二个相机工作,但发现,手机只有"2“相机(前/后?)
有人知道如何访问B/W传感器吗?我知道,CAM 2没有双摄像机支持(目前为止)。“华为开发人员”页面建议使用API/SDK,但按钮已变灰。
任何帮助都非常感谢!
发布于 2017-08-02 09:43:54
我发现了一项已经包含在应用程序"FreedCam“中的工作。华为有一些隐藏的参数:
Regarding P9, it'sinteresting to see, that it shows only two cameras even though it has3. Any idea if the camera API 2 has the ability to use only the black and white sensor?
com.huawei.device.capabilities.availbaleDualPrimary
com.huawei.capture.metadata.dualSensorMode关于凸轮1
hw-dual-primary-supported=primary,secondary,dual //primary =color, secondary = mono
hw-dual-primary-mode=primary所以你不能选择它作为第三架相机。
https://stackoverflow.com/questions/44950746
复制相似问题