requests上传和flask接收OpenCV的图片数据
方式一,从本地读取到图片或帧,上传到flask服务器# 客户端发送def image_post(): data = {"type_code": type_code, "area_id": area_id} # 以文件的格式上传,节省传输时间 file = {"file": ("file_name.jpg",open("file_path", 'rb'), "imag...
原创
2020-05-02 14:19:03 ·
4398 阅读 ·
3 评论