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.
- Take a chessboard and take multiple images of it with variations in shot angle. The chessboard must havean internal corner size of 9,6.
- Store these images in the folder calibration_images
pip install -r requirements
python calib.py
- Note down the calibration matrix of your camera
- Store the calibration matrix in a file named K.txt in the folder with the images of the object.
- Insert folder name in sfm.py.
python sfm.py
- The ply file will be stored in the res folder.