licensing changes

This commit is contained in:
core 2023-11-20 11:44:24 -05:00
parent 103b1aa99a
commit 01bffecad2
Signed by: core
GPG Key ID: FDBF740DADDCEECF
7 changed files with 241 additions and 59 deletions

View File

@ -0,0 +1,42 @@
# Visage Technologies AB
#
# License Key File
#
# This license key file is issued by Visage Technologies AB, Linkoping, Sweden
# under the terms of Visage Technologies Licensing Agreement. It is strictly
# prohibited to modify this file in any way.
#
# This license key file can be used only by the Licensee named below
# to distribute the Licensed Application named below. It is strictly
# prohibited to use this license key file for any other purpose,
# and specifically for distributing any application other
# than the Licensed Application named below.
# Furthermore, it is strictly prohibited for any party other
# than the Licensee named below to distribute this license key file.
#
#
#
# Licensed application name: Evaluation - no commercial use permitted
#
# Licensee: Cannon Middle School - 5801 Poplar Tent Road, Concord, NC 28027
#
# This License Key is issued for: visage|SDK FULL V9.1
# Operating system(s): HTML5
# License Type: Evaluation
# Application ID(*): *
# Number of installations/licenses: 10
# Number of concurrent users: -
# Licensed URL (for web license): y2spv2.coredoes.dev
# Date of issuing: 14.11.2023.
# Expiry date of the License Key: 14.12.2023.
# Automatic license registration: Always if online
# License Key: 063-172-163-996-391-498-880-879-796-980-878
#
#
#
#
#(*) Application ID means:
# App's bundle identifier on iOS.
# Application's package name on Android.
# Application's bundle identifier on Mac OS X.
# On Windows, Application ID is freely assigned by the application developer.

View File

@ -0,0 +1,42 @@
# Visage Technologies AB
#
# License Key File
#
# This license key file is issued by Visage Technologies AB, Linkoping, Sweden
# under the terms of Visage Technologies Licensing Agreement. It is strictly
# prohibited to modify this file in any way.
#
# This license key file can be used only by the Licensee named below
# to distribute the Licensed Application named below. It is strictly
# prohibited to use this license key file for any other purpose,
# and specifically for distributing any application other
# than the Licensed Application named below.
# Furthermore, it is strictly prohibited for any party other
# than the Licensee named below to distribute this license key file.
#
#
#
# Licensed application name: Evaluation - no commercial use permitted
#
# Licensee: Cannon Middle School - 5801 Poplar Tent Road, Concord, NC 28027
#
# This License Key is issued for: visage|SDK FULL V9.1
# Operating system(s): HTML5
# License Type: Evaluation
# Application ID(*): *
# Number of installations/licenses: 10
# Number of concurrent users: -
# Licensed URL (for web license): localhost
# Date of issuing: 14.11.2023.
# Expiry date of the License Key: 14.12.2023.
# Automatic license registration: Always if online
# License Key: 289-098-022-858-883-076-746-061-783-146-760
#
#
#
#
#(*) Application ID means:
# App's bundle identifier on iOS.
# Application's package name on Android.
# Application's bundle identifier on Mac OS X.
# On Windows, Application ID is freely assigned by the application developer.

View File

@ -0,0 +1,42 @@
# Visage Technologies AB
#
# License Key File
#
# This license key file is issued by Visage Technologies AB, Linkoping, Sweden
# under the terms of Visage Technologies Licensing Agreement. It is strictly
# prohibited to modify this file in any way.
#
# This license key file can be used only by the Licensee named below
# to distribute the Licensed Application named below. It is strictly
# prohibited to use this license key file for any other purpose,
# and specifically for distributing any application other
# than the Licensed Application named below.
# Furthermore, it is strictly prohibited for any party other
# than the Licensee named below to distribute this license key file.
#
#
#
# Licensed application name: Evaluation - no commercial use permitted
#
# Licensee: Cannon Middle School - 5801 Poplar Tent Road, Concord, NC 28027
#
# This License Key is issued for: visage|SDK FULL V9.1
# Operating system(s): HTML5
# License Type: Evaluation
# Application ID(*): *
# Number of installations/licenses: 10
# Number of concurrent users: -
# Licensed URL (for web license): cdn.coredoes.dev
# Date of issuing: 14.11.2023.
# Expiry date of the License Key: 14.12.2023.
# Automatic license registration: Always if online
# License Key: 383-192-941-979-373-458-660-171-653-160-671
#
#
#
#
#(*) Application ID means:
# App's bundle identifier on iOS.
# Application's package name on Android.
# Application's bundle identifier on Mac OS X.
# On Windows, Application ID is freely assigned by the application developer.

View File

@ -0,0 +1,42 @@
# Visage Technologies AB
#
# License Key File
#
# This license key file is issued by Visage Technologies AB, Linkoping, Sweden
# under the terms of Visage Technologies Licensing Agreement. It is strictly
# prohibited to modify this file in any way.
#
# This license key file can be used only by the Licensee named below
# to distribute the Licensed Application named below. It is strictly
# prohibited to use this license key file for any other purpose,
# and specifically for distributing any application other
# than the Licensed Application named below.
# Furthermore, it is strictly prohibited for any party other
# than the Licensee named below to distribute this license key file.
#
#
#
# Licensed application name: Evaluation - no commercial use permitted
#
# Licensee: Cannon Middle School - 5801 Poplar Tent Road, Concord, NC 28027
#
# This License Key is issued for: visage|SDK FULL V9.1
# Operating system(s): HTML5
# License Type: Evaluation
# Application ID(*): *
# Number of installations/licenses: 10
# Number of concurrent users: -
# Licensed URL (for web license): cdn.e3t.cc
# Date of issuing: 14.11.2023.
# Expiry date of the License Key: 14.12.2023.
# Automatic license registration: Always if online
# License Key: 695-404-032-262-884-678-752-402-455-252-704
#
#
#
#
#(*) Application ID means:
# App's bundle identifier on iOS.
# Application's package name on Android.
# Application's bundle identifier on Mac OS X.
# On Windows, Application ID is freely assigned by the application developer.

View File

@ -1486,7 +1486,10 @@ function onModuleInitialized()
pixels = new Uint8ClampedArray(VisageModule.HEAPU8.buffer, ppixels, mWidth*mHeight*4);
//set up tracker and licensing, valid license needs to be provided
VisageModule.initializeLicenseManager(licenseName);
for (let i = 0; i < licenses.length; i++) {
VisageModule.initializeLicenseManager(licenses[i]);
}
m_Tracker = new VisageModule.VisageTracker("Head Tracker.cfg");
TfaceDataArray = new VisageModule.FaceDataVector();
for (var i = 0; i < maxFacesTracker; ++i)
@ -1641,8 +1644,8 @@ function createWorkerAnalysis()
<script>
licenseName = "dev_html5.vlc"
licenseURL = "dev_html5.vlc"
let licenses = ["063-172-163-996-391-498-880-879-796-980-878.vlc", "289-098-022-858-883-076-746-061-783-146-760.vlc", "383-192-941-979-373-458-660-171-653-160-671.vlc", "695-404-032-262-884-678-752-402-455-252-704.vlc"];
var locateFile = function(dataFileName) {var relativePath = "../../lib/" + dataFileName; return relativePath};
VisageModule = {
locateFile: locateFile,
@ -1652,7 +1655,9 @@ VisageModule = {
VisageModule.FS_createPreloadedFile('/', 'Head Tracker.cfg', "../../lib/Head Tracker.cfg", true, false);
VisageModule.FS_createPreloadedFile('/', 'Face Detector.cfg', "../../lib/Face Detector.cfg", true, false);
VisageModule.FS_createPreloadedFile('/', 'NeuralNet.cfg', "../../lib/NeuralNet.cfg", true, false);
VisageModule.FS_createPreloadedFile('/', licenseName, licenseURL, true, false, function(){ }, function(){ alert("Loading License Failed!") });
for (let i = 0; i < licenses.length; i++) {
VisageModule.FS_createPreloadedFile('/', licenses[i], licenses[i], true, false, function(){ }, function(){ console.log("Loading License " + licenses[i] + " Failed!") });
}
}],

View File

@ -73,13 +73,15 @@ self.onmessage = function (msg) {
}
licenseName = "dev_html5.vlc"
licenseURL = "dev_html5.vlc"
let licenses = ["063-172-163-996-391-498-880-879-796-980-878.vlc", "289-098-022-858-883-076-746-061-783-146-760.vlc", "383-192-941-979-373-458-660-171-653-160-671.vlc", "695-404-032-262-884-678-752-402-455-252-704.vlc"];
var locateFile = function(dataFileName) {var relativePath = "../../lib/" + dataFileName; return relativePath};
VisageModule = {
locateFile: locateFile,
preRun: [function() {
VisageModule.FS_createPreloadedFile('/', licenseName, licenseURL, true, false, function(){ }, function(){ console.log("Loading License Failed!") });
for (let i = 0; i < licenses.length; i++) {
VisageModule.FS_createPreloadedFile('/', licenses[i], licenses[i], true, false, function(){ }, function(){ console.log("Loading License " + licenses[i] + " Failed!") });
}
VisageModule.FS_createPreloadedFile('/', 'NeuralNet.cfg', "../../lib/NeuralNet.cfg", true, false);
}],
@ -110,7 +112,9 @@ function onModuleInitialized()
console.log(msg);
}
VisageModule.initializeLicenseManager(licenseName);
for (let i = 0; i < licenses.length; i++) {
VisageModule.initializeLicenseManager(licenses[i]);
}
m_FaceAnalyser = new VisageModule.VisageFaceAnalyser();
m_faceDataArrayTrack = new VisageModule.FaceDataVector();

View File

@ -62,18 +62,21 @@ self.onmessage = function (msg) {
licenseName = "dev_html5.vlc"
licenseURL = "dev_html5.vlc"
let licenses = ["063-172-163-996-391-498-880-879-796-980-878.vlc", "289-098-022-858-883-076-746-061-783-146-760.vlc", "383-192-941-979-373-458-660-171-653-160-671.vlc", "695-404-032-262-884-678-752-402-455-252-704.vlc"];
var locateFile = function(dataFileName) {var relativePath = "../../lib/" + dataFileName; return relativePath};
VisageModule = {
locateFile: locateFile,
preRun: [function() {
VisageModule.FS_createPreloadedFile('/', licenseName, licenseURL, true, false, function(){ }, function(){ console.log("Loading License Failed!") });
for (let i = 0; i < licenses.length; i++) {
VisageModule.FS_createPreloadedFile('/', licenses[i], licenses[i], true, false, function(){ }, function(){ console.log("Loading License " + licenses[i] + " Failed!") });
}
VisageModule.FS_createPreloadedFile('/', 'NeuralNet.cfg', "../../lib/NeuralNet.cfg", true, false);
}],
onRuntimeInitialized: onModuleInitialized
}
importScripts('../../lib/visageSDK.js');
importScripts('../../lib/visageRecognitionData.js');
@ -99,7 +102,9 @@ function onModuleInitialized()
console.log(msg);
}
VisageModule.initializeLicenseManager(licenseName);
for (let i = 0; i < licenses.length; i++) {
VisageModule.initializeLicenseManager(licenses[i]);
}
m_Recog = new VisageModule.VisageFaceRecognition();
m_faceDataArray = new VisageModule.FaceDataVector();
m_faceDataArray.push_back(new VisageModule.FaceData());