For any questions relating to the Kotlin Camera2 API tutorial series.
May I know, From where I should Watch these videos, I already purchase, & got receipt at my email address.
What is the approach needed, if one wanted a live preview as well as access to some (potentially sub-optimal) image data? Do I always need the live preview surface as a target, configuring 2 surfaces for the captureSession and work with an ImageReader in the captureSession callback?
I want to detect barcodes in a streaming preview image as efficiently as possible so I am looking into how to stress the camera API and bus as little as possible, ideally working with a down-sampled resolution, black-white data, only analyse in-focus images and other tricks in the book.
Hello, I wanted to try learning with your code, but I am getting errors as soon as I open up the downloaded git files in studio. It says:
The project is using an incompatible version of the Android Gradle plugin. To continue opening the project, the IDE will update the plugin to version 3.5.3. You can learn more about this version of the plugin from the release notes.
and when I do update it,
ERROR: The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.10 and higher.
The following dependencies do not satisfy the required version:
root project ‘kotlin-camera2-generic’ -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.20
can you help me out on why this might be happening, and how to fix it? I simply downloaded the repo as zip, unzip it, then opened in Android studio, and did not write anything on it yet
You must be logged in to reply to this topic.