写真に写った文字を読み取るコツ
- 明るく撮る
- まっすぐ撮る
- 文字を大きく撮る
看板、本のページ、ホワイトボードなど、写真に写った文字を、画像・PDFの文字を読み取る(OCR) で読み取るときのコツです。写真は撮り方で、精度が大きく変わります。
手順
- 「画像かPDFを選ぶ」で、写真を選びます。
- 「文字の言語」を選びます。
- 「文字を読み取る」を押します。
- 「読み取った文字」を確認します。
撮影のコツ
- 正面から撮る:斜めから撮ると、文字が歪む。
- 文字を大きく:近づいて、文字が画面いっぱいになるように。
- 明るく:暗い場所は、ノイズが増える。
- 影・反射を避ける:光沢のある紙は、角度を変える。
- ピントを合わせる:画面をタップして、合わせる。
- 手ぶれを防ぐ:両手で持つ、台に置く。
範囲を絞る
読み取りたい部分だけを写す、または、切り抜きツールで切り抜いてから読み取ると、精度が上がります。
向いている・向かない写真
- 向いている:印刷された文字、白地に黒の文字、はっきりした文字
- 向かない:手書きの崩し字、背景が複雑な写真、曲がった面(缶や瓶)の文字
読み取り後の確認
数字、日付、固有名詞は、まちがいやすいです。元の写真と見比べて確認します。
例
本のページを撮影して、引用したい部分の文字を読み取った。文字を打ち直す手間が省けた。
つまずきやすい点
- 文字が抜ける:コントラストが低い。明るく撮り直す。
- 記号が変わる:似た形の文字を取り違えている。
- 縦書きが崩れる:縦書きは、精度が下がることがある。
よくある質問
スマホの写真でも読めますか?
はい。大きな画像は、処理に時間がかかる場合があります。
まとめ
正面から、大きく、明るく撮る。読み取り後は、必ず確認しましょう。
画像・PDFの文字を読み取る(OCR)を使う(無料)あわせて使えるツール
- PDFから文字を抜き出す:PDFの文字を取り出して、コピーまたは保存できます。
- 文字数カウント(エントリーシート・レポート用):文章の文字数・行数・原稿用紙の枚数などを数えます。
- 文章の改行を消す・整える:PDFなどからコピーした文章の改行を整えます。
同じツールの、ほかの解説
Tips for Reading Text from a Photo
- Shoot in good light
- Shoot straight on
- Fill the frame with text
Tips for reading text in photos, such as signs, book pages and whiteboards, with Read Text from Images and PDFs (OCR). Accuracy varies greatly with how the photo is taken.
Steps
- With "Choose an image or PDF", choose the photo.
- Choose the "Language of the text".
- Press "Read text".
- Check the "Text read".
Photography tips
- Shoot head-on: shooting at an angle distorts the text.
- Make the text large: get close so the text fills the screen.
- Bright: dark places add noise.
- Avoid shadows and glare: with glossy paper, change the angle.
- Focus: tap the screen to focus.
- Prevent shake: hold with both hands or rest it on something.
Narrow the range
Photograph only the part you want to read, or crop it with the crop tool before reading, to improve accuracy.
Photos that suit and do not suit
- Suit: printed text, black text on white, clear text
- Do not suit: cursive handwriting, photos with busy backgrounds, text on curved surfaces (cans, bottles)
Checking after reading
Numbers, dates and proper nouns are easy to get wrong. Compare with the original photo.
Example
Photographed a book page and read the text of the part to quote. Saved retyping it.
Common stumbling blocks
- Text drops out: low contrast. Retake brighter.
- Symbols change: similar-looking characters are confused.
- Vertical writing breaks: accuracy may fall with vertical writing.
Frequently asked questions
Can it read phone photos?
Yes. Large images may take longer to process.
Summary
Shoot head-on, large and bright. Always check after reading.
Use "Read Text from Images and PDFs (OCR)" (free)Tools that go well with this
- Extract Text from PDF: Pull the text out of a PDF to copy or save.
- Character Counter (for Applications and Reports): Count characters, lines and manuscript sheets of your text.
- Remove and Tidy Line Breaks in Text: Tidy line breaks in text copied from PDFs and elsewhere.