Status Update
Comments
er...@google.com <er...@google.com> #2
Hi Venkatesh,
Please help us fill in the following items:
Please note: This component is for the CameraX API used in Jetpack. Please DO NOT file Pixel Camera issues here.
Please describe your issue and include details such as the version of CameraX you are using and any relevant logs related to your issue.
// If at all possible, capture an Android logcat (
CAMERAX VERSION (ex - 1.0.0-alpha07)
CAMERA APPLICATION NAME AND VERSION: (Settings > Apps > (app name) > version)
ANDROID OS BUILD NUMBER: (Settings > About > Build number)
DEVICE NAME: (Nexus 5X, Samsung S6, etc)
DESCRIPTION:
LIST ANY EXPERIMENTAL FEATURES: (As an example - @ExperimentalCamera2Interop)
STEPS TO REPRODUCE: 1. 2. 3.
OBSERVED RESULTS:
EXPECTED RESULTS:
REPRODUCIBILITY: (5 of 5, 1 of 100, etc)
ADDITIONAL INFORMATION:
CODE FRAGMENTS (this will help us troubleshoot your issues):
l....@gmail.com <l....@gmail.com> #3
Users reported on 1.0.0-beta05, 1.0.0-rc02 & 1.0.0-rc04
CAMERA APPLICATION NAME AND VERSION: (Settings > Apps > (app name) > version)
Microsoft Lens
ANDROID OS BUILD NUMBER: (Settings > About > Build number)
Below are some devices fetched from playstore user comments.
a. Samsung Galaxy M21 (OS 10)
b. Samsung Galaxy J7 DUO (OS 9)
c. Xiaomi Mi 9T Pro
d. Samsung Galaxy S9+
e. Samsung Galaxy M20
f. Oppo realme C1
g. Sony Xperia L1, etc
DEVICE NAME: (Nexus 5X, Samsung S6, etc)
refer above
DESCRIPTION:
The captured image is blurred.
LIST ANY EXPERIMENTAL FEATURES: (As an example - @ExperimentalCamera2Interop)
STEPS TO REPRODUCE: 1. 2. 3.
OBSERVED RESULTS:
EXPECTED RESULTS:
REPRODUCIBILITY: (5 of 5, 1 of 100, etc)
ADDITIONAL INFORMATION:
CODE FRAGMENTS (this will help us troubleshoot your issues):
Image Capture usecase if configured as below:
imageCaptureUseCase = ImageCapture.Builder()
.setCaptureMode(ImageCapture.CAPTURE_MODE_MAXIMIZE_QUALITY)
.setTargetRotation(ROTATION_0)
.setTargetResolution(
Size(
currentCameraResolution.height,
currentCameraResolution.width
)
)
.build()
where "currentCameraResolution" is a resolution ~8MP
sc...@google.com <sc...@google.com>
ap...@google.com <ap...@google.com> #4
Branch: androidx-main
commit edc83750c3c922f950f79d7f91b7a39f00518215
Author: repo sync -c -j8 <scottnien@google.com>
Date: Tue Aug 31 23:17:37 2021
Fixed the issue that captured photos are blurred in MAXIMIZE_QUALITY mode
Root cause: it is because we don't wait for AF focus lock before
issuing still capture rquest.
Solution:
When in CAPTURE_MODE_MAXIMIZE_QUALITY, imageCapture will now wait
for AF focus to lock or complete before issuing still capture
request.
Relnote: "Fix the issue where the captured photos are blurred
in MAXIMIZE_QUALITY mode."
Bug: 193823892
Test: Manual test
Change-Id: I173a99c55ee46bc78033ef0582b24acf4e432403
M camera/camera-camera2-pipe-integration/src/main/java/androidx/camera/camera2/pipe/integration/adapter/CaptureResultAdapter.kt
M camera/camera-camera2/src/androidTest/java/androidx/camera/camera2/internal/Camera2CameraCaptureResultTest.java
M camera/camera-camera2/src/main/java/androidx/camera/camera2/internal/Camera2CameraCaptureResult.java
M camera/camera-core/src/main/java/androidx/camera/core/ImageCapture.java
M camera/camera-core/src/main/java/androidx/camera/core/impl/CameraCaptureMetaData.java
sc...@google.com <sc...@google.com> #5
The blurry image issue is improved by this CL. It will be included in the upcoming release.
l....@gmail.com <l....@gmail.com> #6
Imagecapture will wait for AF merge only in "CAPTURE_MODE_MAXIMIZE_QUALITY" or for both "CAPTURE_MODE_MAXIMIZE_QUALITY" & "CAPTURE_MODE_MINIMIZE_LATENCY"?
Regards,
Venkatesh.
l....@gmail.com <l....@gmail.com> #7
"It will be included in the upcoming release."
Does this mean, fix will be available in "1.0.2" stable release?
sc...@google.com <sc...@google.com> #8
It will wait for AF convergence only in CAPTURE_MODE_MAXIMIZE_QUALITY.
And we will schedule 1.0.2 stable release to include this fix.
l....@gmail.com <l....@gmail.com> #9
ju...@google.com <ju...@google.com> #10
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.camera:camera-core:1.2.0
Description
Many users had reported that captured image is blur. Do we have any setting/workaround to avoid captured image being blurred? By the way, users also mentioned that using native camera image was NOT coming Blur.