decompose homography matrix in opencv.js

asked 2020-05-26 04:50:10 -0600

Hi guys, I'm currently working on an image tracking application using opencv.js (3.4 if I'm not wrong) and I'm missing an effective way to get some transformations in this environment.

I managed to get the homography using detected and matched key points of the two images. However, I need a way to decompose this homography into other transformation matrices as it is described here: https://docs.opencv.org/master/d9/dab... (Demo 4). Unfortunately, the function decomposeHomographyMat does not seem to be implemented on my openCV version for javascript. Does anyone have a solution for this? Either a more recent version of opencv.js or a nice example to make the task using a different method.

edit retag flag offensive close merge delete