File size: 1,055 Bytes
46e19a2
 
 
 
 
 
 
 
 
 
 
55196fc
46e19a2
55196fc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46e19a2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
title: Myspace
emoji: πŸš€
colorFrom: gray
colorTo: pink
sdk: streamlit
sdk_version: 1.26.0
app_file: app.py
pinned: false
license: other
---
# NeRF with Dolly Zoom

This repository contains code for rendering novel views with a dollyzoom effect using NeRF.

## Requirements

* Python 3.8+
* PyTorch 1.10+
* Nerf

## Installation

pip install -r requirements.txt


## Usage

python render.py


This will render a novel view with a dollyzoom effect and save it to the file `novel_view.png`.

## References

* [NeRF: Representing Scenes as Neural Radiance Fields](https://arxiv.org/abs/2003.08934)
* [nerf](https://github.com/bmild/nerf)

## Images

![Dollyzoom effect](images/dollyzoom.png)

This image shows the dollyzoom effect. The camera is zooming out while moving towards the object.

## How to use

1. Clone this repository.
2. Install the requirements.
3. Run the `render.py` script.

The rendered view will be saved to the file `novel_view.png`.
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference