Closed einvik closed 8 months ago
I'm running into the same issue with cv.merge()
. This code works in version 4.8.0-release.4
, but not in version 4.8.0-release.9
:
const channels = new cv.MatVector();
cv.split(mat, channels);
cv.merge(channels, mat);
In 4.8.0-release.9
, it gives the error:
error TS2345: Argument of type 'MatVector' is not assignable to parameter of type 'Mat'.
Type 'Vector<Mat>' is missing the following properties from type 'Mat': allocator, cols, data, data8S, and 67 more.
Fixed in v4.8.0-release.10
Hi, following code gives me an argument type error:
This is the error i am receving:
I've been reading the documentation for opencv js and we are informed that contours should be a MatVector, but types says otherwise. Any ideas of workaround? Local settings?
Using 4.8.0-release.9