android-camerax Questions
5
I am trying to integrate CameraX inside my flutter project. I am doing so via platform channels. I don't want to integrate any third party lib.
Here is a screenshot of the camera only occupying one...
Astragal asked 31/1, 2023 at 10:5
2
I'm trying to make floating cameraview for my screen recorder application.
FloatingViewService.java
public class FloatingViewService extends LifecycleService implements CameraXConfig.Provider, Life...
Seko asked 6/8, 2020 at 3:15
0
The alpha version of viewfinder has been released.
How can I use it to get a preview from the camera?
Viewfinder(
surfaceRequest = ,
implementationMode = ,
transformationInfo = ,
)
Weekley asked 28/6 at 2:31
3
Solved
I am trying to implement CameraX using this tutorial: https://codelabs.developers.google.com/codelabs/camerax-getting-started/#5 My app has one activity, navigation host and two fragments. Also I a...
Cleodel asked 28/7, 2019 at 20:1
5
Solved
I am using the FirebaseVision Object detection to detect things from the CameraX camera preview. It is detecting things find but I am trying to draw the bounding box of the items detected over the ...
Commonage asked 27/2, 2020 at 3:46
7
Solved
I have tried to zoom camera with below code using CameraX.
First I get a Preview from CameraX and tried to perform zoom using Preview like below.
var config = CameraX.getDefaultUseCaseConfig(Prev...
Strumpet asked 9/5, 2019 at 10:23
12
Solved
So, I wanted to explore new Google's Camera API - CameraX.
What I want to do, is take an image from camera feed every second and then pass it into a function that accepts bitmap for machine learnin...
Joplin asked 26/6, 2019 at 12:34
3
Solved
After updating from androidx.camera:camera-view:1.0.0-alpha32 to androidx.camera:camera-view:1.1.0-beta01 I receive the next error when using CameraX
camerax_version = "1.0.2"
// CameraX...
Spangle asked 17/2, 2022 at 12:41
4
Solved
I have a PreviewViewthat occupies the whole screen except for the toolbar.
The preview of the camera works great, but when I capture the image, the aspect ratio is complately different.
I would lik...
Disaffect asked 16/9, 2020 at 17:18
2
Solved
First of all, I ask for your understanding of the rudimentary question.
I want to get image from camera input and analysis it. but I have a problem to set image resolution. What i know for set form...
Empirin asked 1/11, 2023 at 8:54
2
Hi i develop a simple QRcode scanner with CameraX. It works but i'd like show a preiew shape around qrcode.
I create a custom view and send boundBox of barcode but.. dimensions and position are wro...
Irreversible asked 11/3, 2021 at 13:24
4
I already use bottom code. But It apear green bitmap
when I use imageproxy to bitmap only about lastest smartphone.
Such as Samsung s20
Bottom code work well on past device
Who does have some probl...
Norwich asked 27/10, 2020 at 6:9
2
Solved
I am experimenting with Googles CameraX sample app (CameraXBasic, can be found on Github) and would like to capture the image as a Bitmap to be able to make some modifications to the image before s...
Coyote asked 18/5, 2020 at 18:17
5
Solved
I've followed the steps here to get CameraX setup, and now I am trying to get a front facing camera button working.
Here is my set up code:
private lateinit var preview: Preview
private fun star...
Telespectroscope asked 16/5, 2019 at 23:8
4
Solved
How to decrease the frame rate to 1 fps in image analysis so that I don't detect barcode multiple times. In my use-case, scanning the same barcode multiple times with a 1-second interval should inc...
Festoonery asked 16/4, 2020 at 14:38
2
I'm trying to compile the sample cameraxbasic but I get this error:
Unresolved reference: WindowManager
I checked gradle files and there is that dependency.
Efrem asked 13/4, 2022 at 18:17
1
I have implemented my own subclass of ImageAnalysis.Analyzer and it works as expected. Now I want to "attach/detach" this analyzer to the ImageAnalysis class dynamically (based on some user actions...
Bloated asked 11/3, 2020 at 8:58
3
I am using CameraX
Here is my image capture :
mImageCapture = ImageCapture.Builder()
.setCaptureMode(ImageCapture.CAPTURE_MODE_MINIMIZE_LATENCY)
.setTargetAspectRatio(screenAspectRatio)
.bui...
Meistersinger asked 22/2, 2020 at 11:11
2
I want to analyse a stream of image frames and do some computation on it. However, with CameraX, the ImageAnalysis implementation class seems to get called only once - on camera bind.
My question...
Ares asked 7/6, 2020 at 18:29
4
I want to take a photo and crop out a square of 25x25 dp from the center using CameraX. I have read that cropping is possible using ImageCapture but unfortunately there are almost no similar exampl...
Haddington asked 26/7, 2019 at 15:10
2
I want to know how to detect when the user has revoked permission(denied permission twice) in the accompanist permission library, I also checked the library's GitHub repository and samples are old....
Rod asked 20/2, 2022 at 5:26
1
I tried to implement wide angle option for my in-app camera using CameraX api but ran into an issue - CameraControl.setZoomRatio allows to set zoom between ZoomState.getMinZoomRatio() and ZoomState...
Stokehole asked 1/7, 2021 at 23:51
3
Solved
I want to capture photos with fixed resolution (i.e. 1200x1600) using CameraX library.
So according to documentation I can set target resolution for ImageCaptureConfig:
val imageCaptureConfig = I...
Disario asked 29/7, 2019 at 13:30
3
Solved
I´m trying to write my first Android Camera App, but it always selects the zoom camera instead of the main camera. (I tested it on a Huawei P30 Pro)
And the code is based on the offical camerax sa...
Icecap asked 12/5, 2020 at 9:40
3
I'm using CameraX's Analyzer use case with the MLKit's BarcodeScanner. I would like to crop portion of the image received from the camera, before passing it to the scanner.
What I'm doing right now...
Posthorse asked 13/8, 2020 at 7:33
1 Next >
© 2022 - 2024 — McMap. All rights reserved.