public class OpenCV extends Object
| Constructor and Description |
|---|
OpenCV() |
| Modifier and Type | Method and Description |
|---|---|
static void |
loadLibrary()
Attempts first to load
Core.NATIVE_LIBRARY_NAME without additional setup. |
public static void loadLibrary()
Core.NATIVE_LIBRARY_NAME without additional setup. If that succeeds, the system already has the appropriate OpenCV library available. If that fails (with UnsatisfiedLinkError), this call will write the appropriate native library from the class path to a temporary directory, then add that directory to java.library.path. Afterwards, subsequent System.loadLibrary(String) calls with Core.NATIVE_LIBRARY_NAME will succeed without modification. This has the benefit of keeping client libraries decoupled from Pattern's packages.Copyright © 2014. All rights reserved.