mirror of
https://gitcode.com/gh_mirrors/ope/OpenFace.git
synced 2026-05-16 12:17:57 +00:00
More work on the recorder.
This commit is contained in:
@@ -99,8 +99,21 @@ RecorderOpenFace::RecorderOpenFace(const std::string out_directory, const std::s
|
||||
|
||||
// Prepare image recording
|
||||
|
||||
observation_count = 0;
|
||||
|
||||
}
|
||||
|
||||
void RecorderOpenFace::WriteObservation()
|
||||
{
|
||||
observation_count++;
|
||||
|
||||
// Write out the CSV file (it will always be there, even if not outputting anything more but frame/face numbers)
|
||||
this->csv_recorder.WriteLine(observation_count, timestamp, landmark_detection_success;
|
||||
|
||||
// TODO HOG
|
||||
}
|
||||
|
||||
|
||||
void RecorderOpenFace::SetObservationHOG(bool good_frame, const cv::Mat_<double>& hog_descriptor, int num_cols, int num_rows, int num_channels)
|
||||
{
|
||||
this->hog_recorder.SetObservationHOG(good_frame, hog_descriptor, num_cols, num_rows, num_channels);
|
||||
|
||||
Reference in New Issue
Block a user