Commit 36598e6703d1b382410b308c59f0c9e36a8f6f34
1 parent
4a45642f
Change template list member access syntax
Showing
1 changed file
with
1 additions
and
1 deletions
openbr/plugins/slidingwindow.cpp
| ... | ... | @@ -68,7 +68,7 @@ private: |
| 68 | 68 | TemplateList dataOut = data; |
| 69 | 69 | if (ignoreBorder > 0) { |
| 70 | 70 | for (int i = 0; i < dataOut.size(); i++) { |
| 71 | - Template t = dataOut.at(i); | |
| 71 | + Template t = dataOut[i]; | |
| 72 | 72 | Mat m = t.m(); |
| 73 | 73 | dataOut.replace(i,Template(t.file, Mat(m,Rect(ignoreBorder,ignoreBorder,m.cols - ignoreBorder * 2, m.rows - ignoreBorder * 2)))); |
| 74 | 74 | } | ... | ... |