lcamera
lcamera copied to clipboard
When using manual focus, objects far away cannot be adequately focused on.
Far away objects can, however, be properly focused on using auto-focus mode.
Can you give a few examples? In manual focus mode, you should be able to focus at all distances the lens is capable of.
Here is a link for the a picture taken with autofocus: https://docs.google.com/file/d/0B4eHKx2hZMkyaFU2cXVUc2RxVnc/edit?usp=docslist_api
And with manual focus (slider in left most position): https://docs.google.com/file/d/0B4eHKx2hZMkyQ1doaEJlRDFUTWs/edit?usp=docslist_api
The focus is non linear it appears. It focus middle distance, far and then near
Ahh I see. However, the camera cannot focus on, for example, the letters on the red box in my sample in any slider position.
I can reproduce this issue. It seems that manual focus does not have the full range of focus compared to auto focus.
Me too...
Yeah,objects far away cannot be adequately focused here is example
http://s14.postimg.org/yf38lzq5d/IMG_20141026_055806.jpg
Can confirm.
Can anyone confirm if this is still an issue in the recent builds? I'm not able to reproduce this issue at all.
If you still have this problem, enable debug logging and post the logcat output during capture. It should print out the returned/requested focus distance, ISO and exposure duration in a line like:
Capture completed: focus = 14.285714/14.285714 iso = 924/924 exposure = 33315078/33328306
This is what I got after enabling debugging and snapping with manual focus at 0 "11-25 03:08:21.559 183 17309 D mm-jpeg-intf: process_3a_data:368] exp_time 0.049986, iso_value 1635, wb_mode 0".
I don't know about lig but I can confirm it exists. Put the camera on something. Tv or anything. Keep it and then. Slide the focus to 0 and then. Touch auto. Touch back to manual. You'll see the difference...
@Msamii That's not the output line I'm looking for, and I'm still unable to reproduce this. :( Can anyone else confirm?
Yeah, using the latest version, and can confirm the bug.
Video of the bug: https://dl.dropboxusercontent.com/u/23872801/test.mp4
Are you using the modified libs? On my phone the slider to the right focus near and to the left focus far. Yours appears to be backwards. Longshot, have you tried to clear app data / uninstall - > reinstall?
Nope, stock android L. Also, that was a fresh install. Tried clearing data again to no avail.
On Wed, Nov 26, 2014 at 6:54 PM, sudoeste [email protected] wrote:
Are you using the modified libs? On my phone the slider to the right focus near and to the left focus far. Yours appears to be backwards
— Reply to this email directly or view it on GitHub https://github.com/PkmX/lcamera/issues/27#issuecomment-64546466.
I have this issue. (Nexus 5, Android L, version 0.3). I have cleared the app, makes no difference. The issue is an inability to focus sharply on distant subjects (over a few metres away) using manual focus (the whole image is soft). Using auto focus the image is very sharp. I have used another app that claimed to have a focus lock feature and it had a similar issue maintaining distant focus (using Nexus 5). Could this be a quirk related to the Nexus 5 camera module?
I would still like to see the log output, and probably the camera characteristics dump as well. I'm not really able to reproduce this at all.
I have the exact same issue. Using a Nexus 5, cyanogenmod 12 (android L). Android version 5.0.2. Did not have this problem on stock android L 5.0.1 or 5.0. There might be a change in 5.0.2 ??
Edit: this is on all of the builds for me
Edit 2: After some tests I can conclude that this statement/comment is false. Different android versions have nothing to do with this problem (I hoped so).
In a brief conversion with another user who has this exact problem over e-mail, he stated that FV-5 also exhibits the same issue. Can you guys who have this problem check if this problem also persists on other camera apps that support manual control with the new API?
I don't know about any other apps that use the same API. You know any ?
Also PkmX, you been ok man ? Long time...
@Msamii https://play.google.com/store/apps/details?id=pl.vipek.camera2
Just tried FV-5. Can confirm that it also have this issue.
I believe "Camera FV-5" and "A Better Camera" already has some support of the new API. Both are paid apps but there are free trial versions, which should be enough to test whether manual focus works on them.
@Msamii @PkmX Just try Manual Camera (if you want, I can send an apk)
@Msamii That's interesting. If two applications developed separately have the exact same problem, it may have been a problem with the implementation of the API itself, or worse, a hardware defect.
Unfortunately I don't have time to investigate this problem or figure out what possible workarounds are right now. Please keep me updated if there is any progress.
@PkmX Indeed that may be the reason behind it. I installed "Manual camera" too and I cannot guarantee because when I tap to manual from AF it takes thr value too high. But when I tried with 0 manual focus and then back to AF I still see a bit focus. So I say it exists
I thought it had something to do with the different android versions, but I was wrong.
I tried these apps: L Camera, Manual Camera (paid) and FV-5 Camera (lite) On these android versions (from a clean install): 5.0 , 5.0.1 and 5.0.2 Cyanogenmod 12
All of these tests resulted in the same manual focus issue, AF worked fine. Also it seems the (manual) focus range can only go from the closest distance to about 40cm (16 inches).
I hope my "research" is of any help ;)
@PkmX I think it's about time you opened an issue in the tracker...
What's the status on the design overhauled update... ?
Keep up man.
On Sat, Jan 17, 2015, 5:42 PM huusman [email protected] wrote:
I thought it had something to do with the different android versions, but I was wrong.
I tried these apps: L Camera, Manual Camera (paid) and FV-5 Camera (lite) On these android versions (from a clean install): 5.0 , 5.0.1 and 5.0.2 Cyanogenmod 12
All of these tests resulted in the same manual focus issue, AF worked fine. Also it seems the (manual) focus range can only go from the closest distance to about 40cm (16 inches).
I hope my "research" is of any help ;)
— Reply to this email directly or view it on GitHub https://github.com/PkmX/lcamera/issues/27#issuecomment-70365653.
I mailed rhe guys from FV-5 camera an here's their response:
This is a known issue, but camera apps cannot do anything about it. The problem relates to the fact that the focus system of the Nexus 5 is not calibrated, as the construction of the focusing system (a relatively simple spring with an electromagnet) does not allow for calibration. That means that the chip cannot know when it is on a certain position or not. If you point your phone downwards (i.e. you try to photograph your feet yourself while standing up) your phone will reach infinity (i.e. the spring will stretch farther), while pointing to the ceiling will be the worst case, and even when setting the focus position to infinity (manually) the focus will be farther away from infinity (the sprint contracts because of the lens weight). While autofocusing, the camera uses an iterative process to achieve focus, and do not rely on absolute positioning.
So that means it's an hardware issue. Even worse.
On Sat, Jan 17, 2015, 11:59 PM huusman [email protected] wrote:
I mailed rhe guys from FV-5 camera an here's their response:
This is a known issue, but camera apps cannot do anything about it. The problem relates to the fact that the focus system of the Nexus 5 is not calibrated, as the construction of the focusing system (a relatively simple spring with an electromagnet) does not allow for calibration. That means that the chip cannot know when it is on a certain position or not. If you point your phone downwards (i.e. you try to photograph your feet yourself while standing up) your phone will reach infinity (i.e. the spring will stretch farther), while pointing to the ceiling will be the worst case, and even when setting the focus position to infinity (manually) the focus will be farther away from infinity (the sprint contracts because of the lens weight). While autofocusing, the camera uses an iterative process to achieve focus, and do not rely on absolute positioning.
— Reply to this email directly or view it on GitHub https://github.com/PkmX/lcamera/issues/27#issuecomment-70379407.
Welp, that's pretty bad. Maybe it also explains why the API would sometimes return completely incorrect lens state on my Nexus 5.
Can anyone confirm if the Nexus 6 also has this problem? I wonder if they fixed this on the N6.
It may also be the reason that even on Google camera app the phone does a good job in stabilizing the shot in moving situations (OIS) but when it does that it fails to focus. Shot may come still but its defocused...
I have the same issue, but what i also noticed is that the manual focus allows adjustments around the last autofocus position. So basicaly you can focus with tap, switch to manual and make some additional precise focusing. That kinda confirms the statement that autofocus is absolute, while manual is relative to it.
EDIT: ok nevermind, in my nexus 5 manual focus is only good for macro shots, in its most left position it barely focuses on things further than 1-2 meter away, while autofocus gives very sharp image