no message

master
zcy 2022-05-26 09:33:26 +08:00
parent 9111580993
commit ceaccb7db0
2 changed files with 2 additions and 3 deletions

View File

@ -79,7 +79,6 @@ cv::Mat * ssd_detect(cv::Mat *inframe,std::string modelFile,std::string model_te
Point(tl_x, tl_y), FONT_HERSHEY_SIMPLEX, 1.0, Scalar(255, 0, 0), 2); Point(tl_x, tl_y), FONT_HERSHEY_SIMPLEX, 1.0, Scalar(255, 0, 0), 2);
} }
} }
cv::imshow("image2",*image2);
return image2; return image2;
} }

View File

@ -273,8 +273,8 @@ void MainWindow::on_pushButton_4_clicked()
if((ui->lineEdit->text().toStdString() == "") if((ui->lineEdit->text().toStdString() == "")
|| ||
(ui->lineEdit_2->text().toStdString() == "")){ (ui->lineEdit_2->text().toStdString() == "")){
QssMessageBox::warn("",nullptr,"请输入模型",QMessageBox::Ok); QssMessageBox::warn("please input model file",nullptr,"please input model file",QMessageBox::Ok);
return;
} }
gdetect = new ASyncDetectAndRenderThread(this,mDetectResut,ui->openGLWidget->RenderWidth(), gdetect = new ASyncDetectAndRenderThread(this,mDetectResut,ui->openGLWidget->RenderWidth(),
ui->openGLWidget->RenderHeight(), ui->openGLWidget->RenderHeight(),