Bug in boxFilter
Closed this issue · 1 comments
JesseYang commented
in cv/imgproc/init.lua
Now line 586-588:
C.boxFilter( cv.wrap_tensor(src), cv.wrap_tensor(dst), ddepth, ksize[1], ksize[2], anchor, normalize, borderType))
When I use cv.boxFilter, it always complains: ...cv/imgproc/init.lua:587: 'struct SizeWrapper' cannot be indexed with 'number'
I change line 586-588 as below and it works::
C.boxFilter( cv.wrap_tensor(src), cv.wrap_tensor(dst), ddepth, ksize, anchor, normalize, borderType))
shrubb commented
@JesseYang
Thank you!