More work on recording, getting there

This commit is contained in:
Tadas Baltrusaitis
2017-11-03 09:04:00 +00:00
parent b60669fa62
commit 16918e7fb5
7 changed files with 34 additions and 277 deletions

View File

@@ -151,7 +151,7 @@ void RecorderOpenFace::WriteObservation()
if(output_tracked_video)
{
if (vis_to_out.empty)
if (vis_to_out.empty())
{
WARN_STREAM("Output tracked video frame is not set");
}
@@ -197,7 +197,7 @@ void RecorderOpenFace::SetObservationActionUnits(const std::vector<std::pair<std
}
void RecorderOpenFace::SetObservationGaze(const cv::Point3f& gaze_direction0, const cv::Point3f& gaze_direction1,
const cv::Vec2d& gaze_angle, const cv::Mat_<double>& eye_landmarks)
const cv::Vec2d& gaze_angle, const std::vector<cv::Point2d>& eye_landmarks)
{
this->gaze_direction0 = gaze_direction0;
this->gaze_direction1 = gaze_direction1;