react-native-fast-opencv
v0.3.4
Published
OpenCV port to React Native
Downloads
1,315
Maintainers
Readme
A powerful port of OpenCV for React Native.
The library is in the early stages of development and not all functions or objects available in OpenCV are supported. Add an issue if you have any problems or questions.
- 🔥 Powered by JSI
- 🏎️ Uses OpenCV C++ API
- 🏛️ New architecture ready
- 🪽 Easy usage, without manual configuration
- 📸 Easy VisionCamera integration
- 🧵 Easy WorkletsCore integration
- ⛓️💥 It can also be used on its own without integration
Motivation
OpenCV is a popular library for image processing, but quite tricky when it comes to its integration and use in React Native applications. My main goal is to enable simple operations directly from JavaScript code.
Currently, there is a port of the OpenCV library but due to the change in standards when developing React Native applications, I decided to create a new library using an API in C++ that will allow for simpler integration, better performance and readability when used in code.
Documentation
Docs are available here.
State of development
Due to the size of the OpenCV library, this port currently only supports selected objects and functions. However, development is simple enough to only require the addition of specific code in C++ using the functionality.
List of available functions are available here.
Credits
Special thanks to:
- The creators of the Vision Camera, WorkletsCore and FastTFLite libraries, especially Marc Rousavy - thanks for the amazing libraries.
- Creator of the react-native-opencv3 library (Adam G. Freeman) - your library was an important starting point for creating my port.
- Creator of the TS definition for OpenCV (Peter Uhnak) - the library was an important support for this port.
License
MIT © 2024 Lukasz Kurant