Creating Custom Dataset
By default Nerf.jl and NerfGUI.jl comes with its own Raccoon dataset.
However, it is easy to create custom ones.
Steps
Nerf.jl uses same input format as instant-ngp.
Take a short clip of an object you want to reconstruct.
Using
colmap2nerf.pyscript reconstruct camera poses via COLMAP. Below is an example command:~$ python3 colmap2nerf.py --video_in=input.mp4 --video_fps=2 --run_colmap --aabb_scale=4It will slice video into frames, run COLMAP camera pose reconstruction and save the results in
transforms.jsonfile along with images inimages/directory.Make sure paths in
transform.jsonpoint correctly to the images.Open
transforms.jsonin NerfGUI.jl application by pasting its path in the datasets window.