Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

imread can't read from urls, but videocapture can !

cap = cv2.VideoCapture("http://example.com/someimage.jpg")
if( cap.isOpened() ) :
    ret,img = cap.read()
    cv2.imshow("win",img)
    cv2.waitKey()