Are there any Android Devices or any method can op

2019-07-19 12:17发布

问题:

This question already has an answer here:

  • Using both front and back cameras simultaneously android 3 answers

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.

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

回答1:

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

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



回答2:

I know this is way late but here are two post I made on this to help anyone who runs into this:

https://stackoverflow.com/a/28811277/1138878

https://stackoverflow.com/a/43445052/1138878

Short answer: it's possible but depends on hardware/chipset (Snapdragon 801 and higher level hardware).