Log in or register to post comments

Samsung S6 focussing

December 8, 2015 - 7:45am #1

Hi there,

Multiple Samsungs S6' dont focus correctly, or not at all. When i open up the android camera app it works fine. 

My S3 & iPhone4s works fine with the same set up

What can i do to fix this?

Cheers,

Steven

 

Samsung S6 focussing

December 18, 2015 - 6:02am #16

@ninjanoka

Focussing indeed works properly on longer range / bigger markers.

Thanks for confirming this. This is also inline with my observations.

It seems to be a flaw on the short range stuff.

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....

 

 

Samsung S6 focussing

December 17, 2015 - 7:17pm #15

Bump....

 

Sorry to barge in, but I was wondering if anyone is looking into this focussing problem at close range with the Samsung S6 ?

 

Thanks,

 

Ronald

Samsung S6 focussing

December 15, 2015 - 6:42am #14

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

December 15, 2015 - 4:40am #13

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

December 14, 2015 - 4:40am #12

yes its the : ImageTargets-5-0-6 package

Samsung S6 focussing

December 14, 2015 - 4:24am #11

Could you clarify what you mean by " with the clean vuforia app. ' ?

Is that the ImageTargets-5-0-6.unitpackage that you are testing with, or another kind of Vuforia app that you created by yourself ?

 

Samsung S6 focussing

December 14, 2015 - 4:22am #10

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

 

Samsung S6 focussing

December 10, 2015 - 9:35am #9

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

December 10, 2015 - 7:03am #8

Android version 5.1.1 Model number SM-G920F

Samsung S6 focussing

December 10, 2015 - 6:45am #7

Could you share exact Model Number and OS version of your GS6?

 

Samsung S6 focussing

December 9, 2015 - 6:44am #6

I tried to enable continues autofocus.

I tried the app: same problem. When you tap it focuses correctly for a mili second then defocuses.

So the triggerAuto does the job but the normal mode and continues auto isnt focussing correctly.

Focuses fine on my galaxy s3

 

Samsung S6 focussing

December 9, 2015 - 12:06am #5

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)

 

 

Samsung S6 focussing

December 8, 2015 - 11:32pm #4

Not resolved.

Vuforia developers - we need your comments.

Samsung S6 focussing

December 8, 2015 - 12:15pm #3

Yes it looks like the same problem. Found a fix yet?

Samsung S6 focussing

December 8, 2015 - 10:55am #2
Log in or register to post comments