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(); recorder.Close();
// Post-process the AU recordings // Post-process the AU recordings
face_analyser.PostProcessOutputFile(recorder.GetCSVFile()); if(RecordAUs)
{
face_analyser.PostProcessOutputFile(recorder.GetCSVFile());
}
// Close the open video/webcam // Close the open video/webcam
reader.Close(); reader.Close();

View file

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