Start a new topic

SDK 8.1 & 8.2 : Weird image input on the OnePlus One

Hi Wikitude,


Since the SDK 8.1 we feel that some things have changed with the camera input on Android.


In particular we have this problem on a OnePlus One (running Android 6.0.1), the image is deformed.


First this is the sample app with SDK 8.0 :


image


And with the SDK 8.2 (it is the same with SDK 8.1) :


image


Also it is interesting to see that the deformation vary depending on the camera orientation, as shown on this video capture :


https://youtu.be/ALrinw2f0g4


This deformation prevents any targets to be recognized on this phone.


Please feel free to ask any questions about this problem.


Hope you can fix it soon,


Amaury.


Hi Wikitude,


Did you have time to check this bug ? Did you change anything about video input on Android between SDK 8.0 and SDK 8.1 ? 


We also notice some differences on image quality with other Android devices.


Have a good week, 


Amaury.

Hi Amaury,

just to clarify some things, you talk about implementing a custom camera using our CameraFrameInputPluginModule and not about letting the SDK render into a offscreen texture, right? The images you captured are coming from our unmodified example app or your own implementation of a CameraFrameInputPluginModule?


Looks a little bit like the field of view is not set correctly. Also because it changes with orientation changes.


Best regards,
Andreas Schacherbauer

Hi and thanks for your answer,


I am using an untouched wikitude-cordova-plugin-samples. I am not trying to do anything particular here, just launching the plugin sample app with one of your very basic default example.


I thought was not possible to play with CameraFrameInputPluginModule with Cordova ? Is it ?


Have a good day,


Amaury.

Hi Amaury,

Now I understood, sorry. I was always under the impression that you run a CameraFrameInputPluginModule. I also didn't recognize that you use Cordova.

Theoretically you can use Wikitude SDK Plugins in Cordova, it's just not that simple to demonstrate/distribute in a generic Cordova environment, that's why we don't demonstrate it.


To continue on the bug hunt here: As we don't have this very specific device and can't reproduce it with any of our Android devices, could you please run our Native API example app (SDK version 8.2) on the very same device? The camera implementations are different for those two products and we would like to know how the new one in the Native API SDK behaves. In case it's working fine in the Native API SDK example app, please wait for our upcoming release that unifies our camera implementations for all products. If that's not the case, we would send you a special build with some logging enabled so that we can remote debug the issue.


Best regards,
Andreas Schacherbauer

Login or Signup to post a comment