Skip to content

nejcgalof/tracking-view

Repository files navigation

Tracking the view

Darkest light from monitor: Result1 Brighter light from monitor: Result2 Straight view with additional lighting: Result3 Look to the right with additional lighting: Result4 Look to the left with additional lighting: Result5 Look up with additional lighting: Result6 A more distant face with wide open eyes: Result7

Prerequisites

Windows

  • Install CMake. We recommend to add CMake to path for easier console using.
  • Install opencv 2.4 from sources.
    • Get OpenCV (github) and put in on C:/ (It can be installed somewhere else, but it's recommended to be close to root dir to avoid too long path error). git clone https://github.com/opencv/opencv
    • Checkout on 2.4 branch git checkout 2.4.
    • Make build directory .
    • In build directory create project with cmake or cmake-gui (enable BUILD_EXAMPLES for later test).
    • Open project in Visual Studio.
    • Build Debug and Release versions.
    • Build INSTALL project.
    • Add opencv_dir/build/bin/Release and opencv_dir/build/bin/Debug to PATH variable.
    • Test installation by running examples in opencv/build/install/ dir.
  • Instal DLIB
    • Go to Dlib folder and inside build folder follow this steps:
    • cmake .. -G"Visual Studio 14 2015 Win64" -DCMAKE_INSTALL_PREFIX=C:\dlib\Release
    • cmake --build . --config Release --target install
    • cmake .. -G"Visual Studio 14 2015 Win64" -DCMAKE_INSTALL_PREFIX=C:\dlib\Debug
    • cmake --build . --config Debug --target install

Installing

git clone https://github.com/nejcgalof/trackingView.git

Build

You can use cmake-gui or write similar like this:

mkdir build
cd build
cmake -G "Visual Studio 14 2015 Win64" -DOpenCV_DIR="C:/opencv/build" -DLibDRelease="C:/dlib/Release" ..

References

About

Detect and track pupils with Dlib

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published