import numpy as np
import cv2
#holder for the camera object
cap = cv2.VideoCapture(0)
while(True):
# Capture frame-by-frame
ret, frame = cap.read()
# Our operations on the frame come here (color)
color = cv2.cvtColor(frame, 1)
# Display the frame
cv2.imshow('LiveCam',color)
if cv2.waitKey(1) & 0xFF == ord('q'):
break
'''When everything done, release the capture'''
cap.release()
cv2.destroyAllWindows()
Этот код будет отображать мои живые кадры на моем собственном экране.
Я хочу отправить свои живые кадры на другой компьютер и получить собственный компьютер другого живого изображения для его отображения.
Могу ли я получить помощь, пожалуйста?