pinsondg/DefectDetect

java.lang.UnsatisfiedLinkError: No implementation found for long org.opencv.dnn.Dnn.readNetFromDarknet_0

Opened this issue · 0 comments

E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.dpgra.defectdetect, PID: 29530
java.lang.UnsatisfiedLinkError: No implementation found for long org.opencv.dnn.Dnn.readNetFromDarknet_0(java.lang.String, java.lang.String) (tried Java_org_opencv_dnn_Dnn_readNetFromDarknet_10 and Java_org_opencv_dnn_Dnn_readNetFromDarknet_10__Ljava_lang_String_2Ljava_lang_String_2)
at org.opencv.dnn.Dnn.readNetFromDarknet_0(Native Method)
at org.opencv.dnn.Dnn.readNetFromDarknet(Dnn.java:157)
at model.Darknet.(Darknet.java:37)
at com.example.dpgra.defectdetect.CameraFragment.onCameraViewStarted(CameraFragment.java:170)
at org.opencv.android.CameraBridgeViewBase.processEnterState(CameraBridgeViewBase.java:385)
at org.opencv.android.CameraBridgeViewBase.checkCurrentState(CameraBridgeViewBase.java:375)
at org.opencv.android.CameraBridgeViewBase.surfaceChanged(CameraBridgeViewBase.java:261)
at android.view.SurfaceView.updateSurface(SurfaceView.java:705)
at android.view.SurfaceView$2.onPreDraw(SurfaceView.java:144)
at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:977)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2552)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1532)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7419)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1092)
at android.view.Choreographer.doCallbacks(Choreographer.java:888)
at android.view.Choreographer.doFrame(Choreographer.java:819)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1078)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:201)
at android.app.ActivityThread.main(ActivityThread.java:6810)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)