Some small bug fixes.

This commit is contained in:
Tadas Baltrusaitis 2018-01-29 17:26:35 +00:00
parent 70ce4fc39f
commit 3f6878c5c3
2 changed files with 4 additions and 3 deletions

View File

@ -250,7 +250,10 @@ namespace OpenFaceOffline
recorder.Close();
// Post-process the AU recordings
face_analyser.PostProcessOutputFile(recorder.GetCSVFile());
if(RecordAUs)
{
face_analyser.PostProcessOutputFile(recorder.GetCSVFile());
}
// Close the open video/webcam
reader.Close();

View File

@ -453,8 +453,6 @@ double SequenceCapture::GetProgress()
}
else
{
//TODO test here
std::cout << frame_num << " " << vid_length << std::endl;
return (double)frame_num / (double)vid_length;
}
}