mirror of
https://gitcode.com/gh_mirrors/ope/OpenFace.git
synced 2025-12-30 13:02:30 +00:00
35 lines
1014 B
Matlab
35 lines
1014 B
Matlab
function [ patches, pdm, clmParams ] = Load_CLNF_wild()
|
|
%LOAD_CLNF_GENERAL Summary of this function goes here
|
|
% Detailed explanation goes here
|
|
clmParams = struct;
|
|
|
|
clmParams.window_size = [25,25; 23,23; 21,21;21,21];
|
|
clmParams.numPatchIters = size(clmParams.window_size,1);
|
|
|
|
[patches] = Load_Patch_Experts( '../models/wild/', 'ccnf_patches_*_wild.mat', [], [], clmParams);
|
|
|
|
% the default PDM to use
|
|
pdmLoc = ['../models/pdm/pdm_68_aligned_wild.mat'];
|
|
load(pdmLoc);
|
|
|
|
pdm = struct;
|
|
pdm.M = double(M);
|
|
pdm.E = double(E);
|
|
pdm.V = double(V);
|
|
|
|
% the default model parameters to use
|
|
clmParams.regFactor = [35, 27, 20, 20];
|
|
clmParams.sigmaMeanShift = [1.25, 1.375, 1.5, 1.5];
|
|
clmParams.tikhonov_factor = [2.5, 5, 7.5, 7.5];
|
|
|
|
clmParams.startScale = 1;
|
|
clmParams.num_RLMS_iter = 10;
|
|
clmParams.fTol = 0.01;
|
|
clmParams.useMultiScale = true;
|
|
clmParams.use_multi_modal = 1;
|
|
clmParams.multi_modal_types = patches(1).multi_modal_types;
|
|
|
|
|
|
end
|
|
|