Why Camera2 Supported Preview Size Width Always Bigger Than Height?
I'm working on a project which using camera2 API. When I get the list of supported output preview size using: StreamConfigurationMap map = characteristics.get(CameraCharacteristics
Solution 1:
The camera on phones is traditionally built for landscape orientation of the device. We use rotation of 90° to display camera frames correctly when the device is held in portrait orientation.
Here is the detailed explanation: https://developer.android.com/training/camera/cameradirect.html#TaskOrientation
Post a Comment for "Why Camera2 Supported Preview Size Width Always Bigger Than Height?"