研究生: |
賴彥霖 Yen-Lin Lai |
---|---|
論文名稱: |
基於OpenCV和Android之手寫轉錄系統設計與實現 Design and Implementation of Handwritten Transcription System using OpenCV and Android |
指導教授: |
邱炳樟
Bin-Chang Chieu |
口試委員: |
黃忠偉
Jong-Woei Whang 徐敬文 Ching-Wen Hsue |
學位類別: |
碩士 Master |
系所名稱: |
電資學院 - 電子工程系 Department of Electronic and Computer Engineering |
論文出版年: | 2016 |
畢業學年度: | 104 |
語文別: | 中文 |
論文頁數: | 70 |
中文關鍵詞: | OpenCV 、安卓 、影像處理 |
外文關鍵詞: | OpenCV, Android, Image processing |
相關次數: | 點閱:459 下載:0 |
分享至: |
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
行動終端設備在生活中扮演的角色越顯為重要,智慧型手機等手持裝置可以讓使用者便捷的下載並使用應用程式,讓使用者對於消費性電子產品的應用有更多的需求及期待,而具有特色化的多媒體互動應用總是比較容易抓住消費者的目光。目前市佔率最高的手持裝置作業系統是Android 作業系統,本論文是基於Android 4.4.4 為開發平台的版本,使用Android SDK 4.4W2 和Android NDK R10e,並利用OpenCV 2.4.10函式庫開發出具有手寫轉錄功能的多媒體互動明信片應用程式。
本文使用Android 官方提供的整合開發環境和開發套件建立與使用者互動的操作介面,此應用程式介面提供使用者手寫輸入大小寫的英文字母,並且轉存影像。再根據使用者鍵入期望產生的英文字串以及採用基於Intel 發展的OpenCV 開源函式庫去實現和對輸入的大小英文字母影像執行特定的影像處理與影像轉換功能後,結果會產生整段英文句子的影像輸出,此輸出的影像檔會依照使用者於應用程式畫面中指定的對話框內放置。使用者可以自行更換應用程式畫面中的圖案和背景,因此結果會產出使用者預期並包含個人化書寫文字的電子明信片。
在主要影像處理功能的整個執行流程中,該處理流程可以區分為六大單元,分別是影像獲取單元、影像前處理單元、文字內容分類單元、影像內容轉換單元、影像重構單元、影像重排單元。在內容轉換過程中,文字字元將會被做分群,分群的規則是採用字元間關係推導出來的。重新建構字元影像將需要考量到每一個字元影像間其字元影像的相對位置的不同產生的關係,本文會主要著墨在文字影像間關係的分析處理和文字影像自動調整的機制,並支援應用程式在後台運行的影像處理功能。
Mobile devices grow more important day-to-day lives. We know mobile devices, likes smartphone, that let consumers download and use applications easily. Furthermore, consumers expect and require consumer electronics related applications. Characteristic interactive multimedia-based applications always catch consumers’ eyes. Until now, Android version has the top market share of mobile operating system in use. The development implementation of the thesis was based on Android 4.4.4 platform and used Android SDK 4.4W2/Android NDK R10e tools to develop, and then manipulated open source library of OpenCV 2.4.10 to implement interactive multimedia based postcard application with handwritten transcription feature.
The thesis used the official integrated development environment and software development kit to build interactive consumer interface. The application allows consumers to create a text dialog for cursive writing input in English and saves as image files after doing image preprocessing. According to the content of English input strings decided by consumers, the thesis adapted open source library of OpenCV which originally developed by Intel's research center to implement dedicated image processing and transformation, and applied them to perform image operations on English alphabetic character images, and then produced the image output of English sentence. The image output is allocated to corresponding text dialog which is selected by consumers. Consumers can choose to replace application background or drawables by themselves. Consequently, application creates postcard with personalized cursive writing as consumers expect.
Regarding primary functions of image processing flow, there are six image processing units. By the execution order of function flow, they are image acquisition, image preprocessing, content-based classification, content-based transformation, image restruction, and image realignment. Considering contented-based transformation processing, alphabetic characters need to use clustering and clustering rule is derived from adjacent character relationship. In order to do image restruction, it is essential to consider the different relationships of relative positions among adjacent alphabetic characters. The thesis has showed how to analyze and perform the relationship of adjacent alphabetic characters and has implemented automatic positioning mechanism of alphabetic character images. And the thesis also has supported application to call backend image processing functions.
[1] https://www.dcplus.com.tw/marketing-knowledge/starter/80460
[2] Israel J. Mojica Ruiz, Meiyappan Nagappan, Bram Adams, and Ahmed E. Hassan, "Understanding reuse in the Android Market", in IEEE 20th International Conference on Program Comprehension, 2012, pp. 113-122.
[3] Fehmi Ben Abdesslem and Anders Lindgren, "The pursuit of appiness: Exploring Android market download behaviour in a nationwide cellular network", in International Wireless Communications and Mobile Computing Conference, 2014, pp. 316-321.
[4] Luis Corral and Ilenia Fronza, "Better Code for Better Apps: A Study on Source Code Quality and Market Success of Android Applications", in Second ACM International Conference on Mobile Software Engineering and Systems, 2015, pp. 22-32.
[5] Eric Shaw, Alex Shaw, and David Umphress, "Mining Android apps to predict market ratings", in 6th International Conference on Mobile Computing, Applications and Services, 2014, pp. 166-167.
[6] Yuhong Liu and Yan Sun, "Can reputation manipulation boost app sales in Android market?", in Speech and Signal Processing of IEEE International Conference on Acoustics, 2013, pp. 8707-8711.
[7] https://en.wikipedia.org/wiki/Android_(operating_system)
[8] http://developer.android.com/
[9] http://opencv.org/
[10] Tik Wai Kiral Poon and Marcia R. Friesen, "Algorithms for Size and Color Detection of Smartphone Images of Chronic Wounds for Healthcare Applications", IEEE Access, 2015, pp. 1799-1808.
[11] Ivan Culjak, David Abram, Tomislav Pribanic, Hrvoje Dzapo, and Mario Cifrek, "A brief introduction to OpenCV", in Proceedings of the 35th International Convention, 2012, pp. 1725-1730.
[12] S. Sankaraiah and R. S. Deepthi, "Highly optimized OpenCV based cell phone", in IEEE Conference on Sustainable Utilization and Development in Engineering and Technology, 2011, pp. 47-52.
[13] Ghazali Sulong, Tanzila Saba, and Amjad Rehman, "Dynamic Programming Based Hybrid Strategy for Offline Cursive Script Recognition", in Second International Conference on Computer Engineering and Applications , 2010, pp. 580-584.
[14] Ke Han and I. K. Sethi, "Off-line cursive handwriting segmentation", in Proceedings of the Third International Conference on Document Analysis and Recognition, 1995, pp. 894-897.
[15] Radoniaina Andriatsimandefitra, Stéphane Geller, and Valérie Viet Triem Tong, "Designing information flow policies for Android's operating system", in IEEE International Conference on Communications, 2012, pp. 976-981.
[16] Bilal Shebaro, Oyindamola Oluwatimi, and Elisa Bertino, "Context-Based Access Control Systems for Mobile Devices", IEEE Transactions on Dependable and Secure Computing, 2015, pp. 150-163.
[17] Yi-Wei Ma, Jiann-Liang Chen, Ching-Hesign Chou, and Shyue-Kung Lu, "A Power Saving Mechanism for Multimedia Streaming Services in Cloud Computing", IEEE Systems Journal, 2014, pp. 219 -224.
[18] R. C. Gonzalez, R. E. Woods, Digital Image Processing second edition, Prentice Hall, 2002.
[19] Daniel Lélis Baggio, Shervin Emami, David Millán Escrivá, Khvedchenia Ievgen, Naureen Mahmood, Jason Saragih, Roy Shilkrot, Mastering OpenCV with Practical Computer Vision Projects, PacktPub, 2012.
[20] 鍾國亮, 影像處理與電腦視覺第五版, 東華, 2014.
[21] 毛星雲, 冷雪飛, OpenCV程式設計參考手冊, 松崗, 2015.
[22] 孫宏明, Android程式設計入門、應用到精通, 碁峰資訊, 2015.