Flow-Developers

Raspberry Pi, Raspbian, python, ROS, IoT, 電子工作, 機械学習, Deep learning, ライフハック

Windowsでdlib(高機能な顔検出器&HOG特徴量学習)の環境を簡単に立ち上げる

What is dilb?

dlib C++ Library

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.

ポイント

参考動画




Windowsでのインストール/環境構築方法

ポイント

  • Macのインストール方法は日本語でも幾つかあるが、Windows版がない。
  • Windowsでもpythonならインストールは簡単。すぐにdlibを始められる。

windowspythonの環境構築

  1. Python(x,y)windowsに入れる。(ググればすぐ分かる)
  2. ipythonを起動 (windows startボタン押す → ipythonを検索/実行)
  3. pipで下記コマンドを実行。(!はipythonでコマンド実行時の御作法)
!pip install dlib
  1. dlibのインストール完了。pythonコードにimportして使える。
import dlib


その他