Last active
December 4, 2020 17:50
-
-
Save husaynhakeem/39d662a77f9c0fba65cd85ba6ee005b4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| // Enable image capture, equivalent to cameraView.setCaptureMode(IMAGE) | |
| // CameraController's enabled use cases: Preview + ImageCapture | |
| cameraController.setEnabledUseCases(IMAGE_CAPTURE) | |
| // Enable image capture and image analysis | |
| // CameraController's enabled use cases: Preview + ImageCapture + ImageAnalysis | |
| cameraController.setEnabledUseCases(IMAGE_CAPTURE|IMAGE_ANALYSIS) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment