# Welcome to visage|SDK

Visage|SDK for HTML5 is a JavaScript software development kit encapsulating Visage Technologies’ powerful face detection and tracking technology, as well as a simple high-level API for Augemented Reality applications based on face tracking, such as virtual eyewear try-on.

## Getting started

Visage|SDK provides access to face tracking technology through a flexible API supporting a variety of aplications. An overview of the API is given in the API section. Visage|SDK includes sample projects with full source code demonstrating how to use the API. It is recommended to start by running the samples, described in the Samples section.

## Implementation

visage|SDK library is implemented in Webassembly format within visageSDK.js and visageSDK.wasm files with main data packaged separately within visageSDK.data file.

- visageSDK.js
- visageSDK.wasm
- visageSDK.data

Additional data files are provided in a form of a loader script and accompanying .data file, to be optionally included, depending on algorithms used.

- visageEarsRefinerData.js & visageEarsRefinerData.data
- visageRecognitionData.js & visageRecognitionData.data
- visageAnalyserData.js & visageAnalyserData.data

For more information see the API page of VisageTracker, VisageFaceAnalyser and VisageFaceRecognition.

Note that it is important for the web server to serve .wasm files over the network with the correct MIME type which is "application/wasm". That will allow streaming compilation, where the browser can start to compile code as it downloads.

For example, in Apache modify .htaccess file on web server as follows:

AddType application/wasm .wasm