What is dilb?
Dlib is a modern C++ toolkit containing machine learning algorithms and tools for creating complex software in C++ to solve real world problems. It is open source software and licensed under the Boost Software License.
ポイント
- OpenCVの顔検出器より バウンディングボックスでの検出精度が高い。
- 目、鼻、口などの位置検出まで可能。 One Millisecond Face Alignment with an Ensemble of Regression Trees
- Hog特徴量ベースの比較的新しいトラッキングアルゴリズムが利用可能。 The winning algorithm of VOT2014 Benchmark
- 顔以外にもHog特徴量ベースで画像機械学習が可能。
- C++またはpythonのAPIが整備されており、簡単に使える。
参考動画
Windowsでのインストール/環境構築方法
ポイント
windowsでpythonの環境構築
- Python(x,y)をwindowsに入れる。(ググればすぐ分かる)
- ipythonを起動 (windows startボタン押す →
ipython
を検索/実行) - pipで下記コマンドを実行。(
!
はipythonでコマンド実行時の御作法)
!pip install dlib
- dlibのインストール完了。pythonコードにimportして使える。
import dlib
リンク
その他
- Raspberry Piでもdlibは実行可能。