版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
1、<p> 此文檔是畢業(yè)設(shè)計(jì)外文翻譯成品( 含英文原文+中文翻譯),無需調(diào)整復(fù)雜的格式!下載之后直接可用,方便快捷!本文價(jià)格不貴,也就幾十塊錢!</p><p> 外文標(biāo)題:Development of Augmented Reality Application on Android OS</p><p> 外文作者:Ondrej Bilek , Ondrej Krejcar
2、</p><p> 文獻(xiàn)出處:Ondrej Bilek,Ondrej Krejcar.Development of Augmented Reality Application on Android OS[C].International Conference on Design Science Research in Information Systems.2015:488-495</p><
3、;p> 英文2422單詞,中文3746漢字。</p><p> Development of Augmented Reality Application on Android OS</p><p> Ondrej Bilek , Ondrej Krejcar</p><p> Abstract. Augmented reality is one of
4、the current mobile trends, while the main development has not yet come. It complements properties around the user for additional software added elements whose goal is to further expand the user possibilities to real real
5、ity. Many of augmented reality applications apply a wide range of sensors, because it is necessary to accurately identify the surrounding reality in order to be properly extended. Paper deals with use of embedded sensors
6、 of mobile devices. Se</p><p> Keywords: Sensor · Mobile · Device · Embedded · Augmented · Reality</p><p> 1Introduction</p><p> As power and possibiliti
7、es of mobile devices rapidly grown with massive extension of smart devices such as smartphones or tablet computers, many sensors were integrated to extend possibilities and mainly, to help users with common use of smart
8、devices [4-9].</p><p> Smart devices also integrate functions of some other devices [11-13]. Few years ago users need phone for calling or texting, camera for taking photos, MP3 player for listening music,
9、GPS navigation or map to planning their trips [12, 13, 17], computer to opening documents etc. Nowadays, all these functions can be handled with single device, which offer great computational power with many possibilitie
10、s in body of mobile phone or tablet computer. A brief comparison of supported and mandatory senso</p><p> While several existing platforms on which the mobile smart devices are based, there is a one leading
11、 – Android OS [9-11] which is described in this paper in more detail, as well as conditions for developers to use these embedded sensors are out- lined. Android OS is the most used mobile platforms of these days and it’s
12、 still rapid- ly growing and expanding to other markets. Another great benefit of developing app for Android OS is multiplatform developer tools, relatively cheap app publishing on</p><p> After first part
13、of a paper - introduction, the practical parts follows. Sample appli- cation uses principles of augmented reality, where view from device camera is used to include data from sensors, what can be enhanced to defect manage
14、ment system [2] or some kind of advisory solution [3, 15].</p><p> 2Design and Implementation of Augmented Reality Application</p><p> To demonstrate the possibility of using the built-in sens
15、ors of mobile devices, it will be described one of the possible - sample cases of their use in appropriately selected case study. Functions of this sample application was defined as follows:</p><p> 1.Show
16、data from GPS and sensors of environment</p><p> a. (temperature, humidity, atmospheric pressure)</p><p> 2.Show tilt of device towards water level and direction from north</p><p>
17、; 3.Implement simple GPS navigation, this navigation should show distance and direction to coordinates, which should by user enterable</p><p> 4.Application should run on majority part of existing smart de
18、vices with Android OS</p><p> UML diagram of developing application structure can be seen on (Fig. 1). Proposal of structure application counts on component architecture. There is component man- ager, inter
19、face to define components and components itself. Each component should prepare some data to show to user.</p><p> Sample application is using principles of augmented reality. Basic stone of application is r
20、eal-time view from device’s back camera. This view is enriched by overlay with sensor data. Firstly we focused on practical part in the sense of GUI design prior to final definition of UML and all functions as in classic
21、al way of application design [4-5], [9-11].</p><p> Application uses for communication between all parts sending of messages, so services sends messages while the class MainActivity receiving all messages s
22、ent to indi- vidual services and their data. On the service side sending is as follows:</p><p> 1.Firstly, we declare the ability to sending messages to defined events (by Intent class instance). String whi
23、ch play as action is stored in a static variable of the public service.</p><p> 2.Then the sequence of methods put Extra(key, data) attached to the message an individual data to be sent.</p><p>
24、; 3.Finally, a message is sent by method send Broadcast(). So the message is not directly addressed to Main Activity class, but class itself need to catch the message.</p><p> The procedure on the class Ma
25、inActivity is a little more complicated. First, it is necessary to set an instance of IntentFilter that determines which messages are received. Action that identifies the message is gradually sets to this instance by cal
26、ling addAction() method. Events are stored for each service as static variables. Receiving of messages is finished by setting of the recipient, which forms the interface instance created a BroadcastReceiver interface and
27、 IntentFilter is created by cal</p><p> Fig. 1. Simplified UML design of final application</p><p> 2.1Selected Algorithms for Sensors Implementation</p><p> Developed solution co
28、ver operating with several important sensors using interesting algorithm like: Coordinates saving, converting and validation; Tilt calculation to- wards water level; Azimuth east from north calculation; and Calculation o
29、f direction to coordinates. As example we will describe several of these.</p><p> Fig. 2. Final GUI of developed augmented reality application</p><p> 2.1.1Tilt Processing</p><p>
30、 The tilt calculation is based on the modified procedure published in [18]. The first step of the calculation is a transfer of acceleration vector (array of values g) from the accelerometer to normalized ones. This is d
31、one by dividing of individual components by the square root of the sum of the components squares:</p><p> float n=(float)Math.sqrt(g[0]*g[0]+g[1]*g[1]+g[2]*g[2]);</p><p> g[0] = g[0]/n; g[1] =
32、 g[1]/n; g[2] = g[2]/n;</p><p> Another necessary data is to calculate the inclination, which indicates how the de- vice screen is rotated relative to the ground. Tilting of the device can be calculated onl
33、y when the display device is vertically to the ground. This is also supported by the fact that the laying device is in a horizontal level of the screen surface what cannot be displayed.</p><p> int inclinat
34、ion = (int) Math.round(Math.toDegrees(Math.acos(g[2])));</p><p> The last step is a computation of the device tilt according to water level:</p><p> //computation will run only until 30°
35、from upright – 90°</p><p> if (inclination < 120 && inclination > 60)</p><p> { int rotation = (int) Math.round(Math.toDegrees(Math.atan2(g[0], g[1])));}</p><p>
36、; 2.1.2Orientation Processing</p><p> To calculate the direction of the device according to the north, the development environment has a better ability to process it. To calculate the direction we need not
37、 only data from the sensor of geomagnetic field, but also from the accelerometer. The calculation is as follows:</p><p> 2.2Important Parameters of Developed Solution</p><p> Application is us
38、ed to add sensor information to camera view. You can see various sensor information on sides of camera view and multifunctional circle indicator at middle of view, which contain:</p><p> Compass - yellow in
39、dicator, magenta end towards to north</p><p> Spirit level - green indicator</p><p> Azimuth - yellow text, degrees from magnetic north</p><p> Navigator - distance at middle of
40、circle, cyan indicator show direction</p><p> Application could be used for simple GPS navigation. Some text fields are also clickable:</p><p> Time shows main menu</p><p> GPS l
41、ongitude shows actual GPS coordinates in other formats</p><p> SET or distance open coordinate settings dialog. For coordinates on west or south hemisphere, use - before degrees.</p><p> Atmos
42、pheric pressure open reference pressure dialog (in hPa). This pressure is used to calculate altitude from barometer. If 0 is set, standard pressure is used.</p><p> 3Testing of Augmented Reality Application
43、</p><p> For testing purposes of application we used few devices with different hardware con- figurations and different version of operational system (Table 1). On all devices application ran correctly, eve
44、n on the weakest LG Optimus One. For user interface scalability tests was added also some emulator configurations, one with very low resolution 320x240 and second with high tablet resolution 1280x800. Application is usab
45、le on all resolutions, except lowest (320x240), where the quality of compound indic</p><p> Some information from sensors could not be tested, because there are almost no devices (related to end of 2013), w
46、hich have sensors to provide it. These sensors are humidity and ambient temperature sensors. At the end of testing was also considered memory consumptions and number of threads in Eclipse IDE.</p><p> 3.1Te
47、sting of Speed and Memory Occupation</p><p> Augmented reality applications put the strong demand on the running speed and also on fluency, where user don’t want to be disturbed by application breaking [14]
48、. To ensure these requirements application need to be fully optimized for all parts, module and even for each thread! Our solution meet all these requirements while it can be also tested to document this capability.</
49、p><p> Developed augmented reality application running on the mobile devices with activated navigation system (according to the debugging tools available in the development environment) use during the process
50、8 running threads (+ some support system threads of which the performance is almost not involved). The most exacting thread is one which take care of rendering the user interface and basic operation of application. This
51、thread use over 90% CPU resources used by the application. In addition, each s</p><p> Fig. 4. Memory occupation by developed application</p><p> 4 Conclusions</p><p> Main goal
52、of this work was to show possibilities in using of modern mobile devices as a tool which can help the user better recognize and grasp the reality around. We described several sensors, which are embedded in modern mobile
53、devices. We also described a development process of a sample application for augmented reality, which is using these sensors. Paper covers only main information about selected sensors, while we focus on practical use of
54、these sensors. Practical demonstration presented i</p><p> Acknowledgement. </p><p> This work and the contribution were supported by project “SP-103-2015 - Smart Solutions for Ubiquitous Comp
55、uting Environments” Faculty of Informatics and Management, University of Hradec Kralove, Czech Republic.</p><p> References</p><p> 1.Daponte, P., De Vito, L., Picariello, F., et al.: State of
56、 the art and future developments of the Augmented Reality for measurement applications. Measurement 57, 53–70 (2014)</p><p> 2.Kwon, O.S., Park, C.S., Lim, C.R.: A defect management system for reinforced co
57、ncrete work utilizing BIM, image-matching and augmented reality. Automation in Construc- tion 46, 74–81 (2014)</p><p> 3.Rusch, M.L., Schall, M.C., Lee, J.D., Dawson, J.D., Rizzo, M.: Augmented reality cues
58、 to assist older drivers with gap estimation for left-turns. Accident Analysis and Preven- tion 71, 210–221 (2014), doi:10.1016/j.aap.2014.05.020</p><p> 4.Krejcar, O.: Threading Possibilities of Smart Devi
59、ces Platforms for Future User Adaptive Systems. In: Pan, J.-S., Chen, S.-M., Nguyen, N.T. (eds.) ACIIDS 2012, Part II. LNCS, vol. 7197, pp. 458–467. Springer, Heidelberg (2012)</p><p> 5.Behan, M., Krejcar,
60、 O.: Adaptive Graphical User Interface Solution for Modern User Devices. In: Pan, J.-S., Chen, S.-M., Nguyen, N.T. (eds.) ACIIDS 2012, Part II. LNCS, vol. 7197, pp. 411–420. Springer, Heidelberg (2012) Development of Aug
61、mented Reality Application on Android OS 495</p><p> 6.Vanus, J., Novak, T., Koziorek, J., Konecny, J., Hrbac, R.: The proposal model of energy savings of lighting systems in the smart home care. In: IFAC P
62、roceedings, vol. 12 (PART 1), pp. 411–415 (2013)</p><p> 7.Vanus, J., Koziorek, J., Hercik, R.: Design of a smart building control with view to the se- nior citizens’ needs. In: (2013) IFAC Proceedings Volu
63、mes (IFAC-PapersOnline), vol. 12 (PART 1), pp. 422–427 (2013) ISSN: 14746670. ISBN: 9783902823533</p><p> 8.Machacek, Z., Slaby, R., Hercik, R., Koziorek, J.: Advanced system for consumption meters with rec
64、ognition of video camera signal. Elektronika Ir Elektrotechnika 18(10), 57–60 (2012) ISSN: 1392-1215</p><p> 9.Behan, M., Krejcar, O.: Modern Smart Device-Based Concept of Sensoric Networks. EURASIP Journal
65、 on Wireless Communications and Networking 2013(1), No. 155 (June 2013), doi 10.1186/1687-1499-2013-155, ISSN 1687-1499</p><p> 10.Gantulga, E., Krejcar, O.: Smart Access to Big Data Storage – Android Multi
66、-language Offline Dictionary Application. In: Nguyen, N.-T., Hoang, K., Jedrzejowicz, P. (eds.) ICCCI 2012, Part I. LNCS, vol. 7653, pp. 375–384. Springer, Heidelberg (2012)</p><p> 11.Krejcar, O., Jirka, J
67、., Janckulik, D.: Use of Mobile Phone as Intelligent Sensor for Sound Input Analysis and Sleep State Detection. Sensors 11(6), 6037–6055 (2011), doi 10.3390/s110606037, ISSN: 1424-8220</p><p> 12.Benikovsky
68、, J., Brida, P., Machaj, J.: Proposal of User Adaptive Modular Localization System for Ubiquitous Positioning. In: Pan, J.-S., Chen, S.-M., Nguyen, N.T. (eds.) ACIIDS 2012, Part II. LNCS, vol. 7197, pp. 391–400. Springer
69、, Heidelberg (2012)</p><p> 13.Michal, M., Peter, B., Machaj, J.: Modular Localization System for Intelligent Transport. In: Badica, A., Trawinski, B., Nguyen, N.T. (eds.) Recent Developments in Computation
70、al Collective Intelligence. SCI, vol. 513, pp. 115–124. Springer, Heidelberg (2014)</p><p> 14.Dey, A., Sandor, C.: Lessons learned: Evaluating visualizations for occluded objects in handheld augmented real
71、ity. International Journal of Human-Computer Studies 72(10-11), 704–716 (2014), doi 10.1016/j.ijhcs.2014.04.001</p><p> 15.Leu, J.S., Su, K.W., Chen, C.T.: Ambient mesoscale weather forecasting system featu
72、ring mobile augmented reality. Multimedia Tools and Applications 72(2), 1585–1609 (2014), doi 10.1007/s11042-013-1462-4</p><p> 16.Cerny, M., Penhaker, M.: Wireless Body Sensor Network in Health Maintenance
73、 Systems. Elektronika Ir Elektrotechnika, 113–116 (2011), doi: 10.5755/j01.eee.115.9.762, ISSN: 1392-1215</p><p> 17.Penhaker, M., Darebnikova, M., Cerny, M.: Sensor network for measurement and analysis on
74、medical devices quality control. In: Yonazi, J.J., Sedoyeka, E., Ariwa, E., El-Qawasmeh, E. (eds.) ICeND 2011. CCIS, vol. 171, pp. 182–196. Springer, Heidelberg (2011)</p><p> 18.Rumi, S.M.I., Hossain, M.F.
75、, Shanamul Islam, I.S.M., Rahman, M.K.: System design of two wheeler self-balanced vehicle. In: 10th France-Japan/ 8th Europe-Asia Congress on Mecatronics (MECATRONICS 2014), pp. 331–336 (2014), doi:10.1109/MECATRONICS.2
76、014.7018582</p><p> 19.Kay, M., Rector, K.I., Consolvo, S., Greenstein, B., Wobbrock, J.O., Watson, N.F., Kientz, J.A.: PVT-touch: Adapting a reaction time test for touchscreen devices. In: 7th Interna- tio
77、nal Conference on Pervasive Computing Technologies for Healthcare (PervasiveHealth 2013), pp. 248–251 (2013)</p><p><b> 中文譯文:</b></p><p> 在安卓操作系統(tǒng)上開發(fā)增強(qiáng)現(xiàn)實(shí)應(yīng)用的程序</p><p>
78、安德拉杰 比雷克,安德拉杰 克拉杰卡</p><p> 摘要:增強(qiáng)現(xiàn)實(shí)是當(dāng)前移動趨勢之一,而主要發(fā)展尚未到來。它補(bǔ)充了用戶周圍的屬性,以獲得額外的軟件添加元素,其目標(biāo)是進(jìn)一步將用戶可能性擴(kuò)展到真實(shí)。許多增強(qiáng)現(xiàn)實(shí)應(yīng)用程序適用于各種傳感器,因?yàn)橛斜匾獪?zhǔn)確識別周圍的現(xiàn)實(shí)以便適當(dāng)?shù)財(cái)U(kuò)展。論文涉及移動設(shè)備的嵌入式傳感器的使用。在當(dāng)前最廣泛使用的移動平臺Android OS上描述了特定過程和算法的所選示例。還描述了應(yīng)用程序
79、的設(shè)計(jì),具有類描述的實(shí)現(xiàn)以及有趣的算法和最終應(yīng)用的測試。</p><p> 關(guān)鍵詞:傳感器·移動·設(shè)備·嵌入式·增強(qiáng)·現(xiàn)實(shí)</p><p><b> 1引言</b></p><p> 隨著智能手機(jī)或平板電腦等智能設(shè)備的大規(guī)模擴(kuò)展,移動設(shè)備的功能和可能性迅速增長,許多傳感器被集成以擴(kuò)展可能性
80、,主要是幫助用戶共同使用智能設(shè)備[4-9]。</p><p> 智能設(shè)備還集成了其他一些設(shè)備的功能[11-13]。幾年前用戶需要打電話或發(fā)短信的相機(jī),拍照的相機(jī),聽音樂的MP3播放器,GPS導(dǎo)航或地圖規(guī)劃他們的旅行[12,13,17],電腦打開文件等?,F(xiàn)在,所有這些功能都可以使用單個(gè)設(shè)備處理,提供強(qiáng)大的計(jì)算能力,在手機(jī)或平板電腦的機(jī)身有很多可能性。本文在一篇關(guān)于增強(qiáng)現(xiàn)實(shí)[1]應(yīng)用的案例研究實(shí)例中,對支持和強(qiáng)制傳
81、感器進(jìn)行了簡要比較。</p><p> 雖然移動智能設(shè)備所基于的幾個(gè)現(xiàn)有平臺,但有一個(gè)領(lǐng)先的Android操作系統(tǒng)[9-11],本文將更詳細(xì)地描述,以及開發(fā)人員使用這些嵌入式傳感器的條件是 - 內(nèi)襯。 Android操作系統(tǒng)是目前最常用的移動平臺,它仍在快速發(fā)展并擴(kuò)展到其他市場。為Android操作系統(tǒng)開發(fā)應(yīng)用程序的另一個(gè)好處是多平臺開發(fā)人員工具,平臺商店上相對便宜的應(yīng)用程序發(fā)布以及圍繞Web的大量信息。<
82、;/p><p> 在論文的第一部分 - 介紹之后,實(shí)際部分如下。樣本應(yīng)用程序使用增強(qiáng)現(xiàn)實(shí)原理,其中來自設(shè)備相機(jī)的視圖用于包括來自傳感器的數(shù)據(jù),可以增強(qiáng)到缺陷管理系統(tǒng)[2]或某種咨詢解決方案[3,15]。</p><p> 增強(qiáng)現(xiàn)實(shí)應(yīng)用的2D設(shè)計(jì)與實(shí)現(xiàn)</p><p> 為了證明使用移動設(shè)備的內(nèi)置傳感器的可能性,將描述其中一個(gè)可能的例子,它們在適當(dāng)選擇的案例研究中使
83、用。該示例應(yīng)用程序的功能定義如下:</p><p> 1.顯示來自GPS和環(huán)境傳感器的數(shù)據(jù)</p><p> 一個(gè)。 (溫度,濕度,大氣壓)</p><p> 2.顯示設(shè)備從北方向水位和方向傾斜</p><p> 3.實(shí)現(xiàn)簡單的GPS導(dǎo)航,此導(dǎo)航應(yīng)顯示坐標(biāo)的距離和方向,應(yīng)由用戶輸入</p><p> 4.應(yīng)用
84、程序應(yīng)該在Android OS的現(xiàn)有智能設(shè)備的大部分上運(yùn)行</p><p> 可以看到開發(fā)應(yīng)用程序結(jié)構(gòu)的UML圖(圖1)。結(jié)構(gòu)應(yīng)用的提議依賴于組件架構(gòu)。有組件管理器,界面來定義組件和組件本身。每個(gè)組件都應(yīng)準(zhǔn)備一些數(shù)據(jù)以向用戶顯示。</p><p> 示例應(yīng)用程序使用增強(qiáng)現(xiàn)實(shí)原理。應(yīng)用的基本石頭是從設(shè)備的后置攝像頭實(shí)時(shí)查看。通過覆蓋傳感器數(shù)據(jù)來豐富該視圖。首先,在最終定義UML之前,我們
85、關(guān)注GUI設(shè)計(jì)意義上的實(shí)際部分,以及所有功能,如經(jīng)典的應(yīng)用程序設(shè)計(jì)方式[4-5],[9-11]。</p><p> 應(yīng)用程序用于發(fā)送消息的所有部分之間的通信,因此服務(wù)在MainActivity類接收發(fā)送到各個(gè)服務(wù)及其數(shù)據(jù)的所有消息時(shí)發(fā)送消息。在服務(wù)端發(fā)送如下:</p><p> 1.首先,我們聲明了向定義事件發(fā)送消息的能力(通過Intent類實(shí)例)。作為動作播放的字符串存儲在公共服務(wù)的
86、靜態(tài)變量中。</p><p> 2.然后,方法序列將附加(密鑰,數(shù)據(jù))附加到消息上的單個(gè)數(shù)據(jù)發(fā)送出去。</p><p> 3.最后,通過方法發(fā)送Broadcast()發(fā)送消息。因此消息不直接發(fā)送到Main Activity類,但類本身需要捕獲消息。</p><p> MainActivity類的過程稍微復(fù)雜一些。首先,需要設(shè)置一個(gè)IntentFilter實(shí)例來
87、確定接收哪些消息。標(biāo)識消息的操作通過調(diào)用addAction()方法逐漸設(shè)置為此實(shí)例。事件作為靜態(tài)變量存儲為每個(gè)服務(wù)。通過設(shè)置接收者來完成消息的接收,該接收者形成創(chuàng)建了BroadcastReceiver接口的接口實(shí)例,并且通過調(diào)用registerReceiver(廣播接收器,意圖過濾器)來創(chuàng)建IntentFilter。接收消息的后續(xù)處理遵循BroadcastReceiver接口實(shí)例的創(chuàng)建,該實(shí)例基于報(bào)告中的事件來確定其目的并執(zhí)行消息處理(
88、通常顯示數(shù)據(jù)或發(fā)送以進(jìn)行進(jìn)一步處理)。</p><p> 圖1.最終應(yīng)用程序的簡化UML設(shè)計(jì)</p><p> 2.1選擇的傳感器實(shí)現(xiàn)算法</p><p> 使用有趣的算法開發(fā)解決方案,使用幾個(gè)重要的傳感器進(jìn)行操作:協(xié)調(diào)保存,轉(zhuǎn)換和驗(yàn)證; 傾斜計(jì)算到水位; 北方方位角向東計(jì)算; 和坐標(biāo)方向的計(jì)算。 作為示例,我們將描述其中的幾個(gè)。.</p>&l
89、t;p> 圖2.開發(fā)的增強(qiáng)現(xiàn)實(shí)應(yīng)用程序的最終GUI</p><p><b> 2.1.1傾斜處理</b></p><p> 傾斜計(jì)算基于[18]中公布的修改過程。 計(jì)算的第一步是將加速度矢量(值g的數(shù)組)從加速度計(jì)傳遞到標(biāo)準(zhǔn)化的值。 這是通過將各個(gè)組件除以組件平方和的平方根來完成的:</p><p> float n=(float
90、)Math.sqrt(g[0]*g[0]+g[1]*g[1]+g[2]*g[2]);</p><p> g[0] = g[0]/n; g[1] = g[1]/n; g[2] = g[2]/n;</p><p> 另一個(gè)必要的數(shù)據(jù)是計(jì)算傾斜度,該傾斜度表示設(shè)備屏幕相對于地面的旋轉(zhuǎn)方式。 只有當(dāng)顯示設(shè)備垂直于地面時(shí),才能計(jì)算設(shè)備的傾斜度。 這也是由于鋪設(shè)裝置處于不能顯示的屏幕表面的水平高度
91、的事實(shí)。</p><p> int inclination = (int) Math.round(Math.toDegrees(Math.acos(g[2])));</p><p> The last step is a computation of the device tilt according to water level:</p><p> //co
92、mputation will run only until 30° from upright – 90°</p><p> if (inclination < 120 && inclination > 60)</p><p> { int rotation = (int) Math.round(Math.toDegrees(Math.at
93、an2(g[0], g[1])));}</p><p><b> 2.1.2定向處理</b></p><p> 為了根據(jù)北方計(jì)算設(shè)備的方向,開發(fā)環(huán)境具有更好的處理能力。 為了計(jì)算方向,我們不僅需要來自地磁場傳感器的數(shù)據(jù),還需要來自加速度計(jì)的數(shù)據(jù)。 計(jì)算如下:</p><p> 2.2開發(fā)解決方案的重要參數(shù)</p><p
94、> 應(yīng)用程序用于將傳感器信息添加到攝像機(jī)視圖。您可以在攝像機(jī)視圖的側(cè)面看到各種傳感器信息,在視圖中間可以看到多功能圓形指示器,其中包含:</p><p> 指南針 - 黃色指示器,洋紅色朝北</p><p> 精神層面 - 綠色指??示器</p><p> 方位角 - 黃色文字,磁北的度數(shù)</p><p> 導(dǎo)航器 - 圓圈中
95、間的距離,青色指示器顯示方向</p><p> 應(yīng)用程序可用于簡單的GPS導(dǎo)航。某些文本字段也是可點(diǎn)擊的:</p><p><b> 時(shí)間顯示主菜單</b></p><p> GPS經(jīng)度以其他格式顯示實(shí)際GPS坐標(biāo)</p><p> 設(shè)置或距離打開坐標(biāo)設(shè)置對話框。對于西半球或南半球的坐標(biāo),請使用 - 度數(shù)之前。&
96、lt;/p><p> 大氣壓開啟參考壓力對話框(單位為hPa)。該壓力用于從氣壓計(jì)計(jì)算高度。如果設(shè)置為0,則使用標(biāo)準(zhǔn)壓力。</p><p> 3增強(qiáng)現(xiàn)實(shí)應(yīng)用的測試</p><p> 出于測試目的,我們使用了少量具有不同硬件配置和不同版本操作系統(tǒng)的設(shè)備(表1)。在所有設(shè)備上,應(yīng)用程序運(yùn)行正常,即使在最弱的LG Optimus One上也是如此。對于用戶界面,可擴(kuò)展性
97、測試還添加了一些仿真器配置,一個(gè)具有非常低的分辨率320x240,另一個(gè)具有高平板電腦分辨率1280x800。應(yīng)用程序可用于所有分辨率,最低(320x240)除外,其中復(fù)合指示器的質(zhì)量非常低。應(yīng)用程序的功能由少數(shù)用戶測試,他們沒有發(fā)現(xiàn)一些重要的錯(cuò)誤,應(yīng)用程序沒有崩潰。</p><p> 來自傳感器的一些信息無法測試,因?yàn)閹缀鯖]有設(shè)備(與2013年底相關(guān)),其中有傳感器提供它。這些傳感器是濕度和環(huán)境溫度傳感器。測
98、試結(jié)束時(shí)還考慮了Eclipse IDE中的內(nèi)存消耗和線程數(shù)。</p><p> 3.1測試速度和內(nèi)存占用</p><p> 增強(qiáng)現(xiàn)實(shí)應(yīng)用程序?qū)\(yùn)行速度和流暢度提出了強(qiáng)烈要求,用戶不希望因應(yīng)用程序中斷而受到干擾[14]。為了確保這些要求,應(yīng)用程序需要針對所有部件,模塊甚至每個(gè)線程進(jìn)行全面優(yōu)化!我們的解決方案滿足所有這些要求,同時(shí)還可以對其進(jìn)行測試以記錄此功能。</p>&l
99、t;p> 開發(fā)在具有激活導(dǎo)航系統(tǒng)的移動設(shè)備上運(yùn)行的增強(qiáng)現(xiàn)實(shí)應(yīng)用程序(根據(jù)開發(fā)環(huán)境中可用的調(diào)試工具)在過程8中使用運(yùn)行線程(+一些支持系統(tǒng)線程,其性能幾乎不涉及)。最嚴(yán)格的線程是負(fù)責(zé)呈現(xiàn)用戶界面和應(yīng)用程序的基本操作的線程。此線程使用應(yīng)用程序使用的90%以上的CPU資源。此外,每個(gè)服務(wù)都創(chuàng)建了一個(gè)特殊的線程。在AudioService服務(wù)的情況下,添加一個(gè)計(jì)算噪聲的線程,而AudioRecord類線程記錄一個(gè)聲音。自定義線程還有一個(gè)
100、SensorManager類,它為系統(tǒng)級別的大多數(shù)傳感器提供服務(wù)。關(guān)于應(yīng)用程序變量的內(nèi)存使用情況,分配7.5兆字節(jié)的內(nèi)存,其中實(shí)際使用的內(nèi)存大約為2.5兆字節(jié),如圖所示(圖3,4)。</p><p> 圖4.開發(fā)應(yīng)用程序的內(nèi)存占用情況</p><p><b> 4.結(jié)論</b></p><p> 這項(xiàng)工作的主要目標(biāo)是展示使用現(xiàn)代移動設(shè)備作
101、為一種工具的可能性,該工具可以幫助用戶更好地識別和掌握現(xiàn)實(shí)。 我們描述了幾種嵌入現(xiàn)代移動設(shè)備的傳感器。 我們還描述了使用這些傳感器的增強(qiáng)現(xiàn)實(shí)樣本應(yīng)用程序的開發(fā)過程。 論文僅涵蓋所選傳感器的主要信息,同時(shí)我們關(guān)注這些傳感器的實(shí)際應(yīng)用。 本文介紹的實(shí)際演示為集成不同傳感器以增強(qiáng)用戶體驗(yàn)的可能性提供了一些基本的探索。</p><p><b> 致謝</b></p><p>
102、; 這項(xiàng)工作和貢獻(xiàn)得到了“SP-103-2015 - 普適計(jì)算環(huán)境智能解決方案”項(xiàng)目的支持,捷克共和國赫拉德茨克拉洛韋大學(xué)信息學(xué)與管理學(xué)院。</p><p><b> 參考文獻(xiàn)</b></p><p> 1.Daponte, P., De Vito, L., Picariello, F., et al.: State of the art and future
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 眾賞文庫僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 計(jì)算機(jī)專業(yè)相關(guān)有關(guān)畢業(yè)設(shè)計(jì)外文文獻(xiàn)翻譯基于android安卓操作系統(tǒng)的增強(qiáng)現(xiàn)實(shí)應(yīng)用程序開發(fā)
- 109計(jì)算機(jī)專業(yè)安卓系統(tǒng)應(yīng)用相關(guān)有關(guān)外文文獻(xiàn)翻譯成品了解安卓android應(yīng)用程序編程和安全性_動態(tài)研究
- 94計(jì)算機(jī)專業(yè)相關(guān)有關(guān)外文文獻(xiàn)翻譯成品分析java ee應(yīng)用程序中的程序依賴性
- 06計(jì)算機(jī)專業(yè)相關(guān)有關(guān)外文文獻(xiàn)翻譯成品安卓andriod移動設(shè)備上醫(yī)療信息服務(wù)的實(shí)現(xiàn)
- 18計(jì)算機(jī)專業(yè)相關(guān)有關(guān)外文文獻(xiàn)翻譯成品高校大學(xué)宿舍管理系統(tǒng)研究
- 02計(jì)算機(jī)專業(yè)相關(guān)有關(guān)外文文獻(xiàn)翻譯成品c編程語言在增強(qiáng)故障檢測方面的擴(kuò)展
- 29計(jì)算機(jī)專業(yè)相關(guān)有關(guān)外文文獻(xiàn)翻譯成品c.c語言的自動類型轉(zhuǎn)換
- 04計(jì)算機(jī)專業(yè)相關(guān)有關(guān)外文文獻(xiàn)翻譯成品tmn網(wǎng)絡(luò)管理平臺的設(shè)計(jì)與實(shí)現(xiàn)
- 88計(jì)算機(jī)專業(yè)應(yīng)用程序app設(shè)計(jì)相關(guān)有關(guān)外文文獻(xiàn)翻譯成品智能手機(jī)上的即時(shí)消息(im)應(yīng)用程序(app)的表征
- 130計(jì)算機(jī)專業(yè)相關(guān)有關(guān)畢業(yè)設(shè)計(jì)外文文獻(xiàn)翻譯成品介紹java web開發(fā)
- 【中英雙語】161關(guān)于計(jì)算機(jī)專業(yè)android安卓軟件程序應(yīng)用app開發(fā)介紹有關(guān)的外文文獻(xiàn)翻譯成品:android(安卓)開發(fā)簡介(中英文雙語對照)
- 26計(jì)算機(jī)專業(yè)相關(guān)有關(guān)外文文獻(xiàn)翻譯成品基于消費(fèi)者行為建模的網(wǎng)頁內(nèi)容推薦系統(tǒng)
- 114計(jì)算機(jī)專業(yè)相關(guān)有關(guān)畢業(yè)設(shè)計(jì)外文文獻(xiàn)翻譯成品集成spring mvc框架
- 108計(jì)算機(jī)專業(yè)相關(guān)有關(guān)外文文獻(xiàn)翻譯成品從信息門戶到數(shù)字圖書館管理系統(tǒng)案例分析
- 116計(jì)算機(jī)專業(yè)相關(guān)有關(guān)畢業(yè)設(shè)計(jì)外文文獻(xiàn)翻譯成品安裝和配置mysql (最新)
- 109計(jì)算機(jī)專業(yè)有關(guān)安卓系統(tǒng)應(yīng)用相關(guān)畢業(yè)設(shè)計(jì)外文文獻(xiàn)翻譯了解安卓android應(yīng)用程序編程和安全性_動態(tài)研究
- 117計(jì)算機(jī)專業(yè)相關(guān)有關(guān)畢業(yè)設(shè)計(jì)外文文獻(xiàn)翻譯成品 對java及其歷史的介紹(最新)
- 137市場營銷策略專業(yè)相關(guān)有關(guān)外文文獻(xiàn)翻譯成品營銷策略研究(最新2019)
- 126有關(guān)計(jì)算機(jī)專業(yè)相關(guān)畢業(yè)設(shè)計(jì)外文文獻(xiàn)翻譯成品對delphi的概述
- 128計(jì)算機(jī)專業(yè)相關(guān)有關(guān)畢業(yè)設(shè)計(jì)外文文獻(xiàn)翻譯成品web網(wǎng)站開發(fā)方法 4萬字符
評論
0/150
提交評論