-
Notifications
You must be signed in to change notification settings - Fork 453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multi labels of same object class #896
Comments
What do you mena with smaller meshes? Are these separate objects or not? You will only get separate annotations if they are different objects. So I would recommend to separate the objects and then implement the logic (which objects is the sub objects of which other object) outside of blenderproc. |
actually I have a flat object model, on which there are some text and arrows (which are separate meshes before joining). like a sign board. I want to get the annotations of the text and arrows (like pixels inside each text letter character and arrows/ or at least the centre point of each letter). Previously you have suggested me a script which saves all grease pencil points as 2D points in this issue. However, in my case what do you think is best since there are many letters to annotate. Should I use the above approach. edit: blender model like below (right side object is before joining the meshes) |
So if I understand you correctly, a segmentation mask for each letter would be enough, right? You can calculate the keypoints then based on that. If that is the case, I would suggest to simply not join the objects and then use the default segmentation renderer |
Is it possible to do along with the coco annotations. I want the bbox values of the entire sign board. Is it possible wihtout joining the mesh. |
The blue part of the object is one whole object, right? Then the bbox of the blue part should be equal to the bbox of the whole sign. |
Yes, |
You need both, the segmentation renderer and the coco annotations writer. See https://github.com/DLR-RM/BlenderProc/tree/main/examples/advanced/coco_annotations |
Okay. I will try it tomorrow and update with you |
Hey @soans1994, one thing you could do to make this easier and also work with multiple signs is to use the category_id a bit more: |
same id for all the text characters possible? wont it be considered as same object group? |
First i should name paths inn blender.
Should i rename texts too? |
You can use the same category id for multiple objects. There will still be multiple annotations in the coco output. |
@cornerfarmer |
I assume this is solved, if not, feel free to reopen. |
my segmented .npy file is looking like this and I think its wrong. |
Dear BlenderProc team,
Currently I have managed to get output for different object classes in COCO format.
But, I want (all the annotations like bbox, segmentation mask) of all the smaller meshes that are present inside the main object.
For example, there are texts and symbols that i managed to create as different meshes in blender. I want to save the annotations of these texts and symbols in the coco output. Output attributes like
sub_text_category_id_1, bbox_text_1, segmentation_text_1
sub_symbol_category_id_1, bbox_symbol_1, segmentation_symbol_1
sub_text_category_id_2, bbox_text_2, segmentation_text_2
My goal is to create a multi branch output cnn model which detects main object and its inner features like text and symbols separately.
Thank You
Soans Rahul
The text was updated successfully, but these errors were encountered: