- An API key must be set to compile the sample in your
local.propreties
file :
apiKey="YOUR API KEY HERE"
- Kotlin
- Single App Activity
- Dependancies
- CameraX
- OkHttp
1) Show Camera
- Request Permissions
- Camera Initialization
2) API Request
- Get an Image Capture threw CameraX
- Process the bitmap with the api : full process here
- Get a Bitmap with the result
3) Show Result / Share
- The result is shown in an ImageView
- Can be shared via a simple Intent