string RegisterFaceData(int, int, string)

Registers face data on the device.

Security

Trust Level Required: High Trust

Parameters

Name Description
userId int
The user Id to register (0-99).
dataId int
The data ID to register (slot 0-9 to save data in).
deviceName (Optional) string
The name of the device to perform an operation on.

Return

A base-64 string containing image data.

Examples


<img id="imgOutput" style="display:none;margin-top:10px;"/>

var img = KioOmronHVC.RegisterFaceData(1, 2);
displayImage(img);

function displayImage(base64) {
	var imgOutput = document.getElementById('imgOutput');
	imgOutput.style.display = '';
	imgOutput.src = 'data:image/png;base64, ' + base64;
}

Requirements

KioWare for Windows version 8.16 or greater.