Ask Your Question

Talamantez's profile - activity

2014-08-27 20:37:21 -0500 received badge  Supporter (source)
2014-04-24 22:11:36 -0500 answered a question VS2012 and OpenCV setup

Hi, have you tried specifying the complete path to the libraries you are including? For example:

"#include <C:/opencv/build/include/opencv/cv.h>" instead of "#include <opencv/cv.h>"

I understand that this is a workaround, but it was necessary to get things to work on my system. Hope it helps.

2014-04-24 21:49:15 -0500 received badge  Editor (source)
2014-04-24 20:52:11 -0500 answered a question how to using OpenCv API get web video stream!

Hello. I am able to get the above code to work. I would like to get a different type of stream to pipe in to opencv. I have an html5 canvas on a webpage served at 127.0.0.1:5555 that I am loading a stream into with the following code:

    <div id="droneStream" style="width: 640px; height: 360px"></div>

     new NodecopterStream(document.getElementById("droneStream"));
     var myImage = canvas.toDataURL("image/png");

I want to pipe that stream from the page into opencv in the way that you have accomplished above. Do you know how to structure the url to grab the image stream? Right now I have a URL that I know is wrong, but here is my opencv code:

capture.open("http://127.0.0.1:5555/#droneStream");

Thanks for your help.