On this page | |
Since | 20.5 |
This node takes a scene with all its Metadata, Labels, and Synth Attributes and outputs a ground truth JSON per frame, then aggregates the per frame JSON files into a single COCO JSON file for the full dataset.
Warning
Compute keypoint visibility can be inconsistent if the points are on top of each other.
The original ML Computer Vision tools were developed by the Synthetic Data team at Endava PLC.
パラメータ ¶
General ¶
Partition By
Uses Connectivity to loop through objects to generate JSON.
Piece:
3D Connectivity:
Piece Elements
Specifies the class of attribute to use for defining pieces in the for each
loop within this node.
Primitives:
Points:
Piece Attribute
Specifies the name of the attribute to use for defining pieces in the for each
loop within this node.
Visualize IDs
Toggles random color assignment to visualize the assignment of IDs.
Visualize
Changes between visualizing Instance IDs or Category IDs.
Dome Camera LOP Path
Specifies the Houdini path to the LOP node from which the camera primitive is retrieved.
Camera Primitive
Specifies the USD primitive path pointing to the camera (used to get screen space).
Compute Object Screen Percentage
Enables ground truth defining what percentage of each object is visible to the camera.
Resolution Multiplier
Adjusts the precision level for calculating the Visibility Percentage
Visualize Object Screen Percentage
Previews the calculation of visibility percentage
Use VDB Keypoint Visibility
Converts objects to VDB before calculating visibility. This is sometimes useful for closely layered objects.
Pack Geometry ¶
Group
A subset of points in the input geometry to run the program on. Leave this blank to affect all points in the input.
Group Type
What the group is made of (point, vertex, primitive etc).
Guess from Group:
Breakpoints:
Edges:
Points:
Primitives:
Delete Unused Groups
Deletes any geometry that does not belong to a group listed above.
Output Attributes ¶
Auto Add Existing Synth Attributes
Finds existing synth attributes in the scene geometry and build a multiparm element for each one.
Synth Attributes
The number of synthetic attributes.
Synth Attributes ¶
Synth Attribute
Name of the synth attribute to be exported to COCO JSON.
PDG ¶
Export JSON
Exports the ground truth JSON for the active frame/work item. This button is generally executed using a ROP Fetch in a ROP Synthetic Data TOP
node.
Aggregate JSON
Consolidates all individual frame JSON files into a single COCO JSON file for the entire dataset. This button is generally executed using a ROP Fetch in a ROP Synthetic Data TOP
node.
Camera Resolution
Specifies the camera resolution. Defaults to @res, a PDG attribute created by the ROP Synthetic Data TOP.
Output Path
Specifies the location of the dataset directory. By default, this calls an attribute created by the ROP Synthetic Data
TOP node.
Filename
Path and filename pattern specifying where per dataset frames should be rendered and what they should be named.
JSON Path
Path and filename pattern specifying where per image JSONs should be generated and what they should be named.
COCO Path
Path and filename pattern specifying the location where the aggregated COCO JSON file for the dataset should be generated and what it should be named.
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.