Read Object Dimensions

Function

Read a list of object dimensions.

Usage Scenario

There are two ways to input the object dimensions in this Step. One is inputting from a JSON file containing dimensions of object(s), and the other is inputting directly in the Step Parameters panel.

For dynamically setting box dimensions in depalletizing projects, or for the subsequent point cloud classification operations that require object dimensions.

Input and Output

../../../../../_images/input_output_51.png

Parameters

Read Settings

Read Size from Properties
Default Value: True
List of Values: True, False
Instruction: When set as True, the actual length of the box on the X, Y, and Z axes can be filled in the Box Size Settings. The filled-in size value will be read from the properties when running this Step. When set to False, the size information of the object will be read through the parameters in the specified file “boxSizesList.json”, as shown in the Figure1. The content of the file is [0.4, 0.3, 0.2], and the length, width and height of the corresponding box are 0.4 meters , 0.3 meters, 0.2 meters respectively.
../../../../../_images/box_size.png

Figure1 Read Size from Properties

Box Size Settings

Auto Generate Box Sizes
Default Value: False
List of Values: True, False
Instruction: This attribute is used for multiple template matching and is not commonly used. By default, one set of size values are output, as shown on the left of Figure2. When set as True , three sets of size values are output. The original x/y/z value in the attribute is xyz/yzx /zxy output, as shown on the right side of Figure2.
../../../../../_images/box_sizes.png

Figure2 Auto Generate Box Sizes

Length on X-axis
Default Value: 0.1
Instruction: Fill in the actual length of the object on the X axis (the unit is meters). The valid range is (0, +∞).
Length on Y-axis
Default Value: 0.1
Instruction: Fill in the actual length of the object on the Y axis (the unit is meters). The valid range is (0, +∞).
Length on Z-axis
Default Value: 0.1
Instruction: Fill in the actual length of the object on the Z axis (the unit is meters). The valid range is (0, +∞).