Coder Social home page Coder Social logo

react-native-opencv's Introduction

react-native-opencv

Currently being developed :)

React Native Bindings for openCV. Yet there are no React Native bindings.

Though you can already use this library to manage your OpenCV dependencies for your native code. You will then be able to use the framework in your native code.

Integrate OpenCV into iOS

  1. Add this lib to your project: yarn add https://github.com/ma-pe/react-native-opencv#master

  2. Add the OpenCV framework to your .xcodeproject's framework searchpaths (Build Settings / Framework Search Paths): ${PROJECT_DIR}/../node_modules/react-native-opencv/ios/Frameworks

I'd like to recommend these tutorials for OpenCV / Objective-C starters: OpenCV iOS¶

Integrate OpenCV into Android

  1. Add this lib to your project: yarn add https://github.com/ma-pe/react-native-opencv#master

  2. Import OpenCV module in Android Studio (File / New / Import Module): /../node_modules/react-native-opencv/android/openCVLibrary340

  3. Configure Module as dependency: File / Project Structure / app / Tab: Dependencies / + / Module Dependency / openCVLibrary340

  4. Change app's build.gradle: implementation project(':openCVLibrary340') to compile project(':openCVLibrary340')

  5. Copy the contents of /../node_modules/react-native-opencv/android/app into ./app (those are the actual android binary files that are required).

You are good to go.

react-native-opencv's People

Contributors

wallabyway avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-native-opencv's Issues

Typical Use Cases

In order to have an idea, what the API may look like, I'd like to know what are the typical use cases you want to achieve using opencv.

For example:

  • Grayscale a remote-image and use it in react-native

I can't guarantee, that the api will cover all of these use cases shortly, but I promise to take them into consideration.

Current Development and contributions

I saw some other questions over the last few months about the status of this project but I haven't seen any recent activity. Is this project currently under development? And is there anything I can do to help you get this out?

Upgrading react-native-opencv from 3.4 core to 4.5.3 (latest)

Hello Malte,
I've downloaded your RN pluggin and I've noticed it uses an old realease of OpenCV (i.e. v3.4).

In attempt to contribute with you source code, I've started debug and understand the pieces of it and how would I replace 3.4 with 4.5.3(latest release)

Thus, I've downloaded Android-SDK, from OpenCV official sources https://opencv.org/releases/
Then I've imported JAVA module libs, and added dependencies. Everything was done through Android Studio.

Now, I got lost/stuck at the amends I have to do in your RN plugin in order to fully upgrade OpenCv core.

How can I upgrade your pluggin with OpenCV 4.5.3?

Best wishes,
I

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.