jadechoghari
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -50,7 +50,7 @@ image_url = 'https://sm.ign.com/ign_nordic/cover/a/avatar-gen/avatar-generations
|
|
50 |
response = requests.get(image_url)
|
51 |
image = Image.open(BytesIO(response.content))
|
52 |
|
53 |
-
#
|
54 |
image, source_camera = processor(image)
|
55 |
|
56 |
|
@@ -69,6 +69,9 @@ print("Planes shape:", output_planes.shape)
|
|
69 |
print("Video saved at:", video_path)
|
70 |
|
71 |
```
|
|
|
|
|
|
|
72 |
|
73 |
Check out our [demo app](https://huggingface.co/spaces/jadechoghari/vfusion3d-app) to see VFusion3D in action! 🤗
|
74 |
|
|
|
50 |
response = requests.get(image_url)
|
51 |
image = Image.open(BytesIO(response.content))
|
52 |
|
53 |
+
# preprocess the image and get the source camera
|
54 |
image, source_camera = processor(image)
|
55 |
|
56 |
|
|
|
69 |
print("Video saved at:", video_path)
|
70 |
|
71 |
```
|
72 |
+
- **Default (Planes):** By default, VFusion3D outputs planes—ideal for further 3D operations.
|
73 |
+
- **Export Mesh:** Want a 3D mesh? Just set `export_mesh=True`, and you'll get a `.obj` file ready to roll. You can also customize the mesh resolution by adjusting the `mesh_size` parameter.
|
74 |
+
- **Export Video:** Fancy a 3D video? Set `export_video=True`, and you'll receive a beautifully rendered video from multiple angles. You can tweak `render_size` and `fps` to get the video just right.
|
75 |
|
76 |
Check out our [demo app](https://huggingface.co/spaces/jadechoghari/vfusion3d-app) to see VFusion3D in action! 🤗
|
77 |
|