dorkhub

react-native-fast-opencv

A powerful port of OpenCV for React Native.

lukaszkurantdev
C++24837 forksMITupdated 1 week ago
visit the demogit clone https://github.com/lukaszkurantdev/react-native-fast-opencv.gitlukaszkurantdev/react-native-fast-opencv

React Native Fast OpenCV

A powerful port of OpenCV for React Native.

  • 🔥 Powered by JSI
  • 🏎️ Uses OpenCV C++ API
  • 🪽 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.

Installation

The method of installation is described here.

State of development

Version V1 (July 2026) supports only the new architecture (tested only on React Native versions 0.85 and later).

Upgrading from 0.4.X? The API changed significantly in V1 — see the migration guide.

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:

License

MIT © 2024-2026 Lukasz Kurant

more like this

search

search projects, people, and tags