#OpenCVでOCRを使い文字認識を行いたい
最終的にはタイトルのようなことをしたいのですがインストールの段階でもう詰まってます。まずtesseractをインストールしなければならないと思うのですがサイトのようにver3.0.4とかが表示されてるものが見当たりません。一応適当にダウンロードしてみたのが以下の画像のものです。
画像の通りでダウンロードすべきものは合っているのでしょうか?
#参考サイト
https://qiita.com/bohemian916/items/67f22ee7aeac103dd205
#追記
ダウンロードは出来たので次はOpenCVのビルドを行いたいのですが、私が参考にしたサイトが参考にしたサイトの通りに行きません。
#エラーメッセージ
CMake Deprecation Warning at CMakeLists.txt:72 (cmake_policy):
The OLD behavior for policy CMP0022 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
CMake Deprecation Warning at CMakeLists.txt:77 (cmake_policy):
The OLD behavior for policy CMP0026 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
CMake Error at CMakeLists.txt:93 (project):
Failed to run MSBuild command:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community/MSBuild/15.0/Bin/MSBuild.exe
to get the value of VCTargetsPath:
.NET Framework 向け Microsoft (R) Build Engine バージョン 15.4.8.50001 Copyright (C) Microsoft Corporation.All rights reserved. 2017/11/21 20:20:45 にビルドを開始しました。 ノード 1 上のプロジェクト "C:\Users\○○\Downloads\opencv-3.1.0\build\CMakeFiles\3.9.4\VCTargetsPath.vcxproj" (既定のターゲット)。 C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Platforms\ARM\PlatformToolsets\v141\Toolset.targets(45,5): error MSB8036: Windows SDK バージョン 10.0.15063.0 が見つかりませんでした。必要なバージョンの Windows SDK をインストールするか、プロジェクト プロパティ ページで SDK バージョンを変更するか、ソリューションを右クリックして [ソリューションの再ターゲット] を選択してください。 [C:\Users\○○\Downloads\opencv-3.1.0\build\CMakeFiles\3.9.4\VCTargetsPath.vcxproj] プロジェクト "C:\Users\○○\Downloads\opencv-3.1.0\build\CMakeFiles\3.9.4\VCTargetsPath.vcxproj" (既定のターゲット) のビルドが終了しました -- 失敗。 ビルドに失敗しました。 "C:\Users\tatsuya\Downloads\opencv-3.1.0\build\CMakeFiles\3.9.4\VCTargetsPath.vcxproj" (既定のターゲット) (1) -> (Desktop_PlatformPrepareForBuild ターゲット) -> C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Platforms\ARM\PlatformToolsets\v141\Toolset.targets(45,5): error MSB8036: Windows SDK バージョン 10.0.15063.0 が見つかりませんでした。必要なバージョンの Windows SDK をインストールするか、プロジェクト プロパティ ページで SDK バージョンを変更するか、ソリューションを右クリックして [ソリューションの再ターゲット] を選択してください。 [C:\Users\○○\Downloads\opencv-3.1.0\build\CMakeFiles\3.9.4\VCTargetsPath.vcxproj] 0 個の警告 1 エラー 経過時間 00:00:00.18
Exit code: 1
Configuring incomplete, errors occurred!
See also "C:/Users/○○/Downloads/opencv-3.1.0/build/CMakeFiles/CMakeOutput.log".