Skip to content
Snippets Groups Projects
Commit b84bb1a7 authored by Patrik Huber's avatar Patrik Huber Committed by GitHub
Browse files

Updated Python example in README.md

parent dd44ea20
No related branches found
No related tags found
No related merge requests found
......@@ -93,8 +93,7 @@ import eos
import numpy as np
model = eos.morphablemodel.load_model("eos/share/sfm_shape_3448.bin")
s = model.get_shape_model().draw_sample([1.0, -0.5, 0.7])
sample = np.array(s) # the conversion from 'Mat' to a numpy array is necessary at the moment
sample = model.get_shape_model().draw_sample([1.0, -0.5, 0.7])
help(eos) # check the documentation
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment