Ask Your Question

Revision history [back]

How to use CylindricalWarper in opencv.js?

========================================================

import * as cv from "opencv.js";

...

let warper = new cv.PyRotationWarper('cylindrical', focals);

========================================================

It failed with the following error message:

-> TypeError: opencv_js__WEBPACK_IMPORTED_MODULE_0__.PyRotationWarper is not a constructor

Any experts who know the way to use CylindricalWarper in opencv.js ?

Thanks in advance.