|
FaceTracker2
|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
The FaceTracker2 example project demonstrates the following capabilities of visage|SDK:
In order to try the sample application, you need to have a valid license key. More information on how to obtain license key and include it in the application can be found in Licensing section of the documentation.
For a quick start just run the demo, and select "Track From Camera"; or select "Track From Video" from the "Tracking" menu and select one of the video files available in the Samples/OpenGL/data/Videos folder which may require, depending on the system, installation of Xvid video codec.
For liveness verification demonstration, please select Liveness -> Perform liveness.
The specific classes and methods that demonstrate visage|SDK are:
Further classes and methods that are important for detailed understanding how this sample project is implemented and how it used visage|SDK are:
This example project includes code that implements writing of tracking data into a text file. The functionality is disabled by default and can be enabled by choosing Tracking from menu and selecting Write tracking data. In VisionExampleDoc.cpp close to the top are the lines defining VS_WRITE_AU and VS_WRITE_HEADPOSE. Each of these constants controls the writing of one type of data, specifically Action Units and head pose. For example, to disable writing of head pose and leave only Action Units, simply comment the line defining VS_WRITE_HEADPOSE.
When activated, the data is written into a text file with values delimited by colon (;). The first line is the header.
When tracking from an image, the output data file is created in the same folder with the image and has the same name as the image with extension .txt.
When tracking from a video file, the output data file is created in the same folder with the video file and has the same name as the video file with extension .txt.
When tracking from camera, the output file is created in the tracker working folder (by default this is "Visage Technologies\visageSDK\Samples\data"). The name of the file is cam-data-<time>.txt, where "time" is the date and time when data was recorded.
1.8.10