Hello Vincent. I'm sorry for creating new issue without contributing. I'm very newbie for OpenCV and node bindings. Anyway, I just wanted to say my opinion about Mat.houghLinesP() method. I saw python and C++ results. They returned array of array points [ [x0,y0,x1,y1], ... ]. So I tried to learn this method in my javascript code. Because I love javascript. But Mat.houghLinesP() method returns Vec4 array. And x,y,z,w components are not mapped correctly.
Hello Vincent. I'm sorry for creating new issue without contributing. I'm very newbie for OpenCV and node bindings. Anyway, I just wanted to say my opinion about
Mat.houghLinesP()
method. I saw python and C++ results. They returned array of array points [ [x0,y0,x1,y1], ... ]. So I tried to learn this method in my javascript code. Because I love javascript. ButMat.houghLinesP()
method returns Vec4 array. And x,y,z,w components are not mapped correctly.This is how I drew lines correctly.
If you noticed when I create point object (x,y) compononts are swittched.
To me
Mat.houghLinesP()
method returns array of array or something else is better instead of Vec4s. It's very confusing.