cv::VideoCapture::open(CV_CAP_ANDROID) on Samsung S5/Android 4.4.2 (Bug #4066)


Added by Philip Sibthorp about 10 years ago. Updated over 9 years ago.


Status:New Start date:2014-12-15
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:android
Target version:2.4.11
Affected version:2.4.9 (latest release) Operating System:Android
Difficulty: HW Platform:ARM
Pull request:

Description

I am developing an image-processing program using JNI/NDK under Android. The application works fine on my Samsung Tablet (GT-N8010/4.1.2) and Samsung S2 (GT-I9100/4.1.2) but crashes on first call to OpenCV (VideoCapture::open(CV_CAP_ANDROID)) when running on a new Samsung S5 (SM-G900F/4.4.2.)
The code was originally built with OpenCV 2.4.5 so I updated to 2.4.10 but the same thing happened.
I am linking statically and have checked that all the latest libnative_camera_rn.n.n.so files are installed correctly.
I have also attempted to run the 'native_activity' sample (using the library manager). This also works on the S2 and Tablet but crashes on the S5.
I have attached a log file which I hope will be useful.
I look forward to your response.


Samsung_S5_4_4_2_MyApplication_Log.txt - My application using static linking. (113.8 kB) Philip Sibthorp, 2014-12-17 05:17 pm

Samsung_S5_4_4_2_NativeActivity_Sample_Log.txt - OpenCV native-activity sample program using OpenCV manager. (20.3 kB) Philip Sibthorp, 2014-12-17 05:17 pm


History

Updated by Philip Sibthorp about 10 years ago

I seem not to have attached the log files - sorry.

Updated by Vadim Pisarevsky almost 10 years ago

  • Category set to android

Updated by Maksim Shabunin over 9 years ago

Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4884

Also available in: Atom PDF