EyeMouse is an opensource project to move mouse cursor with eye movement. This project requires OpenCV v4+ to run.
The environment need to be setup once.
$ sudo apt-get install build-essential xdotool
$ sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev
This steps will guide you to install OpenCV here. Run this steps if OpenCV does not installed yet.
$ cd EyeMouse
$ git clone https://github.com/opencv/opencv.git
$ cd opencv
$ mkdir release
$ cd release
$ cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local ..
$ make
$ sudo make install
Run this step for the first time to compile the source code or if you have making any changes to the source code.
$ cmake .
$ make
$ ./EyeDetector
That is all, enjoy