Fixing the head pose scripts with the new interface.
This commit is contained in:
parent
71407c9067
commit
815cb58b30
2 changed files with 13 additions and 14 deletions
|
@ -35,17 +35,17 @@ for i=3 + offset:numTogether:numel(dbSeqDir)
|
||||||
for n=0:numTogether-1
|
for n=0:numTogether-1
|
||||||
|
|
||||||
inputFile = [biwiDir dbSeqDir(i+n).name '/colour.avi'];
|
inputFile = [biwiDir dbSeqDir(i+n).name '/colour.avi'];
|
||||||
outputFile = [output_dir dbSeqDir(i+n).name '.txt'];
|
|
||||||
|
|
||||||
command = cat(2, command, [' -f "' inputFile '" -of "' outputFile '"']);
|
command = cat(2, command, [' -f "' inputFile '" -of "' output_dir '"']);
|
||||||
|
|
||||||
|
|
||||||
if(verbose)
|
|
||||||
outputVideo = [output_dir dbSeqDir(i).name '.avi'];
|
|
||||||
command = cat(2, command, [' -ov "' outputVideo '"']);
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
command = cat(2, command, [' -fx 505 -fy 505 -cx 320 -cy 240 -pose -vis-track ']);
|
command = cat(2, command, [' -fx 505 -fy 505 -cx 320 -cy 240 -pose -vis-track ']);
|
||||||
|
|
||||||
|
if(verbose)
|
||||||
|
command = cat(2, command, [' -tracked ' outputVideo]);
|
||||||
|
end
|
||||||
|
|
||||||
if(any(strcmp('model', varargin)))
|
if(any(strcmp('model', varargin)))
|
||||||
command = cat(2, command, [' -mloc "', varargin{find(strcmp('model', varargin))+1}, '"']);
|
command = cat(2, command, [' -mloc "', varargin{find(strcmp('model', varargin))+1}, '"']);
|
||||||
end
|
end
|
||||||
|
|
|
@ -30,14 +30,13 @@ for i=3:numTogether:numel(dbSeqDir)
|
||||||
for n=0:numTogether-1
|
for n=0:numTogether-1
|
||||||
|
|
||||||
inputFile = [ictDir dbSeqDir(i+n).name '/colour undist.avi'];
|
inputFile = [ictDir dbSeqDir(i+n).name '/colour undist.avi'];
|
||||||
outputFile = [output_dir dbSeqDir(i+n).name '.txt'];
|
|
||||||
|
|
||||||
command = cat(2, command, [' -f "' inputFile '" -of "' outputFile '" ']);
|
command = cat(2, command, [' -f "' inputFile '" -of "' output_dir '" ']);
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
if(verbose)
|
if(verbose)
|
||||||
outputVideo = [output_dir dbSeqDir(i+n).name '.avi'];
|
command = cat(2, command, [' -tracked ' outputVideo]);
|
||||||
command = cat(2, command, [' -ov "' outputVideo '"']);
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
if(any(strcmp('model', varargin)))
|
if(any(strcmp('model', varargin)))
|
||||||
|
|
Loading…
Reference in a new issue