Click or drag to resize

CvDnn Methods

The CvDnn type exposes the following members.

Methods
  NameDescription
Public methodStatic memberBlobFromImage
Creates 4-dimensional blob from image. Optionally resizes and crops @p image from center, subtract @p mean values, scales values by @p scalefactor, swap Blue and Red channels.
Public methodStatic memberBlobFromImages
Creates 4-dimensional blob from series of images. Optionally resizes and crops @p images from center, subtract @p mean values, scales values by @p scalefactor, swap Blue and Red channels.
Public methodStatic memberNMSBoxes(IEnumerableRect, IEnumerableSingle, Single, Single, Int32, Single, Int32)
Performs non maximum suppression given boxes and corresponding scores.
Public methodStatic memberNMSBoxes(IEnumerableRect2d, IEnumerableSingle, Single, Single, Int32, Single, Int32)
Performs non maximum suppression given boxes and corresponding scores.
Public methodStatic memberNMSBoxes(IEnumerableRotatedRect, IEnumerableSingle, Single, Single, Int32, Single, Int32)
Performs non maximum suppression given boxes and corresponding scores.
Public methodStatic memberReadNet
Read deep learning network represented in one of the supported formats. This function automatically detects an origin framework of trained model and calls an appropriate function such @ref readNetFromCaffe, @ref readNetFromTensorflow,
Public methodStatic memberReadNetFromCaffe
Reads a network model stored in Caffe model files.
Public methodStatic memberReadNetFromDarknet
Reads a network model stored in Darknet (https://pjreddie.com/darknet/) model files.
Public methodStatic memberReadNetFromTensorflow
Reads a network model stored in Tensorflow model file.
Public methodStatic memberReadNetFromTorch
Reads a network model stored in Torch model file.
Public methodStatic memberReadTensorFromONNX
Creates blob from .pb file.
Public methodStatic memberReadTorchBlob
Loads blob which was serialized as torch.Tensor object of Torch7 framework.
Public methodStatic memberResetMyriadDevice
Release a Myriad device is binded by OpenCV. Single Myriad device cannot be shared across multiple processes which uses Inference Engine's Myriad plugin.
Public methodStatic memberShrinkCaffeModel
Convert all weights of Caffe network to half precision floating point.
Public methodStatic memberWriteTextGraph
Create a text representation for a binary network stored in protocol buffer format.
Top
See Also