General Data Comparison V1
Description
This operator is used to compare two dynamic input data. Unlike the "General Condition Judgment" operator (which compares data with a fixed threshold), this operator receives data from two input ports ("Data to be compared 1" and "Data to be compared 2"), extracts attributes (such as value, length, or internal sub-attributes) from both based on user-defined rules for logical comparison, and finally outputs a boolean result.
Overview
Compares specified attributes of any two data items of the same type and outputs a boolean result.
Scenarios
-
Consistency Check: Checks if the data volume of two lists is consistent (e.g., whether the number of recognized objects is equal to the expected number of grabs).
-
Dynamic Threshold Judgment: Uses a dynamically changing value as a threshold to filter another data (e.g., judging whether the score of the current "Pick point" is higher than the previous highest score).
-
Attribute Comparison: Compares the same attribute of two different objects (e.g., comparing the Z-axis height of two "Poses" to determine which is higher).
Inputs and Outputs
Inputs |
Data to be compared 1: The first input data (located on the left side of the logic expression), supports any type. Data to be compared 2: The second input data (located on the right side of the logic expression), supports any type. |
Outputs |
True Output: Boolean value. Outputs True when the judgment condition (Data 1 op Data 2) is met. False Output: Boolean value. Outputs True when the judgment condition is not met. |
Parameters
Comparison Object Type
Description |
Type of the comparison target object. |
Parameter Range |
Default: Float |
Judge Condition
Description |
Defines the logical operator used for comparison. |
Tuning Instructions |
Set the comparison logic:
|
Parameter Range |
Values/Range:
Default: Equal To |
Compare Sub-Attribute
Description |
Controls whether to access internal elements of the input data to retrieve attributes for comparison. |
Tuning Instructions |
Example: If two "Pose lists" are input, enabling this and selecting the z attribute will cause the operator to compare "the Z coordinate of the first pose in List 1" with "the Z coordinate of the first pose in List 2". |
Parameter Range |
Values/Range:
Default: False |
Comparison Attribute
Description |
This parameter is displayed dynamically based on the currently selected data type and determines which aspect of the two inputs is compared. You may compare the current value of the objects themselves, the length of a list, or a sub-attribute of an object. Make sure both inputs are being compared on the same comparable dimension; otherwise, even if their data types match, the result may not be meaningful. |
Parameter Range |
Values/Range:
|
Internal Element Attribute
Description |
This parameter is displayed dynamically based on the currently selected data type and, when "Compare Sub-Attribute" is enabled, specifies the internal field that is actually compared between the two inputs. Make sure you are selecting a corresponding field on both sides; otherwise, the comparison result may not be meaningful. |
Parameter Range |
Values/Range:
|
Comparison Attribute
Description |
For this data type in the current node, only the value option is available, meaning the value or content of the input object itself is compared directly. Length or internal-attribute comparison is not provided. |
Parameter Range |
Values/Range:
Default: value |
Comparison Attribute
Description |
For this data type in the current node, only the value option is available, meaning the value or content of the input object itself is compared directly. Length or internal-attribute comparison is not provided. |
Parameter Range |
Values/Range:
Default: value |
Comparison Attribute
Description |
For this data type in the current node, only the value option is available, meaning the value or content of the input object itself is compared directly. Length or internal-attribute comparison is not provided. |
Parameter Range |
Values/Range:
Default: value |
Comparison Attribute
Description |
For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic. |
Parameter Range |
Values/Range:
Default: len |
Comparison Attribute
Description |
For this data type in the current node, only the value option is available, meaning the value or content of the input object itself is compared directly. Length or internal-attribute comparison is not provided. |
Parameter Range |
Values/Range:
Default: value |
Comparison Attribute
Description |
For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic. |
Parameter Range |
Values/Range:
Default: len |
Comparison Attribute
Description |
For this data type in the current node, only the value option is available, meaning the value or content of the input object itself is compared directly. Length or internal-attribute comparison is not provided. |
Parameter Range |
Values/Range:
Default: value |
Comparison Attribute
Description |
For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic. |
Parameter Range |
Values/Range:
Default: len |
Comparison Attribute
Description |
For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic. |
Parameter Range |
Values/Range:
Default: len |
Comparison Attribute
Description |
For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic. |
Parameter Range |
Values/Range:
Default: len |
Comparison Attribute
Description |
For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic. |
Parameter Range |
Values/Range:
Default: len |
Comparison Attribute
Description |
For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic. |
Parameter Range |
Values/Range:
Default: len |
Comparison Attribute
Description |
For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic. |
Parameter Range |
Values/Range:
Default: len |
Comparison Attribute
Description |
For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic. |
Parameter Range |
Values/Range:
Default: len |
Comparison Attribute
Description |
For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic. |
Parameter Range |
Values/Range:
Default: len |
Comparison Attribute
Description |
For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic. |
Parameter Range |
Values/Range:
Default: len |
Comparison Attribute
Description |
For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic. |
Parameter Range |
Values/Range:
Default: len |
Comparison Attribute
Description |
For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic. |
Parameter Range |
Values/Range:
Default: len |
Comparison Attribute
Description |
For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic. |
Parameter Range |
Values/Range:
Default: len |
Comparison Attribute
Description |
For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic. |
Parameter Range |
Values/Range:
Default: len |
Comparison Attribute
Description |
For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic. |
Parameter Range |
Values/Range:
Default: len |
Comparison Attribute
Description |
For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic. |
Parameter Range |
Values/Range:
Default: len |
Comparison Attribute
Description |
For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic. |
Parameter Range |
Values/Range:
Default: len |
Comparison Attribute
Description |
For this data type in the current node, the available comparison options are len, value. value compares the object itself directly, while len compares its length, element count, or size-related quantity. Choose according to whether you need the content itself or a quantity/length characteristic. |
Parameter Range |
Values/Range:
Default: len |
Internal Element Attribute
Description |
Specifies which internal field is actually used for judgment or comparison in the current node. Available options are UUID Identifier, Confidence, Class Name, Angle. Choose the field you want to use as the comparison basis, such as identifier, score, size, index, or tag-related information. |
Parameter Range |
Values/Range:
Default: UUID Identifier |
Internal Element Attribute
Description |
Specifies which internal field is actually used for judgment or comparison in the current node. Available options are UUID Identifier, Confidence, Model Name, Point Cloud Index, Class Name. Choose the field you want to use as the comparison basis, such as identifier, score, size, index, or tag-related information. |
Parameter Range |
Values/Range:
Default: UUID Identifier |
Internal Element Attribute
Description |
Specifies which internal field is actually used for judgment or comparison in the current node. Available options are id, priority, uuid, score, name, model_binding_name. Choose the field you want to use as the comparison basis, such as identifier, score, size, index, or tag-related information. |
Parameter Range |
Values/Range:
Default: id |
Internal Element Attribute
Description |
Specifies which internal field is actually used for judgment or comparison in the current node. Available options are Status Code, Status Message, Status Type. Choose the field you want to use as the comparison basis, such as identifier, score, size, index, or tag-related information. |
Parameter Range |
Values/Range:
Default: Status Code |
Internal Element Attribute
Description |
Specifies which internal field is actually used for judgment or comparison in the current node. Available options are Image Area, Image Channels, Image Height, Image Width, Tag. Choose the field you want to use as the comparison basis, such as identifier, score, size, index, or tag-related information. |
Parameter Range |
Values/Range:
Default: Image Area |
Internal Element Attribute
Description |
Specifies which internal field is actually used for judgment or comparison in the current node. Available options are Image Area, Image Channels, Image Height, Image Width, Tag. Choose the field you want to use as the comparison basis, such as identifier, score, size, index, or tag-related information. |
Parameter Range |
Values/Range:
Default: Image Area |
Internal Element Attribute
Description |
Specifies which internal field is actually used for judgment or comparison in the current node. Available options are Image Area, Image Channels, Image Height, Image Width, Tag. Choose the field you want to use as the comparison basis, such as identifier, score, size, index, or tag-related information. |
Parameter Range |
Values/Range:
Default: Image Area |
Internal Element Attribute
Description |
Specifies which internal field is actually used for judgment or comparison in the current node. Available options are Image Area, Image Channels, Image Height, Image Width, Tag. Choose the field you want to use as the comparison basis, such as identifier, score, size, index, or tag-related information. |
Parameter Range |
Values/Range:
Default: Image Area |
Internal Element Attribute
Description |
Specifies which internal field is actually used for judgment or comparison in the current node. Available options are Point Count, Point Data Type, Tag. Choose the field you want to use as the comparison basis, such as identifier, score, size, index, or tag-related information. |
Parameter Range |
Values/Range:
Default: Point Cloud Point Count |
Internal Element Attribute
Description |
Specifies which internal field is actually used for judgment or comparison in the current node. Available options are Point Count, Point Data Type, Tag. Choose the field you want to use as the comparison basis, such as identifier, score, size, index, or tag-related information. |
Parameter Range |
Values/Range:
Default: Point Cloud Point Count |
Internal Element Attribute
Description |
Specifies which internal field is actually used for judgment or comparison in the current node. Available options are Point Count, Point Data Type, Tag. Choose the field you want to use as the comparison basis, such as identifier, score, size, index, or tag-related information. |
Parameter Range |
Values/Range:
Default: Point Cloud Point Count |