OpenCV

1. Overview

OpenCV (Open Source Computer Vision Library) is an open source computer vision and machine learning software library. It is written in the C++ language but there's a Java connector too.

This plugin delivers the OpenGL library v4.8 for both 32- and 64-bit versions of MS Windows. It contains both the Java connector (JAR file) and the DLL libraries. Robot 7+ is required.

2. Installation

The preferred way of installation is through the Tools → Update & Upgrade window. If using Robot 7.0.x make sure to install to the Robot home (install) folder. Installation to the user home is supported since 7.1.

To perform a manual installation download the plugin from here and unzip its contents to the plugins/ folder under your Robot installation directory.

Uninstallation is not possible through the Update & Upgrade dialog because the system locks the files while Robot is running. To uninstall simply delete the plugin files of opencv.jar and opencv.json from their install location while Robot is off.

3. Usage

Once installed the plugin loads the OpenCV DLL on the Robot start up and makes it possible to call the OpenCV Java API from Robot's Java test scripts. The following screenshot shows a Robot Java test script executing the SimpleSample class code from the OpenCV tutorial: