技術雑記帳兼日記帳

AWS、Python、Terraformの使い方をコッソリ

2021-05-03から1日間の記事一覧

python Amazon Rekognition Detect Text

はじめに 今回は画像からテキストを分析するDetect Textを使ってみる。 準備 下記のプログラムを用意する。 detect_text.py.py from PIL import Image, ImageDraw, ImageFont import boto3, sys, json, os, traceback #画像の分析結果を返す def detect_text…