From 6ba22c6b233aac07e1fd7ae34f4f89c23e881b11 Mon Sep 17 00:00:00 2001 From: Q9ihs38xl <1979755751@qq.com> Date: Wed, 28 Apr 2021 14:37:10 +0800 Subject: [PATCH] Add 'mnist-master/qt/layout.ui' --- mnist-master/qt/layout.ui | 319 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 319 insertions(+) create mode 100644 mnist-master/qt/layout.ui diff --git a/mnist-master/qt/layout.ui b/mnist-master/qt/layout.ui new file mode 100644 index 0000000..ae89896 --- /dev/null +++ b/mnist-master/qt/layout.ui @@ -0,0 +1,319 @@ + + + MainWindow + + + + 0 + 0 + 800 + 600 + + + + 手写数字识别GUI-v1.0 --by hamlin + + + + + 60 + 300 + 211 + 31 + + + + + 1:MINIST随机抽取 + + + + + 2:鼠标手写输入 + + + + + + + 60 + 270 + 80 + 20 + + + + 模式选择 + + + + + + 80 + 440 + 120 + 30 + + + + + + + 清除数据 + + + false + + + false + + + + + + 80 + 380 + 120 + 30 + + + + MNIST抽取 + + + false + + + + + + 80 + 500 + 120 + 30 + + + + + + + 识别 + + + + + + 540 + 350 + 224 + 224 + + + + false + + + background-color: rgb(255, 255, 255); + + + QFrame::Box + + + QFrame::Sunken + + + 4 + + + 0 + + + + + + + + + 260 + 340 + 91 + 181 + + + + <html><head/><body><p><span style=" font-size:12pt; font-weight:600;">识别结果:</span></p><p><br/></p><p><br/></p><p><span style=" font-size:12pt; font-weight:600;">Softmax:</span></p></body></html> + + + + + + 540 + 320 + 131 + 20 + + + + 数据输入区域 + + + + + + 20 + 10 + 711 + 241 + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Ubuntu'; font-weight:600;">使用说明</span></p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Ubuntu';">1、点击下拉列表进行模式选择,输入待识别数据后点击“识别”按键进行识别</span></p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Ubuntu';">2、经CNN网络计算后输出,显示识别结果与Softmax值</span></p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Ubuntu';">3、点击“清除数据”按键重新输入数据</span></p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Ubuntu';">模式1:随机从测试集抽取图像作为待识别数据,点击“MNIST抽取”按键抽取</span></p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Ubuntu';">模式2:使用鼠标在数据输入区域手写输入作为待识别数据</span></p></body></html> + + + + + + 540 + 350 + 221 + 221 + + + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + + 380 + 350 + 91 + 131 + + + + + 48 + + + + 9 + + + + + + 360 + 500 + 151 + 21 + + + + + 12 + + + + 0.99999999 + + + + + + + cbBox_Mode + activated(QString) + MainWindow + cbBox_Mode_Callback() + + + 178 + 317 + + + 158 + 168 + + + + + pbtClear + clicked() + MainWindow + pbtClear_Callback() + + + 131 + 460 + + + 105 + 341 + + + + + pbtPredict + clicked() + MainWindow + pbtPredict_Callback() + + + 157 + 517 + + + 157 + 542 + + + + + pbtGetMnist + clicked() + MainWindow + pbtGetMnist_Callback() + + + 102 + 399 + + + 29 + 401 + + + + + + cbBox_Mode_Callback() + pbtClear_Callback() + pbtPredict_Callback() + pbtGetMnist_Callback() + +