frame image transmitted is upside down in android
My client sent this picture. the picture is showing that objects are upside down.
He is using Nexus 5X and android 7.0 (Nuget) OS.
i just locked OpenCV Activity orientation to landscape.
It is my manifest
<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera.autofocus" />
...
<activity
android:screenOrientation="landscape"
android:name=".opencv.OpenCVCameraActivity"
android:theme="@style/AppTheme.Fullscreen" />
I have tested it on my testing devices and a lot of emulators with cam.
Galaxy Note 2, Galaxy 3, LG G3, AVD API 24, AVD API 23, AVD etcs..
All of those devices showed me working correctly except my client owns.
I can not be able to debug the phone. Because, My client lived far away.
Does anyone have any idea? Please, give me piece of advice to resolve it.
looking at the keyboard, the picture does not only seem to be upside down, but also flipped horizontally (so rotated by 180degrees), so as if the phone was held the wrong way. I cannot see how this could be a openCV issue, is your client also having trouble with other apps?
i found an article on google.
https://9to5google.com/2015/11/07/why...
OpenCV for Android is using older Camera API :/