mirror of
https://github.com/opencv/opencv.git
synced 2024-12-05 17:59:13 +08:00
57 lines
1.6 KiB
ReStructuredText
57 lines
1.6 KiB
ReStructuredText
*********************************
|
|
Java OpenCV OpenCVEngineInterface
|
|
*********************************
|
|
|
|
.. highlight:: java
|
|
.. module:: org.opencv.engine
|
|
:platform: Android
|
|
:synopsis: Defines OpenCV Manager interface for Android.
|
|
.. Class:: OpenCVEngineInterface
|
|
|
|
OpenCVEngineInterface class provides Java interface to OpenCV Manager Service. Is synchronous with native OpenCVEngine class
|
|
|
|
.. note:: Do not use this class directly. Use OpenCVLoader instead!
|
|
|
|
int getEngineVersion()
|
|
----------------------
|
|
|
|
.. method:: int GetEngineVersion()
|
|
|
|
Get OpenCV Manager version
|
|
|
|
:rtype: int
|
|
:return: Return OpenCV Manager version
|
|
|
|
String getLibPathByVersion()
|
|
----------------------------
|
|
|
|
.. method:: String GetLibPathByVersion(String version)
|
|
|
|
Find already installed OpenCV library
|
|
|
|
:param version: OpenCV library version
|
|
:rtype: String
|
|
:return: Return path to OpenCV native libs or empty string if OpenCV was not found
|
|
|
|
String getLibraryList()
|
|
-----------------------
|
|
|
|
.. method:: String GetLibraryList(String version)
|
|
|
|
Get list of OpenCV native libraries in loading order separated by ";" symbol
|
|
|
|
:param version: OpenCV library version
|
|
:rtype: String
|
|
:return: Return OpenCV libraries names separated by symbol ";" in loading order
|
|
|
|
boolean installVersion()
|
|
------------------------
|
|
|
|
.. method:: boolean InstallVersion(String version)
|
|
|
|
Try to install defined version of OpenCV from Google Play (Android Market).
|
|
|
|
:param version: OpenCV library version
|
|
:rtype: String
|
|
:return: Return true if installation was successful or OpenCV package has been already installed
|
|
|