On this page | |
Since | 20.5 |
This node takes a Houdini attribute and converts it into a standardized format that can be read by the script that builds the COCO JSON file.
Note
The node does the format conversion automatically, but below is a useful reference if you decide to make further manipulations to these synth attributes after the attribute is promoted.
A synth attribute:
-
has the prefix “synth_” in the attribute name for the
Labs ML CV ROP Annotation Output SOP to identify this attribute
-
is always a string (although the string may represent a non-string attribute)
-
follows the following structure
[attribute_type_index, attribute_value]
Attribute type |
Index |
Example synth attribute |
---|---|---|
integer |
0 |
|
float |
1 |
|
string |
2 |
|
integer array |
3 |
|
float array |
4 |
|
string array |
5 |
|
The original ML Computer Vision tools were developed by the Synthetic Data team at Endava PLC.
パラメータ ¶
Attribute Name
The name of the attribute to promote.
Promote to Point Attribute
Enables the conversion of the specified attribute to a point
attribute (as required by the Labs ML CV ROP Annotation Output SOP).
Original Class
The class the attribute starts in.
Promotion Method
Whenever there is more than one attribute in the original class that matches a single entity in the new class, some method must be used to determine the new value. For example, if converting from point attribute to primitive attribute, there will be many points corresponding to a single polygon.
Delete Original
Deletes the original attribute after promotion.
Examples ¶
Tip
When viewing in Houdini’s Help Browser, please copy the example file’s URL to a regular browser to proceed with the download.
See also |