OpenCV Manager Unable to discover hardware in Galaxy S5

I do not know why OpenCV examples do not work on the Galaxy S5 device. First I installed OpenCV Manager, and then I tried to install the demo project, but every time I got this error.

OpenCV Library package was not found! Try to install it? (Button : Yes/No)

When I click "Yes", he opens the Play Store, but he says

Item not found. (Button: Retry)

And when you open the OpenCV Manager application, the application looks like the screen below. It does not detect hardware on my Galaxy S5 device. So, how to check, why not detect it? I am also trying to install all the other APK libraries from the OpenCV-Android-SDK / APK / Path, but still have not detected the hardware.

Samsung Galaxy S5 (SM-G900H)

While Same thing I done on Nexus 7 Tablet and it shows Hardware detected with Its Name.

LG Nexus 7

Please help me resolve this error in Samsung Galaxy S5

+4
2

, , . OpenCV OpenCV Managar Reference Library Project. .
, .

1) / , OpenCV Manager, Eclipse
2) OpenCV_Lib .
3) OpenCV_Lib .
4) Android.mk(project_path/jni/android.mk) OFF ON

OPENCV_CAMERA_MODULES:=on
OPENCV_INSTALL_MODULES:=on
OPENCV_LIB_TYPE:=SHARED
include full_path/OpenCV-2.4.9-android-sdk/sdk/native/jni/OpenCV.mk  

5) MainActivity StartupActivity .

static {
if (!OpenCVLoader.initDebug()) {
    // Handle initialization error
}
} 

6) onResume .

@Override
protected void onResume() {
try {
    Log.i(TAG, "onResume");
    super.onResume();
    mOpenCVCallBack.onManagerConnected(LoaderCallbackInterface.SUCCESS);
} catch (final Exception e) {
    Uts.writeException(getApplicationContext(), e);
}
}

.
, OpenCV Manager.

+3

Samsung Galaxy S5. " ". , .

OpenCV-2.4.10-android-sdk β†’ apk β†’ OpenCV_2.4.10_Manager_2.19_armv7a-neon-android8.apk

-1

Source: https://habr.com/ru/post/1542431/


All Articles