Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 863 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 863 Bytes

Align Mesh Model to Image

Trying out a thought.

I take image of a banana. I have a 3d mesh model of a banana. Since there are semantic alignment methods, it is possible to match points. Once you have 3d-2d correspondence, in principle it should be possible to align the 3d mesh model to the imaged banana. For now I hard-code the 3d-2d correspondence. See main.cpp for the values.

I use Theia-sfm's DlsPnp method.

It works!

How to run?

mkdir build
cmake ..
make
./main

Results

Mesh Model Projected on the Image

Result

3d-2d Manually Marked

Manual Markings Manual Markings

Input Image

Input Image