37098c9 57ec7e4
1
2
3
4
5
6
7
def get_live_frame(cap): while True: ret, frame = cap.read() if not ret: break yield frame