- Sort Posts
- 15 replies
- Last post
Samsung S6 focussing
Samsung S6 focussing
Hi AlessandroB,
It is indeed a small object. FocusModeMacro doesnt seem to do or help anything. Only the trigger auto mode is giving me succes.
Focussing indeed works properly on longer range / bigger markers.
It seems to be a flaw on the short range stuff. I can keep the phone for minutes steady and it still wont focus.
Can you understand me that I find it hard to believe its a CPU thing while the other phones all seem to focus just fine(from 2012)?
Samsung S6 focussing
I've tested again on the S6 SM-G920F, but focus seems to work correctly;
the only thing I can say is that the focus adjustment can take some time to react to a view change (e.g. in some cases I had to wait up to a couple of seconds before I could get a sharp image), which is likely due to the fact that the CPU is loaded with several other tasks in parallel (e.g. not just trying to do focus, but also running the tracking algorithms, rendering the video and so on); that could be a diffference with the native camera app.
The other thing I notice is that focus can be difficult when the target object is too close to the camera (e.g. at a distance of about 10 centimeters or less); I don't know if you are trying to focus on objects at such a small distance, but in case, you may want to use the FOCUS_MODE_MACRO which is optimized to work on objects at very close range.
Samsung S6 focussing
Hi check my attachments,
I think you must have missed a biggy. (its on several tested s6')
1 is with the clean vuforia app. The other with the android camera app.
The android camera app focusses within 0.1 s. The vuforia app just wont get it focused.(my s3 & iphone also focuses straight away)
unity is 5.2.3
Regards,
Steven Ramaker
Attachment | Size |
---|---|
![]() | 307.47 KB |
![]() | 362.67 KB |
Samsung S6 focussing
Thanks, can you also confirm the Unity version ?
EDIT:
so, I have the exact same S6 model here, running on Android 5.1.1, same as yours;
I've tested the ImageTargets sample app and the autofocus works correctly; it is not always instantaneous, it can take between 1 and 2 seconds to re-focus after moving the device around, so to get a crisp image; but it works well.
I've tested the ImageTargets-5-0-6.unitypackage, and I have built it with Unity 4.6.9 and Unity 5.2.3, if it helps.
Are you sure you have tested the Sample App "as is" and without any change ?
Also, for your own App (not the sample), if you enable autofocus, make sure to enable it AFTER Vuforia has initialized, as described here:
https://developer.vuforia.com/library/articles/Solution/Camera-Focus-Modes
Samsung S6 focussing
Samsung S6 focussing
Samsung S6 focussing
The Galaxy S6 camera focus should be working correctly, as far as we have tested it;
- are you enabling Continuous Autofocus ?
- have you tried the Image Targets sample app ? (that app also uses Continuous autofocus, and additionally it also triggers an autofocus shot when you tap on the screen)
@ninjanoka
Thanks for confirming this. This is also inline with my observations.
Yes, it seems to be a device-specific issue of the GS6 at very close distance (few centimeters away from the camera); I've got confirmation from my team that the autofocus operation in Vuforia is basically a 'pass-through' operation to the underlying OS (Android/iOS) platform functionality; that is, Vuforia relies on the focus behaviour of the underlying platform, and does not override or overrule such behaviour. So, from a strictly technical standpoint, this is not an issue or bug of Vuforia.
Concerning the observation than the native camera app on the same device performs better, I do nto know the implementation detils of it, so I can only formulate hypothesis on it, but there could be a few reasons for such behaviour; for example, the native camera app might be using a specialized / ad hoc / custom algorithm to process the image and adjust focus, or it might have access to a higher resolution camera image....