Let's implement real time scene in D-NeRF
-
Not noly python=3.6, it will use any version.
-
First, you must install COLMAP.
-
And, you prepare your video.mp4.
- Video input
'./data/video/' folder
- Run scripts
- In 'data_folder', folder must have 'images' folder.
- Below, command line.
$data_folder> python [your_local_path]/colmap2nerf.py --colmap_matcher exhaustive --run_colmap --aabb_scale 16
Before you already make 'json' file, you input keyword 'y'. Then, the program will implement training stage.
And, you can adjust many arguments.
My opencv2nerf's fps is 15.0. (I set this)
# My some arguments
no_ndc = True
near = 2
Far = 6
Before I tested 'no_ndc = False, near = 0, Far = 1', in this case, the output image is so bad.
So, I set argument like above block.