Xi Zhang
Xi Zhang
We haven't gotten around to create an official code sample yet. For the time being, you can checkout the following change. [SyncedOverlayEffect](https://android-review.googlesource.com/c/platform/frameworks/support/+/2797834/9/camera/camera-effects/src/main/java/androidx/camera/effects/SyncedOverlayEffect.java) contains the code for syncing the ML Kit...
If you are using CameraX, you can check out the [OverlayEffect](https://developer.android.com/reference/androidx/camera/effects/OverlayEffect) API. You want to create a OverlayEffect with queue depth of 0, and targeting both Preview and VideoCapture. Then,...
The camera2 API is only recommended for lower level controls. If you wish to go this route, you can create an OpenGL renderer between the camera and the TextureView/MediaCodec. Then...
You can take a look at this WIP change for code samples: https://android-review.git.corp.google.com/c/platform/frameworks/support/+/2797834/9/camera/camera-effects/src/main/java/androidx/camera/effects/BitmapOverlayEffect.java Otherwise you can post your detailed question on [email protected] and our engineers will be able to help...
Sorry about the wrong link. I was having trouble with my work laptop for the past a few days. This is the right one: https://android-review.googlesource.com/c/platform/frameworks/support/+/2797834 You set the effect using...
Your configuration looks good. It should apply to both preview and video capture. Things to try: 1. Upgrade CameraX to the latest version. 2. set a viewport . I wonder...
Hi Alex, The problem is that when using Kotlin delegation (by), interface methods with default implementations are not automatically forwarded to the delegate object. In ImageAnalysis.Analyzer, `updateTransform` and `getTargetCoordinateSystem` have...