How to imshow processed frame in opencv in another client, I mean is my own local system.
this is script1:
import cv2
cap = cv2.VideoCapture('rtsp:...'
while True:
ret,frame = cap.read()
frame = cv2.resize(fram,fx = 0.5,fy = 0.5)
frame = cv2.cvtColor(frame,cv2.COLOR_BGR2GRAY)
cv2.imshow('win',frame)
if cv2.waitKey(1) & 0xFF:
break
cv2.stop()
Actually, instead of imshow processed frame in this script, I could imshow processed frame in another client, for example I have script2 that input frame is script1 frame. How can I do that?