エントリーの編集
![loading...](https://b.st-hatena.com/bdefb8944296a0957e54cebcfefc25c4dcff9f5f/images/v4/public/common/loading@2x.gif)
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント0件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
![アプリのスクリーンショット](https://b.st-hatena.com/bdefb8944296a0957e54cebcfefc25c4dcff9f5f/images/v4/public/entry/app-screenshot.png)
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
画像にテキストを書き込む方法 | OpenCV (Python3) の putText メソッドを利用して、画像にテキストを書き込む
サンプルコード 写真から撮影時刻を取得し、その時刻を写真に書き込んで保存する。写真から撮影時刻を取... サンプルコード 写真から撮影時刻を取得し、その時刻を写真に書き込んで保存する。写真から撮影時刻を取得するとき、PIL モジュールの機能を利用する。 import PIL from PIL import Image from PIL import ExifTags import cv2 as cv def get_exif(image_path): captured_datetime = None with Image.open(image_path) as imgfh: try: exif = imgfh._getexif() for attr, val in exif.items(): tag = ExifTags.TAGS.get(attr, attr) if tag == 'DateTimeOriginal': captured_datetime = val except Attri
2020/08/11 リンク