Luxand FaceSDK – Sample Applications

FaceSDK is distributed with the following sample applications (they can be found in the FaceSDK samples\ directory):

1.      LiveRecognition

This application receives video from a camera, allows tagging any subject with a name, and then display the name (recognizing the subject). The application utilizes Tracker API. Source code is available on Microsoft C# 2005 / 2008/ 2010 and higher, iOS, Android (Eclipse and Android Studio), Borland Delphi 6.0 and higher, Microsoft Visual C++ 2005 / 2008 / 2010 / 2012 / 2013 / 2015, Microsoft Visual Basic .NET 2005 / 2008/ 2010 and higher, Java and Visual Basic 6.0. The iOS/Android versions are published in the Apple AppStore and in Google Play (“Luxand Face Recognition” application).

2.      FaceTracking

This application receives video from a webcam and highlights all detected faces with rectangles. The application utilizes Tracker API. Source code is available on Microsoft C# 2005 / 2008 / 2010 and higher, Borland Delphi 6.0 and higher, Microsoft Visual C++ 2005 / 2008 / 2010 / 2012 / 2013 / 2015, Microsoft Visual Basic .NET 2005 / 2008/ 2010 and higher, Java and Visual Basic 6.0.

3.      Lookalikes

This application allows the user to create a database of faces and run a search for the best matches (the most similar face from the database is shown). Source code is available on Microsoft Visual C++ 2005 / 2008 / 2010 / 2012 / 2013 / 2015, Microsoft C# 2005 / 2008 / 2010 and higher, Java and Borland Delphi 6.0 and higher. There is an example of working with Microsoft SQL database on Microsoft C# 2005 / 2008 / 2010 and higher, and with and SQLite on Microsoft Visual C++ 2005 / 2008 / 2010 / 2012 / 2013. To run the Microsoft SQL example, you need to attach the database (located in the DB folder of the sample) to the Microsoft SQL Server.

4.      LiveFacialFeatures

This application tracks users’ facial features in real time using a web camera. The coordinates of facial features are smoothed by Tracker API to prevent jitter. Source code is available on Microsoft C# 2005 / 2008 / 2010 and higher, Borland Delphi 6.0 and higher, Java, Microsoft Visual C++ 2005 / 2008 / 2010 / 2012 / 2013 / 2015, iOS, Android (Eclipse and Android Studio) and Microsoft Visual Basic .NET 2005 / 2008/ 2010 and higher.

5.      GenderRecognition

Using Tracker API, this application recognizes the gender of a subject looking into a webcam. Source code is available on Microsoft C# 2005 / 2008 / 2010 and higher, Borland Delphi 6.0 and higher, Java, Microsoft Visual C++ 2005 / 2008 / 2010 / 2012 / 2013 / 2015, iOS, Android (Eclipse and Android Studio) and Microsoft Visual Basic .NET 2005 / 2008 / 2010 and higher.

6.      ExpressionRecognition

Using Tracker API, this application recognizes if a subject looking into a webcam is smiling, and if the subject's eyes are open or closed. Source code is available on Microsoft C# 2005/2008 / 2010 and higher, Borland Delphi 6.0 and higher, Java, Microsoft Visual C++ 2005 / 2008 / 2010 / 2012 / 2013 / 2015, iOS, Android (Eclipse and Android Studio) and Microsoft Visual Basic .NET 2005/2008 / 2010 and higher.

7.      FacialFeatures

This application opens a photo, detects a face in the photo (only one face, the one that can be detected best), detects facial features and draws a frame around the detected face and detected features. Source code is available on Microsoft C# 2005 / 2008 / 2010 and higher, Borland C++ Builder 6.0, Borland Delphi 6.0 and higher, Java, Microsoft Visual C++ 2005 / 2008 / 2010 / 2012 / 2013 / 2015, iOS, Android (Eclipse and Android Studio), Microsoft Visual Basic .NET 2005 / 2008 / 2010 and higher, Visual Basic 6.0.

8.      IPCamera

This application opens an IP camera (allowing the user to specify its address, user name and password), displays the image from the camera and tracks faces. The application utilizes Tracker API. Source code is available on Microsoft C# 2005 / 2008 / 2010 and higher, Borland Delphi 6.0 and higher, Java, Microsoft Visual C++ 2005 / 2008 / 2010 / 2012 / 2013 / 2015 and Microsoft Visual Basic .NET 2005 / 2008 / 2010 and higher.

9.      Portrait 

This application is for the command line. The application receives a picture, detects a face and, if the face is found, crops it and saves it to a file. Source code is available on C++.

10.      Advanced 

This sample provides source code for .NET wrapper that links facesdk.dll dynamically. Refer to Using with .NET (C# and VB) for details. The sample also provides source code for Java wrapper.

 

Next chapterUsing FaceSDK with Programming Languages

Contents