Description of the issue:
I've got a Unity3D game in which I followed the BackgroundTextureAccess sample to get the camera feed as game background,the problem is that on Samsung Galaxy S5 the game runs very slow despide it running at 40+ fps on Galaxy S4 and S3. On the android forum I saw that S5 takes pictures slower when image stabilization is on,maybe this is the problem.Is there a way to turn image stabilization off?
Exact Device Model number:
Samsung Galaxy S5 (probably Asia version since my client is from Bangladesh)
Installed OS version:
Android 4.1.2
Vuforia SDK version
Vuforia SDK 3.0.9
Back/Front Camera:
The issue occurs with Back camera.
Camera Mode:
The issue occurs when using MODE_OPTIMIZE_SPEED.
Concurrent camera access:
I am not aware of any other software running on my device that may try to access the Camera while Vuforia is running. I would tend to exclude this.
If you need other informations I will talk to my client to get a logcat from him.I would like to try to turn off galaxy s5 image stabilization off,can I do that with Vuforia or do I need to search for another solution to turn off image stabilization?
Hi Mihailout, you mentioned in your post
I'm very interested in this result. since per my measurement I've never achieved a frame rate larger than 30fps in average.
I set VideoBackgroundConfig.setSynchronous(false) and sums the total calls of onFrame() method in 1 seconds. This way I get the average frame rate in every seconds.
How did you compute your frame rate?
btw I tested the image stabilization function on Samsung S5. It has a little improvement in the speed BUT I've never experienced memory problem on S5 yet. Could it be that your texture pngs are too large?