Licensing

By having any Visage Technologies Program, or part of it, installed or copied on your computer, you agree to the terms of the Visage Technologies AB Software License Agreement. If you do not agree with these terms, please entirely remove any Visage Technologies Programs from your computer.

This page focuses on technical issues such as obtaining and using the license key files. For detailed commercial conditions please contact Visage Technologies.

Applications developed using visage|SDK must be licensed in order to function. Licensing is based on License Key Files. A single License Key File is valid for one or more installations on one or more platforms (operating systems). The License Key File can be opened in a text editor (e.g. Windows Notepad or similar) in order to read the licensing information, but it is important not to change the file in any way as it would become invalid.

Note that you need to obtain a Licence Key File when you want to run any application using visage|SDK for HTML5 on your web server. Without a license key, applications will not work properly and appropriate warning message will be displayed.

Obtaining the License Key File

For 30-day evaluation, simply send an email request to your Visage Technologies contact person and you will receive a License Key File by email.

If you are purchasing a license, your Visage Technologies contact person will deliver your License Key File by email based on your purchase order.

Including the License Key File in your application

Add License Key File to the folder on the server where HTML file is located (for example www\Samples\VirtualEyewearTryOn folder). In your application, you need to preload License Key File before VisageModule is loaded, and then call the initialization function in order to let the Application read the License Key File. Example how this is done is as follows in your application code:

Preloading License Key File:


    var VisageModule = VisageModule({onRuntimeInitialized: onModuleInitialized, locateFile: locateFile});

    var preloadFiles = function() {
        VisageModule.FS_createPreloadedFile('/', licenseName, licenseURL, true, false, function(){ },  function(){ alert("Loading License Failed!") }); 	
      };
    VisageModule.preRun.push(preloadFiles);

Initializing License Key File:


    VisageModule.initializeLicenseManager("name-of-the-license-file.vlc");

    tracker = new VisageModule.VisageTracker("../../lib/Head_Tracker.cfg");

    faceData = new VisageModule.FaceData();


where "name-of-the-license-file.vlc" is the name of your License Key File located in the same folder as the main HTML file of application. Examples can be found in onModuleInitialized() function in gazeTracker.html (GazeTracker sample), ShowcaseDemo.html, recognitionWorker.js and analysisWorker.js (ShowcaseDemo sample) files or in eyewear.html (VirtualEyewearTryOn sample) file.