Skip to content

sfmig/3d-reconstruction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exploring 3D reconstruction

For a simple case using opencv's solvePnP algorithm.

To run the notebook locally

  1. Create a Python virtual environment. For example to use conda to create an environment called 3d-reconstruction:
    conda create -n 3d-reconstruction python=3.10
    
  2. Activate the virtual environment. With conda:
    conda activate 3d-reconstruction
    
  3. Install the dependencies specified in the requirements.txt file with:
    pip install -r requirements.txt 
    
  4. You should be able to run the compute_camera_extrinsics.ipynb notebook in the created virtual environment 🎉

Next steps

Multi-view triangulation:

Bundle adjustment:

Triangulate points -- opencv example

  • only 2-by-2 views are possible in opencv's Python API
  • see examples here

Some useful resources:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published