Detect

Detect 1:

Detect the template in an image (SetTemplate must have been called before).

Syntax

Definition:

METHOD Detect : HRESULT
VAR_INPUT
    ipImage     : ITcVnImage;
    ipPositions : Reference To ITcVnContainer;
END_VAR

Detect 2: Inputs

Name

Type

Description

ipImage

ITcVnImage

Source image (1 channel, USINT)

ipPositions

Reference To ITcVnContainer

Returns the centers of the detected template positions (ContainerType_Vector_TcVnPoint2_REAL; Non-zero interface pointers are reused.)

Detect 3: Return value

HRESULT