Table Of Contents

Detect Objects (G Dataflow)

Last Modified: June 25, 2019

Detects learned objects in the image.

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

connector_pane_image
datatype_icon

ROI descriptor

Rectangle region specifying the location of the sample in the image.

If ROI Descriptor is empty, the entire image is considered to be the region.

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 names

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

This requires four node names.

datatype_icon

number of objects

String that specifies output node name for receiving number of detected objects using the loaded model. The corresponding node must output single dimensional tensor.

datatype_icon

labels

String to specify the output node name for receiving labels of detected objects. The corresponding node must output double dimensional tensor.

datatype_icon

scores

String to specify the output node name for receiving scores for the detected objects. The corresponding node must output double dimensional tensor.

datatype_icon

bounding boxes

String to specify the output node name for receiving bounding boxes (top, left, bottom, right) of detected objects. The corresponding node must output three dimensional tensor.

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 clusters containing Class ID and Label..

This is used for constructing detected objects.

datatype_icon

model session out

Reference to the modified loaded model.

datatype_icon

image out

Reference to the source image.

datatype_icon

detected objects

Array of detected objects in the image.

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

bounding box

Array of points that define the boundary of the detected object.

Typically the model graph outputs unit bounding boxes. They are converted to image dimensions. You can connect this array directly to the Overlay Multiple Lines node to overlay the location of a match on your image.

datatype_icon

number of objects

Number of detected objects in the image.

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