frame_decoration

「[対訳] ホーム」の編集履歴(バックアップ)一覧はこちら

[対訳] ホーム - (2019/06/12 (水) 20:25:27) の1つ前との変更点

追加された行は緑色になります。

削除された行は赤色になります。

original (2019/05/14 付) | Google 翻訳 (2019/05/22 付) ---------- | ------------ - - - | - - - **Please do not change the title of any wiki page without a permission from Tesseract developers.** | **Tesseract開発者の許可なしに、いかなるWikiページのタイトルも変更しないでください。** - - - | - - - | # Introduction | # 前書き | Tesseract is an open source [text recognizer (OCR)](https://en.wikipedia.org/wiki/Optical_character_recognition) Engine, available under the [Apache 2.0 license.](http://www.apache.org/licenses/LICENSE-2.0) It can be used directly, or (for programmers) using an [API](https://github.com/tesseract-ocr/tesseract/blob/master/src/api/baseapi.h) to extract printed text from images. It supports a wide variety of languages. | Tesseractはオープンソースの[テキスト認識(OCR)](https://en.wikipedia.org/wiki/Optical_character_recognition)エンジンです。[Apache 2.0ライセンス]の下で利用可能です(http://www.apache.org/licenses)。 /LICENSE-2.0)直接使用することも、(プログラマーの場合は)[API](https://github.com/tesseract-ocr/tesseract/blob/master/src/api/baseapi.h)を使用して抽出することもできます。画像から印刷されたテキスト。さまざまな言語をサポートしています。 | Tesseract doesn't have a built-in GUI, but there are several available from the [3rdParty](https://github.com/tesseract-ocr/tesseract/wiki/User-Projects-%E2%80%93-3rdParty) page. | TesseractにはGUIが組み込まれていませんが、[3rdParty]から入手できるものがいくつかあります(https://github.com/tesseract-ocr/tesseract/wiki/User-Projects-%E2%80%93-3rdParty )ページ。 | # Installation | #インストール | There are two parts to install, the engine itself, and the training data for a language. | インストールする部分は2つあります。エンジン自体と、言語のトレーニングデータです。 | ## Linux | ## Linux | Tesseract is available directly from many Linux distributions. The package is generally called **'tesseract'** or **'tesseract-ocr'** - search your distribution's repositories to find it. | Tesseractは、多くのLinuxディストリビューションから直接入手できます。パッケージは一般的に **'tesseract'** または **'tesseract-ocr'** と呼ばれます - それを見つけるためにあなたのディストリビューションのリポジトリを検索してください。 Thus you can install Tesseract 4.x and it's developer tools on Ubuntu 18.x bionic by simply running: | したがって、あなたはTesseract 4.xをインストールすることができます、そして、それを単に実行することによってUbuntu 18.x bionicにそれの開発者用ツール: ``` | `` ` sudo apt install tesseract-ocr | sudo aptインストールtesseract-ocr sudo apt install libtesseract-dev | sudo aptインストールlibtesseract-dev ``` | `` ` | **Note for Ubuntu users**: In case ```apt``` is unable to find the package try adding ```universe``` entry to the ```sources.list``` file as shown below. | **Ubuntuユーザへの注意事項**: `` `apt```がパッケージを見つけられない場合は、以下に示すように` `` `source.list```ファイルに` `` universe```エントリを追加してみてください。 ``` | `` ` sudo vi /etc/apt/sources.list | sudo vi /etc/apt/sources.list | Copy the first line "deb http://archive.ubuntu.com/ubuntu bionic main" and paste it as shown below on the next line. | 最初の行「deb http://archive.ubuntu.com/ubuntu bionic main」をコピーして、次の行に貼り付けます。 If you are using a different release of ubuntu, then replace bionic with the respective release name. | あなたが違うバージョンのubuntuを使っているのなら、bionicをそれぞれのリリース名に置き換えてください。 | deb http://archive.ubuntu.com/ubuntu bionic universe | deb http://archive.ubuntu.com/ubuntuバイオニック宇宙 ``` | `` ` | | Packages for over 130 languages and over 35 scripts are also available directly from the Linux distributions. The language packages are called **'tesseract-ocr-langcode'** and **'tesseract-ocr-script-scriptcode'**, where langcode is three letter language code and scriptcode is four letter script code. | 130以上の言語と35以上のスクリプト用のパッケージもLinuxディストリビューションから直接入手できます。言語パッケージは **'tesseract-ocr-langcode'** および **'tesseract-ocr-script-scriptcode'** と呼ばれます。langcodeは3文字の言語コードで、scriptcodeは4文字のスクリプトコードです。 | **Examples:** tesseract-ocr-eng (**English**), tesseract-ocr-ara (**Arabic**), tesseract-ocr-chi-sim (**Simplified Chinese**), tesseract-ocr-script-latn (**Latin Script**), tesseract-ocr-script-deva (**Devanagari script**), etc. | **例:** tesseract-ocr-eng(**英語**)、tesseract-ocr-ara(**アラビア語**)、tesseract-ocr-chi-sim(**簡体字中国語**)、tesseract- ocr-script-latn(**ラテン語スクリプト**)、tesseract-ocr-script-deva(**Devanagariスクリプト**)など | For distributions that are supported by snapd you may also run the following command to install the `tesseract` built binaries([Don't have snapd installed?](https://snapcraft.io/docs/core/install)): | snapdでサポートされているディストリビューションの場合は、次のコマンドを実行して `tesseract`ビルドバイナリをインストールすることもできます([snapdをインストールしていませんか](https://snapcraft.io/docs/core/install))。 | sudo snap install --channel=edge tesseract |     sudoスナップインストール--channel = edge tesseract | The traineddata is currently not shipped with the snap package and must be placed manually to `~/snap/tesseract/current`. | 訓練されたデータは現在snapパッケージに同梱されていないので手動で `〜/ snap / tesseract / current`に配置しなければなりません。 | ### Tesseract 4 packages with LSTM engine and related traineddata. | ### LSTMエンジンと関連する訓練データを持つ4つのパッケージをTesseract。 | #### Debian | #### Debian | * [Debian Jessie (notesalexp.org)](https://notesalexp.org/tesseract-ocr/) | * [Debian Jessie(notesalexp.org)](https://notesalexp.org/tesseract-ocr/) * [Debian Stretch (backports)](https://packages.debian.org/stretch-backports/tesseract-ocr) | * [Debian Stretch(バックポート)](https://packages.debian.org/stretch-backports/tesseract-ocr) * [Debian Buster (testing)](https://packages.debian.org/buster/tesseract-ocr) | * [Debian Buster(テスト)](https://packages.debian.org/buster/tesseract-ocr) * [Debian Sid (unstable)](https://packages.debian.org/sid/tesseract-ocr) | * [Debian Sid(不安定版)](https://packages.debian.org/sid/tesseract-ocr) | #### Ubuntu | #### Ubuntu | * [Ubuntu Bionic 18.04](https://packages.ubuntu.com/bionic/tesseract-ocr-all) | * [Ubuntu Bionic 18.04](https://packages.ubuntu.com/bionic/tesseract-ocr-all) * [Ubuntu Cosmic 18.10](https://packages.ubuntu.com/cosmic/tesseract-ocr-all) | * [Ubuntu Cosmic 18.10](https://packages.ubuntu.com/cosmic/tesseract-ocr-all) | #### Ubuntu - PPA / packages from notesalexp.org | #### Ubuntu - notesalexp.orgからのPPA /パッケージ * [Ubuntu Bionic 18.04 - PPA ](https://launchpad.net/~alex-p/+archive/ubuntu/tesseract-ocr?field.series_filter=bionic) | * [Ubuntu Bionic 18.04 - PPA](https://launchpad.net/~alex-p/+archive/ubuntu/tesseract-ocr?field.series_filter=bionic) * [Ubuntu Artful 17.10 - PPA](https://launchpad.net/~alex-p/+archive/ubuntu/tesseract-ocr?field.series_filter=artful) | * [Ubuntu Artful 17.10 - PPA](https://launchpad.net/~alex-p/+archive/ubuntu/tesseract-ocr?field.series_filter=artful) * [Ubuntu Zesty 17.04 - notesalexp.org](https://notesalexp.org/tesseract-ocr/) | * [Ubuntu Zesty 17.04 - notesalexp.org](https://notesalexp.org/tesseract-ocr/) * [Ubuntu Xenial 16.04 - PPA](https://launchpad.net/~alex-p/+archive/ubuntu/tesseract-ocr?field.series_filter=xenial) | * [Ubuntu Xenial 16.04 - PPA](https://launchpad.net/~alex-p/+archive/ubuntu/tesseract-ocr?field.series_filter=xenial) * [Ubuntu Trusty 14.04 - PPA](https://launchpad.net/~alex-p/+archive/ubuntu/tesseract-ocr?field.series_filter=trusty) | * [Ubuntu Trusty 14.04 - PPA](https://launchpad.net/~alex-p/+archive/ubuntu/tesseract-ocr?field.series_filter=trusty) | #### Raspbian | ####ラズプビアン * [Raspbian Stretch(notesalexp.org)](https://notesalexp.org/tesseract-ocr/) | * [Raspbian Stretch(notesalexp.org)](https://notesalexp.org/tesseract-ocr/) * [Raspbian Buster (testing)](http://raspbian.org/RaspbianRepository) | * [Raspbian Buster(testing)](http://raspbian.org/RaspbianRepository) | #### CentOS, Fedora, ScientificLinux, OpenSuse, RHEL packages | #### CentOS、Fedora、ScientificLinux、OpenSuse、RHELパッケージ | * [rpm package with tesseract-ocr](https://build.opensuse.org/project/show/home:Alexander_Pozdnyakov) | * [tesseract-ocrのrpmパッケージ](https://build.opensuse.org/project/show / home:Alexander_Pozdnyakov) | For example to install Tesseract with German language traineddata: | たとえばドイツ語のtraineddataを使用してTesseractをインストールするには | **For RHEL 7 run the following as root:** | **RHEL 7の場合は、rootとして次のコマンドを実行します。** | ``` | `` ` yum-config-manager --add-repo https://download.opensuse.org/repositories/home:/Alexander_Pozdnyakov/RHEL_7/ | yum-config-manager --add-repo https://download.opensuse.org/repositories/home:/Alexander_Pozdnyakov/RHEL_7/ yum update | ヤムアップデート yum install tesseract | yumインストールtesseract yum install tesseract-langpack-deu | yumインストールtesseract-langpack-deu ``` | `` ` | **For CentOS 7 run the following as root:** | **CentOS 7の場合は、rootとして次のコマンドを実行します。** ``` | `` ` yum-config-manager --add-repo https://download.opensuse.org/repositories/home:/Alexander_Pozdnyakov/CentOS_7/ | yum-config-manager --add-repo https://download.opensuse.org/repositories/home:/Alexander_Pozdnyakov/CentOS_7/ sudo rpm --import https://build.opensuse.org/projects/home:Alexander_Pozdnyakov/public_key | sudo rpm --import https://build.opensuse.org/projects/home:Alexander_Pozdnyakov/public_key yum update | ヤムアップデート yum install tesseract | yumインストールtesseract yum install tesseract-langpack-deu | yumインストールtesseract-langpack-deu ``` | `` ` **For Scientific Linux 7 run the following as root:** | **Scientific Linux 7の場合は、rootとして次のコマンドを実行します。** ``` | `` ` yum-config-manager --add-repo https://download.opensuse.org/repositories/home:/Alexander_Pozdnyakov/ScientificLinux_7/ | yum-config-manager --add-repo https://download.opensuse.org/repositories/home:/Alexander_Pozdnyakov/ScientificLinux_7/ yum update | ヤムアップデート yum install tesseract | yumインストールtesseract yum install tesseract-langpack-deu | yumインストールtesseract-langpack-deu ``` | `` ` **For Fedora 27 run the following as root:** | **Fedora 27の場合、以下をrootとして実行します。** ``` | `` ` dnf config-manager --add-repo https://download.opensuse.org/repositories/home:Alexander_Pozdnyakov/Fedora_27/home:Alexander_Pozdnyakov.repo | dnf config-manager --add-repo https://download.opensuse.org/repositories/home:Alexander_Pozdnyakov/Fedora_27/home:Alexander_Pozdnyakov.repo dnf install tesseract | dnf install tesseract dnf install tesseract-langpack-deu | dnfインストールtesseract-langpack-deu ``` | `` ` **For Fedora 26 run the following as root:** | **Fedora 26の場合、以下をrootとして実行します。** ``` | `` ` dnf config-manager --add-repo https://download.opensuse.org/repositories/home:Alexander_Pozdnyakov/Fedora_26/home:Alexander_Pozdnyakov.repo | dnf config-manager --add-repo https://download.opensuse.org/repositories/home:Alexander_Pozdnyakov/Fedora_26/home:Alexander_Pozdnyakov.repo dnf install tesseract | dnf install tesseract dnf install tesseract-langpack-deu | dnfインストールtesseract-langpack-deu ``` | `` ` **For Fedora 25 run the following as root:** | **Fedora 25の場合、rootとして以下を実行してください。** ``` | `` ` dnf config-manager --add-repo https://download.opensuse.org/repositories/home:Alexander_Pozdnyakov/Fedora_25/home:Alexander_Pozdnyakov.repo | dnf config-manager --add-repo https://download.opensuse.org/repositories/home:Alexander_Pozdnyakov/Fedora_25/home:Alexander_Pozdnyakov.repo dnf install tesseract | dnf install tesseract dnf install tesseract-langpack-deu | dnfインストールtesseract-langpack-deu ``` | `` ` **For openSUSE Tumbleweed run the following as root:** | **openSUSE Tumbleweedの場合、rootとして次のコマンドを実行してください。** ``` | `` ` zypper addrepo https://download.opensuse.org/repositories/home:Alexander_Pozdnyakov/openSUSE_Tumbleweed/home:Alexander_Pozdnyakov.repo | zypper addrepo https://download.opensuse.org/repositories/home:Alexander_Pozdnyakov/openSUSE_Tumbleweed/home:Alexander_Pozdnyakov.repo zypper refresh | ジッパーリフレッシュ zypper install tesseract-ocr | zypper install tesseract-ocr zypper install tesseract-ocr-traineddata-german | zesperインストールtesseract-ocr-traineddata-german ``` | `` ` **For openSUSE Leap 42.3 run the following as root:** | **openSUSE Leap 42.3の場合は、rootとして次のコマンドを実行します。** ``` | `` ` zypper addrepo https://download.opensuse.org/repositories/home:Alexander_Pozdnyakov/openSUSE_Leap_42.3/home:Alexander_Pozdnyakov.repo | zypper addrepo https://download.opensuse.org/repositories/home:Alexander_Pozdnyakov/openSUSE_Leap_42.3/home:Alexander_Pozdnyakov.repo zypper refresh | ジッパーリフレッシュ zypper install tesseract-ocr | zypper install tesseract-ocr zypper install tesseract-ocr-traineddata-german | zesperインストールtesseract-ocr-traineddata-german ``` | `` ` **For openSUSE Leap 15.0 run the following as root:** | **openSUSE Leap 15.0の場合は、rootとして次のコマンドを実行してください。** ``` | `` ` zypper addrepo https://download.opensuse.org/repositories/home:Alexander_Pozdnyakov/openSUSE_Leap_15.0/home:Alexander_Pozdnyakov.repo | zypper addrepo https://download.opensuse.org/repositories/home:Alexander_Pozdnyakov / openSUSE_Leap_15.0 / home:Alexander_Pozdnyakov.repo zypper refresh | ジッパーリフレッシュ zypper install tesseract-ocr | zypper install tesseract-ocr zypper install tesseract-ocr-traineddata-german | zesperインストールtesseract-ocr-traineddata-german ``` | `` ` | ### FOR EXPERTS ONLY. | ###経験のみのために。 | If you are experimenting with OCR Engine modes, you will need to manually install language training data beyond what is available in your Linux distribution. | OCRエンジンモードを試している場合は、Linuxディストリビューションで利用可能なものを超えて言語トレーニングデータを手動でインストールする必要があります。 | Various types of training data can be found on [GitHub](https://github.com/tesseract-ocr/). Unpack and copy the .traineddata file into a 'tessdata' directory. The exact directory will depend both on the type of training data, and your Linux distribtion. Possibilities are `/usr/share/tesseract-ocr/tessdata` or `/usr/share/tessdata` or `/usr/share/tesseract-ocr/4.00/tessdata`. | [GitHub](https://github.com/tesseract-ocr/)にはさまざまな種類のトレーニングデータがあります。解凍して.traineddataファイルを 'tessdata'ディレクトリにコピーします。正確なディレクトリは、トレーニングデータの種類とLinuxディストリビューションの両方によって異なります。可能性は `/ usr / share / tesseract-ocr / tessdata`または` / usr / share / tessdata`または `/ usr / share / tesseract-ocr / 4.00 / tessdata`です。 | Training data for obsolete Tesseract versions [=< 3.02](https://sourceforge.net/projects/tesseract-ocr-alt/files/?source=navbar) reside in another location. | 廃止されたTesseractバージョン[= <3.02](https://sourceforge.net/projects/tesseract-ocr-alt/files/?source=navbar)のトレーニングデータは別の場所にあります。 | If Tesseract is not available for your distribution, or you want to use a newer version than they offer, you can [compile your own](Compiling). | Tesseractがあなたのディストリビューションで利用できない場合、あるいはそれらが提供するよりも新しいバージョンを使用したい場合は、[自分でコンパイル](コンパイル)することができます。 | ## macOS | ## マックOS | You can install Tesseract using either [MacPorts](https://www.macports.org/) or [Homebrew](http://brew.sh). | Tesseractは、[MacPorts](https://www.macports.org/)または[Homebrew](http://brew.sh)のどちらかを使ってインストールできます。 | A macOS wrapper for the Tesseract API is also available at [Tesseract macOS](https://github.com/scott0123/Tesseract-macOS). | Tesseract API用のmacOSラッパーは、[Tesseract macOS](https://github.com/scott0123/Tesseract-macOS)からも入手できます。 | ### MacPorts | ### MacPorts To install Tesseract run this command: | Tesseractをインストールするには、このコマンドを実行します。 ``` | `` ` sudo port install tesseract | sudo port install tesseract ``` | `` ` To install any language data, run: | 言語データをインストールするには、次のコマンドを実行してください。 ``` | `` ` sudo port install tesseract-<langcode> | sudoポートインストールtesseract- <langcode> ``` | `` ` List of available langcodes can be found on [MacPorts tesseract page](https://www.macports.org/ports.php?by=name&substr=tesseract-). | 利用可能な言語コードのリストは[MacPorts tesseractページ](https://www.macports.org/ports.php?by=name&substr=tesseract-)にあります。 | ### Homebrew | ###自作 To install Tesseract run this command: | Tesseractをインストールするには、このコマンドを実行します。 ``` | `` ` brew install tesseract | インストールインストール ``` | `` ` | Training directories can be found using `brew list tesseract` | 訓練ディレクトリは `brew list tesseract`を使って見つけることができます。 Possible location can be `/usr/local/Cellar/tesseract/3.05.02/share/tessdata/` | 可能な場所は `/ usr / local / Cellar / tesseract / 3.05.02 / share / tessdata /`です。 | ## Windows | ##ウィンドウズ | Installer for Windows for Tesseract 3.05 and Tesseract 4 are available from [Tesseract at UB Mannheim](https://github.com/UB-Mannheim/tesseract/wiki). These include the training tools. Both 32-bit and 64-bit installers are available. | Tesseract 3.05およびTesseract 4用のWindows用インストーラーは、[Tesseract at UB Mannheim](https://github.com/UB-Mannheim/tesseract/wiki)から入手できます。これらにはトレーニングツールが含まれています。 32ビットと64ビットの両方のインストーラが利用可能です。 | An installer for the **OLD version 3.02** is available for Windows from our [download](Downloads) page. This includes the English training data. If you want to use another language, [download the appropriate training data]( | **OLDバージョン3.02**のインストーラは、Windows用の[ダウンロード](ダウンロード)ページから入手できます。これには英語のトレーニングデータが含まれます。他の言語を使用したい場合は、[適切なトレーニングデータをダウンロードしてください]( https://github.com/tesseract-ocr/tesseract/wiki/Data-Files), unpack it using [7-zip](http://www.7-zip.org), and copy the .traineddata file into the 'tessdata' directory, probably `C:\Program Files\Tesseract-OCR\tessdata`. | https://github.com/tesseract-ocr/tesseract/wiki/Data-Files)、[7-zip](http://www.7-zip.org)を使用して解凍し、.traineddataファイルをにコピーします。 'tessdata'ディレクトリ、おそらく `C:\ Program Files \ Tesseract-OCR \ tessdata`。 | To access tesseract-OCR from any location you may have to add the directory where the tesseract-OCR binaries are located to the Path variables, probably `C:\Program Files\Tesseract-OCR`. | 任意の場所からtesseract-OCRにアクセスするには、tesseract-OCRバイナリが存在するディレクトリをPath変数に追加する必要があります。おそらく `C:\ Program Files \ Tesseract-OCR`です。 | Experts can also get binaries build with Visual Studio from the build artifacts of the [Appveyor Continuous Integration](https://ci.appveyor.com/project/zdenop/tesseract/history). | エキスパートは、[Appveyor Continuous Integration](https://ci.appveyor.com/project/zdenop/tesseract/history)のビルドアーティファクトから、Visual Studioでバイナリをビルドすることもできます。 | ### Cygwin | ### Cygwin | Released version >= 3.02 of tesseract-ocr [are part of ](https://mirrors.kernel.org/sourceware/cygwin/x86_64/release/tesseract-ocr/) [Cygwin](https://www.cygwin.com/) | tesseract-ocrのリリース版> = 3.02 [の一部です](https://mirrors.kernel.org/sourceware/cygwin / x86_64 / release / tesseract -ocr /)[Cygwin](https://www.cygwin。 com /) | The latest version available is 4.00. Please see [announcement](https://www.cygwin.com/ml/cygwin-announce/2018-10/msg00020.html). | 利用可能な最新バージョンは4.00です。 [announcement](https://www.cygwin.com/ml/cygwin-announce/2018-10/msg00020.html)をご覧ください。 | ### MSYS2 | ### MSYS2 | Install tesseract-OCR: | tesseract-OCRをインストールします。 | ``` | `` ` pacman -S mingw-w64-{i686,x86_64}-tesseract-ocr | pacman -S mingw-w64- {i686、x86_64} -tesseract-ocr ``` | `` ` | and the data files: | そしてデータファイル: | ``` | `` ` pacman -S mingw-w64-{i686,x86_64}-tesseract-data-eng | pacman -S mingw-w64- {i686、x86_64} -tesseract-data-eng ``` | `` ` | In the above command, "eng" may be replaced with the [ISO 639 3-letter language code](http://www.loc.gov/standards/iso639-2/php/code_list.php) for supported languages. For a list of available language packages use: | 上記のコマンドで、サポートされている言語の場合、 "eng"は[ISO 639 3文字の言語コード](http://www.loc.gov/standards/iso639-2/php/code_list.php)に置き換えられます。利用可能な言語パッケージのリストを見るには: | ``` | `` ` pacman -Ss tesseract-data | パックマン-Sテッセラットデータ ``` | `` ` | ## Other Platforms | ##その他のプラットフォーム | Tesseract may work on more exotic platforms too. You can either try [compiling it yourself](Compiling), or take a look at the list of [other projects using Tesseract](https://github.com/tesseract-ocr/tesseract/wiki/User-Projects-%E2%80%93-3rdParty). | Tesseractはもっとエキゾチックなプラットフォームでも動作するかもしれません。 [自分でコンパイルする](コンパイル)するか、[Tesseractを使用している他のプロジェクト]のリストを見てください(https://github.com/tesseract-ocr/tesseract/wiki/User-Projects-%E2)。 %80%93-3rdParty) | | # Running Tesseract | #実行中のTesseract | Tesseract is a command-line program, so first open a terminal or command prompt. The command is used like this: | Tesseractはコマンドラインプログラムなので、まず端末またはコマンドプロンプトを開きます。コマンドは次のように使用されます。 | ``` | `` ` tesseract imagename outputbase [-l lang] [-psm pagesegmode] [configfile...] | tesseract imagename outputbase [-l lang] [-psm pagesegmode] [configfile ...] ``` | `` ` | So basic usage to do OCR on an image called 'myscan.png' and save the result to 'out.txt' would be: | そのため、 'myscan.png'という画像に対してOCRを実行し、その結果を 'out.txt'に保存するための基本的な使い方は次のようになります。 | ``` | `` ` tesseract myscan.png out | tesseract myscan.png out ``` | `` ` | Or to do the same with German: | ドイツ語でも同じことができます。 | ``` | `` ` tesseract myscan.png out -l deu | tesseract myscan.png -l deu ``` | `` ` | It can even be used with multiple languages traineddata at a time eg. English and German: | それは一度に複数の言語で訓練されたデータと一緒に使うことさえできます。英語とドイツ語 | ``` | `` ` tesseract myscan.png out -l eng+deu | tesseract myscan.png -l eng + deu ``` | `` ` | Tesseract also includes a hOCR mode, which produces a special HTML file with the coordinates of each word. This can be used to create a searchable pdf, using a tool such as [Hocr2PDF](https://exactcode.com/opensource/exactimage/). To use it, use the 'hocr' config option, like this: | TesseractにはhOCRモードも含まれています。これは各単語の座標を持つ特別なHTMLファイルを作成します。これは[Hocr2PDF](https://exactcode.com/opensource/exactimage/)のようなツールを使用して検索可能なpdfを作成するのに使用することができます。これを使用するには、次のように 'hocr'設定オプションを使用してください。 | ``` | `` ` tesseract myscan.png out hocr | tesseract myscan.png hocrを ``` | `` ` | You can also create a searchable pdf directly from tesseract ( versions >=3.03): | tesseractから直接検索可能なpdfを作成することもできます(バージョン> = 3.03)。 | ``` | `` ` tesseract myscan.png out pdf | tesseract myscan.png out pdf ``` | `` ` | More information about the various options is available in the [Tesseract manpage](https://github.com/tesseract-ocr/tesseract/blob/master/doc/tesseract.1.asc). | さまざまなオプションについての詳細は[Tesseractのマンページ](https://github.com/tesseract-ocr/tesseract/blob/master/doc/tesseract.1.asc)にあります。 | # Other Languages | # 他の言語 | Tesseract has been trained for [many languages](https://github.com/tesseract-ocr/tesseract/blob/master/doc/tesseract.1.asc#languages), check for your language in the [Tessdata repository](https://github.com/tesseract-ocr/tessdata). | Tesseractは[多くの言語](https://github.com/tesseract-ocr/tesseract/blob/master/doc/tesseract.1.asc#languages)のトレーニングを受けています。[Tessdataリポジトリ]であなたの言語をチェックしてください( https://github.com/tesseract-ocr/tessdata) | It can also be trained to support other languages and scripts; for more details see [TrainingTesseract](TrainingTesseract). | 他の言語やスクリプトをサポートするように訓練することもできます。詳しくは[TrainingTesseract](TrainingTesseract)をご覧ください。 | # Development | #開発 | Tesseract can also be used in your own project, under the terms of the [Apache License 2.0.](http://www.apache.org/licenses/LICENSE-2.0) It has a fully featured API, and can be compiled for a variety of targets including Android and the iPhone. See the [3rdParty](https://github.com/tesseract-ocr/tesseract/wiki/User-Projects-%E2%80%93-3rdParty) page for a sample of what has been done with it. Note that as yet there are very few 3rdParty Tesseract OCR projects [being developed for Mac](https://machow2.com/ocr-for-mac-best-software/#Tesseract_Freesoftware/) (with the only one being [Tesseract macOS](https://github.com/scott0123/Tesseract-macOS)), although there are several online OCR services that can be used on Mac that may use Tesseract as their OCR engine. | Tesseractは[Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0)の条項の下であなた自身のプロジェクトでも使用することができます。 AndroidやiPhoneを含むさまざまなターゲット。何が行われたかの例については[3rdParty](https://github.com/tesseract-ocr/tesseract/wiki/User-Projects-%E2%80%93-3rdParty)ページをご覧ください。なお、3rdParty Tesseract OCRプロジェクト(Mac用に開発中)(https://machow2.com/ocr-for-mac-best-software/#Tesseract_Freesoftware/)はまだほとんどありません(1つだけ[Tesseract macOS])。 ](https://github.com/scott0123/Tesseract-macOS))ただし、Macで使用できるオンラインのOCRサービスはいくつかありますが、OCRエンジンとしてTesseractを使用することができます。 | Also, it's free software, so if you want to pitch in and help, please do! | また、それはフリーソフトウェアです、それであなたが参加して助けを望むならば、してください! If you find a bug and fix it yourself, the best thing to do is to attach the patch to your bug report in the [Issues List](https://github.com/tesseract-ocr/tesseract/issues) | あなたがバグを見つけて自分でそれを修正するならば、するべき最善のことは[問題リスト](https://github.com/tesseract-ocr/tesseract/issues)のあなたのバグ報告にパッチを添付することです。 | # Support | # サポート | First read the [Wiki](https://github.com/tesseract-ocr/tesseract/wiki), particularly the [FAQ](FAQ) to see if your problem is addressed there. If not, search the [Tesseract user forum](http://groups.google.com/group/tesseract-ocr) or the [Tesseract developer forum](http://groups.google.com/group/tesseract-dev), and if you still can't find what you need, please ask us there. | 最初に[Wiki](https://github.com/tesseract-ocr/tesseract/wiki)、特に[FAQ](FAQ)を読み、問題が解決したかどうかを確認してください。そうでない場合は、[Tesseractユーザーフォーラム](http://groups.google.com/group/tesseract-ocr)または[Tesseract開発者フォーラム](http://groups.google.com/group/tesseract-dev)を検索してください。 )それでもまだ必要なものが見つからない場合は、そこでお問い合わせください。
original (2019/05/14 付) | Google 翻訳 (2019/05/22 付) ---------- | ------------ - - - | - - - **Please do not change the title of any wiki page without a permission from Tesseract developers.** | **Tesseract開発者の許可なしに、いかなるWikiページのタイトルも変更しないでください。** - - - | - - - | # Introduction | # 前書き | Tesseract is an open source [text recognizer (OCR)](https://en.wikipedia.org/wiki/Optical_character_recognition) Engine, available under the [Apache 2.0 license.](http://www.apache.org/licenses/LICENSE-2.0) It can be used directly, or (for programmers) using an [API](https://github.com/tesseract-ocr/tesseract/blob/master/src/api/baseapi.h) to extract printed text from images. It supports a wide variety of languages. | Tesseractはオープンソースの[テキスト認識(OCR)](https://en.wikipedia.org/wiki/Optical_character_recognition)エンジンです。[Apache 2.0ライセンス]の下で利用可能です(http://www.apache.org/licenses)。 /LICENSE-2.0)直接使用することも、(プログラマーの場合は)[API](https://github.com/tesseract-ocr/tesseract/blob/master/src/api/baseapi.h)を使用して抽出することもできます。画像から印刷されたテキスト。さまざまな言語をサポートしています。 | Tesseract doesn't have a built-in GUI, but there are several available from the [3rdParty](https://github.com/tesseract-ocr/tesseract/wiki/User-Projects-%E2%80%93-3rdParty) page. | TesseractにはGUIが組み込まれていませんが、[3rdParty]から入手できるものがいくつかあります(https://github.com/tesseract-ocr/tesseract/wiki/User-Projects-%E2%80%93-3rdParty )ページ。 | # Installation | #インストール | There are two parts to install, the engine itself, and the training data for a language. | インストールする部分は2つあります。エンジン自体と、言語のトレーニングデータです。 | ## Linux | ## Linux | Tesseract is available directly from many Linux distributions. The package is generally called **'tesseract'** or **'tesseract-ocr'** - search your distribution's repositories to find it. | Tesseractは、多くのLinuxディストリビューションから直接入手できます。パッケージは一般的に **'tesseract'** または **'tesseract-ocr'** と呼ばれます - それを見つけるためにあなたのディストリビューションのリポジトリを検索してください。 Thus you can install Tesseract 4.x and it's developer tools on Ubuntu 18.x bionic by simply running: | したがって、あなたはTesseract 4.xをインストールすることができます、そして、それを単に実行することによってUbuntu 18.x bionicにそれの開発者用ツール: ``` | `` ` sudo apt install tesseract-ocr | sudo aptインストールtesseract-ocr sudo apt install libtesseract-dev | sudo aptインストールlibtesseract-dev ``` | `` ` | **Note for Ubuntu users**: In case ```apt``` is unable to find the package try adding ```universe``` entry to the ```sources.list``` file as shown below. | **Ubuntuユーザへの注意事項**: `` `apt```がパッケージを見つけられない場合は、以下に示すように` `` `source.list```ファイルに` `` universe```エントリを追加してみてください。 ``` | `` ` sudo vi /etc/apt/sources.list | sudo vi /etc/apt/sources.list | Copy the first line "deb http://archive.ubuntu.com/ubuntu bionic main" and paste it as shown below on the next line. | 最初の行「deb http://archive.ubuntu.com/ubuntu bionic main」をコピーして、次の行に貼り付けます。 If you are using a different release of ubuntu, then replace bionic with the respective release name. | あなたが違うバージョンのubuntuを使っているのなら、bionicをそれぞれのリリース名に置き換えてください。 | deb http://archive.ubuntu.com/ubuntu bionic universe | deb http://archive.ubuntu.com/ubuntuバイオニック宇宙 ``` | `` ` | | Packages for over 130 languages and over 35 scripts are also available directly from the Linux distributions. The language packages are called **'tesseract-ocr-langcode'** and **'tesseract-ocr-script-scriptcode'**, where langcode is three letter language code and scriptcode is four letter script code. | 130以上の言語と35以上のスクリプト用のパッケージもLinuxディストリビューションから直接入手できます。言語パッケージは **'tesseract-ocr-langcode'** および **'tesseract-ocr-script-scriptcode'** と呼ばれます。langcodeは3文字の言語コードで、scriptcodeは4文字のスクリプトコードです。 | **Examples:** tesseract-ocr-eng (**English**), tesseract-ocr-ara (**Arabic**), tesseract-ocr-chi-sim (**Simplified Chinese**), tesseract-ocr-script-latn (**Latin Script**), tesseract-ocr-script-deva (**Devanagari script**), etc. | **例:** tesseract-ocr-eng(**英語**)、tesseract-ocr-ara(**アラビア語**)、tesseract-ocr-chi-sim(**簡体字中国語**)、tesseract- ocr-script-latn(**ラテン語スクリプト**)、tesseract-ocr-script-deva(**Devanagariスクリプト**)など | For distributions that are supported by snapd you may also run the following command to install the `tesseract` built binaries([Don't have snapd installed?](https://snapcraft.io/docs/core/install)): | snapdでサポートされているディストリビューションの場合は、次のコマンドを実行して `tesseract`ビルドバイナリをインストールすることもできます([snapdをインストールしていませんか](https://snapcraft.io/docs/core/install))。 | sudo snap install --channel=edge tesseract |     sudoスナップインストール--channel = edge tesseract | The traineddata is currently not shipped with the snap package and must be placed manually to `~/snap/tesseract/current`. | 訓練されたデータは現在snapパッケージに同梱されていないので手動で `〜/ snap / tesseract / current`に配置しなければなりません。 | ### Tesseract 4 packages with LSTM engine and related traineddata. | ### LSTMエンジンと関連する訓練データを持つ4つのパッケージをTesseract。 | #### Debian | #### Debian | * [Debian Jessie (notesalexp.org)](https://notesalexp.org/tesseract-ocr/) | * [Debian Jessie(notesalexp.org)](https://notesalexp.org/tesseract-ocr/) * [Debian Stretch (backports)](https://packages.debian.org/stretch-backports/tesseract-ocr) | * [Debian Stretch(バックポート)](https://packages.debian.org/stretch-backports/tesseract-ocr) * [Debian Buster (testing)](https://packages.debian.org/buster/tesseract-ocr) | * [Debian Buster(テスト)](https://packages.debian.org/buster/tesseract-ocr) * [Debian Sid (unstable)](https://packages.debian.org/sid/tesseract-ocr) | * [Debian Sid(不安定版)](https://packages.debian.org/sid/tesseract-ocr) | #### Ubuntu | #### Ubuntu | * [Ubuntu Bionic 18.04](https://packages.ubuntu.com/bionic/tesseract-ocr-all) | * [Ubuntu Bionic 18.04](https://packages.ubuntu.com/bionic/tesseract-ocr-all) * [Ubuntu Cosmic 18.10](https://packages.ubuntu.com/cosmic/tesseract-ocr-all) | * [Ubuntu Cosmic 18.10](https://packages.ubuntu.com/cosmic/tesseract-ocr-all) | #### Ubuntu - PPA / packages from notesalexp.org | #### Ubuntu - notesalexp.orgからのPPA /パッケージ * [Ubuntu Bionic 18.04 - PPA ](https://launchpad.net/~alex-p/+archive/ubuntu/tesseract-ocr?field.series_filter=bionic) | * [Ubuntu Bionic 18.04 - PPA](https://launchpad.net/~alex-p/+archive/ubuntu/tesseract-ocr?field.series_filter=bionic) * [Ubuntu Artful 17.10 - PPA](https://launchpad.net/~alex-p/+archive/ubuntu/tesseract-ocr?field.series_filter=artful) | * [Ubuntu Artful 17.10 - PPA](https://launchpad.net/~alex-p/+archive/ubuntu/tesseract-ocr?field.series_filter=artful) * [Ubuntu Zesty 17.04 - notesalexp.org](https://notesalexp.org/tesseract-ocr/) | * [Ubuntu Zesty 17.04 - notesalexp.org](https://notesalexp.org/tesseract-ocr/) * [Ubuntu Xenial 16.04 - PPA](https://launchpad.net/~alex-p/+archive/ubuntu/tesseract-ocr?field.series_filter=xenial) | * [Ubuntu Xenial 16.04 - PPA](https://launchpad.net/~alex-p/+archive/ubuntu/tesseract-ocr?field.series_filter=xenial) * [Ubuntu Trusty 14.04 - PPA](https://launchpad.net/~alex-p/+archive/ubuntu/tesseract-ocr?field.series_filter=trusty) | * [Ubuntu Trusty 14.04 - PPA](https://launchpad.net/~alex-p/+archive/ubuntu/tesseract-ocr?field.series_filter=trusty) | #### Raspbian | ####ラズプビアン * [Raspbian Stretch(notesalexp.org)](https://notesalexp.org/tesseract-ocr/) | * [Raspbian Stretch(notesalexp.org)](https://notesalexp.org/tesseract-ocr/) * [Raspbian Buster (testing)](http://raspbian.org/RaspbianRepository) | * [Raspbian Buster(testing)](http://raspbian.org/RaspbianRepository) | #### CentOS, Fedora, ScientificLinux, OpenSuse, RHEL packages | #### CentOS、Fedora、ScientificLinux、OpenSuse、RHELパッケージ | * [rpm package with tesseract-ocr](https://build.opensuse.org/project/show/home:Alexander_Pozdnyakov) | * [tesseract-ocrのrpmパッケージ](https://build.opensuse.org/project/show / home:Alexander_Pozdnyakov) | For example to install Tesseract with German language traineddata: | たとえばドイツ語のtraineddataを使用してTesseractをインストールするには | **For RHEL 7 run the following as root:** | **RHEL 7の場合は、rootとして次のコマンドを実行します。** | ``` | `` ` yum-config-manager --add-repo https://download.opensuse.org/repositories/home:/Alexander_Pozdnyakov/RHEL_7/ | yum-config-manager --add-repo https://download.opensuse.org/repositories/home:/Alexander_Pozdnyakov/RHEL_7/ yum update | ヤムアップデート yum install tesseract | yumインストールtesseract yum install tesseract-langpack-deu | yumインストールtesseract-langpack-deu ``` | `` ` | **For CentOS 7 run the following as root:** | **CentOS 7の場合は、rootとして次のコマンドを実行します。** ``` | `` ` yum-config-manager --add-repo https://download.opensuse.org/repositories/home:/Alexander_Pozdnyakov/CentOS_7/ | yum-config-manager --add-repo https://download.opensuse.org/repositories/home:/Alexander_Pozdnyakov/CentOS_7/ sudo rpm --import https://build.opensuse.org/projects/home:Alexander_Pozdnyakov/public_key | sudo rpm --import https://build.opensuse.org/projects/home:Alexander_Pozdnyakov/public_key yum update | ヤムアップデート yum install tesseract | yumインストールtesseract yum install tesseract-langpack-deu | yumインストールtesseract-langpack-deu ``` | `` ` **For Scientific Linux 7 run the following as root:** | **Scientific Linux 7の場合は、rootとして次のコマンドを実行します。** ``` | `` ` yum-config-manager --add-repo https://download.opensuse.org/repositories/home:/Alexander_Pozdnyakov/ScientificLinux_7/ | yum-config-manager --add-repo https://download.opensuse.org/repositories/home:/Alexander_Pozdnyakov/ScientificLinux_7/ yum update | ヤムアップデート yum install tesseract | yumインストールtesseract yum install tesseract-langpack-deu | yumインストールtesseract-langpack-deu ``` | `` ` **For Fedora 27 run the following as root:** | **Fedora 27の場合、以下をrootとして実行します。** ``` | `` ` dnf config-manager --add-repo https://download.opensuse.org/repositories/home:Alexander_Pozdnyakov/Fedora_27/home:Alexander_Pozdnyakov.repo | dnf config-manager --add-repo https://download.opensuse.org/repositories/home:Alexander_Pozdnyakov/Fedora_27/home:Alexander_Pozdnyakov.repo dnf install tesseract | dnf install tesseract dnf install tesseract-langpack-deu | dnfインストールtesseract-langpack-deu ``` | `` ` **For Fedora 26 run the following as root:** | **Fedora 26の場合、以下をrootとして実行します。** ``` | `` ` dnf config-manager --add-repo https://download.opensuse.org/repositories/home:Alexander_Pozdnyakov/Fedora_26/home:Alexander_Pozdnyakov.repo | dnf config-manager --add-repo https://download.opensuse.org/repositories/home:Alexander_Pozdnyakov/Fedora_26/home:Alexander_Pozdnyakov.repo dnf install tesseract | dnf install tesseract dnf install tesseract-langpack-deu | dnfインストールtesseract-langpack-deu ``` | `` ` **For Fedora 25 run the following as root:** | **Fedora 25の場合、rootとして以下を実行してください。** ``` | `` ` dnf config-manager --add-repo https://download.opensuse.org/repositories/home:Alexander_Pozdnyakov/Fedora_25/home:Alexander_Pozdnyakov.repo | dnf config-manager --add-repo https://download.opensuse.org/repositories/home:Alexander_Pozdnyakov/Fedora_25/home:Alexander_Pozdnyakov.repo dnf install tesseract | dnf install tesseract dnf install tesseract-langpack-deu | dnfインストールtesseract-langpack-deu ``` | `` ` **For openSUSE Tumbleweed run the following as root:** | **openSUSE Tumbleweedの場合、rootとして次のコマンドを実行してください。** ``` | `` ` zypper addrepo https://download.opensuse.org/repositories/home:Alexander_Pozdnyakov/openSUSE_Tumbleweed/home:Alexander_Pozdnyakov.repo | zypper addrepo https://download.opensuse.org/repositories/home:Alexander_Pozdnyakov/openSUSE_Tumbleweed/home:Alexander_Pozdnyakov.repo zypper refresh | ジッパーリフレッシュ zypper install tesseract-ocr | zypper install tesseract-ocr zypper install tesseract-ocr-traineddata-german | zesperインストールtesseract-ocr-traineddata-german ``` | `` ` **For openSUSE Leap 42.3 run the following as root:** | **openSUSE Leap 42.3の場合は、rootとして次のコマンドを実行します。** ``` | `` ` zypper addrepo https://download.opensuse.org/repositories/home:Alexander_Pozdnyakov/openSUSE_Leap_42.3/home:Alexander_Pozdnyakov.repo | zypper addrepo https://download.opensuse.org/repositories/home:Alexander_Pozdnyakov/openSUSE_Leap_42.3/home:Alexander_Pozdnyakov.repo zypper refresh | ジッパーリフレッシュ zypper install tesseract-ocr | zypper install tesseract-ocr zypper install tesseract-ocr-traineddata-german | zesperインストールtesseract-ocr-traineddata-german ``` | `` ` **For openSUSE Leap 15.0 run the following as root:** | **openSUSE Leap 15.0の場合は、rootとして次のコマンドを実行してください。** ``` | `` ` zypper addrepo https://download.opensuse.org/repositories/home:Alexander_Pozdnyakov/openSUSE_Leap_15.0/home:Alexander_Pozdnyakov.repo | zypper addrepo https://download.opensuse.org/repositories/home:Alexander_Pozdnyakov / openSUSE_Leap_15.0 / home:Alexander_Pozdnyakov.repo zypper refresh | ジッパーリフレッシュ zypper install tesseract-ocr | zypper install tesseract-ocr zypper install tesseract-ocr-traineddata-german | zesperインストールtesseract-ocr-traineddata-german ``` | `` ` | ### FOR EXPERTS ONLY. | ###経験のみのために。 | If you are experimenting with OCR Engine modes, you will need to manually install language training data beyond what is available in your Linux distribution. | OCRエンジンモードを試している場合は、Linuxディストリビューションで利用可能なものを超えて言語トレーニングデータを手動でインストールする必要があります。 | Various types of training data can be found on [GitHub](https://github.com/tesseract-ocr/). Unpack and copy the .traineddata file into a 'tessdata' directory. The exact directory will depend both on the type of training data, and your Linux distribtion. Possibilities are `/usr/share/tesseract-ocr/tessdata` or `/usr/share/tessdata` or `/usr/share/tesseract-ocr/4.00/tessdata`. | [GitHub](https://github.com/tesseract-ocr/)にはさまざまな種類のトレーニングデータがあります。解凍して.traineddataファイルを 'tessdata'ディレクトリにコピーします。正確なディレクトリは、トレーニングデータの種類とLinuxディストリビューションの両方によって異なります。可能性は `/ usr / share / tesseract-ocr / tessdata`または` / usr / share / tessdata`または `/ usr / share / tesseract-ocr / 4.00 / tessdata`です。 | Training data for obsolete Tesseract versions [=< 3.02](https://sourceforge.net/projects/tesseract-ocr-alt/files/?source=navbar) reside in another location. | 廃止されたTesseractバージョン[= <3.02](https://sourceforge.net/projects/tesseract-ocr-alt/files/?source=navbar)のトレーニングデータは別の場所にあります。 | If Tesseract is not available for your distribution, or you want to use a newer version than they offer, you can [compile your own](Compiling). | Tesseractがあなたのディストリビューションで利用できない場合、あるいはそれらが提供するよりも新しいバージョンを使用したい場合は、[自分でコンパイル](コンパイル)することができます。 | ## macOS | ## マックOS | You can install Tesseract using either [MacPorts](https://www.macports.org/) or [Homebrew](http://brew.sh). | Tesseractは、[MacPorts](https://www.macports.org/)または[Homebrew](http://brew.sh)のどちらかを使ってインストールできます。 | A macOS wrapper for the Tesseract API is also available at [Tesseract macOS](https://github.com/scott0123/Tesseract-macOS). | Tesseract API用のmacOSラッパーは、[Tesseract macOS](https://github.com/scott0123/Tesseract-macOS)からも入手できます。 | ### MacPorts | ### MacPorts To install Tesseract run this command: | Tesseractをインストールするには、このコマンドを実行します。 ``` | `` ` sudo port install tesseract | sudo port install tesseract ``` | `` ` To install any language data, run: | 言語データをインストールするには、次のコマンドを実行してください。 ``` | `` ` sudo port install tesseract-<langcode> | sudoポートインストールtesseract- <langcode> ``` | `` ` List of available langcodes can be found on [MacPorts tesseract page](https://www.macports.org/ports.php?by=name&substr=tesseract-). | 利用可能な言語コードのリストは[MacPorts tesseractページ](https://www.macports.org/ports.php?by=name&substr=tesseract-)にあります。 | ### Homebrew | ###自作 To install Tesseract run this command: | Tesseractをインストールするには、このコマンドを実行します。 ``` | `` ` brew install tesseract | インストールインストール ``` | `` ` | Training directories can be found using `brew list tesseract` | 訓練ディレクトリは `brew list tesseract`を使って見つけることができます。 Possible location can be `/usr/local/Cellar/tesseract/3.05.02/share/tessdata/` | 可能な場所は `/ usr / local / Cellar / tesseract / 3.05.02 / share / tessdata /`です。 | ## Windows | ##ウィンドウズ | Installer for Windows for Tesseract 3.05 and Tesseract 4 are available from [Tesseract at UB Mannheim](https://github.com/UB-Mannheim/tesseract/wiki). These include the training tools. Both 32-bit and 64-bit installers are available. | Tesseract 3.05およびTesseract 4用のWindows用インストーラーは、[Tesseract at UB Mannheim](https://github.com/UB-Mannheim/tesseract/wiki)から入手できます。これらにはトレーニングツールが含まれています。 32ビットと64ビットの両方のインストーラが利用可能です。 | An installer for the **OLD version 3.02** is available for Windows from our [download](Downloads) page. This includes the English training data. If you want to use another language, [download the appropriate training data]( | **OLDバージョン3.02**のインストーラは、Windows用の[ダウンロード](ダウンロード)ページから入手できます。これには英語のトレーニングデータが含まれます。他の言語を使用したい場合は、[適切なトレーニングデータをダウンロードしてください]( https://github.com/tesseract-ocr/tesseract/wiki/Data-Files), unpack it using [7-zip](http://www.7-zip.org), and copy the .traineddata file into the 'tessdata' directory, probably `C:\Program Files\Tesseract-OCR\tessdata`. | https://github.com/tesseract-ocr/tesseract/wiki/Data-Files)、[7-zip](http://www.7-zip.org)を使用して解凍し、.traineddataファイルをにコピーします。 'tessdata'ディレクトリ、おそらく `C:\ Program Files \ Tesseract-OCR \ tessdata`。 | To access tesseract-OCR from any location you may have to add the directory where the tesseract-OCR binaries are located to the Path variables, probably `C:\Program Files\Tesseract-OCR`. | 任意の場所からtesseract-OCRにアクセスするには、tesseract-OCRバイナリが存在するディレクトリをPath変数に追加する必要があります。おそらく `C:\ Program Files \ Tesseract-OCR`です。 | Experts can also get binaries build with Visual Studio from the build artifacts of the [Appveyor Continuous Integration](https://ci.appveyor.com/project/zdenop/tesseract/history). | エキスパートは、[Appveyor Continuous Integration](https://ci.appveyor.com/project/zdenop/tesseract/history)のビルドアーティファクトから、Visual Studioでバイナリをビルドすることもできます。 | ### Cygwin | ### Cygwin | Released version >= 3.02 of tesseract-ocr [are part of ](https://mirrors.kernel.org/sourceware/cygwin/x86_64/release/tesseract-ocr/) [Cygwin](https://www.cygwin.com/) | tesseract-ocrのリリース版> = 3.02 [の一部です](https://mirrors.kernel.org/sourceware/cygwin / x86_64 / release / tesseract -ocr /)[Cygwin](https://www.cygwin。 com /) | The latest version available is 4.00. Please see [announcement](https://www.cygwin.com/ml/cygwin-announce/2018-10/msg00020.html). | 利用可能な最新バージョンは4.00です。 [announcement](https://www.cygwin.com/ml/cygwin-announce/2018-10/msg00020.html)をご覧ください。 | ### MSYS2 | ### MSYS2 | Install tesseract-OCR: | tesseract-OCRをインストールします。 | ``` | `` ` pacman -S mingw-w64-{i686,x86_64}-tesseract-ocr | pacman -S mingw-w64- {i686、x86_64} -tesseract-ocr ``` | `` ` | and the data files: | そしてデータファイル: | ``` | `` ` pacman -S mingw-w64-{i686,x86_64}-tesseract-data-eng | pacman -S mingw-w64- {i686、x86_64} -tesseract-data-eng ``` | `` ` | In the above command, "eng" may be replaced with the [ISO 639 3-letter language code](http://www.loc.gov/standards/iso639-2/php/code_list.php) for supported languages. For a list of available language packages use: | 上記のコマンドで、サポートされている言語の場合、 "eng"は[ISO 639 3文字の言語コード](http://www.loc.gov/standards/iso639-2/php/code_list.php)に置き換えられます。利用可能な言語パッケージのリストを見るには: | ``` | `` ` pacman -Ss tesseract-data | パックマン-Sテッセラットデータ ``` | `` ` | ## Other Platforms | ##その他のプラットフォーム | Tesseract may work on more exotic platforms too. You can either try [compiling it yourself](Compiling), or take a look at the list of [other projects using Tesseract](https://github.com/tesseract-ocr/tesseract/wiki/User-Projects-%E2%80%93-3rdParty). | Tesseractはもっとエキゾチックなプラットフォームでも動作するかもしれません。 [自分でコンパイルする](コンパイル)するか、[Tesseractを使用している他のプロジェクト]のリストを見てください(https://github.com/tesseract-ocr/tesseract/wiki/User-Projects-%E2)。 %80%93-3rdParty) | | # Running Tesseract | #実行中のTesseract | Tesseract is a command-line program, so first open a terminal or command prompt. The command is used like this: | Tesseractはコマンドラインプログラムなので、まず端末またはコマンドプロンプトを開きます。コマンドは次のように使用されます。 | ``` | `` ` tesseract imagename outputbase [-l lang] [-psm pagesegmode] [configfile...] | tesseract imagename outputbase [-l lang] [-psm pagesegmode] [configfile ...] ``` | `` ` | So basic usage to do OCR on an image called 'myscan.png' and save the result to 'out.txt' would be: | そのため、 'myscan.png'という画像に対してOCRを実行し、その結果を 'out.txt'に保存するための基本的な使い方は次のようになります。 | ``` | `` ` tesseract myscan.png out | tesseract myscan.png out ``` | `` ` | Or to do the same with German: | ドイツ語でも同じことができます。 | ``` | `` ` tesseract myscan.png out -l deu | tesseract myscan.png -l deu ``` | `` ` | It can even be used with multiple languages traineddata at a time eg. English and German: | それは一度に複数の言語で訓練されたデータと一緒に使うことさえできます。英語とドイツ語 | ``` | `` ` tesseract myscan.png out -l eng+deu | tesseract myscan.png -l eng + deu ``` | `` ` | Tesseract also includes a hOCR mode, which produces a special HTML file with the coordinates of each word. This can be used to create a searchable pdf, using a tool such as [Hocr2PDF](https://exactcode.com/opensource/exactimage/). To use it, use the 'hocr' config option, like this: | TesseractにはhOCRモードも含まれています。これは各単語の座標を持つ特別なHTMLファイルを作成します。これは[Hocr2PDF](https://exactcode.com/opensource/exactimage/)のようなツールを使用して検索可能なpdfを作成するのに使用することができます。これを使用するには、次のように 'hocr'設定オプションを使用してください。 | ``` | `` ` tesseract myscan.png out hocr | tesseract myscan.png hocrを ``` | `` ` | You can also create a searchable pdf directly from tesseract ( versions >=3.03): | tesseractから直接検索可能なpdfを作成することもできます(バージョン> = 3.03)。 | ``` | `` ` tesseract myscan.png out pdf | tesseract myscan.png out pdf ``` | `` ` | More information about the various options is available in the [Tesseract manpage](https://github.com/tesseract-ocr/tesseract/blob/master/doc/tesseract.1.asc). | さまざまなオプションについての詳細は[Tesseractのマンページ](https://github.com/tesseract-ocr/tesseract/blob/master/doc/tesseract.1.asc)にあります。 | # Other Languages | # 他の言語 | Tesseract has been trained for [many languages](https://github.com/tesseract-ocr/tesseract/blob/master/doc/tesseract.1.asc#languages), check for your language in the [Tessdata repository](https://github.com/tesseract-ocr/tessdata). | Tesseractは[多くの言語](https://github.com/tesseract-ocr/tesseract/blob/master/doc/tesseract.1.asc#languages)のトレーニングを受けています。[Tessdataリポジトリ]であなたの言語をチェックしてください( https://github.com/tesseract-ocr/tessdata) | It can also be trained to support other languages and scripts; for more details see [TrainingTesseract](TrainingTesseract). | 他の言語やスクリプトをサポートするように訓練することもできます。詳しくは[TrainingTesseract](TrainingTesseract)をご覧ください。 | # Development | #開発 | Tesseract can also be used in your own project, under the terms of the [Apache License 2.0.](http://www.apache.org/licenses/LICENSE-2.0) It has a fully featured API, and can be compiled for a variety of targets including Android and the iPhone. See the [3rdParty](https://github.com/tesseract-ocr/tesseract/wiki/User-Projects-%E2%80%93-3rdParty) page for a sample of what has been done with it. Note that as yet there are very few 3rdParty Tesseract OCR projects [being developed for Mac](https://machow2.com/ocr-for-mac-best-software/#Tesseract_Freesoftware/) (with the only one being [Tesseract macOS](https://github.com/scott0123/Tesseract-macOS)), although there are several online OCR services that can be used on Mac that may use Tesseract as their OCR engine. | Tesseractは[Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0)の条項の下であなた自身のプロジェクトでも使用することができます。 AndroidやiPhoneを含むさまざまなターゲット。何が行われたかの例については[3rdParty](https://github.com/tesseract-ocr/tesseract/wiki/User-Projects-%E2%80%93-3rdParty)ページをご覧ください。なお、3rdParty Tesseract OCRプロジェクト(Mac用に開発中)(https://machow2.com/ocr-for-mac-best-software/#Tesseract_Freesoftware/)はまだほとんどありません(1つだけ[Tesseract macOS])。 ](https://github.com/scott0123/Tesseract-macOS))ただし、Macで使用できるオンラインのOCRサービスはいくつかありますが、OCRエンジンとしてTesseractを使用することができます。 | Also, it's free software, so if you want to pitch in and help, please do! | また、それはフリーソフトウェアです、それであなたが参加して助けを望むならば、してください! If you find a bug and fix it yourself, the best thing to do is to attach the patch to your bug report in the [Issues List](https://github.com/tesseract-ocr/tesseract/issues) | あなたがバグを見つけて自分でそれを修正するならば、するべき最善のことは[問題リスト](https://github.com/tesseract-ocr/tesseract/issues)のあなたのバグ報告にパッチを添付することです。 | # Support | # サポート | First read the [Wiki](https://github.com/tesseract-ocr/tesseract/wiki), particularly the [FAQ](FAQ) to see if your problem is addressed there. If not, search the [Tesseract user forum](http://groups.google.com/group/tesseract-ocr) or the [Tesseract developer forum](http://groups.google.com/group/tesseract-dev), and if you still can't find what you need, please ask us there. | 最初に[Wiki](https://github.com/tesseract-ocr/tesseract/wiki)、特に[FAQ](FAQ)を読み、問題が解決したかどうかを確認してください。そうでない場合は、[Tesseractユーザーフォーラム](http://groups.google.com/group/tesseract-ocr)または[Tesseract開発者フォーラム](http://groups.google.com/group/tesseract-dev)を検索してください。 )それでもまだ必要なものが見つからない場合は、そこでお問い合わせください。 &counter() #comment

表示オプション

横に並べて表示:
変化行の前後のみ表示: