张洋 3 semanas atrás
pai
commit
58161eb7a8
1 arquivos alterados com 6 adições e 1 exclusões
  1. 6 1
      zhipuzi_pos_windows/page/CSettingPageUI.cpp

+ 6 - 1
zhipuzi_pos_windows/page/CSettingPageUI.cpp

@@ -989,7 +989,12 @@ void CSettingPageUI::InitControl()
 
 void CSettingPageUI::InitShow()
 {
-
+	if (m_is_show_video_capture == true)
+	{
+		//如果切换到设置页面的时候,本来就是AI识别设置页面,需要启动摄像头进程
+		std::thread(&CSettingPageUI::HandleUpdateVideo, this).detach();
+		CAppEnv::GetInstance()->AddWorkerNum();
+	}
 }
 
 //处理按钮点击类事件