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

getting a view from multiple cameras #49

Closed oshima-yoppi closed 10 months ago

oshima-yoppi commented 10 months ago

Thank you for providing a great library.

I would like to know how to do this when there are multiple cameras.

So far (if I'm not mistaken) I can only get data from the camera viewpoint that exists by default in blender. Please let me know how to get the viewpoints from the cameras I have specified.

I am waiting for your reply.

zsy950116 commented 10 months ago

您好,您的邮件我已经接收。

DIYer22 commented 10 months ago

Before render:

bpy.context.scene.camera = specified_camera