Skip to content

lukaszkurantdev/react-native-fast-opencv

Repository files navigation

React Native Fast OpenCV

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:

License

MIT © 2024 Lukasz Kurant