是否有任何Android设备或任何方法可以同时打开前后摄像头? [英] Are there any Android Devices or any method can open front and back camera at the same time?

查看:471
本文介绍了是否有任何Android设备或任何方法可以同时打开前后摄像头?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于某种原因,我需要同时打开前后摄像头,并且尝试在Nexus 4上打开第二个Camera时,我尝试了新的Camera2 API并收到ERROR_MAX_CAMERAS_IN_USE错误.在设备上.

For some reason, I need to open front and back cameras at the same time and I tried the new Camera2 API and get ERROR_MAX_CAMERAS_IN_USE error when I tried to open the second Camera on my Nexus 4. And the document shows it may depend on the devices.

那么是否有任何设备可以通过公共API达到此目的?或者像OpenCV这样的方法可以做到吗?

So are there any devices can reach this by the public API? Or can any method like OpenCV can do it?

推荐答案

三星Galaxy S4和三星Galaxy S5是两个可以同时使用前后摄像头的设备

The Samsung Galaxy S4 and Samsung Galaxy S5 are two devices which can use a front and a rear camera simultaneously

我不确定公共api,但是三星提供了三星特定的SDK,您可能需要在三星开发人员那里查看

I'm not sure about public apis, but Samsung offers Samsung specific SDKs you may want to check there on Samsung Developers

这篇关于是否有任何Android设备或任何方法可以同时打开前后摄像头?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆