SetVotesThreshold

SetVotesThreshold 1:

Sets the accumulator threshold, i.e. the number of votes required to detect a match (too small values lead to false detections).

Syntax

Definition:

METHOD SetVotesThreshold : HRESULT
VAR_INPUT
    nVotes : DINT;
END_VAR

SetVotesThreshold 2: Inputs

Name

Type

Description

nVotes

DINT

Number of votes required to detect a match (> 0)

SetVotesThreshold 3: Return value

HRESULT