Update README.md

This commit is contained in:
YutaItoh 2016-10-07 23:43:18 +09:00 committed by GitHub
parent 65dfbad1ab
commit 134a26751b

View File

@ -38,10 +38,10 @@ To setup your own Visual Studio project, you need to use [CMake](https://cmake.o
* `set(BOOST_ROOT "C:/SDK/boost_1_62_0")`
* `set(OpenCV_DIR "C:/SDK/opencv-3.1.0/build")`
3. Start CMake GUI and set a source code path (e.g., `/your-local-path/3D-Eye-Tracker`) and a project build path (e.g., `/your-local-path/3D-Eye-Tracker/build_vc14_x64`)
![cmake-1](https://raw.githubusercontent.com/YutaItoh/3D-Eye-Tracker/master/docs/cmake-1.png)
<img src="https://raw.githubusercontent.com/YutaItoh/3D-Eye-Tracker/master/docs/cmake-1.png" width="600px" />
4. Press `Generate` buttons, then choose a right build environment (Visual Studio 14 2015 Win64)
![cmake-2](https://raw.githubusercontent.com/YutaItoh/3D-Eye-Tracker/master/docs/cmake-2.png)
![cmake-3](https://raw.githubusercontent.com/YutaItoh/3D-Eye-Tracker/master/docs/cmake-3.png)
<img src="https://raw.githubusercontent.com/YutaItoh/3D-Eye-Tracker/master/docs/cmake-2.png" width="300px" />
<img src="https://raw.githubusercontent.com/YutaItoh/3D-Eye-Tracker/master/docs/cmake-3.png" width="600px" />
5. Open `3d_eye_tracker.sln` in the build folder, and compile `main` module
## How to run
@ -54,12 +54,14 @@ The default setting uses a sinlge camera via the DirectShow filter. Check your c
This case, the program tries to find a camera named `"Pupil Cam1 ID0"`.
Once the program started, it initializes a 3D eye model from 2D pupil observatios:
![runtime-2](https://raw.githubusercontent.com/YutaItoh/3D-Eye-Tracker/master/docs/runtime-2.png)
<img src="https://raw.githubusercontent.com/YutaItoh/3D-Eye-Tracker/master/docs/runtime-2.png" width="600px" />
In this initialization step, a user needs to smoothly rotate his/her eye to capture various 2D shapes of the eye.
After the step, we get 3D eye tracking:
![runtime-3](https://raw.githubusercontent.com/YutaItoh/3D-Eye-Tracker/master/docs/runtime-3.png)
<img src="https://raw.githubusercontent.com/YutaItoh/3D-Eye-Tracker/master/docs/runtime-3.png" width="200px" />
### Tips: