2 bugs (#16)
This commit is contained in:
parent
623603e8ec
commit
ec8dbadf33
1 changed files with 2 additions and 1 deletions
|
@ -196,7 +196,7 @@ public:
|
|||
{
|
||||
if (faces.empty())
|
||||
{
|
||||
fStream << timeStamp << "nan,nan,no,unknown,unknown,unknown,unknown,";
|
||||
fStream << timeStamp << ",nan,nan,no,unknown,unknown,unknown,unknown,";
|
||||
for (std::string angle : headAngles) fStream << "nan,";
|
||||
for (std::string emotion : emotions) fStream << "nan,";
|
||||
for (std::string expression : expressions) fStream << "nan,";
|
||||
|
@ -334,6 +334,7 @@ public:
|
|||
cv::putText(img, fps_str, cv::Point(img.cols - 110, img.rows - left_margin), font, font_size, clr);
|
||||
|
||||
cv::imshow("analyze video", img);
|
||||
std::lock_guard<std::mutex> lg(mMutex);
|
||||
cv::waitKey(30);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue