Skip to content
No description, website, or topics provided.
Java Objective-C++ Objective-C JavaScript Python Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
NativeModules
__tests__
android
assets/images
ios
.buckconfig
.flowconfig
.gitattributes
.gitignore
.watchmanconfig
App.js
README.md
app.json
babel.config.js
index.js
metro.config.js
openCV.sh
package-lock.json
package.json

README.md

NativeImageStuff

Basicly just follow the steps of this tutorial https://brainhub.eu/blog/opencv-react-native-image-processing/

Setup steps

  1. Clone the repo
  2. Run npm i
  3. Run openCV shell script by sh openCV.sh. This will download and unzip archives with OpenCV library for each platform
  4. Run react-native link

For iOS platform

  • make sure the opencv2.framework is linked to the project
  • make sure you have proper values of Precompile Prefix Header and Prefix Header set up (see Step 8 of the tutorial)

For Andoid platform

  • check the build.gradle of openCVLibrary match the main values from build.gradle of your project (see Step 5 of the tutorial)
  • Add module dependency (like in Step 6 of the tutorial)

Helpful links:

You can’t perform that action at this time.