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 section 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 in order to read the licensing information, but it is important not to change the file in any way as it would become invalid.
Applications without a valid license key will not work properly and appropriate warning message will be displayed.
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, please decide on your Application's Package Name and send it to your Visage Technologies contact person together with your purchase order. In return, you will receive a License Key File by email.
License Key File needs to be copied to the application's resources folder. The path to the License Key File is then passed to the initialization function in order to let the application read the License Key File. This is done as follows in your application code:
// neccessary prototype declaration for licensing
namespace VisageSDK
{
int initializeLicenseManager(JNIEnv* env, jobject obj, const char *licenseKeyFileName);
}
...
//initialize licensing
initializeLicenseManager(env, obj, "absolute_path/name-of-the-license-file.vlc");
getFilesDir().getAbsolutePath().
Following instructions show how to include license key file to visage|SDK sample applications.
License file should be copied to assets/trackerdata folder.
The licensing code is found in the Java_com_visagetechnologies_visagetrackerdemo_TrackerActivity_TrackerInit method, in the AndroidWrapper.cpp file. License key filename needs to be changed in LicenseString.h
License file should be copied to assets/trackerdata folder.
The licensing code is found in the Java_com_visagetechnologies_visagetrackerdemo_TrackerActivity_TrackerInit method, in the AndroidWrapper.cpp file. License key filename needs to be changed in LicenseString.h
License file should be copied to assets/trackerdata folder.
The licensing code is found in the Java_com_visagetechnologies_facedetectdemo_DetectorActivity_DetectorInit method, in the VisageFeaturesDetectorWrapper.cpp file. License key filename needs to be changed in LicenseString.h
License file should be copied to Assets\StreamingAssets\Visage Tracker folder.
After that, licenseString variable should be set to the name of your license key file (XXX-XXX-XXX-XXX-XXX-XXX-XXX-XXX-XXX-XXX-XXX.vlc) in script LicenseString.cs.
Additionally, the license key file needs to be added to the list of files to be unzipped - add the license key file name to the Paths Needed field in the method Unzip() as follows:
"license_file_name.vlc"
License Key Files need to be copied to the application's resources folder. To include multiple license key files simply call initialization function for each License Key File. This is done as follows in your application code:
// neccessary prototype declaration for licensing
namespace VisageSDK
{
int initializeLicenseManager(JNIEnv* env, jobject obj, const char *licenseKeyFileName);
}
...
//initialize licensing
initializeLicenseManager(env, obj, "absolute_path/name-of-first-license-file.vlc");
initializeLicenseManager(env, obj, "absolute_path/name-of-second-license-file.vlc");
where "name-of-first-license-file.vlc" and "name-of-second-license-file.vlc" are the names of your License Key Files and "absolute_path" is the absolute path to the License Key File (internal or external storage).
For including multiple License Key Files in visage|SDK sample applications, refer to guidelines specified in section Including the License Key File in your application for each License Key File.