Some small bug fixes.
This commit is contained in:
parent
70ce4fc39f
commit
3f6878c5c3
2 changed files with 4 additions and 3 deletions
|
@ -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();
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue