Layer (OpenCV 4.13.0 Java documentation)
Примеры с cv2.imshow требуют сборки OpenCV с GUI. В ноутбуке с headless-версией используйте вывод изображений через Matplotlib.
Package org.opencv.dnn
Class Layer
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.dnn.Layer
-
public class Layer extends AlgorithmThis interface class allows to build new Layers - are building blocks of networks. Each class, derived from Layer, must implement forward() method to compute outputs. Also before using the new layer into networks you must register your layer by using one of REF: dnnLayerFactory "LayerFactory" macros.
-
-
Field Summary
-