Skip to content

Commit e8937cc

Browse files
committed
Merge pull request #479 from sturkmen72:patch-1
2 parents 6b1483e + e3d11d9 commit e8937cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/dnn/src/blob.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ namespace dnn
5757
return (mat.dims <= 2) ? mat.channels() : mat.size[0];
5858
}
5959

60-
static BlobShape getBlobShpae(std::vector<Mat> &vmat, int requestedCn = -1)
60+
static BlobShape getBlobShape(std::vector<Mat> &vmat, int requestedCn = -1)
6161
{
6262
BlobShape shape(4);
6363
int cnSum = 0, matCn;
@@ -123,7 +123,7 @@ namespace dnn
123123
{
124124
CV_Assert(dstCn == -1 || dstCn > 0);
125125
std::vector<Mat> inMats = extractMatVector(image);
126-
BlobShape dstShape = getBlobShpae(inMats, dstCn);
126+
BlobShape dstShape = getBlobShape(inMats, dstCn);
127127

128128
m.create(dstShape.dims(), dstShape.ptr(), CV_32F);
129129

0 commit comments

Comments
 (0)