diff --git a/NeRF/tensorflow/README.md b/NeRF/tensorflow/README.md new file mode 100644 index 0000000..9df17d4 --- /dev/null +++ b/NeRF/tensorflow/README.md @@ -0,0 +1,25 @@ +# Neural Radiance Field (NeRF and D-NeRF) + +This directory host the source code to replicate two papers +- NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis, https://arxiv.org/abs/2003.08934 +- Deformable Neural Radiance Fields, https://arxiv.org/abs/2011.12948 + +## Setup + +1. Install python dependencies +``` +pip install -r requirements.in +``` + +2. Install COLMAP +Please visit: https://colmap.github.io/install.html + +3. Install ffmpeg +Please visit: https://ffmpeg.org/download.html + +## Custom Training Data + +To create custom training data, we will use a script `extract_frames.py` to run multiple steps in a pipeline, including blur detection and SfM. +``` +python extract_frames.py --video=./data/shiba.mp4 --output-dir=./data/shiba/ --threshold=15 +``` \ No newline at end of file diff --git a/NeRF/tensorflow/requirements.in b/NeRF/tensorflow/requirements.in new file mode 100644 index 0000000..b1e67fe --- /dev/null +++ b/NeRF/tensorflow/requirements.in @@ -0,0 +1 @@ +tensorflow==2.4.0 \ No newline at end of file