瀏覽代碼

Z991239-6115 #comment: 优化抓拍时戳信息

80274480 6 月之前
父節點
當前提交
86553e9be4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Other/libfacecapture/libfacecapture.cpp

+ 1 - 1
Other/libfacecapture/libfacecapture.cpp

@@ -2353,7 +2353,7 @@ bool SnapShot(CImageFrame*img)
 	struct tm* pst = NULL;
 	time_t t = time(NULL);
 	pst = localtime(&t);
-	snprintf(m_FileName, MAX_PATH, "%4d%02d%02d%02d%02d%02d", pst->tm_year + 1900, pst->tm_mon + 1, pst->tm_mday, pst->tm_hour, pst->tm_min, pst->tm_wday, pst->tm_sec);
+	snprintf(m_FileName, MAX_PATH, "%4d%02d%02d%02d%02d%02d", pst->tm_year + 1900, pst->tm_mon + 1, pst->tm_mday, pst->tm_hour, pst->tm_min, pst->tm_sec);
 #endif // _WIN32
 	CvFont	fontEvent = cvFont(2,2);
     memcpy(cvimg->imageData,img->data,img->framesize);