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.
1 parent 5d5ec99 commit 5a3c6a3Copy full SHA for 5a3c6a3
modules/text/src/ocr_holistic.cpp
@@ -155,7 +155,7 @@ class DictNetCaffeImpl: public DictNet{
155
std::vector<Mat>::const_iterator from=std::vector<Mat>::const_iterator(allImageVector.begin()+imgNum);
156
std::vector<Mat>::const_iterator to=std::vector<Mat>::const_iterator(allImageVector.begin()+rangeEnd);
157
std::vector<Mat> minibatchInput(from,to);
158
- classifyMiniBatch(minibatchInput,outputMat.rowRange(imgNum,rangeEnd));
+ classifyMiniBatch(minibatchInput,outputMat.rowRange(int(imgNum),int(rangeEnd)));
159
}
160
161
0 commit comments