logo

利用WiFi模块向pc传输视频流的同时,再传输一组数据,应该怎么做?

2020-04-16 15:24
6
nqow_1586691935
 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)
2020-04-16 18:00
I
网红小智智 星瞳科技

基本没什么办法,标准的jpeg请求只接收图像的数据。