Skip to content

Commit 7b7ad1e

Browse files
committed
fixed another compile error
1 parent 44adddc commit 7b7ad1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/gapi/samples/text_detection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ GAPI_OCV_KERNEL(OCVPostProcess, PostProcess) {
288288
}
289289

290290
static std::vector<std::size_t> dimsToShape(const cv::MatSize &sz) {
291-
const int n_dims = sz.dims();
291+
const int n_dims = sz.dims;
292292
std::vector<std::size_t> result;
293293
result.reserve(n_dims);
294294

0 commit comments

Comments
 (0)