Execute_MultiLayerOutput

Execute_MultiLayerOutput 1:

Execute a neural network using the provided image as input and provide the output from the specified output layers. If sLayerNames is empty, the method returns the output of the unconnected output layers. The method doesn't perform any pre-processing or transformation.

Syntax

Definition:

METHOD Execute_MultiLayerOutput : HRESULT
VAR_INPUT
    ipSrcImage    : ITcVnImage;
    pipDestImages : Pointer To ITcVnContainer;
    ipLayerNames  : ITcVnContainer;
END_VAR

 Inputs

Name

Type

Description

ipSrcImage

ITcVnImage

Source image (The image layout must be adapted to match the model's expected input format using e.g. F_VN_ConvertDataLayout or F_VN_ReshapeImage functions if necessary.)

pipDestImages

Pointer To ITcVnContainer

Container of images containing the output from the specified layers

ipLayerNames

ITcVnContainer

Container of layer names whose outputs are required (ContainerType_Vector_String_SINT). If set to zero, the container ipDestImages holds the outputs of all the unconnected output layers.

 Return value

HRESULT