eszdman / PhotonCamera

Android Camera that uses Enhanced image processing
GNU General Public License v3.0
757 stars 72 forks source link

How to change ratio preview camera #42

Closed vuhiepth7 closed 3 years ago

vuhiepth7 commented 3 years ago
ghost commented 3 years ago

Photon Uses Camera 2 API to capture photos, the official Google documentation could help you: https://developer.android.com/training/camerax/preview https://developer.android.com/training/camera2 You might try this:https://gist.github.com/yevhenRoman/90681822adef43350844464be95d23f1