mirror of
https://gitcode.com/gh_mirrors/ope/OpenFace.git
synced 2025-12-30 13:02:30 +00:00
More bug fixes revealed by demo scripts.
This commit is contained in:
@@ -82,7 +82,8 @@ namespace Utilities
|
||||
|
||||
void SetFps(double fps);
|
||||
|
||||
void ShowObservation();
|
||||
// Return key-press that could have resulted in the open windows
|
||||
char ShowObservation();
|
||||
|
||||
cv::Mat GetVisImage();
|
||||
|
||||
|
||||
@@ -265,7 +265,7 @@ void Visualizer::SetFps(double fps)
|
||||
cv::putText(captured_image, fpsSt, cv::Point(10, 20), CV_FONT_HERSHEY_SIMPLEX, 0.5, CV_RGB(255, 0, 0), 1, CV_AA);
|
||||
}
|
||||
|
||||
void Visualizer::ShowObservation()
|
||||
char Visualizer::ShowObservation()
|
||||
{
|
||||
if (vis_track)
|
||||
{
|
||||
@@ -280,7 +280,7 @@ void Visualizer::ShowObservation()
|
||||
{
|
||||
cv::imshow("hog", hog_image);
|
||||
}
|
||||
cv::waitKey(1);
|
||||
return cv::waitKey(1);
|
||||
}
|
||||
|
||||
cv::Mat Visualizer::GetVisImage()
|
||||
|
||||
Reference in New Issue
Block a user