1 | initial version |
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:
html:
script: 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? Thanks for your help.
2 | No.2 Revision |
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:
html:
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? Thanks for your help.
3 | No.3 Revision |
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.