Skip navigation

DSpace

機構典藏 DSpace 系統致力於保存各式數位資料(如:文字、圖片、PDF)並使其易於取用。

點此認識 DSpace
DSpace logo
English
中文
  • 瀏覽論文
    • 校院系所
    • 出版年
    • 作者
    • 標題
    • 關鍵字
    • 指導教授
  • 搜尋 TDR
  • 授權 Q&A
    • 我的頁面
    • 接受 E-mail 通知
    • 編輯個人資料
  1. NTU Theses and Dissertations Repository
  2. 電機資訊學院
  3. 電機工程學系
請用此 Handle URI 來引用此文件: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/7168
標題: 利用影像分類技術識別網頁及手機程式中之圖形介面元件
Using Image Classification Techniques to Recognize GUI Elements in Web and Mobile Applications
作者: 林其政
Qi-Zheng Lin
指導教授: 王凡
關鍵字: 軟體測試,圖像分類,卷積神經網路,主從式架構,
software testing,image classification,convolutional neural network,client-server model,
出版年 : 2019
學位: 碩士
摘要: 隨著網路與智慧型手機的普及,網頁及手機應用程式如雨後春筍般出現。若是一個應用程式在功能上或性能上有缺陷的情況下上架,它很快就會在市場中消逝,並造成開法者巨大的損失。因此,如何對網頁及手機應用程式進行有效的測試成為一個至關重要的議題。
當進行圖形介面程式的測試時,我們需要一個爬蟲來盡可能攫取圖形介面中的資訊,藉以設計相應的測試腳本。在圖形介面程式中,通常包含文字與圖像的部分。對於圖像的部分,我們難以單憑網路爬蟲解析其本質。然而,藉由圖像分類的技術,我們可以識別圖像所代表的意義。這麼一來,我們便能完整且準確的理解整個圖形介面的內容,以產生適合的測試腳本。
在這篇論文中,我們蒐集了31490張應用程式中常見的圖示,包含57種不同的種類,並利用卷積神經網路的技術在此資料集上訓練出圖像分類的模型。我們採用了適當的資料擴增方法,使得在預測現實世界程式中的的圖像時能達很高的準確度。此外,我們建立了一個可以持續更新模型的架構。
As the internet and smart phones become more and more common, plentiful web and mobile applications show up. If an application is published with even some tiny flaws in functionality or performance, it will fade away in the market rapidly, and the developers will suffer tremendous losses. Consequently, how to test web and mobile applications effectively and efficiently become an important issue.
When conducting software testing for GUI applications, we need a crawler to grab the information of the GUI contents as much as possible in order to devise test scripts accordingly. It is general that there are both text contents and image contents in GUI applications. For the image contents, we may not always resolve the essence of them only by a crawler. However, we can recognize the meaning of image contents with the aid of image classification techniques. By doing so, we can understand the whole GUI contents thoroughly and accurately and generate suitable test scripts.
In this thesis, we collect 31490 images of 57 different classes commonly seen in real applications and use CNN to train a model to classify the images. We adopt some appropriate methods of data augmentation to reach high accuracy of predicting image contents in real-world applications. Besides, we build a framework update our model continuously.
URI: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/7168
DOI: 10.6342/NTU201903613
全文授權: 未授權
電子全文公開日期: 2024-08-26
顯示於系所單位:電機工程學系

文件中的檔案:
檔案 大小格式 
ntu-107-2.pdf
  未授權公開取用
1.66 MBAdobe PDF
顯示文件完整紀錄


系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。

社群連結
聯絡資訊
10617臺北市大安區羅斯福路四段1號
No.1 Sec.4, Roosevelt Rd., Taipei, Taiwan, R.O.C. 106
Tel: (02)33662353
Email: ntuetds@ntu.edu.tw
意見箱
相關連結
館藏目錄
國內圖書館整合查詢 MetaCat
臺大學術典藏 NTU Scholars
臺大圖書館數位典藏館
本站聲明
© NTU Library All Rights Reserved