Execute_SingleLayerOutput

Execute_SingleLayerOutput 1:

Execute a neural network using the provided image as input and provide the output from a specified output layer. The method doesn't perform any pre-processing or transformation.

Syntax

Definition:

METHOD Execute_SingleLayerOutput : HRESULT
VAR_INPUT
    ipSrcImage   : ITcVnImage;
    pipDestImage : Pointer To ITcVnImage;
    sLayerName   : STRING;
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.)

pipDestImage

Pointer To ITcVnImage

Destination image (An appropriate destination image based on the output layer is created. To process the destination image, use e.g. F_VN_ConvertDataLayout or F_VN_ReshapeImage if necessary.

sLayerName

STRING

Specify the name of the layer for which the output is required. If empty, the output of the last output layer is provided.

 Return value

HRESULT