Obsolete
Status Update
Comments
tr...@gmail.com <tr...@gmail.com> #2
On other devices with even lower specs this snippet of code works fine (on my Samsung S6 too). I have only found it not working well with UMIDIGI, but it could be an issue with other Chinese devices too.
ji...@gmail.com <ji...@gmail.com> #3
The same is true on my device, after imageAnalysisUseCase is attached, the preview becomes very slow
er...@google.com <er...@google.com> #4
Hi there,
Thank you for filing this issue. Apologies it took us a while to get through our queue. We have an internal bug tracking this, but a fix won't be coming for while. In the meantime, you can try to reduce the size of ImageAnalysis. Thanks.
er...@google.com <er...@google.com> #5
Bugjuggler:
bu...@google.com <bu...@google.com> #6
Hi. I've received your bug and will wait for b/124005932 to be fixed and then assign the bug to camerax-bugs@google.com.
an...@almato.com <an...@almato.com> #7
I'm experiencing the same issue with Samsung Galaxy J5 (2016).
CameraX-Version: 1.0.0-beta10
Android-Version: 7.1.1
CameraX-Version: 1.0.0-beta10
Android-Version: 7.1.1
bu...@google.com <bu...@google.com> #8
A non-retryable error has occurred.
bugs.BlockingBug: waiting for b/124005932 to be "fixed" but it is "DUPLICATE"
bugs.BlockingBug: waiting for
er...@google.com <er...@google.com> #9
Bugjuggler:
bu...@google.com <bu...@google.com> #10
Hi. I've received your bug and will wait for b/175849089 to be fixed and then assign the bug to ericng@google.com.
sa...@gmail.com <sa...@gmail.com> #11
I also have a similar problem. When I use main executor for analyze, preview usecase slows down. If I use a new thread, there is a delay in analyzed frames approximately 50-150ms even if analyze function is empty.
The decices I have tested with so far are:
-Xiaomi Mi 11 Lite
-Xiaomi Note 9
-Xiaomi Note 7
The decices I have tested with so far are:
-Xiaomi Mi 11 Lite
-Xiaomi Note 9
-Xiaomi Note 7
wu...@google.com <wu...@google.com> #12
Hi safaemrecelik@, thanks for reporting. Do you want try the workaround in
sc...@google.com <sc...@google.com>
bu...@google.com <bu...@google.com> #13
Bug is closed; my job here is done.
Description
CAMERA APPLICATION NAME AND VERSION: 1.1.40030
ANDROID OS BUILD NUMBER: V7.01_20170711
DEVICE NAME: UMIDIGI Z
DESCRIPTION: Camera preview slows down dramatically when ImageAnalysis is appended to the CameraX.
STEPS TO REPRODUCE:
1. Create ImageAnalysis use case with empty analyzer.
2. Append it to CameraX lifecycle.
3. Camera frame rate decreases dramatically.
OBSERVED RESULTS: camera frame rate drops dramatically when ImageAnalysis is appended.
EXPECTED RESULTS: normal camera frame rate
REPRODUCIBILITY: 1 out of 1
ADDITIONAL INFORMATION: if only imagePreviewUseCase and imageCaptureUseCase are used, camera works perfectly. Issues appear only when imageAnalysisUseCase is appended. I did try both main thread executor and Executors.newSingleThreadExecutor(). Results are same.
I use exactly the same ImageAnalysis as provided in the code fragment.
CODE FRAGMENTS:
private fun initImageAnalysisUseCase(view: TextureView, executor: Executor): ImageAnalysis {
val configuration = ImageAnalysisConfig.Builder().apply {
setImageReaderMode(ImageAnalysis.ImageReaderMode.ACQUIRE_LATEST_IMAGE)
setLensFacing(lensPosition)
setImageQueueDepth(1)
}.build()
return ImageAnalysis(configuration).apply {
setAnalyzer(executor, ImageAnalysis.Analyzer { imageProxy, rotationDegrees -> // analyzer body is empty for testing })
}
}
val imageAnalysisUseCase = initImageAnalysisUseCase(view, this)
CameraX.bindToLifecycle(lifecycleOwner, imagePreviewUseCase, imageCaptureUseCase, imageAnalysisUseCase)