# Ocr日本語パックのインストール

**URL:** <https://forum.uipath.com/t/ocr/25035>\
**Category:** フォーラム\
**Created:** [March 9, 2018, 12:31am UTC](https://forum.uipath.com/t/ocr/25035 "2018-03-09T00:31:06Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![akishi](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@akishi](https://forum.uipath.com/u/akishi)\
**Post date:** [March 9, 2018, 12:31am UTC](https://forum.uipath.com/t/ocr/25035/1 "2018-03-09T00:31:06Z")

</div>

Citrix環境でのテストを実施しています。

その際OCR機能を用いてテキストを取得したいと考え、以下の質問からGoogle OCRの日本語パックをインストールしようと考えました。  
しかし、記載されていたダウンロード先のリンク先が存在しませんでした。

どなたかOCRの日本語パックの最新の設定方法をご教授願えませんでしょうか。

> [@OCR / Screen Scrapingで日本語が利用できない。](https://forum.uipath.com/t/ocr-screen-scraping/18399):
>
> Version: 2018.1 質問） Screen ScrapingなどOCRを利用したいと思いましたが、 選択肢に英語しかなく、日本語が利用できません。 どうしたらよいでしょうか。 回答） OCRのインストールが必要になります。 ​■Google OCRの日本語パックのインストール手順は以下となります。 (1) "jpn.traineddata"をダウンロードする。 [https://github.com/tesseract-ocr/tessdata/blob/4.00/jpn.traineddata](https://github.com/tesseract-ocr/tessdata/blob/4.00/jpn.traineddata) (2) ダウンロードしたファイルを以下に置く。 C:\Program Files (x86)\UiPath\Studio\tessdata (3) UiPathを再起動する。 ■Microsoft OCRのインストールは以下の手順となります。 (1) Microsoft Office Document Imaging (MODI)のインストール Sharepoint Designer 2007をインストールすることにより、M…

---

<div class="post-metadata">

**Author:** ![Lisa\_UiPath](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/lisa_uipath/32/7538_2.png) [@Lisa\_UiPath](https://forum.uipath.com/u/Lisa_UiPath)\
**Post date:** [March 11, 2018, 8:57am UTC](https://forum.uipath.com/t/ocr/25035/2 "2018-03-11T08:57:01Z")

</div>

@akishiさん

最新のURLを更新致しましたので、ご確認下さい。

どうぞ、宜しくお願い致します。

---

<div class="post-metadata">

**Author:** ![akishi](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@akishi](https://forum.uipath.com/u/akishi)\
**Post date:** [March 11, 2018, 11:55pm UTC](https://forum.uipath.com/t/ocr/25035/3 "2018-03-11T23:55:02Z")

</div>

対象のファイルをダウンロードできました！  
ありがとうございます。

---

<div class="post-metadata">

**Author:** ![luolin.liu](https://avatars.discourse-cdn.com/v4/letter/l/a4c791/32.png) [@luolin.liu](https://forum.uipath.com/u/luolin.liu)\
**Post date:** [April 2, 2018, 11:14am UTC](https://forum.uipath.com/t/ocr/25035/4 "2018-04-02T11:14:24Z")

</div>

更新する人がいませんか？

---

<div class="post-metadata">

**Author:** ![okuno2018.04.06](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/okuno2018.04.06/32/176636_2.png) [@okuno2018.04.06](https://forum.uipath.com/u/okuno2018.04.06)\
**Post date:** [May 2, 2018, 10:17am UTC](https://forum.uipath.com/t/ocr/25035/5 "2018-05-02T10:17:32Z")

</div>

質問させて下さい。

ここのコメントを参考にして、 Sharepoint Designer 2007  
をインストールして、再起動しましたが。（日本語とEnglish）  
Uipath Setup Extensions に反映されません。

他になにか、手順があるのでしょうか。

よろしくおねがいします。

ウィル株式会社  
シルバー・エンジニア 奥野智洋

---

<div class="post-metadata">

**Author:** ![Mateus\_Cruz](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/mateus_cruz/32/87290_2.png) [@Mateus\_Cruz](https://forum.uipath.com/u/Mateus_Cruz)\
**Post date:** [May 3, 2018, 1:22am UTC](https://forum.uipath.com/t/ocr/25035/6 "2018-05-03T01:22:43Z")

</div>

奥野様

Sharepoint Designer 2007を[インストール](https://support.microsoft.com/ja-jp/help/982760/install-modi-for-use-with-microsoft-office-2010)したとき、インストールオプションで以下通り選択しましたか。

> [ユーザー設定] をクリックして、インストール オプションを開きます。  
> [Office ツール] を展開します。  
> [Microsoft Office Document Imaging] オプションの下矢印をクリックし、[マイ コンピューターからすべて実行] を選択します。

インストールしたら、Setup Extensionメニューで特に何も表示されません。ただ、Microsoft OCR Engineを使えるようになります。

---

<div class="post-metadata">

**Author:** ![okuno2018.04.06](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/okuno2018.04.06/32/176636_2.png) [@okuno2018.04.06](https://forum.uipath.com/u/okuno2018.04.06)\
**Post date:** [May 3, 2018, 8:41am UTC](https://forum.uipath.com/t/ocr/25035/7 "2018-05-03T08:41:05Z")

</div>

Mateus\_Cruz 様

ありがとうございます。

上手くいきました。  
演習７－２もやり直せました。

もっと、質問させて下さい。  
Lesson8は2つともエラーがでて、演習が実行できません。  
これまでもエラーが出ましたが、自分で対応してきました。  
このLesson８はどのように対応していいかわからないのです。  
下に、エラーのコピーをペーストします。  
よろしくおねがいします。

レッスン08\_Advanced\_Citrix\_Automation\_ワークフロー.zip

Main has thrown an exception

Source: Click ‘push button Maximize’

Message: Cannot find the UI element corresponding to this selector:

Exception Type: SelectorNotFoundException

UiPath.Core.SelectorNotFoundException: Cannot find the UI element corresponding to this selector: —\> System.Runtime.InteropServices.COMException: Cannot find the UI element corresponding to this selector:   
at UiPath.UiNodeClass.FindFirst(UiFindScope scope, String nodeID)  
at UiPath.Core.UiElement.FindFirst(FindScope scope, Selector selector)  
— End of inner exception stack trace —  
at UiPath.Core.Activities.TaskAsyncCodeActivity`1.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)  
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)  
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

レッスン０８＿演習１＿Remote\_Clicking\_解答

OpenAppWithDoubleClickImage has thrown an exception

Source: Double Click image ExpenseIt

Message: Cannot find the UI element corresponding to this selector:

Exception Type: SelectorNotFoundException

UiPath.Core.SelectorNotFoundException: Cannot find the UI element corresponding to this selector: —\> System.Runtime.InteropServices.COMException: Cannot find the UI element corresponding to this selector:   
at UiPath.UiNodeClass.FindFirst(UiFindScope scope, String nodeID)  
at UiPath.Core.UiElement.FindFirst(FindScope scope, Selector selector)  
— End of inner exception stack trace —  
at System.Activities.Statements.Throw.Execute(CodeActivityContext context)  
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)  
at System.Activities.ActivityInstance.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)  
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

---

<div class="post-metadata">

**Author:** ![Mateus\_Cruz](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/mateus_cruz/32/87290_2.png) [@Mateus\_Cruz](https://forum.uipath.com/u/Mateus_Cruz)\
**Post date:** [May 3, 2018, 9:07am UTC](https://forum.uipath.com/t/ocr/25035/8 "2018-05-03T09:07:12Z")

</div>

奥野様

アカデミーではっきり書いてなくてすみませんが、Lesson8はリモートデスクトップ接続ウィンドウが事前に開くことが必要です。

レッスン08\_Advanced\_Citrix\_Automation\_ワークフロー.zipのワークフローを確認すると、エラーが発生するセレクタは以下通りです：

> \<wnd app=‘mstsc.exe’ cls='TscShellContainerClass’omit:title=‘[training1.northeurope.cloudapp.azure.com](http://training1.northeurope.cloudapp.azure.com) - Remote Desktop Connec\*’ /\>

mstsc.exeというアプリケーションを探していますので、事前に開かないとエラーが出てきます。

レッスン０８＿演習１＿Remote\_Clicking\_解答の場合もリモートデスクトップ接続が必要です。

---

<div class="post-metadata">

**Author:** ![okuno2018.04.06](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/okuno2018.04.06/32/176636_2.png) [@okuno2018.04.06](https://forum.uipath.com/u/okuno2018.04.06)\
**Post date:** [May 3, 2018, 11:15am UTC](https://forum.uipath.com/t/ocr/25035/9 "2018-05-03T11:15:53Z")

</div>

Mateus\_Cruz 様

解答、ありがとうございます。

そうでしたか。  
mstsc.exe  
はいただけないのでしょうか？

よろしくおねがいします。

奥野智洋

---

<div class="post-metadata">

**Author:** ![Mateus\_Cruz](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/mateus_cruz/32/87290_2.png) [@Mateus\_Cruz](https://forum.uipath.com/u/Mateus_Cruz)\
**Post date:** [May 3, 2018, 12:09pm UTC](https://forum.uipath.com/t/ocr/25035/10 "2018-05-03T12:09:51Z")

</div>

奥野様

Windows7/Windows10だと、mstsc.exeはすでにインストールされているはずですが、接続設定が必要です。このページをご覧ください：[リモート デスクトップの使い方](https://support.microsoft.com/ja-jp/help/17463/windows-7-connect-to-another-computer-remote-desktop-connection)

---

<div class="post-metadata">

**Author:** ![okuno2018.04.06](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/okuno2018.04.06/32/176636_2.png) [@okuno2018.04.06](https://forum.uipath.com/u/okuno2018.04.06)\
**Post date:** [May 6, 2018, 12:09pm UTC](https://forum.uipath.com/t/ocr/25035/11 "2018-05-06T12:09:07Z")

</div>

Mateus\_Cruz 様

返信、ありがとうございます。  
やって見ます。

ところで、Mateus\_Cruz 様  
レッスン14\_演習1\_RPA\_Developer\_Training\_復習\_解答  
をダウンロードしましたが。空でなにもありません。  
解答をいただきたいのです。  
よろしくおねがいします。

---

<div class="post-metadata">

**Author:** ![tango](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/tango/32/6894_2.png) [@tango](https://forum.uipath.com/u/tango)\
**Post date:** [May 8, 2018, 4:50am UTC](https://forum.uipath.com/t/ocr/25035/12 "2018-05-08T04:50:29Z")

</div>

@okuno2018.04.06 さん、こんにちは  
レッスン14\_演習1\_RPA\_Developer\_Training\_復習\_解答\_.zipの中にファイルが何も入っていないということですか？当方の日本語Windows7環境では下記が入っており異常ありませんでした。  
Session recap - ex 1 - stock values.xaml  
ご参考まで

---

<div class="post-metadata">

**Author:** ![okuno2018.04.06](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/okuno2018.04.06/32/176636_2.png) [@okuno2018.04.06](https://forum.uipath.com/u/okuno2018.04.06)\
**Post date:** [May 11, 2018, 12:13pm UTC](https://forum.uipath.com/t/ocr/25035/13 "2018-05-11T12:13:25Z")

</div>

tango さんへ

ありがとうございます。

もう一回やり直すと、はいっていました。

これからも、よろしくおねがいします。

実は、先程、Final Test にようやくパスしました。  
さあ、これから実践。
