# \[opencv.js\] support for findHomography()

**URL:** <https://forum.opencv.org/t/opencv-js-support-for-findhomography/1126>\
**Category:** Uncategorized\
**Tags:** features2d, opencvjs, imgproc, calib3d, core\
**Created:** [January 25, 2021, 4:14pm UTC](https://forum.opencv.org/t/opencv-js-support-for-findhomography/1126 "2021-01-25T16:14:23Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![Scott\_Suhy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/scott_suhy/32/628_2.png) [@Scott\_Suhy](https://forum.opencv.org/u/Scott_Suhy)\
**Post date:** [February 1, 2021, 3:57am UTC](https://forum.opencv.org/t/opencv-js-support-for-findhomography/1126/24 "2021-02-01T03:57:58Z")

</div>

@crackwitz thank you VERY much for your guidance. I wrote an article to help others through this pain here [Image Alignment (Feature Based) in OpenCV.js ( JavaScript ) – Scott's Notes](https://scottsuhy.com/2021/02/01/image-alignment-feature-based-in-opencv-js-javascript/)

---

<div class="post-metadata">

**Author:** ![kalwalt](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/kalwalt/32/10504_2.png) [@kalwalt](https://forum.opencv.org/u/kalwalt)\
**Post date:** [October 21, 2024, 6:28pm UTC](https://forum.opencv.org/t/opencv-js-support-for-findhomography/1126/25 "2024-10-21T18:28:48Z")

</div>

> [@Scott\_Suhy](#):
>
> `196 dept`

Hi @Scott_Suhy i’m struggling with this kind of opencv.js stuff and i would try your example file but it seems that it doesn’t exist anymore, May you upload it again ? or do you have a github repository for it?  
Thank you!

---

<div class="post-metadata">

**Author:** ![kalwalt](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/kalwalt/32/10504_2.png) [@kalwalt](https://forum.opencv.org/u/kalwalt)\
**Post date:** [October 22, 2024, 2:56pm UTC](https://forum.opencv.org/t/opencv-js-support-for-findhomography/1126/26 "2024-10-22T14:56:05Z")

</div>

With your code from the article i created a simple example [.Align images with OpenCV.js](https://github.com/kalwalt/Align-images-with-opencv.js) There is not a live example but i think it may help other people. I used Opencv 4.7.0 and there are some small modifications, otherwise it will not align correctly the images. But do not expect a great app! It helped me to understand the correct data arguments needed by OpenCV.js, as you said it’s quite difficult to understand and there is very scarce informations about OpenCV.js API.

[Previous page](https://forum.opencv.org/t/opencv-js-support-for-findhomography/1126.md?page=1)
