19 package org.sleuthkit.autopsy.corelibs;
21 import java.util.logging.Level;
22 import java.util.logging.Logger;
23 import org.opencv.core.Core;
34 private static UnsatisfiedLinkError exception = null;
39 System.loadLibrary(Core.NATIVE_LIBRARY_NAME);
41 }
catch (UnsatisfiedLinkError ex) {
42 logger.log(Level.WARNING,
"Failed to load core OpenCV library", ex);
47 }
catch (Exception ex) {
52 logger.log(Level.WARNING,
"Failed to load core OpenCV library", ex);
86 if (exception != null) {
89 throw new UnsatisfiedLinkError(
"OpenCV native library failed to load");
static boolean openCvLoaded
static final Logger logger
static boolean isOpenCvLoaded()
static boolean openCvIsLoaded()