https://github.com/lukaszkurantdev/react-native-fast-opencv
A powerful port of OpenCV for React Native.
https://github.com/lukaszkurantdev/react-native-fast-opencv
cpp jsi new-architecture opencv react-native
Last synced: 6 months ago
JSON representation
A powerful port of OpenCV for React Native.
- Host: GitHub
- URL: https://github.com/lukaszkurantdev/react-native-fast-opencv
- Owner: lukaszkurantdev
- License: mit
- Created: 2024-08-03T09:18:50.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-20T07:27:37.000Z (12 months ago)
- Last Synced: 2024-10-20T12:05:00.786Z (12 months ago)
- Topics: cpp, jsi, new-architecture, opencv, react-native
- Language: TypeScript
- Homepage: https://lukaszkurantdev.github.io/react-native-fast-opencv/
- Size: 26.5 MB
- Stars: 55
- Watchers: 6
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
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](https://github.com/mrousavy/react-native-vision-camera) integration
- ๐งต Easy [WorkletsCore](https://github.com/margelo/react-native-worklets-core) 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](https://lukaszkurantdev.github.io/react-native-fast-opencv).
### 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](https://lukaszkurantdev.github.io/react-native-fast-opencv/availablefunctions).
---
### Credits
Special thanks to:
- The creators of the [Vision Camera](https://github.com/mrousavy/react-native-vision-camera), [WorkletsCore](https://github.com/margelo/react-native-worklets-core) and [FastTFLite](https://github.com/mrousavy/react-native-fast-tflite) libraries, especially Marc Rousavy - thanks for the amazing libraries.
- Creator of the [react-native-opencv3](https://github.com/adamgf/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](https://github.com/peteruhnak/opencv-ts) (Peter Uhnak) - the library was an important support for this port.### License
MIT ยฉ 2024-2025 Lukasz Kurant