OpenCVNativeLoader (OpenCV 4.13.0 Java documentation)
Примеры с cv2.imshow требуют сборки OpenCV с GUI. В ноутбуке с headless-версией используйте вывод изображений через Matplotlib.
Package org.opencv.osgi
Class OpenCVNativeLoader
- java.lang.Object
-
- org.opencv.osgi.OpenCVNativeLoader
-
- All Implemented Interfaces:
OpenCVInterface
public class OpenCVNativeLoader extends java.lang.Object implements OpenCVInterfaceThis class is intended to provide a convenient way to load OpenCV's native library from the Java bundle. If Blueprint is enabled in the OSGi container this class will be instantiated automatically and the init() method called loading the native library.