Package | Description |
---|---|
org.opencv.dnn |
Modifier and Type | Class and Description |
---|---|
class |
ClassificationModel
This class represents high-level API for classification models.
|
class |
DetectionModel
This class represents high-level API for object detection networks.
|
class |
KeypointsModel
This class represents high-level API for keypoints models
KeypointsModel allows to set params for preprocessing input image.
|
class |
Model
This class is presented high-level API for neural networks.
|
class |
SegmentationModel
This class represents high-level API for segmentation models
SegmentationModel allows to set params for preprocessing input image.
|
Modifier and Type | Method and Description |
---|---|
static Net |
Net.__fromPtr__(long addr) |
static Net |
Net.readFromModelOptimizer(MatOfByte bufferModelConfig,
MatOfByte bufferWeights)
Create a network from Intel's Model Optimizer in-memory buffers with intermediate representation (IR).
|
static Net |
Net.readFromModelOptimizer(String xml,
String bin)
Create a network from Intel's Model Optimizer intermediate representation (IR).
|
static Net |
Dnn.readNet(String model)
Read deep learning network represented in one of the supported formats.
|
static Net |
Dnn.readNet(String framework,
MatOfByte bufferModel)
Read deep learning network represented in one of the supported formats.
|
static Net |
Dnn.readNet(String framework,
MatOfByte bufferModel,
MatOfByte bufferConfig)
Read deep learning network represented in one of the supported formats.
|
static Net |
Dnn.readNet(String model,
String config)
Read deep learning network represented in one of the supported formats.
|
static Net |
Dnn.readNet(String model,
String config,
String framework)
Read deep learning network represented in one of the supported formats.
|
static Net |
Dnn.readNetFromCaffe(MatOfByte bufferProto)
Reads a network model stored in Caffe model in memory.
|
static Net |
Dnn.readNetFromCaffe(MatOfByte bufferProto,
MatOfByte bufferModel)
Reads a network model stored in Caffe model in memory.
|
static Net |
Dnn.readNetFromCaffe(String prototxt)
Reads a network model stored in <a href="http://caffe.berkeleyvision.org">Caffe</a> framework's format.
|
static Net |
Dnn.readNetFromCaffe(String prototxt,
String caffeModel)
Reads a network model stored in <a href="http://caffe.berkeleyvision.org">Caffe</a> framework's format.
|
static Net |
Dnn.readNetFromDarknet(MatOfByte bufferCfg)
Reads a network model stored in <a href="https://pjreddie.com/darknet/">Darknet</a> model files.
|
static Net |
Dnn.readNetFromDarknet(MatOfByte bufferCfg,
MatOfByte bufferModel)
Reads a network model stored in <a href="https://pjreddie.com/darknet/">Darknet</a> model files.
|
static Net |
Dnn.readNetFromDarknet(String cfgFile)
Reads a network model stored in <a href="https://pjreddie.com/darknet/">Darknet</a> model files.
|
static Net |
Dnn.readNetFromDarknet(String cfgFile,
String darknetModel)
Reads a network model stored in <a href="https://pjreddie.com/darknet/">Darknet</a> model files.
|
static Net |
Dnn.readNetFromModelOptimizer(MatOfByte bufferModelConfig,
MatOfByte bufferWeights)
Load a network from Intel's Model Optimizer intermediate representation.
|
static Net |
Dnn.readNetFromModelOptimizer(String xml,
String bin)
Load a network from Intel's Model Optimizer intermediate representation.
|
static Net |
Dnn.readNetFromONNX(MatOfByte buffer)
Reads a network model from <a href="https://onnx.ai/">ONNX</a>
in-memory buffer.
|
static Net |
Dnn.readNetFromONNX(String onnxFile)
Reads a network model <a href="https://onnx.ai/">ONNX</a>.
|
static Net |
Dnn.readNetFromTensorflow(MatOfByte bufferModel)
Reads a network model stored in <a href="https://www.tensorflow.org/">TensorFlow</a> framework's format.
|
static Net |
Dnn.readNetFromTensorflow(MatOfByte bufferModel,
MatOfByte bufferConfig)
Reads a network model stored in <a href="https://www.tensorflow.org/">TensorFlow</a> framework's format.
|
static Net |
Dnn.readNetFromTensorflow(String model)
Reads a network model stored in <a href="https://www.tensorflow.org/">TensorFlow</a> framework's format.
|
static Net |
Dnn.readNetFromTensorflow(String model,
String config)
Reads a network model stored in <a href="https://www.tensorflow.org/">TensorFlow</a> framework's format.
|
static Net |
Dnn.readNetFromTorch(String model)
Reads a network model stored in <a href="http://torch.ch">Torch7</a> framework's format.
|
static Net |
Dnn.readNetFromTorch(String model,
boolean isBinary)
Reads a network model stored in <a href="http://torch.ch">Torch7</a> framework's format.
|
static Net |
Dnn.readNetFromTorch(String model,
boolean isBinary,
boolean evaluate)
Reads a network model stored in <a href="http://torch.ch">Torch7</a> framework's format.
|
Constructor and Description |
---|
ClassificationModel(Net network)
Create model from deep learning network.
|
DetectionModel(Net network)
Create model from deep learning network.
|
KeypointsModel(Net network)
Create model from deep learning network.
|
Model(Net network)
Create model from deep learning network.
|
SegmentationModel(Net network)
Create model from deep learning network.
|
Copyright © 2020. All rights reserved.