• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package org.opencv.engine;
2 
3 /**
4 * Class provides a Java interface for OpenCV Engine Service. It's synchronous with native OpenCVEngine class.
5 */
6 interface OpenCVEngineInterface
7 {
8     /**
9     * @return Returns service version.
10     */
getEngineVersion()11     int getEngineVersion();
12 
13     /**
14     * Finds an installed OpenCV library.
15     * @param OpenCV version.
16     * @return Returns path to OpenCV native libs or an empty string if OpenCV can not be found.
17     */
getLibPathByVersion(String version)18     String getLibPathByVersion(String version);
19 
20     /**
21     * Tries to install defined version of OpenCV from Google Play Market.
22     * @param OpenCV version.
23     * @return Returns true if installation was successful or OpenCV package has been already installed.
24     */
installVersion(String version)25     boolean installVersion(String version);
26 
27     /**
28     * Returns list of libraries in loading order, separated by semicolon.
29     * @param OpenCV version.
30     * @return Returns names of OpenCV libraries, separated by semicolon.
31     */
getLibraryList(String version)32     String getLibraryList(String version);
33 }
34