python镜像加载_打开时加载BytesIO映像
arrybn的回答对我有效。只需要在cv2.imshow之后添加一个cv2.waitkey(1)。代码如下:服务器端:import ioimport socketimport structimport cv2import numpy as npserver_socket = socket.socket()server_socket.bind(('0.0.0.0', 8000))server_soc...