LoginSignup
7
13

More than 5 years have passed since last update.

OpenCVのドキュメントが充実している

Last updated at Posted at 2016-10-29

OpenCVのドキュメントが不足しているなんて、いつの時代のことだ。
Tutorials for contrib modules も含めてドキュメントが充実している。

OpenCV3.1 / Related Pages
http://docs.opencv.org/3.1.0/pages.html
http://docs.opencv.org/3.2.0/pages.html

OpenCV/Examples
http://docs.opencv.org/3.2.0/examples.html
コードのディレクトリ:
opencv/sources/samples/cpp

OpenCV Tutorials
http://docs.opencv.org/3.2.0/d9/df8/tutorial_root.html
Introduction to OpenCV
http://docs.opencv.org/3.2.0/df/d65/tutorial_table_of_content_introduction.html
Installation in Linux
http://docs.opencv.org/3.2.0/d7/d9f/tutorial_linux_install.html
Installation in Windows
http://docs.opencv.org/3.2.0/d3/d52/tutorial_windows_install.html
How to build applications with OpenCV inside the "Microsoft Visual Studio"
http://docs.opencv.org/3.2.0/d6/d8a/tutorial_windows_visual_studio_Opencv.html

Tutorials for contrib modules
http://docs.opencv.org/3.2.0/d3/d81/tutorial_contrib_root.html

コードのディレクトリ:
opencv/sources/samples/cpp/tutorial_code

Face Recognition with OpenCV
http://docs.opencv.org/3.1.0/da/d60/tutorial_face_main.html
http://docs.opencv.org/3.2.0/da/d60/tutorial_face_main.html

ライブラリが単に用意されているだけではなく。その手法がデータとアルゴリズムとの両面で解説されています。これを使えば、顔認証システムを開発することができるでしょう。

Interactive Visual Debugging of Computer Vision applications
http://docs.opencv.org/3.1.0/d7/dcf/tutorial_cvv_introduction.html
は、従来だったら自前でデバッグ用の画像をソースコードを書いて出力していたのを、
標準化したやりかたで実現できそうです。

CUDA Module Introduction
http://docs.opencv.org/3.1.0/d2/dbc/cuda_intro.html
GPU-Accelerated Computer Vision (cuda module)
http://docs.opencv.org/3.1.0/da/d2c/tutorial_table_of_content_gpu.html


記事を独立させました。
opencv_contrib のコードをWindows 7 Visual Studio 2013でビルドする


付記:

CUDAの環境設定ははまる場合があるので
Ubuntu CUDA で検索してみる

Ubuntu14.04にNVIDIAドライバーをインストールしたらGUIログインできなくなったときの話
http://qiita.com/tanakatsu1080/items/c97c4ea3b1d349e2f718

UbuntuにCUDAを入れようとしたらハマった
http://qiita.com/bohemian916/items/a48e6496b04bbbf09fb3

これによれば、
対応方法「ubuntuでNouveauを無効にする方法」を実行して、

はまらないための方法
$ sudo sh cuda__linux.run
を実行する前に

 1. Perform the pre-installation actions.
 2. Disable the Nouveau drivers.
 3. Reboot into text mode (runlevel 3).

をすべきものらしい。
http://developer.download.nvidia.com/compute/cuda/7_0/Prod/doc/CUDA_Getting_Started_Linux.pdf

ここで「 2. Disable the Nouveau drivers.」には、OSごとに違いがあって、Ubuntuについては次の記述があった。

4.3.5. Ubuntu
 1. Create a file at /etc/modprobe.d/blacklist-nouveau.conf with the following
contents:
blacklist nouveau
options nouveau modeset=0
 2. Regenerate the kernel initramfs:
$ sudo update-initramfs -u
7
13
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
13