Ask Your Question

JCP's profile - activity

2018-05-01 07:13:26 -0600 received badge  Popular Question (source)
2013-07-31 01:11:47 -0600 received badge  Student (source)
2013-07-29 23:03:23 -0600 received badge  Editor (source)
2013-07-29 21:53:55 -0600 received badge  Scholar (source)
2013-07-29 21:52:03 -0600 asked a question How to use triangulatePoints function?

Could anyone show example How to use triangulatePoints function? I can get MAT from a camera. But what is InputArray projMatr1, InputArray projMatr2, InputArray projPoints1, InputArray projPoints2? How can I calculate the distance by OutputArray points4D? Simply put, how can I get the following parameters?

projMatr1 – 3x4 projection matrix of the first camera.
projMatr2 – 3x4 projection matrix of the second camera.
projPoints1 – 2xN array of feature points in the first image. In case of c++ version it can be also a vector of feature points or two-channel matrix of size 1xN or Nx1.
projPoints2 – 2xN array of corresponding points in the second image. In case of c++ version it can be also a vector of feature points or two-channel matrix of size 1xN or Nx1.
points4D – 4xN array of reconstructed points in homogeneous coordinates.
2013-07-18 02:30:45 -0600 asked a question Could you show me examples of "addText" and "displayOverlay"

I am trying MSVS 2012 to add some texts on my video. Could anyone show me some simple example codes of "addText" and "displayOverlay" commands?

I tried a lot but all of them are failed. Is the following correct usage?

imshow("horizontal", H);
displayOverlay("horizontal", text);
2013-07-15 19:58:20 -0600 received badge  Supporter (source)
2013-07-13 10:37:52 -0600 asked a question mingw 4.7.2 + OpenCV 2.4.6 + Win7 cannot run program

You see, my softwares are all latest. And I follow exactly http://stackoverflow.com/questions/10860352/getting-started-with-opencv-2-4-and-mingw-on-windows-7. Certainly I changed some parameters according to my own system.

Compile is successful but the result is no luck. Almost is 0xc00000005 error. What's wrong with that?

On the other hand, I try MS Visual Studio 2012 + OpenCV 2.4.6 + Win7, the result is good.

But using MS VS2012 is too complicated. I prefer to MinGW, which is very simple.

Anyone can share some ideas? Thx!