Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
画像にexifデータが含まれているかどうかを判断することはできますか? 次のようにpyexiv2を使用してみました:
import pyexiv2 as pex pex.metadata("test.jpg") metadata.read() print metadata.exif_keys
EXIF データがない場合、最後の行は空のリストを出力します。これがそれを行う唯一の方法ですか、それとも他の方法で行うことができますか。