![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
图像处理
文章平均质量分 76
Zhang_314
这个作者很懒,什么都没留下…
展开
-
xshell/pycharm show remote img | xshell命令窗口显示服务器图片
change /etc/ssh/sshd and restart:# X11Forwarding yes -> X11Forwarding yessudo apt install x11-xserver-utilsxhost + # change control accessecho $DISPLAY # if not none, then successinstall xming in win10 and start itinstall xshel.原创 2020-09-04 15:50:11 · 604 阅读 · 1 评论 -
python 使用 requests 库时,不同的图片上传方式以及可能区别
requests 库图片传参方式# 可以看到图片数据 要么以str形式放到data字段里面,要么以byte形式放到files字段里面files = {"file": data}param = {"file": data}r = requests.post(url, data=param, files=files)以str形式放到data字段里面# method one: img is numpy.ndarrayimage = cv2.imencode('.jpg', image_np)[1]原创 2020-06-02 22:51:43 · 694 阅读 · 0 评论