TWI710749B - Indoor positioning method with improved accuracy and mobile device using the same - Google Patents

Indoor positioning method with improved accuracy and mobile device using the same Download PDF

Info

Publication number
TWI710749B
TWI710749B TW108131906A TW108131906A TWI710749B TW I710749 B TWI710749 B TW I710749B TW 108131906 A TW108131906 A TW 108131906A TW 108131906 A TW108131906 A TW 108131906A TW I710749 B TWI710749 B TW I710749B
Authority
TW
Taiwan
Prior art keywords
value
preset condition
mobile device
electronic compass
gravity sensor
Prior art date
Application number
TW108131906A
Other languages
Chinese (zh)
Other versions
TW202111284A (en
Inventor
蔡宗軒
Original Assignee
宏碁股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 宏碁股份有限公司 filed Critical 宏碁股份有限公司
Priority to TW108131906A priority Critical patent/TWI710749B/en
Application granted granted Critical
Publication of TWI710749B publication Critical patent/TWI710749B/en
Publication of TW202111284A publication Critical patent/TW202111284A/en

Links

Images

Abstract

An indoor positioning method with improved accuracy and a mobile device using the same are provided. The indoor positioning method for improving the accuracy includes the following steps. At least one live photo is captured by the mobile device. An electronic compass value and a gravity sensor value are captured. Whether the electronic compass value satisfies a first preset condition is determined. Whether the gravity sensor value satisfies a second preset condition is determined. According to the local photo, an indoor position of the mobile device is identified through an identification model. If the electronic compass value satisfies the first preset condition and the gravity sensor value satisfies the second preset condition, the indoor position is displayed.

Description

提升準確率之室內定位方法及應用其之行動裝置 Indoor positioning method for improving accuracy and mobile device using the same

本揭露是有關於一種室內定位方法,且特別是有關於一種提升準確率之室內定位方法及應用其之行動裝置。 The present disclosure relates to an indoor positioning method, and in particular to an indoor positioning method that improves accuracy and a mobile device using the same.

隨著科技的進步,發展出一種地理位置定位技術。地理位置定位技術例如是利用全球定位系統(GPS)進行定位。然而,全球定位系統無法使用於室內,而無法發展室內定位技術。 With the advancement of technology, a geographic location positioning technology has been developed. The geographic location positioning technology uses the global positioning system (GPS) for positioning, for example. However, the global positioning system cannot be used indoors, and indoor positioning technology cannot be developed.

目前,室內定位技術嘗試以Wi-Fi訊號來進行,但其具有精準度不佳、需要額外裝置設備成本、施工成本、調校成本、安裝不易、過於耗電等問題,使得室內定位技術一直無法普及。 At present, indoor positioning technology is trying to use Wi-Fi signals, but it has problems such as poor accuracy, additional equipment costs, construction costs, adjustment costs, difficult installation, and excessive power consumption. universal.

然而,若欲利用影像辨識技術來進行室內定位,則因拍攝角度與方位的不同,而有難以辨識或是辨識錯誤的問題。因此,研究人員正致力於這方面研究,以期能夠順利推廣室內定位技術。 However, if you want to use image recognition technology to perform indoor positioning, it is difficult to recognize or recognize errors due to the different shooting angles and directions. Therefore, researchers are working on this aspect of research, with a view to smoothly promoting indoor positioning technology.

本揭露係有關於一種提升準確率之室內定位方法及應用其之行動裝置,其利用方位校驗技術,適當的提醒使用者轉動方向或傾斜方向,以取得正確方位之現地照片,進而提升辨識準確率。 This disclosure relates to an indoor positioning method with improved accuracy and a mobile device using the same. It uses orientation verification technology to appropriately remind the user to turn or tilt to obtain the correct orientation of the spot photo, thereby improving the identification accuracy Accuracy rate.

根據本揭露之第一方面,提出一種提升準確率之室內定位方法。提升準確率之室內定位方法包括以下步驟。以一行動裝置拍攝至少一現地照片。擷取一電子羅盤數值及一重力感測器數值。判斷電子羅盤數值是否滿足一第一預設條件。判斷重力感測器數值是否滿足一第二預設條件。根據現地照片,透過一辨識模型辨識出行動裝置之一室內位置。若電子羅盤數值滿足第一預設條件且重力感測器數值滿足第二預設條件,則顯示室內位置。 According to the first aspect of this disclosure, an indoor positioning method with improved accuracy is proposed. The indoor positioning method to improve accuracy includes the following steps. Take at least one spot photo with a mobile device. Capture an electronic compass value and a gravity sensor value. Determine whether the value of the electronic compass meets a first preset condition. Determine whether the value of the gravity sensor meets a second preset condition. According to the local photos, the indoor location of a mobile device is identified through a recognition model. If the electronic compass value meets the first preset condition and the gravity sensor value meets the second preset condition, the indoor position is displayed.

根據本揭露之第二方面,提出一種提升準確率之室內定位方法。行動裝置包括一取像單元、一電子羅盤、一重力感測器、一處理單元及一顯示單元。取像單元用以拍攝至少一現地照片。電子羅盤用以擷取一電子羅盤數值。重力感測器用以擷取一重力感測器數值。處理單元用以判斷電子羅盤數值是否滿足一第一預設條件,並判斷重力感測器數值是否滿足一第二預設條件。處理單元根據現地照片,透過一辨識模型辨識出行動裝置之一室內位置。若電子羅盤數值滿足第一預設條件且重力感測器數值滿足第二預設條件,則處理單元控制顯示單元顯示室內位置。 According to the second aspect of this disclosure, an indoor positioning method with improved accuracy is proposed. The mobile device includes an image capturing unit, an electronic compass, a gravity sensor, a processing unit and a display unit. The imaging unit is used for taking at least one spot photo. The electronic compass is used to capture an electronic compass value. The gravity sensor is used to capture a value of the gravity sensor. The processing unit is used to determine whether the value of the electronic compass meets a first preset condition, and to determine whether the value of the gravity sensor meets a second preset condition. The processing unit recognizes an indoor location of the mobile device through a recognition model based on the local photos. If the value of the electronic compass meets the first preset condition and the value of the gravity sensor meets the second preset condition, the processing unit controls the display unit to display the indoor position.

為了對本揭露之上述及其他方面有更佳的瞭解,下文特舉實施例,並配合所附圖式詳細說明如下: In order to have a better understanding of the above and other aspects of the present disclosure, the following embodiments are specially cited, and the accompanying drawings are described in detail as follows:

100:行動裝置 100: mobile device

110:取像單元 110: Acquisition unit

120:電子羅盤 120: electronic compass

130:重力感測器 130: Gravity Sensor

140:處理單元 140: Processing Unit

160:顯示單元 160: display unit

900:室內定位訓練系統 900: Indoor positioning training system

911、912、913、914:取像單元 911, 912, 913, 914: imaging unit

920:電子羅盤 920: electronic compass

930:重力感測器 930: Gravity Sensor

940:訓練單元 940: Training Unit

950:資料庫 950: database

BD1:建築物 BD1: Building

CF11:辨識信心度 CF11: Recognition confidence

D1:第一方向 D1: First direction

D2:第二方向 D2: second direction

D3:第三方向 D3: Third party

D4:第四方向 D4: Fourth direction

DR11:轉動方向 DR11: Rotation direction

DT11:傾斜方向 DT11: Tilt direction

EC1、EC11、EC2、EC3、EC4:電子羅盤數值 EC1, EC11, EC2, EC3, EC4: electronic compass values

GS1、GS11、GS2、GS3、GS4:重力感測器數值 GS1, GS11, GS2, GS3, GS4: gravity sensor value

LC11:室內位置 LC11: Indoor location

MD1:辨識模型 MD1: Identification model

P11:現地照片 P11: Local photos

R1、R2、R3、R4、R5:分區 R1, R2, R3, R4, R5: partition

S110、S110’、S120、S120’、S130、S130’、S140、S150、S160、S170、S180、S190、S240、S240’、S250、S250’:步驟 S110, S110’, S120, S120’, S130, S130’, S140, S150, S160, S170, S180, S190, S240, S240’, S250, S250’: steps

第1圖繪示根據一實施例之建築物之內部的示意圖。 Figure 1 shows a schematic diagram of the interior of a building according to an embodiment.

第2圖繪示根據一實施例之室內定位訓練系統的方塊圖 Figure 2 shows a block diagram of an indoor positioning training system according to an embodiment

第3圖繪示根據一實施例之取像單元、取像單元、取像單元、取像單元之示意圖。 FIG. 3 is a schematic diagram of an image capturing unit, an image capturing unit, an image capturing unit, and an image capturing unit according to an embodiment.

第4圖繪示根據一實施例之行動裝置之示意圖。 Figure 4 is a schematic diagram of a mobile device according to an embodiment.

第5圖繪示根據一實施例之提升準確率之室內定位方法的流程圖。 Fig. 5 shows a flowchart of an indoor positioning method for improving accuracy according to an embodiment.

第6圖繪示根據另一實施例之提升準確率之室內定位方法的流程圖。 FIG. 6 shows a flowchart of an indoor positioning method for improving accuracy according to another embodiment.

第7圖繪示根據另一實施例之提升準確率之室內定位方法的流程圖。 FIG. 7 is a flowchart of an indoor positioning method for improving accuracy according to another embodiment.

第8圖繪示根據另一實施例之提升準確率之室內定位方法的流程圖。 FIG. 8 is a flowchart of an indoor positioning method for improving accuracy according to another embodiment.

第9圖繪示現地照片、電子羅盤數值及重力感測器數值之擷取的時序圖。 Figure 9 shows a timing diagram of capturing live photos, electronic compass values, and gravity sensor values.

請參照第1圖及第2圖,第1圖繪示根據一實施例之一建築物BD1之內部的示意圖,第2圖繪示根據一實施例之一室內定位訓練系統900的方塊圖。建築物BD1之內部無法透過全球定系統進行定位,而室內定位訓練系統900可以讓使用者能夠得知其所在之室內位置屬於哪一分區R1、R2、R3、R4、R5、...。 Please refer to FIGS. 1 and 2. FIG. 1 is a schematic diagram of the interior of a building BD1 according to an embodiment, and FIG. 2 is a block diagram of an indoor positioning training system 900 according to an embodiment. The interior of the building BD1 cannot be positioned through the global positioning system, and the indoor positioning training system 900 can allow the user to know which partition R1, R2, R3, R4, R5,...

室內定位訓練系統900包括一取像單元911、一取像單元912、一取像單元913、一取像單元914、一電子羅盤920、一重力感測器930、一訓練單元940及一資料庫950。 The indoor positioning training system 900 includes an image capturing unit 911, an image capturing unit 912, an image capturing unit 913, an image capturing unit 914, an electronic compass 920, a gravity sensor 930, a training unit 940, and a database. 950.

取像單元911、取像單元912、取像單元913、取像單元914所取得之樣本照片P1、P2、P3、P4可以輸入至訓練單元940。訓練單元940利用人工智慧之深度學習技術,建置出一辨識模型MD1。辨識模型MD1儲存於資料庫950中。 The sample photos P1, P2, P3, and P4 obtained by the image capturing unit 911, the image capturing unit 912, the image capturing unit 913, and the image capturing unit 914 can be input to the training unit 940. The training unit 940 uses the deep learning technology of artificial intelligence to build a recognition model MD1. The identification model MD1 is stored in the database 950.

請參照第3圖,其繪示根據一實施例之取像單元911、取像單元912、取像單元913、取像單元914之示意圖。取像單元911例如是朝向第一方向D1,取像單元912例如是朝向第二方向D2,取像單元913例如是朝向第三方向D3,取像單元914例如是朝向第四方向D4。第一方向D1具有特定之電子羅盤數值EC1及特定之重力感測器數值GS1。第二方向D2具有特定之電子羅盤數值EC2及特定之重力感測器數值GS2。第三方向D3具有特定之電子羅盤數值EC3及特定之重力感測器數值GS3。第四方向D4具有特定之電子羅盤數值EC4及特定之重力感測器數值GS4。也就是說,上述樣本照片P1、P2、P3、P4係按照特定的第一方向D1、第二方向D2、第三方向D3及第四方向D4進行拍攝。 Please refer to FIG. 3, which illustrates a schematic diagram of an image capturing unit 911, an image capturing unit 912, an image capturing unit 913, and an image capturing unit 914 according to an embodiment. For example, the imaging unit 911 faces the first direction D1, the imaging unit 912 faces the second direction D2, for example, the imaging unit 913 faces the third direction D3, and the imaging unit 914 faces the fourth direction D4, for example. The first direction D1 has a specific electronic compass value EC1 and a specific gravity sensor value GS1. The second direction D2 has a specific electronic compass value EC2 and a specific gravity sensor value GS2. The third direction D3 has a specific electronic compass value EC3 and a specific gravity sensor value GS3. The fourth direction D4 has a specific electronic compass value EC4 and a specific gravity sensor value GS4. In other words, the above-mentioned sample photos P1, P2, P3, and P4 are taken according to the specific first direction D1, second direction D2, third direction D3, and fourth direction D4.

請參照第4圖,其繪示根據一實施例之行動裝置100之示意圖。行動裝置100包括一取像單元110、一電子羅盤120、一重力感測器130、一處理單元140及一顯示單元150。其中,取像單元110例如是具有攝影、照相功能之一攝影機、或一相機。處理單元140例如是具有運算、處理、控制功能之電路、晶片、電路板或儲存數組程式碼之儲存裝置。 Please refer to FIG. 4, which shows a schematic diagram of a mobile device 100 according to an embodiment. The mobile device 100 includes an image capturing unit 110, an electronic compass 120, a gravity sensor 130, a processing unit 140, and a display unit 150. Wherein, the image capturing unit 110 is, for example, a camera or a camera with photography and photographing functions. The processing unit 140 is, for example, a circuit, a chip, a circuit board, or a storage device that stores an array of program codes with calculation, processing, and control functions.

取像單元110能夠拍攝現地照片P11,處理單元140利用室內定位訓練系統900所提供之辨識模型MD1來進行室內定位。若使用者所拍攝之現地照片P11與第一方向D1、第二方向D2、第三方向D3及第四方向D4差異過大時,可能會產生辨識不準確的問題。本實施例之行動裝置100具備方位校驗與提醒的技術來提升辨識準確率。以下更透過一流程圖詳細說明提升準確率之室內定位方法。 The imaging unit 110 can take a spot photo P11, and the processing unit 140 uses the recognition model MD1 provided by the indoor positioning training system 900 to perform indoor positioning. If the on-site photo P11 taken by the user is too different from the first direction D1, the second direction D2, the third direction D3, and the fourth direction D4, the problem of inaccurate recognition may occur. The mobile device 100 of this embodiment has the technology of position checking and reminding to improve the recognition accuracy. The following is a flowchart to explain in detail the indoor positioning method to improve accuracy.

請參照第5圖,其繪示根據一實施例提升準確率之室內定位方法的流程圖。在步驟S110中,以行動裝置100之取像單元110拍攝一現地照片P11。 Please refer to FIG. 5, which illustrates a flowchart of an indoor positioning method for improving accuracy according to an embodiment. In step S110, the imaging unit 110 of the mobile device 100 is used to take a spot photo P11.

接著,在步驟S120中,處理單元140根據現地照片P11,透過辨識模型MD1辨識出行動裝置100之室內位置LC11。在此步驟中,辨識模型MD1同時會產生室內位置LC11及辨識信心度CF11。可能影響辨識信心度CF11的因素包含取像方位、取像單元110之曝光參數、快門參數、廣角參數、及現場人員與物件等。辨識信心度CF11越高,代表室內位置LC11的可信度越高。 Next, in step S120, the processing unit 140 recognizes the indoor position LC11 of the mobile device 100 through the recognition model MD1 according to the local photo P11. In this step, the recognition model MD1 will simultaneously generate the indoor position LC11 and the recognition confidence CF11. Factors that may affect the recognition confidence CF11 include the imaging orientation, exposure parameters of the imaging unit 110, shutter parameters, wide-angle parameters, and on-site personnel and objects. The higher the recognition confidence CF11, the higher the reliability of the indoor location LC11.

然後,在步驟S130中,電子羅盤120擷取一電子羅盤數值EC11,且重力感測器130擷取一重力感測器數值GS11。 Then, in step S130, the electronic compass 120 captures an electronic compass value EC11, and the gravity sensor 130 captures a gravity sensor value GS11.

接著,在步驟S140中,處理單元140判斷電子羅盤數值EC11是否滿足一第一預設條件。第一預設條件例如是落入電子羅盤數值EC1、EC2、EC3、EC4的±5%或±10%的預設區間。若電子羅盤數值EC11滿足第一預設條件,則進入步驟S160;若電子羅盤數值EC11不滿足第一預設條件,則進入步驟S150。 Next, in step S140, the processing unit 140 determines whether the electronic compass value EC11 satisfies a first preset condition. The first preset condition is, for example, a preset interval of ±5% or ±10% of the electronic compass values EC1, EC2, EC3, and EC4. If the electronic compass value EC11 meets the first preset condition, go to step S160; if the electronic compass value EC11 does not meet the first preset condition, go to step S150.

在步驟S150中,處理單元140控制顯示單元160提示一轉動方向DR11。舉例來說,顯示單元160可以提示「向右轉、向左轉、向順時針方向轉、向逆時針方向轉、向右轉20度、向左轉20度、向順時針方向轉20度、向逆時針方向轉20度」等。 In step S150, the processing unit 140 controls the display unit 160 to prompt a rotation direction DR11. For example, the display unit 160 may prompt "turn right, turn left, turn clockwise, turn counterclockwise, turn right 20 degrees, turn left 20 degrees, turn clockwise 20 degrees, Turn 20 degrees counterclockwise" and so on.

在步驟S160中,處理單元140判斷重力感測器數值GS11是否滿足一第二預設條件。第二預設條件例如是落入重力感測器數值GS1、GS2、GS3、GS4的±5%或±10%的預設區間。若重力感測器數值GS11滿足第二預設條件,則進入步驟S180;若重力感測器數值GS11不滿足第二預設條件,則進入步驟S170。 In step S160, the processing unit 140 determines whether the gravity sensor value GS11 satisfies a second preset condition. The second preset condition is, for example, falling within a preset interval of ±5% or ±10% of the gravity sensor values GS1, GS2, GS3, and GS4. If the gravity sensor value GS11 meets the second preset condition, then step S180 is entered; if the gravity sensor value GS11 does not meet the second preset condition, then step S170 is entered.

在步驟S170中,處理單元140控制顯示單元160提示一傾斜方向DT11。舉例來說,顯示單元160可以提示「向上傾斜、向下傾斜、向上傾斜20度、向下傾斜20度」等。 In step S170, the processing unit 140 controls the display unit 160 to prompt a tilt direction DT11. For example, the display unit 160 may prompt “tilt up, tilt down, tilt up 20 degrees, tilt down 20 degrees” and so on.

在步驟S150與步驟S170提示使用者轉動方向DR11或傾斜方向DT11後,則回至步驟S110,重新拍攝現地照 片P11,以取得方位更正確之現地照片P11,藉此增加辨識準確率。 After prompting the user to turn the direction DR11 or the tilt direction DT11 in step S150 and step S170, return to step S110 to take the spot photo again The picture P11 is used to obtain a more correct location picture P11, thereby increasing the recognition accuracy.

進入步驟S180後,即已確認電子羅盤數值EC11滿足第一預設條件且重力感測器數值GS11滿足第二預設條件。在步驟S180中,處理單元140控制顯示單元160顯示室內位置LC11。在此步驟中,處理單元140更可控制顯示單元160顯示一拍攝方向正確資訊,以告知使用者此拍攝方向可正確辨識出位置。 After entering step S180, it is confirmed that the electronic compass value EC11 meets the first preset condition and the gravity sensor value GS11 meets the second preset condition. In step S180, the processing unit 140 controls the display unit 160 to display the indoor position LC11. In this step, the processing unit 140 may further control the display unit 160 to display information about the correct shooting direction to inform the user that the shooting direction can correctly identify the position.

在步驟S190中,處理單元140更控制顯示單元160顯示辨識信心度CF11。如此一來,行動裝置100可以透過提示使用者轉動方向DR11或傾斜方向DT11,來更正現地照片P11的方位,使得辨識準確度能夠大幅提升。 In step S190, the processing unit 140 further controls the display unit 160 to display the recognition confidence CF11. In this way, the mobile device 100 can correct the orientation of the local photo P11 by prompting the user to rotate the direction DR11 or the tilt direction DT11, so that the recognition accuracy can be greatly improved.

在一實施例中,上述步驟S140及步驟S160係可交換順序、或同時執行。請參照第6圖,其繪示根據另一實施例之提升準確率之室內定位方法的流程圖。在第6圖之步驟S240中,處理單元140係同時判斷電子羅盤數值EC11是否滿足第一預設條件且重力感測器數值GS11是否滿足第二預設條件。若第電子羅盤數值EC11不滿足第一預設條件或重力感測器數值GS11不滿足第二預設條件,則進入步驟S250。若第電子羅盤數值EC11滿足第一預設條件且重力感測器數值GS11滿足第二預設條件,則進入步驟S180。 In one embodiment, the above-mentioned steps S140 and S160 can be executed in an exchange order or simultaneously. Please refer to FIG. 6, which shows a flowchart of an indoor positioning method for improving accuracy according to another embodiment. In step S240 in FIG. 6, the processing unit 140 simultaneously determines whether the electronic compass value EC11 meets the first preset condition and the gravity sensor value GS11 meets the second preset condition. If the first electronic compass value EC11 does not meet the first preset condition or the gravity sensor value GS11 does not meet the second preset condition, step S250 is entered. If the first electronic compass value EC11 satisfies the first preset condition and the gravity sensor value GS11 satisfies the second preset condition, then step S180 is entered.

在步驟S250中,處理單元140控制顯示單元160提示轉動方向DR11及傾斜方向DT11。也就是說,處理單元140 可以針對電子羅盤數值EC11與重力感測器數值GS11綜合判斷,並直接給予適合的轉動方向DR11及傾斜方向DT11。 In step S250, the processing unit 140 controls the display unit 160 to prompt the rotation direction DR11 and the tilt direction DT11. In other words, the processing unit 140 The electronic compass value EC11 and the gravity sensor value GS11 can be comprehensively judged, and the suitable rotation direction DR11 and the tilt direction DT11 can be directly given.

在另一實施例中,辨識室內位置LC11之動作可以待方位正確後再進行,以避免運算資源的浪費。請參照第7圖,其繪示根據另一實施例之提升準確率之室內定位方法的流程圖。在第7圖之實施例中,步驟S120係執行於步驟S160之後,在已確認電子羅盤數值EC11滿足第一預設條件且重力感測器數值GS11滿足第二預設條件之後才進行辨識室內位置LC11之動作。 In another embodiment, the action of recognizing the indoor position LC11 can be performed after the orientation is correct, so as to avoid waste of computing resources. Please refer to FIG. 7, which shows a flowchart of an indoor positioning method for improving accuracy according to another embodiment. In the embodiment of Fig. 7, step S120 is performed after step S160, and the indoor position identification is performed only after the electronic compass value EC11 meets the first preset condition and the gravity sensor value GS11 meets the second preset condition Action of LC11.

在另一實施例中,取像單元110可以拍攝一影片,以取得多張拍攝現地照片P11,並且隨著現地照片P11的取得連續擷取電子羅盤數值EC11及重力感測器數值GS11。請參照第8圖及第9圖,第8圖繪示根據另一實施例之提升準確率之室內定位方法的流程圖,第9圖繪示現地照片P11、電子羅盤數值EC11及重力感測器數值GS11之擷取的時序圖。在第8圖之步驟S110’中,行動裝置100之取像單元110連續拍攝現地照片P11。在第8圖之步驟S120’中,處理單元140根據此些現地照片P11,透過辨識模型MD1,辨識出對應的多個室內位置LC11。 In another embodiment, the image capturing unit 110 can shoot a video to obtain multiple shots of spot photos P11, and continuously capture the electronic compass value EC11 and the gravity sensor value GS11 as the spot photos P11 are obtained. Please refer to Figures 8 and 9. Figure 8 shows a flowchart of an indoor positioning method for improving accuracy according to another embodiment. Figure 9 shows a spot photo P11, an electronic compass value EC11, and a gravity sensor The timing diagram of the value GS11 captured. In step S110' in Fig. 8, the imaging unit 110 of the mobile device 100 continuously takes the spot photo P11. In step S120' in Fig. 8, the processing unit 140 recognizes a plurality of corresponding indoor locations LC11 through the recognition model MD1 based on the spot photos P11.

在步驟S130’中,電子羅盤120連續擷取電子羅盤數值EC11,且重力感測器130連續擷取重力感測器數值GS11。如第9圖,現地照片P11之擷取、電子羅盤數值EC11之擷取與重力感測器數值GS11之擷取係同步進行。同一時間點的現地照片P11、電子羅盤數值EC11與重力感測器數值GS11歸為同一組資料。 In step S130', the electronic compass 120 continuously captures the electronic compass value EC11, and the gravity sensor 130 continuously captures the gravity sensor value GS11. As shown in Figure 9, the capture of the spot photo P11, the capture of the electronic compass value EC11, and the capture of the gravity sensor value GS11 are performed simultaneously. The spot photo P11, the electronic compass value EC11 and the gravity sensor value GS11 at the same time point are grouped into the same group of data.

在步驟S240’中,處理單元140判斷此些電子羅盤數值EC11與重力感測器數值GS11之其中一組是否同時滿足第一預設條件及第二預設條件。若電子羅盤數值EC11與重力感測器數值GS11中,沒有任何一組同時滿足第一預設條件及第二預設條件,則進入步驟S250’;電子羅盤數值EC11與重力感測器數值GS11中,存在一組同時滿足第一預設條件及第二預設條件,則進入步驟S180。 In step S240', the processing unit 140 determines whether one of the electronic compass value EC11 and the gravity sensor value GS11 satisfies the first preset condition and the second preset condition at the same time. If none of the electronic compass value EC11 and the gravity sensor value GS11 satisfies the first preset condition and the second preset condition at the same time, go to step S250'; the electronic compass value EC11 and the gravity sensor value GS11 If there is a group that satisfies both the first preset condition and the second preset condition, then step S180 is entered.

在步驟S250’中,處理單元140控制顯示單元160提示轉動方向DR11及傾斜方向DT11。處理單元140可以針對最後一組之電子羅盤數值EC11與重力感測器數值GS11綜合判斷,並直接給予適合的轉動方向DR11及傾斜方向DT11。 In step S250', the processing unit 140 controls the display unit 160 to prompt the rotation direction DR11 and the tilt direction DT11. The processing unit 140 can comprehensively determine the electronic compass value EC11 and the gravity sensor value GS11 of the last group, and directly give the appropriate rotation direction DR11 and the tilt direction DT11.

在步驟S180中,處理單元140控制顯示單元160顯示室內位置LC11。在此步驟中,根據同時滿足第一預設條件及第二預設條件之電子羅盤數值EC11與重力感測器數值GS11的組別,取出對應該組的室內位置LC11。 In step S180, the processing unit 140 controls the display unit 160 to display the indoor position LC11. In this step, according to the group of the electronic compass value EC11 and the gravity sensor value GS11 satisfying both the first preset condition and the second preset condition, the indoor position LC11 corresponding to the group is extracted.

在步驟S190中,處理單元140更控制顯示單元160顯示辨識信心度CF11。在此步驟中,根據同時滿足第一預設條件及第二預設條件之電子羅盤數值EC11與重力感測器數值GS11的組別,取出對應該組的辨識信心度CF11。 In step S190, the processing unit 140 further controls the display unit 160 to display the recognition confidence CF11. In this step, according to the group of the electronic compass value EC11 and the gravity sensor value GS11 satisfying both the first preset condition and the second preset condition, the recognition confidence CF11 corresponding to the group is obtained.

也就是說,使用者可以直接拍攝連續之影像,而取得多張現地照片P11,並據以直接進行後續的判斷與辨識,加快室內定位的速度。 In other words, the user can directly shoot continuous images, and obtain multiple on-site photos P11, and directly perform subsequent judgments and identifications based on them, thus speeding up indoor positioning.

根據上述各種實施例,行動裝置100具備方位校驗的技術,可以適當的提醒使用者轉動方向或傾斜方向,以取得正確方位之現地照片P11,進而提升辨識準確率。 According to the various embodiments described above, the mobile device 100 is equipped with an orientation verification technology, which can appropriately remind the user of the rotation direction or the tilt direction to obtain the correct orientation of the spot photo P11, thereby improving the recognition accuracy.

綜上所述,雖然本揭露已以實施例揭露如上,然其並非用以限定本揭露。本揭露所屬技術領域中具有通常知識者,在不脫離本揭露之精神和範圍內,當可作各種之更動與潤飾。因此,本揭露之保護範圍當視後附之申請專利範圍所界定者為準。 To sum up, although the present disclosure has been disclosed as above by embodiments, it is not intended to limit the present disclosure. Those with ordinary knowledge in the technical field to which this disclosure belongs can make various changes and modifications without departing from the spirit and scope of this disclosure. Therefore, the protection scope of this disclosure shall be subject to the scope of the attached patent application.

S110、S120、S130、S140、S150、S160、S170、S180、S190:步驟 S110, S120, S130, S140, S150, S160, S170, S180, S190: steps

Claims (22)

一種提升準確率之室內定位方法,包括:以一行動裝置拍攝至少一現地照片;擷取一電子羅盤數值及一重力感測器數值;判斷該電子羅盤數值是否滿足一第一預設條件;判斷該重力感測器數值是否滿足一第二預設條件;根據該現地照片,透過一辨識模型辨識出該行動裝置之一室內位置;以及若該電子羅盤數值滿足該第一預設條件且該重力感測器數值滿足該第二預設條件,則顯示該室內位置。 An indoor positioning method for improving accuracy includes: taking at least one spot photo with a mobile device; capturing an electronic compass value and a gravity sensor value; determining whether the electronic compass value meets a first preset condition; Whether the value of the gravity sensor meets a second preset condition; according to the spot photo, an indoor position of the mobile device is identified through a recognition model; and if the value of the electronic compass meets the first preset condition and the gravity When the sensor value meets the second preset condition, the indoor position is displayed. 如申請專利範圍第1項所述之提升準確率之室內定位方法,更包括:若該電子羅盤數值不滿足該第一預設條件,則提示一轉動方向。 For example, the indoor positioning method for improving accuracy described in item 1 of the scope of patent application further includes: if the value of the electronic compass does not meet the first preset condition, prompting a rotation direction. 如申請專利範圍第1項所述之提升準確率之室內定位方法,更包括:若該重力感測器數值不滿足該第二預設條件,則提示一傾斜方向。 For example, the indoor positioning method for improving accuracy described in item 1 of the scope of patent application further includes: if the value of the gravity sensor does not meet the second preset condition, prompting a tilt direction. 如申請專利範圍第1項所述之提升準確率之室內定位方法,更包括: 若該電子羅盤數值不滿足該第一預設條件,則提示一轉動角度。 As described in item 1 of the scope of patent application, the indoor positioning method for improving accuracy includes: If the electronic compass value does not meet the first preset condition, a rotation angle is prompted. 如申請專利範圍第1項所述之提升準確率之室內定位方法,更包括:若該重力感測器數值不滿足該第二預設條件,則提示一傾斜角度。 For example, the indoor positioning method for improving accuracy described in item 1 of the scope of patent application further includes: if the value of the gravity sensor does not meet the second preset condition, prompting an inclination angle. 如申請專利範圍第1項所述之提升準確率之室內定位方法,更包括:輸出一辨識信心度。 As described in item 1 of the scope of patent application, the indoor positioning method for improving the accuracy rate further includes: outputting a recognition confidence. 如申請專利範圍第1項所述之提升準確率之室內定位方法,其中該行動裝置係連續拍攝該現地照片。 The indoor positioning method for improving accuracy as described in item 1 of the scope of patent application, wherein the mobile device continuously takes pictures of the spot. 如申請專利範圍第1項所述之提升準確率之室內定位方法,其中該現地照片係呈現於該行動裝置之一顯示單元上。 The indoor positioning method for improving accuracy as described in item 1 of the scope of patent application, wherein the spot photo is presented on a display unit of the mobile device. 如申請專利範圍第1項所述之提升準確率之室內定位方法,更包括:若該電子羅盤數值滿足該第一預設條件且該重力感測器數值滿足該第二預設條件,則提示一拍攝方向正確資訊。 As described in item 1 of the scope of patent application, the indoor positioning method for improving accuracy further includes: if the electronic compass value satisfies the first preset condition and the gravity sensor value satisfies the second preset condition, prompt Information about the correct shooting direction. 如申請專利範圍第1項所述之提升準確率之室內定位方法,其中該第一預設條件係為一預設數值區間。 In the indoor positioning method for improving accuracy described in item 1 of the scope of patent application, the first preset condition is a preset numerical interval. 如申請專利範圍第1項所述之提升準確率之室內定位方法,其中該第二預設條件係為一預設數值區間。 In the indoor positioning method for improving accuracy as described in item 1 of the scope of patent application, the second predetermined condition is a predetermined numerical interval. 一種行動裝置,包括:一取像單元,用以拍攝至少一現地照片;一電子羅盤,用以擷取一電子羅盤數值一重力感測器,用以擷取一重力感測器數值;一處理單元,用以判斷該電子羅盤數值是否滿足一第一預設條件,並判斷該重力感測器數值是否滿足一第二預設條件,該處理單元根據該現地照片,透過一辨識模型辨識出該行動裝置之一室內位置;以及一顯示單元,若該電子羅盤數值滿足該第一預設條件且該重力感測器數值滿足該第二預設條件,則該處理單元控制該顯示單元顯示該室內位置。 A mobile device includes: an image capturing unit for taking at least one spot photo; an electronic compass for capturing an electronic compass value; a gravity sensor for capturing a gravity sensor value; a processing Unit for judging whether the value of the electronic compass satisfies a first preset condition, and judging whether the value of the gravity sensor satisfies a second preset condition, and the processing unit recognizes the image through a recognition model based on the spot photo An indoor location of the mobile device; and a display unit, if the electronic compass value meets the first preset condition and the gravity sensor value meets the second preset condition, the processing unit controls the display unit to display the indoor position. 如申請專利範圍第12項所述之行動裝置,其中若該電子羅盤數值不滿足該第一預設條件,則該處理單元控制該顯示裝置提示一轉動方向。 For example, in the mobile device described in claim 12, if the value of the electronic compass does not meet the first preset condition, the processing unit controls the display device to prompt a rotation direction. 如申請專利範圍第12項所述之行動裝置,其中若該重力感測器數值不滿足該第二預設條件,則該處理單元控制該顯示單元提示一傾斜方向。 For example, in the mobile device described in claim 12, if the value of the gravity sensor does not meet the second preset condition, the processing unit controls the display unit to prompt an inclined direction. 如申請專利範圍第12項所述之行動裝置,其中若該電子羅盤數值不滿足該第一預設條件,則該處理單元控制該顯示單元提示一轉動角度。 For example, in the mobile device described in item 12 of the scope of patent application, if the value of the electronic compass does not meet the first preset condition, the processing unit controls the display unit to prompt a rotation angle. 如申請專利範圍第12項所述之行動裝置,其中若該重力感測器數值不滿足該第二預設條件,則該處理單元控制該顯示單元提示一傾斜角度。 For example, in the mobile device described in claim 12, if the value of the gravity sensor does not meet the second preset condition, the processing unit controls the display unit to prompt an inclination angle. 如申請專利範圍第12項所述之行動裝置,其中該處理單元更控制該顯示單元輸出一辨識信心度。 For the mobile device described in claim 12, the processing unit further controls the display unit to output a recognition confidence. 如申請專利範圍第12項所述之行動裝置,其中該取像單元係連續拍攝該現地照片。 For the mobile device described in item 12 of the scope of patent application, the image capturing unit continuously captures the spot photos. 如申請專利範圍第12項所述之行動裝置,其中該現地照片係呈現於該顯示單元上。 In the mobile device described in item 12 of the scope of patent application, the local photo is presented on the display unit. 如申請專利範圍第12項所述之行動裝置,其中若該電子羅盤數值滿足該第一預設條件且該重力感測器數值滿足 該第二預設條件,則該處理單元控制該顯示單元提示一拍攝方向正確資訊。 The mobile device described in item 12 of the scope of patent application, wherein if the value of the electronic compass meets the first preset condition and the value of the gravity sensor meets For the second preset condition, the processing unit controls the display unit to prompt information about the correct shooting direction. 如申請專利範圍第12項所述之行動裝置,其中該第一預設條件係為一預設數值區間。 For the mobile device described in item 12 of the scope of patent application, the first predetermined condition is a predetermined numerical interval. 如申請專利範圍第12項所述之行動裝置,其中該第二預設條件係為一預設數值區間。 For the mobile device described in item 12 of the scope of patent application, the second predetermined condition is a predetermined numerical interval.
TW108131906A 2019-09-04 2019-09-04 Indoor positioning method with improved accuracy and mobile device using the same TWI710749B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108131906A TWI710749B (en) 2019-09-04 2019-09-04 Indoor positioning method with improved accuracy and mobile device using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108131906A TWI710749B (en) 2019-09-04 2019-09-04 Indoor positioning method with improved accuracy and mobile device using the same

Publications (2)

Publication Number Publication Date
TWI710749B true TWI710749B (en) 2020-11-21
TW202111284A TW202111284A (en) 2021-03-16

Family

ID=74202501

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108131906A TWI710749B (en) 2019-09-04 2019-09-04 Indoor positioning method with improved accuracy and mobile device using the same

Country Status (1)

Country Link
TW (1) TWI710749B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090259424A1 (en) * 2008-03-06 2009-10-15 Texas Instruments Incorporated Parameter estimation for accelerometers, processes, circuits, devices and systems
CN102778239A (en) * 2011-04-29 2012-11-14 江国庆 Device and method for guiding inertia of fabric with calibration module
TWI478612B (en) * 2013-04-09 2015-03-21 Chang O Lo Portable device with passing trace module and method of the same
US20150260524A1 (en) * 2012-01-11 2015-09-17 Indooratlas Oy Utilizing magnetic field based navigation
TWI534656B (en) * 2014-08-28 2016-05-21 財團法人資訊工業策進會 Recognition device, intelligent device and information providing method
TWI573104B (en) * 2015-03-25 2017-03-01 宇瞻科技股份有限公司 Indoor monitoring system and method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090259424A1 (en) * 2008-03-06 2009-10-15 Texas Instruments Incorporated Parameter estimation for accelerometers, processes, circuits, devices and systems
CN102778239A (en) * 2011-04-29 2012-11-14 江国庆 Device and method for guiding inertia of fabric with calibration module
US20150260524A1 (en) * 2012-01-11 2015-09-17 Indooratlas Oy Utilizing magnetic field based navigation
TWI478612B (en) * 2013-04-09 2015-03-21 Chang O Lo Portable device with passing trace module and method of the same
TWI534656B (en) * 2014-08-28 2016-05-21 財團法人資訊工業策進會 Recognition device, intelligent device and information providing method
TWI573104B (en) * 2015-03-25 2017-03-01 宇瞻科技股份有限公司 Indoor monitoring system and method thereof

Also Published As

Publication number Publication date
TW202111284A (en) 2021-03-16

Similar Documents

Publication Publication Date Title
US7391886B1 (en) Digital camera with image tracking system
US20050046706A1 (en) Image data capture method and apparatus
US11024052B2 (en) Stereo camera and height acquisition method thereof and height acquisition system
US11210796B2 (en) Imaging method and imaging control apparatus
WO2021082662A1 (en) Method and apparatus for assisting user in shooting vehicle video
CN107087107A (en) Image processing apparatus and method based on dual camera
US20230027389A1 (en) Distance determination method, apparatus and system
TWI649721B (en) Panoramic photographing method of unmanned aerial vehicle and unmanned aerial vehicle using same
CN104917959A (en) Photographing method and terminal
CN109523471A (en) A kind of conversion method, system and the device of ground coordinate and wide angle cameras picture coordinate
TW201727537A (en) Face recognition system and face recognition method
US20120262593A1 (en) Apparatus and method for photographing subject in photographing device
US11736800B2 (en) Method, apparatus, and device for image capture, and storage medium
CN109120854A (en) Image processing method, device, electronic equipment and storage medium
CN106447735A (en) Panoramic camera geometric calibration processing method
TWI710749B (en) Indoor positioning method with improved accuracy and mobile device using the same
WO2022141324A1 (en) Camera hardware-in-the-loop calibration and target setting method and system, and related device
CN102650801A (en) Camera and automatic focusing method thereof
CN115883969B (en) Unmanned aerial vehicle shooting method, unmanned aerial vehicle shooting device, unmanned aerial vehicle shooting equipment and unmanned aerial vehicle shooting medium
CN116228888B (en) Conversion method and system for geographic coordinates and PTZ camera coordinates
CN110365910B (en) Self-photographing method and device and electronic equipment
CN111862197B (en) Target tracking method and system in video monitoring and ball machine
CN112629532B (en) Indoor positioning method for improving accuracy and mobile device using the same
TWI783636B (en) Portable electronic device and method of measuring size of wound
CN102164243B (en) Method and apparatus for reducing continuous autofocus power consumption