bool SetDetectionSizes (int, int, int, int, int, int, string)

Sets the device detection bounds values.

Security

Trust Level Required: High Trust

Parameters

Name Description
humanBodyMin int
The minimum level for detection of human bodies, where the range is between 20 and 8192. Default is 30.
humanBodyMax int
The maximum level for detection of human bodies, where the range is between 20 and 8192. Default is 8192.
handMin int
The minimum level for detection of hands, where the range is between 20 and 8192. Default is 40.
handMax int
The maximum level for detection of hands, where the range is between 20 and 8192. Default is 8192.
faceMin int
The minimum level for detection of faces, where the range is between 20 and 8192. Default is 64.
faceMax int
The maximum level for detection of faces, where the range is between 20 and 8192. Default is 8192.
deviceName (Optional) string
The name of the device to perform an operation on.

Return

If true, the detection sizes were successfully set. Otherwise, false.

Remarks

The sizes correspond to relative sizes from the camera's view. The minimum and maximum sizes determine limits for what could potentially be a matched object. Objects with sizes that fall outside of the minimum or maximum will not be matched against.

Examples


if(!KioOmronHVC.SetDetectionSizes(30, 8192, 40, 8192, 64, 8192))
    alert('Failed to set detection sizes!');

Requirements

KioWare for Windows version 8.16 or greater.