DIYer22 / bpycv

Computer vision utils for Blender (generate instance annoatation, depth and 6D pose by one line code)
MIT License
464 stars 58 forks source link

Does this tool supports semantic segmentation ? #6

Closed SyedShaQutub closed 3 years ago

SyedShaQutub commented 4 years ago

Hello, Thank you for the great tool. I would be really interested to know if this tool :

a. supports semantic segmentation? b. can we use our predefined labels like cityscapes label info?

DIYer22 commented 4 years ago

To (a):
Supports semantic segmentation, change obj["inst_id"] = inst_id's inst_id to semantic category id.

To (b): Just set inst_id like Cityscapes's inst_id

SyedShaQutub commented 4 years ago

Thank you for your answer. I have another important question. I guess many would be having the same issue. I see the code works on the object level. I have a city model which is basically is a single mesh(object) but has different materials for buildings, streets, etc. Can I create instances based on materials?

DIYer22 commented 4 years ago

Sorry, not support that.