node-opencv
node-opencv copied to clipboard
Index outside of bounds array when using IP Camera url
When using var camera = new cv.VideoCapture("http://172.18.178.91/video/mjpg.cgi");, I get the following error:
2017-04-26 12:50:23.185 node[33052:9194346] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array'
What is the correct way of opening an IP camera stream?
FYI, the stream is correct and works in a browser. It does require basic authentication though but I do not think this is what is causing this issue.
@PierrickI3 Hi, are u solved this problem? and how about rtsp stream?
@peizhuang unfortunately, I have moved on and I no longer work on this