bool SetThresholdValues(int, int, int, int, string)
Sets the device threshold levels.
Security
Trust Level Required: High Trust
Parameters
Name | Description |
humanBodyThres |
int The threshold for human body detection, between 1 and 1000. The higher the value, the higher the confidence in the match must be. |
handThres |
int The threshold for hand detection, between 1 and 1000. The higher the value, the higher the confidence in the match must be. |
faceDetThres |
int The threshold for facial expression detection, between 1 and 1000. The higher the value, the higher the confidence in the match must be. |
faceRecThres |
int The threshold for facial recognition detection, between 0 and 1000. The higher the value, the higher the confidence in the match must be. |
deviceName |
(Optional) string The name of the device to perform an operation on. |
Return
If true, the thresholds were successfully set. Otherwise, false.
Examples
if(!KioOmronHVC.SetThresholdValues(500,500,500,500))
alert('Failed to set thresholds!');
Requirements
KioWare for Windows version 8.16 or greater.