Introduction

OpenCV Manager is an Android service targeted to manage OpenCV library binaries on end users devices. It allows sharing the OpenCV dynamic libraries between applications on the same device. The Manager provides the following benefits:

  1. Less memory usage. All apps use the same binaries from service and do not keep native libs inside themselves;
  2. Hardware specific optimizations for all supported platforms;
  3. Trusted OpenCV library source. All packages with OpenCV are published on Google Play market;
  4. Regular updates and bug fixes;

Usage model for end user

../../../_images/AndroidAppUsageModel.png

First OpenCV app:

  1. Any OpenCV-dependent app is installed from Google Play marketplace or manually;
  2. At the first launch, it suggests installation of OpenCV Manager;
  3. Then OpenCV Manager is downloaded and installed, using the Google Play application.
  4. When Manager has been started, the application suggests installation of OpenCV library for the target device architecture if it is necessary;
  5. After the installation is finished, the app may be launched.

Subsequent launches of OpenCV apps:

  1. Any OpenCV-dependent app is installed from Google Play market or manually;
  2. At the first launch, the app starts as usually;
  3. If the selected OpenCV version is not installed, OpenCV Manager suggests installing OpenCV library for the target device through Google Play marketplace;
  4. After the installation is finished, the app may be launched.

Architecture of OpenCV Manager

../../../_images/Structure.png