Skip to content

mpkuse/mesh_image_align

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Align a 3d Mesh model and an Image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages