Unity provides a cross-platform framework for scripting games in C#. However, it also supports platform-specific plugins in languages such as C, C++, Objective-C (for Mac and iOS), and Java (for Android). Developers may publish these plugins (and other assets) on the Unity Asset Store. Many published plugins represent a large amount of high-quality work, and buying one may be more economical than writing your own.
OpenCV for Unity, by ENOX SOFTWARE (https://enoxsoftware.com), is a $95 plugin (at the time of writing this book). It offers a C# API that is closely based on OpenCV's official Java (Android) bindings. However, the plugin wraps OpenCV's C++ libraries and is compatible with Android, iOS, Windows Phone, Windows, Mac, Linux, and WebGL. It is reliable in my experience, and it saves us a lot of work that we would otherwise put into custom...