# initialize the ImageSender object with the socket address of the | # initialize the ImageSender object with the socket address of the | ||||
# server | # server | ||||
sender = imagezmq.ImageSender(connect_to="tcp://{}:5555".format( | |||||
sender = imagezmq.ImageSender(connect_to="tcp://{}:63128".format( | |||||
args["server_ip"])) | args["server_ip"])) | ||||
rpi_name = socket.gethostname() # send RPi hostname with each image | rpi_name = socket.gethostname() # send RPi hostname with each image |