Skip to content

aman190202/3Dify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3DIFY

Constructing 3D point clouds out of 2D images

https://user-images.githubusercontent.com/48821634/234483878-c5be9631-f43c-4e2a-999f-1bf70d4cc5bd.mov

Inspiration

With the arrival of LiDaR sensors in iPhone 11 Pros, smartphones are now capableof capturing 3D data. Our goal is to enable normal smartphones with the ability to generate 3D data purely out of 2D images.

How to use

Obtain the camera calibration matrix

  1. Take a chessboard and take multiple images of it with variations in shot angle. The chessboard must havean internal corner size of 9,6.
  2. Store these images in the folder calibration_images
pip install -r requirements
python calib.py

  1. Note down the calibration matrix of your camera

Obtain the point cloud of the object

  1. Store the calibration matrix in a file named K.txt in the folder with the images of the object.
  2. Insert folder name in sfm.py.
python sfm.py
  1. The ply file will be stored in the res folder.

About

Constructing 3D models out of 2D images

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages