Multiple images for construct 3D model
(from https://drive.google.com/file/d/1P6KIDAr68twCJqcq2BJH6cgTOXXxAFIv/view?usp=sharing)
input shape: (3, 756, 1008)
ONNX model contains 3D model information
Ray for rendering
Rendered image for one angle
Multiangle examples
Automatically downloads the onnx and prototxt files on the first run. It is necessary to be connected to the Internet while downloading.
For the sample image,
python3 nerf.py
You can set rendering angle by --angle
. The range is 0 to 119.
python3 nerf.py --angle 100
Downsampling factor to speed up rendering, set 4 or 8 for fast preview. Default is 4.
python3 nerf.py --render_factor 8
Tensorflow 1.15
ONNX opset = 12