You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to add support for synthetic defects generation on synthetic rendered data. My defects are texture based and I know exactly where are they located on texture of 3d objetcs. I can calculate where are these defects located and if they are visible in terms of bounding boxes on rendered 2d images (using Blender python API). Now I want render these defective objects and store in coco format their bounding boxes and defect type.
Texture with synthetic defects:
Rendered image with bounding boxes for visible defects:
The question is: Where is the best place to write the code which calculates the position of defects in rendered images?
Minimal code example
No response
Files required to run the code
No response
Expected behavior
I would say that there should be DefectBoxMapRenderer.py in blenderproc/python/modules/renderer/ which could generate 2d images with colorboxes, each for one defect. This could be than processed with bproc.writer.write_coco_annotations. Am I right ?
BlenderProc version
2.5.0
The text was updated successfully, but these errors were encountered:
sorry I dont fully understand your question. Why do you need to place your code inside the blenderproc folder? You could also just place your custom renderer next to your other own code (e.g. your main.py script).
Describe the issue
I want to add support for synthetic defects generation on synthetic rendered data. My defects are texture based and I know exactly where are they located on texture of 3d objetcs. I can calculate where are these defects located and if they are visible in terms of bounding boxes on rendered 2d images (using Blender python API). Now I want render these defective objects and store in coco format their bounding boxes and defect type.
Texture with synthetic defects:
Rendered image with bounding boxes for visible defects:
The question is: Where is the best place to write the code which calculates the position of defects in rendered images?
Minimal code example
No response
Files required to run the code
No response
Expected behavior
I would say that there should be
DefectBoxMapRenderer.py
inblenderproc/python/modules/renderer/
which could generate 2d images with colorboxes, each for one defect. This could be than processed withbproc.writer.write_coco_annotations
. Am I right ?BlenderProc version
2.5.0
The text was updated successfully, but these errors were encountered: