Hello friends,
I am trying to make synthetic data of cardboard boxes in warehouse. I created dataset of individual boxes placed in random positions. But i would like to make dataset with boxes grouped together in a rack or like a pile. I tried to use warehouse pile asset which is a pile of boxes but i cannot individually access each boxes in the pile and give labels and there by annotating the individual boxes. If anyone have any ideas regarding this, please reply. It would be very helpful for me.
Thank you so much.
1 Like
Can you point to the specific pile asset you’re referring to? You could do this one of three ways.
-
Edit the asset (or a copy of it) to remove the label at the top of the hierarchy, and assign semantic labels to all the child box meshes you want. See: Adding Semantics to a Scene — Omniverse Extensions latest documentation
-
In a scene with these piles and boxes, you could write a python script to traverse the stage and apply semantic labels to the meshes you want. Attached is a script I use to do something similar, but its just plain USD and kit commands, not a replicator script.
-
You could technically also do this in the replicator script, before generating the graph, but its probably best done in the above two situations so you’re not unnecessarily doing this each time you run the script.
traverse_stage_edit_semantics.py (6.3 KB)
1 Like
Thanks again for your response