Hi! So I have a foscam FI9821EP ip camera that i am trying to use inside opencv.
this code pops up a window, then closes it instantly. The http link works in firefox, but opencv doesn't like it for some reason.
cap >> frame;
if (frame.empty()) break;
if (waitKey(30) >= 0) break;
Any help greatly appreciated!