no message
parent
9111580993
commit
ceaccb7db0
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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(),
|
||||||
|
|
Loading…
Reference in New Issue