By Kabson
on Wed, 02/20/2013 - 10:57
Hello,
I am working on Vuforia SDK 2.0.6 for Android.
The Camera resolution is not good on GALAXY S3 and the view is stretched.
For example, I have tested the samples VideoPlayBack/Framemarker but the images scanned looked stretched on the Galaxy S3, The marker which is normally a squarre looked like a rectangle.
I digged out and I think the problem is the camera calibration.
[Camera Device Mode Setting is MODE_OPTIMIZE_QUALITY] and I got 800x480 on Landscape.
The problem is that the screen resolution of the Galasy s3 is 1280,720 on Landscape.
I have set the focus mode to FOCUS_MODE_TRIGGERAUTO but it does not fix the issue.
Has anybody encountered this issue ?
Any help please,
Thanks
Camera Issue - Stretched
Hi, all the samples contain a function called configureVideoBackground() (see native code in FrameMarkers.cpp for instance);
Camera Issue - Stretched
Hello,
Thank you for you input. It is appreciated.
Camera Issue - Stretched
Hi, videoMode.mWidth and videoMode.mHeight represent the resolution of the Camera image (i.e. the video frames captured by the camera); this has no relationship with your device screen resolution, which can be much higher of course (e.g. 1280 x 720).
Camera Issue - Stretched
Hello,
Thanks for your input , it is appreciated.
I have tested several times the FrameMarker sample app (v2.0.6) without any modification on my Galaxy S3 and it look stretched; it is very noticeable when you turn the phone in Portrait.
Camera Issue - Stretched
Hi, I compared the numbers (width and height) that you get with the ones I get (for the same MODE_OPTIMIZE_QUALITY) and I realized they are actually slightly different;
Camera Issue - Stretched
Hello,
Thanks for your input, it is really appreciated.
Here are my device information. It is a Galaxy S3.
Model number : SGH-T999V
Android Version : 4.1.1
Baseband version : T999VVLDLL1
Build Number : JR003L.T999VVDLL1
Camera Issue - Stretched
Hi, that's perfect. I will be in touch with you as soon as I get an update.
Camera Issue - Stretched
Hi, meanwhile, as a workaround, you could retrieve the actual width and height used by your camera via this code (and use these values in the configureVideoBackground() instead of the videoMode.mWidth and videoMode.mHeight which are incorrect):
Camera Issue - Stretched
Hello,
Thank you for the input, it is appreciated.
Although this workaround does not work.
In the startCamera method:
Camera Issue - Stretched
I will udpate you as soon as we have a fix for this.
Camera Issue - Stretched
Hello,
Thanks for the input. I really hope to have a fix of this issue.
Thanks again.
Camera Issue - Stretched
Hi, the device profile for your device has been updated;
could you try again ?
Camera Issue - Stretched
Hello,
I uninstalled the app, then installed it again.
Everything's fine. It is not streched anymore.
Thanks for the feedback; it is really really appreciated.
Thanks again
Camera Issue - Stretched
That's great. You're welcome.