Working on experiments with the new interface, almost there.

This commit is contained in:
Tadas Baltrusaitis
2017-12-10 10:55:34 +00:00
parent 1f3d4e941d
commit f071e61fc7
4 changed files with 47 additions and 39 deletions

View File

@@ -141,7 +141,6 @@ RecorderOpenFace::RecorderOpenFace(const std::string in_filename, RecorderOpenFa
// Create the required individual recorders, CSV, HOG, aligned, video
csv_filename = (path(record_root) / path(filename).concat(".csv")).string();
metadata_file << "Output csv:" << csv_filename << endl;
// Consruct HOG recorder here
if(params.outputHOG())
@@ -239,6 +238,9 @@ void RecorderOpenFace::WriteObservation()
csv_recorder.Open(csv_filename, params.isSequence(), params.output2DLandmarks(), params.output3DLandmarks(), params.outputPDMParams(), params.outputPose(),
params.outputAUs(), params.outputGaze(), num_face_landmarks, num_model_modes, num_eye_landmarks, au_names_class, au_names_reg);
metadata_file << "Output csv:" << csv_filename << endl;
}
this->csv_recorder.WriteLine(observation_count, timestamp, landmark_detection_success,