Ask Your Question

Revision history [back]

decompose homography matrix in opencv.js

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/tutorial_homography.html (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.