opencv-js
opencv-js copied to clipboard
Tracker won't work
CODE
I simply tried a few codes:
// let tracker = cv.TrackerMIL(); // let tracker = cv.TrackerMIL.create();
both of these won't work. I also tried using:
// let tracker = cv.Tracker();
ERROR
techstark_opencv_js__WEBPACK_IMPORTED_MODULE_0_.TrackerMIL is not a function
note: I only included one error but they have the same errors which are not a function
Try new cv.TrackerMIL().