|
Mat | blobFromImage (InputArray image, double scalefactor=1.0, const Size &size=Size(), const Scalar &mean=Scalar(), bool swapRB=true, bool crop=true) |
| Creates 4-dimensional blob from image. Optionally resizes and crops image from center, subtract mean values, scales values by scalefactor , swap Blue and Red channels. More...
|
|
Mat | blobFromImages (const std::vector< Mat > &images, double scalefactor=1.0, Size size=Size(), const Scalar &mean=Scalar(), bool swapRB=true, bool crop=true) |
| Creates 4-dimensional blob from series of images. Optionally resizes and crops images from center, subtract mean values, scales values by scalefactor , swap Blue and Red channels. More...
|
|
int | clamp (int ax, int dims) |
|
int | clamp (int ax, const MatShape &shape) |
|
Range | clamp (const Range &r, int axisSize) |
|
static MatShape | concat (const MatShape &a, const MatShape &b) |
|
static Mat | getPlane (const Mat &m, int n, int cn) |
|
void | NMSBoxes (const std::vector< Rect > &bboxes, const std::vector< float > &scores, const float score_threshold, const float nms_threshold, std::vector< int > &indices, const float eta=1.f, const int top_k=0) |
| Performs non maximum suppression given boxes and corresponding scores. More...
|
|
CV__DNN_EXPERIMENTAL_NS_BEGIN std::ostream & | operator<< (std::ostream &s, cv::Range &r) |
|
void | print (const MatShape &shape, const String &name="") |
|
Net | readNetFromCaffe (const String &prototxt, const String &caffeModel=String()) |
| Reads a network model stored in Caffe framework's format. More...
|
|
Net | readNetFromCaffe (const char *bufferProto, size_t lenProto, const char *bufferModel=NULL, size_t lenModel=0) |
| Reads a network model stored in Caffe model in memory. More...
|
|
Net | readNetFromDarknet (const String &cfgFile, const String &darknetModel=String()) |
| Reads a network model stored in Darknet model files. More...
|
|
Net | readNetFromTensorflow (const String &model, const String &config=String()) |
| Reads a network model stored in TensorFlow framework's format. More...
|
|
Net | readNetFromTensorflow (const char *bufferModel, size_t lenModel, const char *bufferConfig=NULL, size_t lenConfig=0) |
| Reads a network model stored in TensorFlow framework's format. More...
|
|
Net | readNetFromTorch (const String &model, bool isBinary=true) |
| Reads a network model stored in Torch7 framework's format. More...
|
|
Mat | readTorchBlob (const String &filename, bool isBinary=true) |
| Loads blob which was serialized as torch.Tensor object of Torch7 framework. More...
|
|
static MatShape | shape (const int *dims, const int n=4) |
|
static MatShape | shape (const Mat &mat) |
|
static MatShape | shape (const UMat &mat) |
|
static MatShape | shape (int a0, int a1=-1, int a2=-1, int a3=-1) |
|
void | shrinkCaffeModel (const String &src, const String &dst, const std::vector< String > &layersTypes=std::vector< String >()) |
| Convert all weights of Caffe network to half precision floating point. More...
|
|
static Mat | slice (const Mat &m, const _Range &r0) |
|
static Mat | slice (const Mat &m, const _Range &r0, const _Range &r1) |
|
static Mat | slice (const Mat &m, const _Range &r0, const _Range &r1, const _Range &r2) |
|
static Mat | slice (const Mat &m, const _Range &r0, const _Range &r1, const _Range &r2, const _Range &r3) |
|
static int | total (const MatShape &shape, int start=-1, int end=-1) |
|