全部版块 我的主页
论坛 经济学论坛 三区 宏观经济学
1574 0
2022-01-02
pillow 图像处理方法(附代码)[color=rgba(0, 0, 0, 0.298039)]以下文章来源于算法美食屋[color=rgba(0, 0, 0, 0.298039)] [color=rgba(0, 0, 0, 0.298039)],作者梁云1991
[color=rgba(0, 0, 0, 0.298039)]一,图片读写import numpy as np
from PIL import Image,ImageFilter,ImageDraw,ImageFont
# 读取图片
img = Image.open("./data/猫咪图片.jpg")
print(img.format, img.size, img.mode)
print(img.info)
img
JPEG (641, 641) RGB
{'jfif': 257, 'jfif_version': (1, 1), 'dpi': (72, 72), 'jfif_unit': 1, 'jfif_density': (72, 72)}


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群