Houdini 20.5 Nodes Geometry nodes

Labs ML CV Promote Synth Attribute 1.0 geometry node

Converts an attribute into a format compatible with COCO JSON.

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

[0, 1]

float

1

[1, {1.0}]

string

2

[2, 'string']

integer array

3

[3, {1,2}]

float array

4

[4, {1.0,2.0}]

string array

5

[5, {'string1','string2'}]

The original ML Computer Vision tools were developed by the Synthetic Data team at Endava PLC.

Parameters

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

Geometry nodes