Table Of Contents

Classify Image (G Dataflow)

Last Modified: March 12, 2018

Classifies an image based on the loaded model.

This node provides a reference design to classify an image using the loaded model.

connector_pane_image
datatype_icon

ROI descriptor

Region of the image from which to extract curves.

This region must be a single rectangle or rotated rectangle contour. By default, the node returns the curves for the entire image.

datatype_icon

Global Rectangle

Coordinates of the bounding rectangle.

datatype_icon

Contours

Individual shapes that define an ROI.

datatype_icon

ID

Object specifying if contour is the external or internal edge of an ROI.

datatype_icon

Type

Shape type of the contour.

datatype_icon

Coordinates

Relative position of the contour.

datatype_icon

model session in

Reference to the loaded model file.

datatype_icon

image in

Input for model graph Input Node Name.

Image will be converted to multi dimensional tensor based on loaded model.

datatype_icon

input node name

Name of the Input data node in the loaded model graph.

datatype_icon

output node name

name of the Output data node in the loaded model graph.

The corresponding data node must output a two dimensional array.

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Default: No error

datatype_icon

labels

Array of strings to specify class label names.

This is used for constructing Classification Results.

datatype_icon

model session out

Reference to the modified loaded model.

datatype_icon

image out

Reference to the source image.

datatype_icon

classification results

Output from the data of Output Node Name.

The loaded model output node must provide double dimensional data (similar to SoftMax ) tensor to support classification results.

datatype_icon

label

Class label name.

This string is referenced based on Labels input. If Labels is not supplied, the class ID is converted to a string.

datatype_icon

Score

Probablity score for the classification result.

Score ranges are based on output of the loaded model. It typically varies between 0 and 1.

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported

Web Server: Not supported in VIs that run in a web application


Recently Viewed Topics