ExecuteNeuralNetwork_MultiLayerOutput
Execute a neural network using the provided image as input and provide the output from the specified output layers. The function doesn't perform any pre-processing or transformation.
Syntax
Definition:
HRESULT ExecuteNeuralNetwork_MultiLayerOutput(
HRESULT hrPrev,
ITcVnNeuralNetwork* ipNeuralNetwork,
ITcVnImage* ipSrcImage,
ITcVnContainer*& ipDestImages,
ITcVnContainer* ipLayerNames
)
Parameters
Name |
Type |
Description |
---|---|---|
hrPrev |
HRESULT indicating the result of previous operations (If SUCCEEDED(hrPrev) equals false, no operation is executed.) | |
ipNeuralNetwork |
Neural network model | |
ipSrcImage |
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.) | |
ipDestImages |
Container of images containing the output from the specified layers. | |
ipLayerNames |
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. |
Required License
TC3 Vision Neural Network
System Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT V3.1.4024.59 or later | PC or CX (x64) with PL50, e.g. Intel 4-core Atom CPU | Tc3_Vision |