首页
Python
Java
PHP
IOS
NodeJS
JavaScript
HTML5
小程序
AI
ExifTags
全部标签
python - 如何使用 python 从图像中提取元数据?
如何使用Python从图像中提取元数据? 最佳答案 使用Pillow,它是PIL的一个分支,仍在积极开发中,并支持python3。这里我使用字典生成器将exif数据映射到字典fromPILimportImage,ExifTagsimg=Image.open("/path/to/file.jpg")exif={ExifTags.TAGS[k]:vfork,vinimg._getexif().items()ifkinExifTags.TAGS} 关于python-如何使用python从图像中
python
如何
section
ExifTags
code
image
metadata
extract
Home
Powered By IT.CAOLU.XIN
页面耗时:0.049s