Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/179.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/video/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/neo4j/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 华为P9双摄像头API(CAM API 2)-Caputre B/W视频_Android_Video_Camera_Android Camera_Huawei Mobile Services - Fatal编程技术网

Android 华为P9双摄像头API(CAM API 2)-Caputre B/W视频

Android 华为P9双摄像头API(CAM API 2)-Caputre B/W视频,android,video,camera,android-camera,huawei-mobile-services,Android,Video,Camera,Android Camera,Huawei Mobile Services,现在我们面临的问题是,华为P9及其黑白传感器能够捕捉照片,但不能捕捉视频。我想写一个快速而肮脏的解决方案来让第二个摄像头工作,但发现手机只有“2”个摄像头(前/后?!) 是否有人知道如何访问B/W传感器?我知道,CAM API 2还没有双摄像头支持。华为开发者页面建议使用API/SDK,但按钮变灰了 非常感谢任何帮助 我找到了一个已经包含在应用程序“FreedCam”中的解决方案。 华为有一些隐藏的参数: Regarding P9, it'sinteresting to see, that it

现在我们面临的问题是,华为P9及其黑白传感器能够捕捉照片,但不能捕捉视频。我想写一个快速而肮脏的解决方案来让第二个摄像头工作,但发现手机只有“2”个摄像头(前/后?!)

是否有人知道如何访问B/W传感器?我知道,CAM API 2还没有双摄像头支持。华为开发者页面建议使用API/SDK,但按钮变灰了


非常感谢任何帮助

我找到了一个已经包含在应用程序“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
因此,您不能将其选择为第三个摄像头

请看这里: