mirror of
https://gitcode.com/gh_mirrors/ope/OpenFace.git
synced 2026-02-22 07:20:16 +00:00
Making sure AU visualization works with other executables.
This commit is contained in:
@@ -366,11 +366,6 @@ void Visualizer::SetFps(double fps)
|
||||
|
||||
char Visualizer::ShowObservation()
|
||||
{
|
||||
if (vis_track)
|
||||
{
|
||||
cv::namedWindow("tracking_result", 1);
|
||||
cv::imshow("tracking_result", captured_image);
|
||||
}
|
||||
if (vis_align)
|
||||
{
|
||||
cv::imshow("sim_warp", aligned_face_image);
|
||||
@@ -381,8 +376,14 @@ char Visualizer::ShowObservation()
|
||||
}
|
||||
if (vis_aus)
|
||||
{
|
||||
cv::namedWindow("action units", cv::WindowFlags::WINDOW_NORMAL);
|
||||
cv::imshow("action units", action_units_image);
|
||||
}
|
||||
if (vis_track)
|
||||
{
|
||||
cv::namedWindow("tracking result", cv::WindowFlags::WINDOW_NORMAL);
|
||||
cv::imshow("tracking result", captured_image);
|
||||
}
|
||||
return cv::waitKey(1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user