利用WiFi模块向pc传输视频流的同时,再传输一组数据,应该怎么做?
-
img = sensor.snapshot() # Take a picture and return the image. frame = img cframe = frame.compressed(quality=35) header = "\r\n--openmv\r\n" \ "Content-Type: image/jpeg\r\n"\ "Content-Length:"+str(cframe.size())+"\r\n\r\n" client.send(header) client.send(cframe)
-
基本没什么办法,标准的jpeg请求只接收图像的数据。