Paper— CAPTURE: A Mobile Based Indoor Positioning System using Wireless Indoor Positioning… CAPTURE: A Mobile Based Indoor Positioning System using Wireless Indoor Positioning System https://doi.org/10.3991/ijim.v12i1.7632 Yohanes Erwin Dari, Suyoto, Pranowo!!" Universitas Atma Jaya Yogyakarta, Yogyakarta, Indonesia pran@mail.uajy.ac.id Abstract—The existence of mobile devices as a location pointing device us- ing Global Positioning System (GPS) is a very common thing nowadays. The use of GPS as a tool to determine the location of course has a shortage when used indoors. Therefore, the used of indoor location-based services in a room that leverages the use of Access Point (AP) is very important. By using the in- formation of the Received Signal Strength (RSS) obtained from AP, then the location of the device can be determined without the need to use GPS. This technique is called the location fingerprint technique using the characteristics of received RSS’s fingerprint, then use it to determine the position. To get a more accurate position then authors used the K-Nearest Neighbor (KNN) method. KNN will use some of the data that obtained from some AP to assist in posi- tioning the device. This solution of course would be able to determine the posi- tion of the devices in a storied building. Keywords—Mobile Application, Indoor Positioning System, K-Nearest Neigh- bor, RSS fingerprint 1 Introduction The abundance of location-based services that thrive in this era relies heavily on the ability of the use of the Global Positioning System (GPS) [1, 2]. GPS offers an excellent ability when used outdoors, but because of limitations in the use of the transmission line-of-sight (LOS), then the use of GPS is less effective when used indoors, especially in the multi-stored building [3]. One technology that can be uti- lized to recognize indoor locations is by using wireless technology (for example, using WIFI) contained within a building [4, 5]. The method of determining location using wireless network can be done more quickly and be more efficient use of power source. It is said to be more efficient because when compared with other methods, the method of using WIFI network uses less information so that the resources to the cost used was not too big when compared to the use of GPS technology [6, 7]. There are many ways to determine the position in indoor environment, by utilizing 802.11 b/g Wireless Local Area Network (WLAN) technology, Bluetooth, Radio Frequency Identification (RFID) and the others [8]. In many ways to determine posi- tion at indoor environment, the RSS fingerprint method is one of the most popular iJIM ‒ Vol. 12, No. 1, 2018 61 Paper— CAPTURE: A Mobile Based Indoor Positioning System using Wireless Indoor Positioning… methods [9]. The fingerprint method utilizes the Received Signal Strength Indicator (RSSI) obtained from Access Point (AP). The obtained RSSI information will be used in determining positions using signal strength. In general, the fingerprint method is divided into two phases, first is the training phase and the mapping phase. The first phase is a training phase, where will be the process of recording RSSI data in each room in a building that is done by the user. Furthermore, the data already obtained in the training phase can be utilized to map the location of a device using the aid of the classification method as in this case, by using K-Nearest Neighbor (KNN) [10]. Fur- thermore, the steps in an indoor positioning system can be seen in Fig. 1. !"#$%& '(%#)*+,,%*&-.$)"#%") /-.$%#0#-.&)1"&" 2%#3%# 4-.$%#0#-.&) 5"&"6"(% !"#$%&'()#"*"'(+'() ,-.$+'-(%/#$".0 !"#$%1#+#"2'($+'-( ,-.$+'-(% 3#$45"#2#(+ 2%.1-.$)7+*"&-+. Fig. 1. Schematic diagram of indoor positioning system using RSS fingerprint Apart from the advantages, location recognition using the fingerprint method of course also has limitations. For example, the limitations of signal strength received by the device heavily depend on the existing environmental model, the used chipset, the antenna on the smartphone and the position of the user's smartphone itself [4, 11]. In this paper, to determine the position, the authors combine the method of finger- print and KNN method for positioning the device. Where, the classification of posi- tions will be made from some RSS data that obtained from some AP that exists around the user's position. 62 http://www.i-jim.org Paper— CAPTURE: A Mobile Based Indoor Positioning System using Wireless Indoor Positioning… 2 Literature Review and Related Works 2.1 Earlier Researchers Yungeun Kim, et al. in a paper entitled "Smartphone-based Wi-Fi tracking system exploiting the RSS peak to overcome the RSS variance problem" [12], Stated that there was little difference in the RSS fingerprint-based system in the training phase and during the mapping phase of the location. This difference leads to significant performance degradation from the user's point of view, device placement, and envi- ronmental changes. Therefore, the author tries to integrate the existing system with Pedestrian Dead Reckoning (PDR) method. Once combined with the PDR, the prob- lems that exist in the RSS fingerprint can be slightly reduced by utilizing data from accelerometer sensors and a digital compass. Hyunmin Cho, et al. in a study entitled "RSS-based indoor localization with PDR location tracking for wireless sensor net- works" [13], proposed a new algorithm in a location-based system indoors. This algo- rithm improves the accuracy of the RSS system by combining it with PDR. PDR is used to reduce errors contained in RSS. From the results of tests conducted, showed that the proposed algorithm is very significant in reducing the errors contained in the RSS system. Maissa Ben Jamâa, et al. in a study entitled "EasyLoc: RSS-based locali- zation made easy" [14], proposed a system called EasyLoc. EasyLoc is a system that utilizes RSS systems for indoor location recognition. EasyLoc has two stages: the online calibration stage and the location recognition stage. EasyLoc trims the map- ping stage of distance on RSS-based systems, but still lacks when it ensures the cor- rectness of decisions taken. 2.2 RSS Fingerprint RSS fingerprint is a method to determine the position of a device in the room with- out using GPS. RSS fingerprint only uses the signal strength of an AP received by a mobile device [15]. RSS can be said to be superior to the triangulation system because it does not depend on a signal model, and can analyze the position of the various sig- nals around it, depending on the environment of the device using this method. So of course, it can be said RSS technique has its own freedom in its use [16]. 2.3 Indoor Positioning System Indoor Positioning System is a way to recognize the location in a building, espe- cially building that have many levels [17, 18]. There are meany methods that can be used for Indoor Localization System (ILS) systems, such as RSS Fingerprint, Time of Arrival (TOA), Time Difference of Arrival (TDOA), Angle of Arrival (AOA) and many more. This method is made by utilizing pre-existing technologies, such as uti- lizing WIFI, ultra-wideband, RFID, and inertial measurement units (IMU) [19]. iJIM ‒ Vol. 12, No. 1, 2018 63 Paper— CAPTURE: A Mobile Based Indoor Positioning System using Wireless Indoor Positioning… 2.4 K-Nearest Neighbor Algorithm K-Nearest Neighbor (KNN) is a method of classifying an object by using data that has been studied that has the closest distance to the object [3, 20]. Distance obtained from this method is often used as a reference for the distance of two samples of exist- ing objects [21]. This algorithm has a purpose to classify new objects to the attributes from sample training data available [22, 23]. 3 Research Method There are several steps taken in doing this research. The steps in this research can be seen in figure 2 below. This research begins with the authors collecting AP data, and room data that exist in a building that will be used as a place of research (in this case is building 3 Universitas Atma Jaya Yogyakarta) as well as the author performs a training phase on the prototype of the application that has been made. After all the data collected, then the data can be used to proceed to the next stage. The flowchart of research methodology can be seen in Fig. 2. Fig. 2. Flowchart diagram of research methodology In this study, the authors combine RSS fingerprint method with KNN method to get maximum result in the process of location recognition. In the location recognition stage, the app will detect all the APs that are around the device, the app will detect the Basic Service Set Identifier (BSSID) or mac address of an AP and detect the Received Signal Strength Indicator (RSSI). After that the system will sort the data that has been collected based on the best value of RSSI. The system then will perform calculations 64 http://www.i-jim.org Paper— CAPTURE: A Mobile Based Indoor Positioning System using Wireless Indoor Positioning… by calculating the existing data and then the best results will be compared with the data that has been in the database which will then be used as a reference location of the device. 4 Result and Discussion 4.1 RSS Fingerprint Analysis In this stage, the system will use RSS fingerprint method in capturing signal strength data from AP. This stage is the most important stage because this stage is the stage of training so that the system can recognize the position of the device well at the mapping stage. First, the system will detect all the AP and RSSI contained around the device. As an identifier on each AP, the system will use mac address data from each AP. For this step, authors will test the system at building 3 University of Atma Jaya Yogyakarta at the 2nd floor. In the AP scan results at this location, the system will display a list of three APs that have the best signal. As shown in Table 1, the data taken are the data from the mac address of an AP and its array of signal strengths from the AP. For the training time of each room, it takes about 1 minute to do the scan time. After getting the array data from the best three AP, then the system will process the RSSI data and then take the best RSSI value from each AP detected. So, the next data will look like in Table 2. Then the next step is to enter the room data along with data obtained from the AP detected. So, it will form a relation as shown in Fig. 3, where each room will have three AP. In some conditions, detected APs may amount to just two or fewer as shown in Fig. 4. Table 1. The example of mac and RSSI address of the scan result No. MAC address RSSI 1. AA:BB:CC:DD:EE:FF {-xx, - xx, - xx, - xx, - xx, - xx } 2. AA:BB:CC:DD:EE:FF {-xx, - xx, - xx, - xx, - xx, - xx } 3. AA:BB:CC:DD:EE:FF {-xx, - xx, - xx, - xx, - xx, - xx } Table 2. The example of mac address and RSSI after processed by system No. MAC address RSSI 1. AA:BB:CC:DD:EE:FF {-xx} 2. AA:BB:CC:DD:EE:FF {-xx} 3. AA:BB:CC:DD:EE:FF {-xx} iJIM ‒ Vol. 12, No. 1, 2018 65 Paper— CAPTURE: A Mobile Based Indoor Positioning System using Wireless Indoor Positioning… Fig. 3. The relation between room and AP data Fig. 4. Relation between some rooms that only has 2 AP Automatically, data from an undetected AP will be set to 0. This will be used during the second stage, stage to mapping the device position, the 0 value of the third RSSI still will be used in the calculation. When the system has finished detecting and enter all the room data along with AP data, then system can proceed to the mapping phase. 4.2 Device Positioning Result Analysis At this stage, the system will calculate the position of the device based on the data that already entered in the previous stage. At the mapping stage, the device will again scan the APs that are around the device. After the scanning process is complete, the device will re-order the three APs with the best signal strength. As a reference, AP data taken is AP data that has been stored in the database before, so, the system can avoid AP data from mobile hotspots that can interfere with the performance of this 66 http://www.i-jim.org Paper— CAPTURE: A Mobile Based Indoor Positioning System using Wireless Indoor Positioning… system. In the calculation section which assists in the calculation part of the device position, a KNN classification method using the formula of Mean Absolute Error (MAE) as shown in the formula 1. !"# ! ! ! ! ! ! !!! !!" ! !"! (1) Notes: n = number of objects xi = the value of RSSI in the database yi = the value of RSSI from scanning result i = number of iterations MAE Formula, if it changes to the form of calculation that required by the system then it will look like in the formula 2. !"# ! ! ! ! ! ! !!! ! !! ! !! ! !! ! !! ! !!! ! !!!! (2) Notes: x1 = the first RSSI value available in the database y1 = the first scanned RSSI value x2 = the second RSSI value available in the database y2 = the second scanned RSSI value x3 = the third RSSI value available in the database y3 = the third scanned RSSI value Based on the data already obtained from the scan result at the training phase, then the calculation process can already be done. Before proceed to the calculation pro- cess, the system needs to scan the AP data around the device that is useful to compare with the AP data that has been stored in the database. The AP data will be changed into positive form first. AP scan results can be seen in Table 3. After that, the system will get AP data with the same MAC address from the data- base. AP data taken include AP data with MAC 60: 18: 88: CE: 41: B0,28: 6C: 07: 06: C4: 29, 90: C7: D8: C3: 58: 0B as seen in the Table 4. Table 3. AP scan result for mapping phase No. MAC address RSSI 1. 60:18:88:CE:41:B0 {-62} 2. 28:6C:07:06:C4:29 {-85} 3. 90:C7:D8:C3:58:0B {-89} Table 4. Retrieved AP data from the database MAC 1 MAC 2 MAC 3 RSSI 1 RSSI 2 RSSI 3 Room ID 60:18:88:CE:41:B0 28:6C:07:06:C4:29 90:C7:D8:C3:58:0B -58 -80 -89 3 60:18:88:CE:41:B0 28:6C:07:06:C4:29 90:C7:D8:C3:58:0B -60 -91 -96 4 iJIM ‒ Vol. 12, No. 1, 2018 67 Paper— CAPTURE: A Mobile Based Indoor Positioning System using Wireless Indoor Positioning… After finish retrieving the same MAC address data from the database, the next step is to calculate the position of the device. Before doing the calculations, the RSSI number on each AP data taken will be first converted into positive form. The calcula- tion process can be seen in the formula 3. !"#! ! ! ! ! !" ! !" ! !" ! !" ! !!" ! !"!! (3) ! ! ! ! !! ! !! ! ! ! !!! ! ! ! ! ! ! ! ! !!!! ! !!!! Then, the result of the calculation for the first row yields a value of 4.33. Then, the next step is to calculate the second-row data. !"#! ! ! ! ! !" ! !" ! !" ! !" ! !!" ! !"!! (4) ! ! ! ! !! ! ! ! !!!! ! ! ! ! ! ! ! ! !!!! ! !!!! After complete the calculation process, the system will compare the two values that have been obtained. Looking at the results of calculations, then the results of the first row yields the smallest number of MAE1 = 4.33. The first line of data then can be referred as the data of the device’s location. The next step is to take the room data in accordance with the existing room ID on the first line of data, which is room with id number 3 like shown in the Table 5. Table 5. Room results Room ID Room Name Floor Building Name 3 Discussion Room II/5 2 Building No.3 Bonaventura There are conditions that cause the number of AP detected amounted to two AP only in building 3 Atma Jaya Yogyakarta. So, there is little modification in the formu- la. For the case when only two AP are detected, then the third AP automatically sets the value to zero. As seen in the data below, where only two AP is detected by the device, AP with MAC 1E: D0: 5A: 40: F8: E7 and AP with MAC D8: 50: E6: A1: 14: 02. More details, detected AP data can be seen in Table 6. Then, the system will retrieve the same AP data as detected from the database. Da- ta taken from the database can be seen in Table 7. 68 http://www.i-jim.org Paper— CAPTURE: A Mobile Based Indoor Positioning System using Wireless Indoor Positioning… Table 6. AP scan result for mapping phase No. MAC address RSSI 1. 60:18:88:CE:41:B0 {-66} 2. 28:6C:07:06:C4:29 {-93} 3. - {0} Table 7. Retrieved AP data from the database MAC 1 MAC 2 MAC 3 RSSI 1 RSSI 2 RSSI 3 Room ID 1E:D0:5A:40:F8:E7 D8:50:E6:A1:14:02 - -75 -90 0 9 1E:D0:5A:40:F8:E7 D8:50:E6:A1:14:02 - -50 -85 0 10 1E:D0:5A:40:F8:E7 D8:50:E6:A1:14:02 - -78 -95 0 11 Furthermore, the process of recalculation on the RSSI data that has been ob- tained from the database. Re-use the Euclidean method with the MAE formula as shown in the formula 5. !"#! ! ! ! ! !" ! !! ! !" ! !" ! !! ! !!! (5) ! ! ! ! ! ! !! ! !!!! ! ! ! ! ! ! ! ! !!!! ! ! The result for the MAE1 on first line calculation is 4. Next is to do the calcula- tion for the second-row data. !"#! ! ! ! ! !" ! !! ! !" ! !" ! !! ! !!! (6) ! ! ! ! !! ! !! ! !!!! ! ! ! ! ! ! ! ! !!!! ! !,66 The result for second line MAE2 is 4.66. Next is to do the calculation for the third-row data. !"#! ! ! ! ! !" ! !! ! !" ! !" ! !! ! !!! (7) ! ! ! ! ! ! ! ! !!!! ! ! ! ! ! ! ! ! !!!! ! !!!! iJIM ‒ Vol. 12, No. 1, 2018 69 Paper— CAPTURE: A Mobile Based Indoor Positioning System using Wireless Indoor Positioning… The result for MAE3 on third line data is 3.33 because the calculation process is complete, then next step is to compare the result of three calculations that have been done, where the value of MAE3 is the smallest value. Next step is to take the room data corresponding to the third-row data which has the room ID 11 as shown in the Table 8. Table 8. Room results Room ID Room Name Floor Building Name 11 Room III/3 2 Building No.3 Bonaventura Based on the results of the calculation simulation and the search process, the fol- lowing is the interface of the system used. There are three fragments that can be used by users such as interface locate, add room and list. Where, in the locate page there is a locate button that serves to find the position of the device, then add room to add a new room and list interface that serves to display all the rooms data. The interface of the system can be seen in Fig. 5. Fig. 5. Proposed System’s Result Interface 5 Conclusion The results of the RSS fingerprint method implementation and KNN method show that the mobile-based (CAPTURE) wireless positioning system can recognize the indoors location properly by using the wireless 802.11b/g technology. CAPTURE is proven to provide the location of the device and the room data where the device is in the building Bonaventura University of Atma Jaya Yogyakarta. In future CAPTURE is expected to be integrated with other systems, which have more functionality, so the 70 http://www.i-jim.org Paper— CAPTURE: A Mobile Based Indoor Positioning System using Wireless Indoor Positioning… system can provide more benefits to its users. CAPTURE is also expected to be de- veloped into other platforms thus giving users flexibility in the use of systems on devices that have different operating systems. ! References" [1] N. Swangmuang and P. Krishnamurty, "An Effective Location Fingerprint Model for Wireless Indoor Localization," Pervasive and Mobile Computing, vol. IV, no. 6, pp. 836- 850, 2008. https://doi.org/10.1016/j.pmcj.2008.04.005 [2] G. Kavya and V. T. Bai, "Design and Implementation of Global Positioning System Receiver in Field Programmable Gate Array With Short Message Service," Journal of Computer Science, vol. 10, no. 1, pp. 91-98, 2014. https://doi.org/10.3844/jcssp.2014. 91.98 [3] C. N. Huang and C. T. Chan, "ZigBee-Based indoor location system by k-nearest neighbor algorithm with weighted RSSI," Procedia Computer Science, vol. 5, pp. 58-65, 2011. https://doi.org/10.1016/j.procs.2011.07.010 [4] S. Yiu, M. Dashti, H. Claussen and F. P. Cruz, "Wireless RSSI Fingerprinting Localization," Signal Processing, vol. 131, pp. 235-244, 2017. https://doi.org/10.1016/ j.sigpro.2016.07.005 [5] D. Oosterlinck, D. F. Benoit, P. Baecke and N. V. de Weghe, "Bluetooth tracking of humans in an indoor environment: An application to shopping mall visits," Applied Geography, vol. 78, pp. 55-65, 2017. [6] Z. Turgut, G. Aydin and A. Sertbas, "Indoor Localization Techniques for Smart Building Environment," Procedia Computer Science, vol. 83, no. Ant, pp. 1176-1181, 2016. [7] M. Stella, M. Russo and D. Begusic, "Fingerprinting based localization in heterogeneous wireless networks," Expert Systems with Applications, vol. 41, no. 15, pp. 6738-6747, 2014. https://doi.org/10.1016/j.eswa.2014.05.016 [8] P. Jiang, Y. Zhang, W. Fu, H. Liu and X. Su, "Indoor mobile localization based on Wi-Fi fingerprint's important access point," International Journal of Distributed Sensor Networks, vol. 2015, p. 8, 2015. https://doi.org/10.1155/2015/429104 [9] B. Wang, S. Zhou, L. T. Yang and Y. Mo, "Indoor positioning via subarea fingerprinting and surface fitting with received signal strength," Pervasive and Mobile Computing, vol. 23, pp. 43-58, 2015. https://doi.org/10.1016/j.pmcj.2015.06.011 [10] C. E. Galván-Tejada, J. P. Gar!ıa-Vázquez, J. I. Galván-Tejada, J. R. Delgado-Contreras and R. F. Brena, "Fingerprint Time Length Reduction for Developing an Indoor Location Model for Smartphones," Procedia Computer Science, vol. 37, pp. 32-39, 2014. https://doi.org/10.1016/j.procs.2014.08.009 [11] J. S. Leu, M. C. Yu and H. J. Tzeng, "Improving indoor positioning precision by using received signal strength fingerprint and footprint based on weighted ambient Wi-Fi signals," Computer Networks, vol. 91, pp. 329-340, 2015. https://doi.org/10.1016/ j.comnet.2015.08.032 [12] Y. Kim, H. Shin, Y. Chon and H. Cha, "Smartphone-based Wi-Fi tracking system exploiting the RSS peak to overcome the RSS variance problem," Pervasive and Mobile Computing, vol. 9, no. 3, pp. 406-420, 2013. https://doi.org/10.1016/j.pmcj.2012.12.003 [13] H. Cho and Y. Kwon, "RSS-based indoor localization with PDR location tracking for wireless sensor networks," AEU - International Journal of Electronics and Communications, vol. 70, no. 3, pp. 250-256, 2015. https://doi.org/10.1016/j.aeue.2015. 12.004 [14] M. B. Jamâa, A. Koubâa and Y. Kayani, "EasyLoc: RSS-based localization made easy," Procedia Computer Science, vol. 10, pp. 1127-1133, 2012. https://doi.org/10.1016/ j.procs.2012.06.160 iJIM ‒ Vol. 12, No. 1, 2018 71 Paper— CAPTURE: A Mobile Based Indoor Positioning System using Wireless Indoor Positioning… [15] I. Bisio, F. Lavagetto, M. Marchese and A. Sciarrone, "Smart probabilistic fingerprinting for WiFi-based indoor positioning with mobile devices," Pervasive and Mobile Computing, vol. 31, pp. 107-123, 2016. https://doi.org/10.1016/j.pmcj.2016.02.001 [16] W. Waqar, Y. Chen and A. Vardy, "Smartphone positioning in sparse Wi-Fi environments," Computer Communications, vol. 73, pp. 108-117, 2016. https://doi.org/10.1016/j.comcom.2015.09.002 [17] N. Pirzada, M. Y. Nayan, F. Subhan, A. Abro, M. F. Hassan and H. Sakidin, "Location Fingerprinting Technique for WLAN Device-Free Indoor Localization System," Wireless Personal Communications, 2016. https://doi.org/10.1109/ICCOINS.2016.7783292 [18] T. Guan, L. Fang, W. Dong, D. Koutsonikolas, G. Challen and C. Qiao, "Robust, cost- effective and scalable localization in large indoor areas," Computer Networks, vol. 120, pp. 43-55, 2017. https://doi.org/10.1016/j.comnet.2017.04.032 [19] K. Yu, I. Oppermann, E. Dutkiewicz, I. Sharp and G. Retscher, "Indoor navigation and tracking," Physical Communication, vol. 13, pp. 1-3, 2014. https://doi.org/10.1016/j.phy com.2014.02.003 [20] L. M. Ni, Y. Liu, Y. C. Lau and A. P. Patil, "LANDMARC: Indoor Location Sensing Using Active RFID," Wireless Networks, vol. 10, no. 6, pp. 701-710, 2004. https://doi.org/10.1023/B:WINE.0000044029.06344.dd [21] C. E. Galván-Tejada, J. P. García-Vázquez, E. García-Ceja, J. C. Carrasco-Jiménez and R. F. Brena, "Evaluation of Four Classifiers as Cost Function for Indoor Location Systems," Procedia Computer Science, vol. 32, pp. 453-460, 2014. https://doi.org/10.1016/j.procs. 2014.05.447 [22] M. T. Mahin, T. Hashem and S. Kabir, "A crowd enabled approach for processing nearest neighbor and range queries in incomplete databases with accuracy guarantee," Pervasive and Mobile Computing, vol. 39, pp. 249-266, 2017. https://doi.org/10.1016/j.pmcj. 2016.09.017 [23] N. B. Nugraha, Suyoto and Pranowo, "Mobile Application Development for Smart Tourist Guide," Advanced Science Letters, vol. 23, no. 3, pp. 2475-2477, 2017. https://doi.org/10.1166/asl.2017.8764 7 Authors Yohanes Erwin Dari is a Magister Teknik Informatika Student at Universitas Atma Jaya Yogyakarta, Yogyakarta, Indonesia. Majoring in computer system and data communication, Universitas Atma Jaya Yogyakarta. He is a software engineer from Universitas Atma Jaya Yogyakarta. His research interests are mobile applica- tion, web programming and user interface design. Suyoto is Professor in Department of Informatics Engineering at Universitas Atma Jaya Yogyakarta, Indonesia. He has more than seventeen years of teaching experi- ence. He received his PhD in 2000 from the National University of Malaysia, Malay- sia. His research interests are multimedia, computer graphics, visualization, mobile application and artificial intelligence. Pranowo is currently a senior lecturer of Departement Magister Teknik Informat- ika, Universitas Atma Jaya Yogyakarta, Indonesia. He got PhD degree from depart- ment of Electrical Engineering and Information Technology, Gadjah Mada University in 2010. His research interests include numerical simulation and modeling, computer vision and parallel programming based on GPU. Article submitted 30 August 2017. Published as resubmitted by the authors 15 October 2017. 72 http://www.i-jim.org iJIM – Vol. 12, No. 1, 2018 CAPTURE: A Mobile Based Indoor Positioning System using Wireless Indoor Positioning System