import cv2

cap = cv2.VideoCapture("http://localhost:7777")
if not(cap.isOpened()):
    print("Failed to open MJPEG streaming")

ret, frame = cap.read()
 
while(True):
    ret, frame = cap.read()
    cv2.imshow("MJPEG Reader", frame)
    cv2.waitKey(1)

b424126dabbac9863db05ce6cf753bba44126993
<mask token>

<mask token>
if not cap.isOpened():
    print('Failed to open MJPEG streaming')
<mask token>
while True:
    ret, frame = cap.read()
    cv2.imshow('MJPEG Reader', frame)
    cv2.waitKey(1)

<mask token>
cap = cv2.VideoCapture('http://localhost:7777')
if not cap.isOpened():
    print('Failed to open MJPEG streaming')
ret, frame = cap.read()
while True:
    ret, frame = cap.read()
    cv2.imshow('MJPEG Reader', frame)
    cv2.waitKey(1)

import cv2
cap = cv2.VideoCapture('http://localhost:7777')
if not cap.isOpened():
    print('Failed to open MJPEG streaming')
ret, frame = cap.read()
while True:
    ret, frame = cap.read()
    cv2.imshow('MJPEG Reader', frame)
    cv2.waitKey(1)

import cv2

cap = cv2.VideoCapture("http://localhost:7777")
if not(cap.isOpened()):
    print("Failed to open MJPEG streaming")

ret, frame = cap.read()
 
while(True):
    ret, frame = cap.read()
    cv2.imshow("MJPEG Reader", frame)
    cv2.waitKey(1)
