@@ -4,7 +4,7 @@
* @Autor: lishengyin
* @Date: 2021-10-13 09:35:42
* @LastEditors: lishengyin
- * @LastEditTime: 2022-01-10 10:05:32
+ * @LastEditTime: 2022-01-10 10:28:43
*/
#include "user_app.h"
@@ -128,8 +128,7 @@ namespace MIVA
sqlSelect << sqlRet;
this->m_InferInfo = InferInfo::CreateNew();
-
+
// 初始化Deepstream
m_Infer = std::make_shared<Inference>();
@@ -760,12 +759,6 @@ namespace MIVA
// 发布上报广播
NoticeCenter::Instance().emitEvent(NOTICE_REPORT);
- static int num = 0;
- if(num==0){
- num++;
- return;
- }
SqlWriter sqlInstall("INSERT INTO MIVA_DB.InferRecord(time,InferTime,OutPath,batch_size,out_size,Finish,Del) VALUES('?','?','?','?','?','?','?');");
char ctime[80];
getDataTime(ctime);