You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/reference/human-model-generation.md
+37-1
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,43 @@ Parameters:
67
67
Specifies the folder where data will be downloaded.
68
68
-**url**: *str, default=OpenDR FTP URL*\
69
69
URL of the FTP server.
70
-
70
+
71
+
#### ROS Node
72
+
73
+
A [ROS client node](../../projects/opendr_ws/src/simulation/scripts/human_model_generation_client.py) and a [ROS service node](../../projects/opendr_ws/src/simulation/scripts/human_model_generation_service.py) are available for performing
74
+
inference on an image stream.
75
+
Documentation on how to use this node can be found [here](../../projects/opendr_ws/src/perception/README.md).
76
+
77
+
#### Tutorials and Demos
78
+
79
+
A demo in the form of a Jupyter Notebook is available
***Generation of a 3D human model from a single image using the PIFuGeneratorLearner.**
85
+
86
+
This example shows how to perform inference on an RGB image, using along an image of the silhouette of the depicted human, and generate a 3D human model.
87
+
88
+
```python
89
+
import sys
90
+
import os
91
+
from opendr.engine.data import Image
92
+
from opendr.simulation.human_model_generation import PIFuGeneratorLearner
93
+
import matplotlib.pyplot as plt
94
+
import numpy as np
95
+
OPENDR_HOME= os.environ["OPENDR_HOME"]
96
+
97
+
# We load a full-body image of a human as well as an image depicting its corresponding silhouette.
0 commit comments