We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6b1483e + e3d11d9 commit e8937ccCopy full SHA for e8937cc
modules/dnn/src/blob.cpp
@@ -57,7 +57,7 @@ namespace dnn
57
return (mat.dims <= 2) ? mat.channels() : mat.size[0];
58
}
59
60
- static BlobShape getBlobShpae(std::vector<Mat> &vmat, int requestedCn = -1)
+ static BlobShape getBlobShape(std::vector<Mat> &vmat, int requestedCn = -1)
61
{
62
BlobShape shape(4);
63
int cnSum = 0, matCn;
@@ -123,7 +123,7 @@ namespace dnn
123
124
CV_Assert(dstCn == -1 || dstCn > 0);
125
std::vector<Mat> inMats = extractMatVector(image);
126
- BlobShape dstShape = getBlobShpae(inMats, dstCn);
+ BlobShape dstShape = getBlobShape(inMats, dstCn);
127
128
m.create(dstShape.dims(), dstShape.ptr(), CV_32F);
129
0 commit comments