<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>doraTeX</author_name>
  <author_url>https://blog.hatena.ne.jp/doraTeX/</author_url>
  <blog_title>TeX Alchemist Online</blog_title>
  <blog_url>https://doratex.hatenablog.jp/</blog_url>
  <categories>
    <anon>PDF</anon>
    <anon>AppleScript</anon>
    <anon>Objective-C</anon>
  </categories>
  <description>前回の記事では，macOS のデフォルト状態でコマンドラインからPDFや画像ファイルに対してOCR処理を行いテキストを取り出す方法を解説しました。 doratex.hatenablog.jp 一方，OCRではなく，「PDFに埋め込まれたテキスト情報をそのまま読み込んで標準出力に表示する」だけなら，もっと簡単なコードで済みます。 完成形のシェルスクリプト A shell script to extract text from PDF on macOS · GitHub 使い方 $ ./pdf2text.sh input1.pdf input2.pdf input3.pdf のように引数に1つまた…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdoratex.hatenablog.jp%2Fentry%2F20230705%2F1688554958&quot; title=&quot;macOS のデフォルト状態でコマンドラインからPDFのテキスト抽出を行う - TeX Alchemist Online&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-07-05 20:02:38</published>
  <title>macOS のデフォルト状態でコマンドラインからPDFのテキスト抽出を行う</title>
  <type>rich</type>
  <url>https://doratex.hatenablog.jp/entry/20230705/1688554958</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
