Created
November 30, 2020 19:53
-
-
Save yektasarioglu/8c4e96ea00687f9fe818ac9ffb9a5de3 to your computer and use it in GitHub Desktop.
Initializing LensEngine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private fun initializeLensEngine() { | |
lensEngine = LensEngine.Creator(activity, analyzer) | |
.setLensType(LensEngine.FRONT_LENS) | |
.applyDisplayDimension(WIDTH, HEIGHT) | |
.applyFps(FPS) | |
.enableAutomaticFocus(true) | |
.create() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment