zju3dv / pvnet-rendering

render images for pvnet training
Apache License 2.0
183 stars 46 forks source link

Generate for custom object #68

Closed RoyAmoyal closed 2 years ago

RoyAmoyal commented 2 years ago

Hey, I generated my custom dataset using https://github.com/F2Wang/ObjectDatasetTools just like clean-pvnet mentioned.

In run_rendering function I will change: renderer=Renderer('cat') to renderer=Renderer('milk')

In Rendering I change intrinsic_matrix = { 'linemod': np.array([[572.4114, 0., 325.2611], [0., 573.57043, 242.04899], [0., 0., 1.]]),

to the intrinsic matrix of my camera.

*Do I have to change the blender_matrix?

what else do I have to change in your code to render images for my own object dataset?

thanks!

pengsida commented 2 years ago

You could use this project for rendering: https://github.com/DLR-RM/BlenderProc

bjutlss commented 1 year ago

Have you solved it? I had a similar problem @RoyAmoyal