Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
eos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Richard Torenvliet
eos
Commits
bc8ddd36
Commit
bc8ddd36
authored
Mar 12, 2017
by
Patrik Huber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed default lambda (shape regularisation) to 50
parent
b6e8f5f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
include/eos/fitting/fitting.hpp
include/eos/fitting/fitting.hpp
+1
-1
No files found.
include/eos/fitting/fitting.hpp
View file @
bc8ddd36
...
...
@@ -397,7 +397,7 @@ inline std::pair<core::Mesh, fitting::RenderingParameters> fit_shape_and_pose(co
* @param[in] lambda Regularisation parameter of the PCA shape fitting.
* @return The fitted model shape instance and the final pose.
*/
inline
std
::
pair
<
core
::
Mesh
,
fitting
::
RenderingParameters
>
fit_shape_and_pose
(
const
morphablemodel
::
MorphableModel
&
morphable_model
,
const
std
::
vector
<
morphablemodel
::
Blendshape
>&
blendshapes
,
const
core
::
LandmarkCollection
<
cv
::
Vec2f
>&
landmarks
,
const
core
::
LandmarkMapper
&
landmark_mapper
,
int
image_width
,
int
image_height
,
const
morphablemodel
::
EdgeTopology
&
edge_topology
,
const
fitting
::
ContourLandmarks
&
contour_landmarks
,
const
fitting
::
ModelContour
&
model_contour
,
int
num_iterations
=
5
,
boost
::
optional
<
int
>
num_shape_coefficients_to_fit
=
boost
::
none
,
float
lambda
=
3
0.0
f
)
inline
std
::
pair
<
core
::
Mesh
,
fitting
::
RenderingParameters
>
fit_shape_and_pose
(
const
morphablemodel
::
MorphableModel
&
morphable_model
,
const
std
::
vector
<
morphablemodel
::
Blendshape
>&
blendshapes
,
const
core
::
LandmarkCollection
<
cv
::
Vec2f
>&
landmarks
,
const
core
::
LandmarkMapper
&
landmark_mapper
,
int
image_width
,
int
image_height
,
const
morphablemodel
::
EdgeTopology
&
edge_topology
,
const
fitting
::
ContourLandmarks
&
contour_landmarks
,
const
fitting
::
ModelContour
&
model_contour
,
int
num_iterations
=
5
,
boost
::
optional
<
int
>
num_shape_coefficients_to_fit
=
boost
::
none
,
float
lambda
=
5
0.0
f
)
{
std
::
vector
<
float
>
pca_coeffs
;
std
::
vector
<
float
>
blendshape_coeffs
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment