-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hello,
I checked _hacks.ts in the OpenCV type definitions. It seems that MatVector type is just an alias of Mat. But it causes some problems in my code.
For example: size() method in both MatVector and Mat returns Size object. But in reality, size() in MatVector should return just number.
You can check it with this snippet:
import * as cv from 'mirada';
(async () => {
let myMatVector = new cv.MatVector();
let myMat = new cv.Mat();
console.log(`MatVector Size:`);
console.log(myMatVector.size());
console.log(`Mat Size:`);
console.log(myMat.size());
})()Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
