Commit 29348261 authored by Patrik Huber's avatar Patrik Huber

Set BFM script to only convert 99 basis vectors by default

Otherwise, it looked like JSONlab will not write the output file, probably because it's >1GB. See GitHub issue #29.
parent 606da4b8
......@@ -37,7 +37,7 @@ bfm = load(bfm_file);
% Leave 'nt' on the default. This is only to produce a small output model
% for testing purposes. It'll result in only part of the mesh.
nt = size(bfm.shapeMU, 1); % num triangles times 3
nb = size(bfm.shapePC, 2);
nb = 99; %size(bfm.shapePC, 2);
model.cereal_class_version = 0;
model.shape_model.mean.data = bfm.shapeMU(1:nt);
......
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