Commit fa018da8 authored by Patrik Huber's avatar Patrik Huber Committed by GitHub

Fixed typo in Readme

parent bf608015
...@@ -90,7 +90,7 @@ After building the bindings, they can be used like any python module: ...@@ -90,7 +90,7 @@ After building the bindings, they can be used like any python module:
import eos import eos
import numpy as np import numpy as np
model = eos.morphablemodel.load_model("eos/share/sfm_shape_3440.bin") model = eos.morphablemodel.load_model("eos/share/sfm_shape_3448.bin")
s = model.get_shape_model().draw_sample([1.0, -0.5, 0.7]) 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 = np.array(s) # the conversion from 'Mat' to a numpy array is necessary at the moment
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment