Install GazeParser (Windows)

Dependencies

Python 3.6 or later is necessary to use GazePaser. GazeParser depends on following Python modules.

  • numpy

  • scipy

  • matplotlib

  • PIL (Python Imaging Library)

  • wxPython (for data viewer)

  • PsychoPy (experimental control library)

注釈

  • VisionEgg backend is no longer supported by 0.11.0 or later.

Following libraries are necessary to build SimpleGazeTracker.

  • libsdl2.0

  • libsdl2.0-net

  • libsdl2.0-ttf

  • opencv

  • SDKs for your camera

Download

GazeParser installer can be downloaded from following page.

http://sourceforge.net/projects/gazeparser/files/

Install GazeParser to computers which you plan to use stimulus presentation and data analysis.

If you plan to record gaze data, install one of following files to a computer which you plan to use recording gaze data.

If you need source files of SimpleGazeTracker, download following file.

  • SimpleGazeTracker-0.12.0-src-vs2019.zipZipped archive of source files.

    Source files of SimpleGazeParser for Microsoft Windows is provided as a project of Microsoft VisualStudio. vsXXXX indicates the version of VisualStudio (e.g. 'vs2019' indicates VisualStudio2019).

Setting up VisualStudio2019 to build SimpleGazeTracker (SimpleGazeTracker 0.12.0)

Download zipped source files of SimpleGazeTracker and expand it under VisualStudio2019 project directory. Get development library of libsdl, libsdl-net, libsdl-ttf.

Expand zipped files under C:/SDL2. Create C:/SDL2/include/SDL and C:/SDL2/bin. Copy all SDL include files (*.h) to C:/SDL/include/SDL.

In a similar way, copy all SDL DLL files (*.dll) to C:/SDL/bin. Add C:/SDL/bin to %PATH% environment variable.

Next, get Measurement Computing's Universal Library and install it.

Get OpenCV self-extract file from following URL. Extracted files to C:/opencv. Same as above, update "include" and "library" directories of project's property. Add C:/opencv/build/x86/vc10/bin to %PATH% environment variable.

Install SDK for your camera. The SimpleGazeTracker's source file assumes that SDKs are installed under following directories.

Edition

Directory

FlyCapture2

C:/Program Files/Point Grey Research/FlyCapture2

OpenCV

(No camera-specific SDK)

OptiTrack

C:/Program Files (x86)/NaturalPoint/Optitrack

Spinnaker

C:/Program Files/FLIR Systems/Spinnaker/

If you want to install these files in other directory, you'll have to edit "Include Directory" and "Library directory" of project's property so that VisualStuido can find necessary files. Start VisualStudio and open SimpleGazeTracker solution. Right-click on project (for example, SimpleGazeTracker_FlyCapture2) in the Solution Explorer to show pop-up menu. Then, select "Properties" (Figure 2).

../_images/build_windows_002.png

Figure 2

Select "VC++ Directories" and left-click an edit box right to "Include Directories". Then, select "<Edit...>" (Figure 3).

../_images/build_windows_003.png

Figure 3

Comfirm that Include directries are correct. In a similar way, check Library directories and update them if necessary.