question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Could not invoke RNOpenCvLibrary.checkForBlurryImage

See original GitHub issue

I am getting the following error when I take a picture:


Could not invoke RNOpenCvLibrary.checkForBlurryImage

null

No implementation found for long org.opencv.core.Mat.n_Mat() (tried Java_org_opencv_core_Mat_n_1Mat and Java_org_opencv_core_Mat_n_1Mat__)

I found a similar issue on stackoverflow, but couldn’t figure out how to solve this: https://stackoverflow.com/questions/35090838/no-implementation-found-for-long-org-opencv-core-mat-n-mat-error-using-opencv

Any clues? Thanks!

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:4
  • Comments:18 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
davidrd108commented, Mar 4, 2019

@SwagatRanjit84 The next steps works for me. The problem is where you locate the main library. You can try these steps: if you are using Android studio then: 1- Copy your OpenCV-android-sdk/sdk/native/libs/(armeabi|armeabi-v7a|x86|…) to <project>/app/src/main/jniLibs/(armeabi|armeabi-v7a|x86|…).

2- rebuild.

Good Luck.

2reactions
ltungcommented, Jul 30, 2018

I figured out my problem. It is because I put the library in wrong folder. i.e. the native library should be in “jinLibs” instead of, incorrectly, “jinLibs\libs”.

Read more comments on GitHub >

github_iconTop Results From Across the Web

OpenCV QRCodeDetector not working for IOS objective C++
I am trying to complete an app for a university project that will allow the user to ... #import "RNOpenCVLibrary.h" #import <React/RCTLog.h> ...
Read more >
How to Use OpenCV in React Native for Image Processing
In this tutorial, we will be building an example project which uses the device's camera to take a photo, processes it with native...
Read more >
如何在React Native中使用OpenCV进行图像处理_dfsgwe1231的博客 ...
第6步:创建一个名为 RNOpenCvLibrary.h 的文件,并按如下所示进行填充 。 ... 函数 proceedWithCheckingBlurryImage 使用本机函数 checkForBlurryImage 并在照片是否 ...
Read more >
أغنيس غراي سقف يوم المعلم تراعي ترشيد أغمق no implementation ...
ال جملة واحدة أنا أغسل ملابسي Could not invoke RNOpenCvLibrary.checkForBlurryImage · Issue #5 · brainhubeu/react-native-opencv-tutorial · GitHub ...
Read more >
How to use OpenCV for image processing in React Native
Operation with ordinary JavaScript will be very invalid. JavaScript is not enough for very heavy calculations. Please note that we are by no...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found