Ask Your Question
0

How to align images of a known object with a 3D model of that object using opencv?

asked 2020-05-07 10:22:18 -0600

I have a CAD model of an object in Blender software. And I had printed it out and took some photos of it.

I need to use the CAD software to render some synthetic images of the object. My task is to create rendered images as similar as possible to the photos which I took for the printed model. In the Blender software, there is a camera view to capture images to render. What I have are:

  1. CAD mesh model of the object image description

  2. photos of the object image description

  3. background image image description

    How can I do to match them?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2020-05-09 10:12:14 -0600

HYPEREGO gravatar image

This task is addressed as a augmented reality. There are several tutorial and articles on the web, I suggest you to start from them first. You need first to detect the plane on which you want to make the 3d model lie. Usually a chessboard is used, is more easy to detect the plane. Then the object is rendered on the plane. Take a look at this video, more or less at minute 2:20 The only difficult part maybe is pass the model from Blender to OpenCV.

edit flag offensive delete link more
0

answered 2020-05-09 03:46:09 -0600

kpachinger gravatar image
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-05-07 10:22:18 -0600

Seen: 2,109 times

Last updated: May 09 '20