Indoor navigation method and device based on AR (Augmented Reality) and electronic equipment
Through the technology that combines AR glasses and sensors, real-time personalized navigation of indoor navigation is realized, which solves the problem of insufficient real-time and interactivity of plan navigation and improves user experience and sales efficiency.
Patent Information
- Application Number
- CN202410908487.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-09-27
AI Technical Summary
In the real estate sales and home decoration industries, users rely on flat drawing navigation when navigating indoors, which lacks real-time and interactivity, resulting in poor experience and difficulty in meeting the needs and changes of different users.
Using an AR-based indoor navigation method, image data is acquired and processed through AR glasses, combined with positioning signals from sensor devices, to identify the user's location in real time, and dynamically plan routes based on preset navigation routes and user needs to provide personalized navigation.
It improves the intuitiveness, real-timeness, accuracy and efficiency of navigation, meets the personalized needs of users, improves user experience and sales efficiency, reduces verbal explanation time, and helps users understand product features faster.
Smart Images

Figure CN118706128A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data processing, and in particular to an AR-based indoor navigation method, device and electronic equipment. Background Art
[0002] In the current real estate sales and home decoration industry, users usually need to visit multiple model rooms in person to get an intuitive feeling, so as to meet their personalized needs for buying a house or decoration. These model rooms are often differentiated according to different decoration styles, areas and functions, aiming to show users a variety of choices. In order to enhance the user's visiting experience, sales staff usually prepare a reasonable tour route in advance to ensure that users can fully and orderly understand the characteristics of each model room.
[0003] However, in the existing tour process, users often face some challenges when navigating indoors according to the tour route. First, the navigation method mainly relies on the reference of the plane drawing, which requires users to have a high level of spatial imagination and understanding. In addition, although the plane drawing navigation can provide users with basic layout information, it lacks real-time and interactivity, and it is difficult to adapt to the needs and changes of different users. Therefore, the above method has the problem of poor user experience when navigating indoors.
[0004] Therefore, in order to improve the user's experience during indoor navigation, an indoor navigation method, device and electronic equipment based on AR are urgently needed. Summary of the invention
[0005] The present application provides an AR-based indoor navigation method, device, and electronic device to improve the user's experience during indoor navigation.
[0006] In a first aspect of the present application, an AR-based indoor navigation method is provided, the method comprising: obtaining image data for a target room sent by AR glasses, the target room being any one of a plurality of rooms; performing feature recognition on the image data to obtain a target feature area; determining a first position information of a user according to the target feature area, the user wearing the AR glasses, one target feature area corresponding to one room; obtaining a positioning signal sent by a target sensor device, the target sensor device being located in the target room; determining a second position information of the user according to the positioning signal; determining a current position of the user based on the first position information and the second position information; performing route planning from the current position in combination with a preset navigation route to obtain a target navigation route, the preset navigation route being pre-built based on navigation requirements; displaying the target navigation route through the AR glasses to perform indoor navigation for the user according to the target navigation route.
[0007] By adopting the above technical solutions, users can directly see the virtual information superimposed on the real environment through AR glasses without relying on traditional floor plans, which greatly improves the intuitiveness of navigation. This intuitiveness helps users understand the structure and characteristics of the room more quickly, reducing the space for understanding and imagination. The system can identify the user's position in real time and dynamically adjust the navigation information according to the user's movement, ensuring the real-time nature of navigation. Combining the image data recognition of AR glasses and the positioning signal of the sensor device, the system can more accurately determine the user's position and reduce the positioning error. Accurate positioning information helps the system provide users with more accurate navigation services and improves the efficiency and accuracy of navigation. The system can pre-build navigation routes according to the user's navigation needs, or perform dynamic route planning according to the user's real-time location and needs to achieve personalized navigation. This personalized navigation can better meet user needs and improve user satisfaction and experience. In the real estate sales and home improvement industries, this system can help sales staff more efficiently demonstrate product features and advantages, reduce the time for verbal explanations, and improve sales efficiency. At the same time, users can also understand the characteristics of the product more quickly and make more informed purchasing decisions. By displaying navigation routes and virtual information through AR glasses, users can have a richer and more interesting experience when visiting model rooms or performing indoor navigation.
[0008] Optionally, acquiring the image data for the target room sent by the AR glasses specifically includes: responding to a use request input by the user; sending a scanning signal to the AR glasses according to the use request to control the AR glasses to scan the target room to obtain raw scanning data; receiving the raw scanning data sent by the AR glasses; performing image processing on the raw scanning data to obtain the image data, wherein the image processing includes denoising, filtering and normalization processing.
[0009] By adopting the above technical solutions, users can trigger the entire scanning and data processing process through simple input operations without complicated operations, which greatly improves the friendliness of the user experience. The system can automatically respond to the user's use request, send scanning signals and control AR glasses to scan, reducing the need for manual intervention and improving the automation and intelligence level of the entire process. The original scan data is accurately captured by AR glasses and systematic image processing, such as denoising, filtering and normalization, which can significantly reduce the noise and interference in the data and improve the accuracy and reliability of image data. The scanning and image processing process can be completed in a short time, ensuring that users can obtain image data of the target room in real time, improving the real-time and efficiency of the entire process. Efficient and accurate image data processing can ensure that users have a smooth and coherent navigation experience when using the indoor navigation system, further improving user satisfaction and trust in the system.
[0010] Optionally, performing feature recognition on the image data to obtain a target feature area specifically includes: obtaining a preset three-dimensional model for the target room, the preset three-dimensional model including multiple preset feature points; calculating, based on the image data, a real-time three-dimensional model corresponding to the image data, the real-time three-dimensional model including multiple target feature points; performing feature matching on multiple preset feature points and multiple target feature points to obtain a key feature point set, the key feature point set including multiple key feature points; based on the key feature point set, obtaining the target feature area, the target feature area including at least two of the key feature points.
[0011] By adopting the above technical solution, the preset three-dimensional model provides a benchmark for subsequent image feature recognition, which has high accuracy and reliability. Compared with two-dimensional images, three-dimensional models can more comprehensively represent the geometric structure and spatial relationship of the room, which helps to more accurately identify target features. The real-time three-dimensional model calculated based on the image data can quickly reflect the current state and changes of the room. This real-time performance is crucial for applications that require instant response or dynamic monitoring. The target feature points in the real-time three-dimensional model can capture the specific details in the room and provide rich information for subsequent feature matching. By matching the preset feature points with the target feature points, the key feature points in the image data can be accurately found. This matching method has high accuracy and robustness and can cope with challenges such as noise, occlusion and deformation in the image. The set of key feature points not only contains important location information, but also reflects the structure and layout of the room. This is of great significance for subsequent tasks such as navigation, positioning, and scene understanding. The target feature area determined based on the set of key feature points can accurately represent a specific area or object in the room. This regionalized representation method helps to simplify subsequent processing and analysis tasks and improve efficiency and accuracy.
[0012] Optionally, determining the current location of the user based on the first location information and the second location information specifically includes: obtaining a first weight corresponding to the first location information and a second weight corresponding to the second location information, the first weight and the second weight are both pre-set, and the first weight is greater than the second weight; obtaining environmental impact factors of the target room, the environmental impact factors including indoor light intensity; if it is determined that the indoor light intensity meets preset conditions, using the first weight and the second weight to perform positioning fusion on the first location information and the second location information to determine the current location of the user.
[0013] By adopting the above technical solution, by presetting the weights corresponding to the first location information and the second location information, the system can intelligently allocate weights according to the importance and reliability of different location information. This weight allocation method can ensure that more reliable location information occupies a larger proportion in the final location determination. Obtaining the environmental impact factors of the target room and adjusting the location determination process accordingly reflects the system's sensitivity and adaptability to real-time environmental changes. By positioning and fusing the first location information and the second location information, the system can make comprehensive use of multiple positioning methods to achieve more accurate location determination. This helps to eliminate the errors that may exist in a single positioning method and improve the accuracy of the final location. By more accurately determining the user's current location, the system can provide users with more accurate services and interactive experiences. Under different environmental conditions, the system can adaptively adjust the positioning strategy according to changes in environmental factors, thereby maintaining the stability and robustness of the system. Even in complex or changing environments, the system can provide reliable location services.
[0014] Optionally, determining the current location of the user based on the first location information and the second location information specifically also includes: if it is determined that the indoor light intensity does not meet the preset conditions, obtaining a first correction weight and a second correction weight according to a preset correspondence, the preset correspondence being the correspondence between the indoor light intensity and a correction weight group, the correction weight group including the first correction weight and the second correction weight, the first correction weight being less than the first weight, and the second correction weight being greater than the second weight; using the first correction weight and the second correction weight to perform positioning fusion on the first location information and the second location information to determine the current location of the user.
[0015] By adopting the above technical solution, when the indoor light intensity does not meet the preset conditions, the system can dynamically adjust the weights of the first location information and the second location information according to the preset corresponding relationship. This dynamic adjustment can ensure that the system can still accurately determine the user's position under adverse lighting conditions. By considering the indoor light intensity, the system can more accurately evaluate the reliability of different location information sources and adjust the weights accordingly. This helps to improve the accuracy of the final positioning result. When the lighting conditions are poor, the reliability of the visual positioning method will decrease, while the positioning method based on other sensors may be more reliable. Therefore, by reducing the first correction weight and increasing the second correction weight, the system can more reasonably utilize different location information sources. Even in the case of poor lighting conditions, by using the correction weight to perform positioning fusion on the first location information and the second location information, the system can still accurately determine the user's current location. This positioning fusion method improves the robustness of the system and enables it to adapt to a wider range of environmental conditions. By dynamically adjusting the weights and performing positioning fusion, the system can provide users with more accurate and reliable location services, thereby optimizing the user experience.
[0016] Optionally, the preset navigation route is combined with route planning from the current position to obtain a target navigation route, specifically including: obtaining a target sequence position corresponding to the target sensor device, one sensor device corresponds to one sequence position, and the preset navigation route is obtained by planning multiple sequence positions in a preset order; using a preset path planning algorithm to determine the target path between the target sequence position and the current position; and adding the target path to the preset navigation route to obtain the target navigation route.
[0017] By adopting the above technical solution, the preset navigation route is planned in advance based on the layout of the room or area, the location of obstacles and other information. By obtaining the sequence positions in these preset navigation routes, computing resources and time can be greatly saved, while ensuring the rationality and feasibility of the route. The target sensor device corresponds to a specific position. Adding the sequence positions of these sensor devices to the navigation route planning can ensure that the device can accurately reach these key positions and complete the necessary tasks. After determining the current position of the user or device, a preset path planning algorithm is used to calculate the optimal path from the current position to the target sequence position. This dynamic planning method can adjust the navigation route in real time according to environmental changes and user needs, thereby improving the flexibility and adaptability of the system. The calculated target path is added to the preset navigation route to form a complete target navigation route. This process ensures that the final navigation route contains both the preset key points and can be reasonably adjusted and optimized according to the current position and environmental conditions. By combining the preset navigation route and dynamic path planning, the system can provide users with more accurate and efficient navigation services. Whether for individual users or for robots or mobile devices that require autonomous navigation, this method can reduce unnecessary path detours and time waste, and improve overall efficiency and user experience.
[0018] Optionally, the target navigation route includes a virtual arrow, a highlighted path and a distance indication, and displaying the target navigation route through the AR glasses specifically includes: real-time monitoring of the user's current position; if it is determined that the user's current position deviates from the target navigation route, displaying the virtual arrow, the highlighted path and the distance indication through the AR glasses to provide the user with indoor navigation correction prompts.
[0019] By adopting the above technical solution, AR glasses display virtual arrows, highlighted paths and distance indicators, providing users with an intuitive and easy-to-understand navigation interface. This interface method directly superimposes navigation information in the user's field of view, allowing users to interact with the navigation system more naturally. The system can monitor the user's current position in real time and compare it with the target navigation route. This real-time monitoring capability ensures the accuracy and real-time nature of navigation information, providing users with more reliable navigation services. When the system detects that the user's current position deviates from the target navigation route, it will immediately display virtual arrows, highlighted paths and distance indicators through AR glasses to correct the user. This timely feedback can help users quickly discover and correct errors and improve the accuracy and efficiency of navigation. With the display capability of AR glasses, users can receive navigation information without interrupting their current activities. This seamless navigation experience allows users to focus more on their tasks while enjoying convenient navigation services. Navigation elements such as virtual arrows, highlighted paths and distance indicators can accurately indicate the direction and distance that the user should go. This accurate navigation information helps users to follow the target navigation route more accurately, reduce the possibility of getting lost or taking the wrong path, and enhance the visit experience.
[0020] In a second aspect of the present application, an indoor navigation device based on AR is provided, the indoor navigation device comprising an acquisition module and a processing module, wherein the acquisition module is used to acquire image data for a target room sent by AR glasses, the target room being any one of a plurality of rooms; the processing module is used to perform feature recognition on the image data to obtain a target feature area; the processing module is also used to determine first position information of a user according to the target feature area, the user wearing the AR glasses, one target feature area corresponding to one room; the acquisition module is also used to acquire a positioning signal sent by a target sensor device, the target sensor device being located in the target room; the processing module is also used to determine second position information of the user according to the positioning signal; the processing module is also used to determine the current position of the user based on the first position information and the second position information; the processing module is also used to perform route planning from the current position in combination with a preset navigation route to obtain a target navigation route, the preset navigation route being pre-built based on navigation requirements; the processing module is also used to display the target navigation route through the AR glasses to perform indoor navigation for the user according to the target navigation route.
[0021] In the third aspect of the present application, an electronic device is provided, which includes a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are both used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device performs the method described above.
[0022] In a fourth aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores instructions, and when the instructions are executed, the method described above is executed.
[0023] In summary, one or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: Through AR glasses, users can directly see virtual information superimposed on the real environment without relying on traditional floor plans, which greatly improves the intuitiveness of navigation. This intuitiveness helps users understand the structure and characteristics of the room more quickly, reducing the space for understanding and imagination. The system can identify the user's location in real time and dynamically adjust the navigation information according to the user's movement, ensuring the real-time nature of navigation. Combining the image data recognition of AR glasses and the positioning signal of the sensor device, the system can more accurately determine the user's location and reduce positioning errors. Accurate positioning information helps the system provide users with more accurate navigation services and improves the efficiency and accuracy of navigation. The system can pre-build navigation routes according to the user's navigation needs, or dynamically plan routes according to the user's real-time location and needs to achieve personalized navigation. This personalized navigation can better meet user needs and improve user satisfaction and experience. In the real estate sales and home improvement industries, this system can help sales staff more efficiently demonstrate product features and advantages, reduce the time for verbal explanations, and improve sales efficiency. At the same time, users can also understand the characteristics of the product more quickly and make more informed purchasing decisions. Displaying navigation routes and virtual information through AR glasses allows users to have a richer and more interesting experience when visiting model rooms or performing indoor navigation. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 A flowchart of an AR-based indoor navigation method provided in an embodiment of the present application.
[0025] Figure 2 Another flowchart of an AR-based indoor navigation method provided in an embodiment of the present application.
[0026] Figure 3 A schematic diagram of a module of an AR-based indoor navigation device provided in an embodiment of the present application.
[0027] Figure 4A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0028] Explanation of the reference numerals: 31, acquisition module; 32, processing module; 41, processor; 42, communication bus; 43, user interface; 44, network interface; 45, memory. DETAILED DESCRIPTION
[0029] In order to enable technicians in this field to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.
[0030] In the description of the embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "for example" or "for example" is intended to present related concepts in a specific way.
[0031] In the description of the embodiments of the present application, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
[0032] In the current real estate market and home design field, users usually need to visit multiple model rooms in person to get an intuitive experience and meet their personalized needs for home purchase or decoration. These model rooms are usually classified according to different decoration styles, space sizes and usage functions, with the aim of showing users a variety of options. In order to improve the user's visiting experience, sales staff usually plan a reasonable visiting route in advance to ensure that users can fully and orderly understand the characteristics of each model room.
[0033] However, in the existing tour process, users often encounter some difficulties when navigating indoors. First, navigation mainly relies on the guidance of the floor plan, which requires users to have strong spatial imagination and understanding. Second, although the floor plan can provide basic layout information, it lacks real-time and interactivity, and it is difficult to meet the specific needs and preferences of different users. Therefore, the current navigation method is insufficient in improving the user's indoor navigation experience.
[0034] In order to solve the above technical problems, the present application provides an indoor navigation method based on AR. Figure 1 , Figure 1 The flowchart of an indoor navigation method based on AR provided in an embodiment of the present application is as follows. The indoor navigation method is applied to a server and includes steps S110 to S180. The steps are as follows: S110. Obtain image data for a target room sent by the AR glasses, where the target room is any one of the multiple rooms.
[0035] Specifically, the server is a central computing device or system for receiving, processing, storing and distributing data. In an embodiment of the present application, the server can interact with the AR glasses by receiving image data from the AR glasses and further processing the data. Image data refers to the visual information of the target room captured by the camera of the AR glasses. These data may be video streams, static images, or sequences of multiple images.
[0036] For example, suppose there is a large real estate exhibition center with multiple model rooms of different styles and designs for customers to visit. In order to enhance the customer's visiting experience, the real estate company decided to introduce AR technology. When visiting, customers can wear AR glasses and see the virtual decoration effects, furniture placement and other information of each room through the glasses. When the customer enters a model room (i.e. the target room), the AR glasses will automatically start and capture the image data of the room. This data includes the layout, color, light, furniture location, etc. of the room. Then, the AR glasses send this image data to the server wirelessly (such as Wi-Fi).
[0037] In a possible implementation, obtaining image data for a target room sent by the AR glasses specifically includes: responding to a use request input by a user; sending a scanning signal to the AR glasses according to the use request to control the AR glasses to scan the target room to obtain raw scanning data; receiving the raw scanning data sent by the AR glasses; performing image processing on the raw scanning data to obtain image data, wherein the image processing includes denoising, filtering, and normalization processing.
[0038] Specifically, when a user wants to use AR glasses to scan a room, they will send a usage request through AR glasses or related devices (such as mobile phone applications). The server will monitor and respond to this request and start the subsequent processing flow. After receiving the user's usage request, the server will send a scanning signal to the AR glasses. This scanning signal can be a command or instruction that tells the AR glasses to start scanning the current environment (i.e., the target room). After receiving the scanning signal, the AR glasses will start their built-in camera or other scanning devices to scan the target room. The result of the scan is a series of raw scan data, which contains the image, depth information, color information, etc. of the room. After the scan is completed, the AR glasses will send the obtained raw scan data back to the server via wireless means (such as Wi-Fi, Bluetooth, etc.). After receiving the raw scan data, the server will perform a series of image processing operations on it. These operations include removing noise and interference in the image, smoothing the image or enhancing certain features, and converting the image data to a unified format or range. After these processes, the raw scan data will be converted into image data that is easier to analyze or use.
[0039] For example, suppose a user is visiting a home design showroom and wants to view the virtual decoration effect of a model room through AR glasses. The user will first send a usage request through the application interface of the AR glasses. After receiving this request, the server will send a scanning signal to the AR glasses. After receiving the signal, the AR glasses will start the built-in camera to scan the model room. During the scanning process, the camera will capture the layout, furniture, light and other information of the room and generate raw scan data. This data may contain some noise and interference, such as dust, reflections, etc. After the AR glasses send the raw scan data back to the server, the server will denoise the data to remove noise and interference in the image; then perform filtering operations to smooth the image or enhance certain features; and finally perform normalization to convert the image data into a unified format or range.
[0040] S120, performing feature recognition on the image data to obtain a target feature area.
[0041] Specifically, in the field of image processing and computer vision, feature recognition is a key step that involves extracting meaningful information or features from an image. These features can be shapes, colors, textures, edges, etc., which can describe the properties of different areas or objects in the image. During the process of feature recognition of the image data sent by the AR glasses by the server, the server uses specific algorithms or models to analyze and process the image data. These algorithms or models are based on machine learning and have been trained to recognize specific types of features in the image. During the feature recognition process, the server traverses the entire image and looks for areas that match predefined features. These predefined features can be set in advance by designers or developers, or they can be automatically learned from a large amount of image data through machine learning algorithms. Once the server finds areas that match the predefined features, it marks these areas as "target feature areas", which represent key objects, scenes or structures in the image.
[0042] In a possible implementation, feature recognition is performed on image data to obtain a target feature area, specifically including: obtaining a preset three-dimensional model for the target room, the preset three-dimensional model including a plurality of preset feature points; calculating, based on the image data, a real-time three-dimensional model corresponding to the image data, the real-time three-dimensional model including a plurality of target feature points; performing feature matching on the plurality of preset feature points and the plurality of target feature points to obtain a set of key feature points, the set of key feature points including a plurality of key feature points; based on the set of key feature points, obtaining a target feature area, the target feature area including at least two key feature points.
[0043] Specifically, the preset 3D model is created in advance and stored on the server, which represents the structure and features of the target room. This model may be built by a designer or professional based on the CAD drawings, scanned data or other relevant information of the room. It contains multiple preset feature points, which represent the key structures or elements in the room (such as corners, door and window locations, etc.). When the AR glasses capture the image data of the target room, the server uses image processing algorithms (such as stereo reconstruction, SFM, etc.) to calculate the real-time 3D model of the room from these 2D images. This real-time 3D model also contains multiple target feature points, which represent the locations of key structures or elements extracted from the image data. Feature matching is a process of matching two sets of points from different sources. In this example, the server matches the preset feature points in the preset 3D model with the target feature points in the real-time 3D model. The matching process may involve comparing the position, direction, color, texture and other information of the points to find the best matching pair. After the matching is completed, the server will obtain a set of key feature points, which contains the successfully matched feature point pairs. Once the set of key feature points is obtained, the server can determine the target feature area based on these points. The target feature region is usually an area defined by at least two key feature points, which represents the part of the image that matches the 3D model of the target room. This area may be a complete room, a wall, a door or window location, etc.
[0044] S130. Determine the first location information of the user according to the target feature area. The user wears AR glasses, and one target feature area corresponds to one room.
[0045] Specifically, the server can maintain a database or mapping table, which contains the association between each target feature area and its corresponding room. When the server identifies a target feature area, it can find the corresponding room information by querying this database or mapping table. Once the room where the user is located is determined, the server can provide relevant content or interaction based on this information. Among them, the server can load virtual objects related to the room, display the layout information of the room, provide interaction options with items or equipment in the room, etc. For example, the target feature areas of different rooms are also different. For example, the feature area of the bedroom may be the area where the bed is located, while the feature area of the bathroom may be the area where the toilet is located, etc.
[0046] S140: Acquire a positioning signal sent by a target sensor device, where the target sensor device is located in a target room.
[0047] S150: Determine second location information of the user according to the positioning signal.
[0048] Specifically, in an indoor positioning system, the target sensor device can be a Bluetooth beacon, a Wi-Fi access point, an RFID (radio frequency identification) reader, a UWB (ultra-wideband) locator, or a dedicated indoor positioning sensor. These devices are placed at a fixed position in the target room and continuously or periodically send signals containing location information. The server and the user's AR glasses can receive these positioning signals and determine the relative position between the user and the sensor device by analyzing the information in the signal. This usually involves measuring signal strength, time difference, angle, or other physical parameters, and using these parameters to calculate the user's position. Based on the received positioning signal, the AR glasses or other devices can determine the user's second location information. The second location information indicates the specific room location of the user in multiple rooms.
[0049] S160. Determine the current location of the user based on the first location information and the second location information.
[0050] Specifically, the first location information is based on image recognition technology. The server analyzes the image data captured by the AR glasses and identifies the target feature area in the image (such as a specific structure or element in the room), thereby inferring the approximate location of the user. This method can provide a wide range of location information. The second location information comes from the positioning signal sent by the target sensor device. These sensor devices are located in the target room and continuously or periodically send signals containing location information. The user's AR glasses or other devices can receive these signals and determine the relative position between the user and the sensor device by analyzing the information in the signal. This method can provide more accurate location information, but may be limited by the deployment density and coverage of the sensor device. In order to more accurately determine the user's current location, the first location information and the second location information can be used in combination. Specifically, the first location information can be first used as an initial, rough location estimate. Then, the initial position is corrected and optimized based on the second location information. This can be achieved through algorithms such as weighted averaging, Bayesian fusion, and Kalman filtering to improve the accuracy and stability of location estimation.
[0051] In one possible implementation, the current location of the user is determined based on the first location information and the second location information, specifically including: obtaining a first weight corresponding to the first location information and a second weight corresponding to the second location information, the first weight and the second weight are both pre-set, and the first weight is greater than the second weight; obtaining an environmental impact factor of the target room, the environmental impact factor including the indoor light intensity; if it is determined that the indoor light intensity meets the preset conditions, the first weight and the second weight are used to perform positioning fusion on the first location information and the second location information to determine the current location of the user.
[0052] Specifically, the server sets a first weight and a second weight for the two types of location information, respectively. These weights are pre-set and are used to adjust the degree of influence of the two types of location information on the final location determination during the positioning fusion process. In this example, the first weight is greater than the second weight, which means that under normal circumstances, the first location information has a greater impact on the final location determination. The environmental impact factor refers to the indoor light intensity, which is a dynamically changing factor that affects the accuracy and reliability of the first location information. For example, in the case of insufficient light, the location information based on image recognition may become inaccurate. When the indoor light intensity meets the preset conditions, for example, the light intensity is within a certain range and is considered to be bright enough to support accurate image recognition, the server will use the pre-set first weight and second weight to perform positioning fusion on the first location information and the second location information. This process involves mathematical operations (such as weighted average, linear combination, etc.) to combine the advantages of the two types of location information to obtain a more accurate and reliable user's current location, which will not be repeated here.
[0053] For example, the first location information is obtained through the image recognition technology in the AR glasses worn by the user, while the second location information is obtained through the positioning signal sent by the RFID reader installed in the bedroom of the model room. The server sets different weights for the two types of location information, where the first weight is set to 0.7 and the second weight is set to 0.3. This is because the furniture layout in the bedroom is clear, making the location information based on image recognition more accurate and reliable. However, when the indoor light intensity is lower than a certain preset value, such as 50 lux, the server believes that insufficient light may cause the image recognition technology to fail to work accurately. Therefore, in this case, the server temporarily reduces the value of the first weight to 0.4, and increases the value of the second weight, for example, to 0.6, so as to rely more on RFID-based positioning information to determine the user's current location. In this way, the server can flexibly adjust the way the location is determined to adapt to different environmental conditions, thereby ensuring that an accurate and reliable location information is provided to the user in any case.
[0054] In one possible implementation, the current location of the user is determined based on the first location information and the second location information, and specifically also includes: if it is determined that the indoor light intensity does not meet the preset conditions, obtaining the first correction weight and the second correction weight according to a preset correspondence, the preset correspondence is the correspondence between the indoor light intensity and the correction weight group, the correction weight group includes the first correction weight and the second correction weight, the first correction weight is less than the first weight, and the second correction weight is greater than the second weight; the first correction weight and the second correction weight are used to locate the first location information and the second location information to determine the current location of the user.
[0055] Specifically, the purpose of the correction weight is that the current environmental conditions are not sufficient to support accurate position determination based on visual technologies such as image recognition. For example, in an environment where the light is too weak or too strong, visual position recognition may be seriously affected. Among them, the server presets a corresponding relationship that matches the indoor light intensity with the correction weight group. The correction weight group includes a first correction weight and a second correction weight. This corresponding relationship is based on experimental data or experience, and is used to guide how to adjust the weights of the two types of position information under different lighting conditions. When the indoor light intensity does not meet the preset conditions, the server obtains the first correction weight and the second correction weight according to the preset corresponding relationship. These correction weights are usually different from the original weights to adapt to the current lighting conditions. Specifically, the first correction weight will be less than the original first weight, and the second correction weight will be greater than the original second weight. This is because when the lighting conditions are poor, the accuracy of the visual location information (i.e., the first location information) will be reduced, and the location information based on other technologies (such as RFID, Wi-Fi, etc.) (i.e., the second location information) may be more reliable. In the embodiment of the present application, in order to highlight the different importance of the two types of location information, the case where the weights are equal is not considered for the time being. Finally, the server uses the adjusted first correction weight and the second correction weight to perform location fusion on the first location information and the second location information. This process is similar to the location fusion mentioned above, but different weights are used. In this way, the server can comprehensively consider the advantages and disadvantages of the two location information, as well as the current lighting conditions, to obtain a more accurate and reliable user current location.
[0056] S170. Plan a route from the current location in combination with a preset navigation route to obtain a target navigation route. The preset navigation route is pre-built based on navigation requirements.
[0057] Specifically, the preset navigation route is a set of reasonable tour routes prepared by the house salesperson for the user in advance. After determining the user's current location, navigation can be performed for the user. Among them, navigation requirements include the shortest route for the user to visit, or the route with the most categories to visit, etc.
[0058] In a possible implementation, in combination with a preset navigation route, route planning is performed from the current position to obtain a target navigation route, specifically including: obtaining a target sequence position corresponding to a target sensor device, one sensor device corresponds to one sequence position, and the preset navigation route is obtained by planning multiple sequence positions in a preset order; using a preset path planning algorithm to determine a target path between the target sequence position and the current position; and adding the target path to the preset navigation route to obtain the target navigation route.
[0059] Specifically, each sensor device corresponds to a specific sequence position, and these sequence positions are all located in the navigation route. The target sensor device is the sensor device corresponding to the user's location, and the location of this device is the target sequence position. The preset navigation route is a series of sequence positions arranged in a certain order, and these positions are usually pre-set according to navigation requirements and path planning algorithms, including a starting point and an end point. The order of the sequence positions may be determined based on a variety of factors such as the shortest distance, the minimum number of turns, and the maximum number of rooms visited. In an embodiment of the present application, the path planning algorithm considers the current position and the target sequence position to plan the optimal target path. Among them, the path planning algorithm includes but is not limited to the Dijkstra algorithm, the A* algorithm, and the neural network algorithm. After determining the target path, the server will add this path to the preset navigation route to form a complete navigation route from the current position to the end point.
[0060] S180. Displaying the target navigation route through the AR glasses to perform indoor navigation for the user according to the target navigation route.
[0061] Specifically, users can directly see virtual information superimposed on the real environment through AR glasses without relying on traditional floor plans, which greatly improves the intuitiveness of navigation. This intuitiveness helps users understand the structure and characteristics of the room more quickly, reducing the space for understanding and imagination. The server can identify the user's location in real time and dynamically adjust the navigation information according to the user's movement, ensuring the real-time nature of navigation. Combined with the image data recognition of AR glasses and the positioning signal of the sensor device, the server can more accurately determine the user's location and reduce the positioning error. Accurate positioning information helps the server provide users with more accurate navigation services and improves the efficiency and accuracy of navigation. The server can pre-build navigation routes according to the user's navigation needs, or perform dynamic route planning according to the user's real-time location and needs to achieve personalized navigation. This personalized navigation can better meet user needs and improve user satisfaction and experience. In the real estate sales and home improvement industries, this server can help sales staff more efficiently demonstrate product features and advantages, reduce the time for verbal explanations, and improve sales efficiency. At the same time, users can also understand the characteristics of the product more quickly and make more informed purchasing decisions. By displaying navigation routes and virtual information through AR glasses, users can have a richer and more interesting experience when visiting model rooms or performing indoor navigation.
[0062] In a possible implementation, the target navigation route includes a virtual arrow, a highlighted path, and a distance indication. Figure 2 , Figure 2Another flow chart of an AR-based indoor navigation method provided for an embodiment of the present application, wherein the target navigation route is displayed through AR glasses, specifically including steps S210 to S220, the above steps are as follows: S210, real-time monitoring of the user's current position; S220, if it is determined that the user's current position deviates from the target navigation route, displaying a virtual arrow, a highlighted path, and a distance indication through the AR glasses to provide the user with indoor navigation correction prompts.
[0063] Specifically, the virtual arrow is used to indicate the direction the user should go. By highlighting the path the user should take, it is distinguished from the surrounding environment and is easier to identify. The distance indicator shows the remaining distance between the user and the target location, helping the user understand how far they have to go. The AR glasses will track the user's position in real time to ensure the accuracy and real-time nature of navigation. If the server detects that the user's current position deviates from the target navigation route, the AR glasses will immediately respond by displaying virtual arrows, highlighting the path and distance indication to correct the user's navigation direction. Among them, the prompt methods include but are not limited to AR glasses displaying text, AR glasses broadcasting voice, and AR glasses vibrating.
[0064] This application also provides an indoor navigation device based on AR, referring to Figure 2 , Figure 2 A module schematic diagram of an indoor navigation device based on AR provided in an embodiment of the present application. The indoor navigation device includes an acquisition module 31 and a processing module 32, wherein the acquisition module 31 acquires image data for a target room sent by AR glasses, and the target room is any one of a plurality of rooms; the processing module 32 performs feature recognition on the image data to obtain a target feature area; the processing module 32 determines the first position information of the user according to the target feature area, and the user wears AR glasses, and one target feature area corresponds to one room; the acquisition module 31 acquires a positioning signal sent by a target sensor device, and the target sensor device is located in the target room; the processing module 32 determines the second position information of the user according to the positioning signal; the processing module 32 determines the current position of the user based on the first position information and the second position information; the processing module 32 combines a preset navigation route, performs route planning from the current position, and obtains a target navigation route, and the preset navigation route is pre-built based on navigation requirements; the processing module 32 displays the target navigation route through AR glasses to perform indoor navigation for the user according to the target navigation route.
[0065] In a possible implementation, the acquisition module 31 acquires image data for the target room sent by the AR glasses, specifically including: the acquisition module 31 responds to a use request input by a user; the processing module 32 sends a scanning signal to the AR glasses according to the use request to control the AR glasses to scan the target room to obtain original scanning data; the acquisition module 31 receives the original scanning data sent by the AR glasses; the processing module 32 performs image processing on the original scanning data to obtain image data, and the image processing includes denoising, filtering and normalization processing.
[0066] In a possible implementation, the processing module 32 performs feature recognition on the image data to obtain a target feature area, specifically including: the acquisition module 31 obtains a preset three-dimensional model for the target room, the preset three-dimensional model includes multiple preset feature points; the processing module 32 calculates a real-time three-dimensional model corresponding to the image data based on the image data, the real-time three-dimensional model includes multiple target feature points; the processing module 32 performs feature matching on multiple preset feature points and multiple target feature points to obtain a key feature point set, the key feature point set includes multiple key feature points; the processing module 32 obtains a target feature area based on the key feature point set, the target feature area includes at least two key feature points.
[0067] In a possible implementation, the processing module 32 determines the current location of the user based on the first location information and the second location information, specifically including: the acquisition module 31 acquires a first weight corresponding to the first location information and a second weight corresponding to the second location information, the first weight and the second weight are both pre-set, and the first weight is greater than the second weight; the acquisition module 31 acquires the environmental impact factor of the target room, the environmental impact factor includes the indoor light intensity; if the processing module 32 determines that the indoor light intensity meets the preset conditions, the first weight and the second weight are used to perform positioning fusion on the first location information and the second location information to determine the current location of the user.
[0068] In a possible implementation, the processing module 32 determines the current location of the user based on the first location information and the second location information, and specifically also includes: if the processing module 32 determines that the indoor light intensity does not meet the preset conditions, then obtains the first correction weight and the second correction weight according to a preset correspondence relationship, the preset correspondence relationship is the correspondence between the indoor light intensity and the correction weight group, the correction weight group includes the first correction weight and the second correction weight, the first correction weight is less than the first weight, and the second correction weight is greater than the second weight; the processing module 32 uses the first correction weight and the second correction weight to perform positioning fusion on the first location information and the second location information to determine the current location of the user.
[0069] In a possible implementation, the processing module 32 combines a preset navigation route to perform route planning from the current position to obtain a target navigation route, specifically including: an acquisition module 31 acquires a target sequence position corresponding to a target sensor device, one sensor device corresponds to one sequence position, and the preset navigation route is obtained by planning multiple sequence positions in a preset order; the processing module 32 uses a preset path planning algorithm to determine a target path between the target sequence position and the current position; the processing module 32 adds the target path to the preset navigation route to obtain a target navigation route.
[0070] In a possible implementation, the target navigation route includes a virtual arrow, a highlighted path, and a distance indication, and the processing module 32 displays the target navigation route through AR glasses, specifically including: the processing module 32 monitors the user's current position in real time; if the processing module 32 determines that the user's current position deviates from the target navigation route, the virtual arrow, the highlighted path, and the distance indication are displayed through the AR glasses to provide the user with indoor navigation correction prompts.
[0071] It should be noted that: when the device provided in the above embodiment realizes its function, only the division of the above functional modules is used as an example. In actual application, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0072] The present application also provides an electronic device, referring to Figure 4 , Figure 4 The electronic device may include: at least one processor 41 , at least one network interface 44 , a user interface 43 , a memory 45 , and at least one communication bus 42 .
[0073] The communication bus 42 is used to realize the connection and communication between these components.
[0074] The user interface 43 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 43 may also include a standard wired interface and a wireless interface.
[0075] The network interface 44 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0076] Among them, the processor 41 may include one or more processing cores. The processor 41 uses various interfaces and lines to connect various parts in the entire server, and executes various functions of the server and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 45, and calling data stored in the memory 45. Optionally, the processor 41 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 41 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 41, and it can be implemented separately through a chip.
[0077] Among them, the memory 45 may include a random access memory (RAM) or a read-only memory (Read-Only Memory). Optionally, the memory 45 includes a non-transitory computer-readable storage medium. The memory 45 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 45 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned method embodiments, etc.; the data storage area may store data involved in the above-mentioned method embodiments, etc. The memory 45 may also be optionally at least one storage device located away from the aforementioned processor 41. As Figure 4 As shown, the memory 45 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an application program of an indoor navigation method based on AR.
[0078] exist Figure 4In the electronic device shown, the user interface 43 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 41 can be used to call an application program storing an AR-based indoor navigation method in the memory 45. When executed by one or more processors, the electronic device executes one or more methods in the above-mentioned embodiments.
[0079] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.
[0080] The present application also provides a computer-readable storage medium, which stores instructions. When executed by one or more processors, the electronic device executes one or more of the methods described in the above embodiments.
[0081] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0082] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0083] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0084] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0085] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: various media that can store program codes, such as USB flash drives, mobile hard drives, magnetic disks or optical disks.
[0086] The above is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure cannot be limited thereto. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and the truth of practice, it will be easy for those skilled in the art to think of other embodiments of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field that are not recorded in the present disclosure. The description and examples are regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.
Claims
1. An indoor navigation method based on AR, characterized in that: The method comprises: Acquire image data for a target room sent by the AR glasses, where the target room is any one of the multiple rooms; Performing feature recognition on the image data to obtain a target feature area; Determine, according to the target feature area, first location information of a user, wherein the user wears the AR glasses, and one target feature area corresponds to one room; Acquire a positioning signal sent by a target sensor device, where the target sensor device is located in the target room; Determining second location information of the user according to the positioning signal; Determining a current location of the user based on the first location information and the second location information; In combination with a preset navigation route, a route is planned from the current position to obtain a target navigation route, wherein the preset navigation route is pre-built based on navigation requirements; The target navigation route is displayed through the AR glasses to perform indoor navigation for the user according to the target navigation route.
2. The AR-based indoor navigation method according to claim 1, characterized in that: The obtaining of the image data for the target room sent by the AR glasses specifically includes: responding to a use request input by the user; According to the use request, a scanning signal is sent to the AR glasses to control the AR glasses to scan the target room to obtain raw scanning data; Receiving the original scan data sent by the AR glasses; The original scan data is subjected to image processing to obtain the image data, wherein the image processing includes denoising, filtering and normalization processing.
3. The AR-based indoor navigation method according to claim 1, characterized in that: The performing feature recognition on the image data to obtain a target feature area specifically includes: Acquire a preset three-dimensional model for the target room, wherein the preset three-dimensional model includes a plurality of preset feature points; According to the image data, a real-time three-dimensional model corresponding to the image data is calculated, wherein the real-time three-dimensional model includes a plurality of target feature points; Performing feature matching on the plurality of preset feature points and the plurality of target feature points to obtain a key feature point set, wherein the key feature point set includes a plurality of key feature points; Based on the key feature point set, the target feature area is obtained, and the target feature area includes at least two of the key feature points.
4. The AR-based indoor navigation method according to claim 1, characterized in that: The determining the current location of the user based on the first location information and the second location information specifically includes: Obtaining a first weight corresponding to the first location information and a second weight corresponding to the second location information, wherein the first weight and the second weight are both preset, and the first weight is greater than the second weight; Acquire the environmental impact factor of the target room, wherein the environmental impact factor includes indoor light intensity; If it is determined that the indoor light intensity meets the preset condition, the first weight and the second weight are used to perform positioning fusion on the first location information and the second location information to determine the current location of the user.
5. The AR-based indoor navigation method according to claim 4, characterized in that: The determining the current location of the user based on the first location information and the second location information specifically includes: If it is determined that the indoor light intensity does not meet the preset condition, a first correction weight and a second correction weight are obtained according to a preset corresponding relationship, wherein the preset corresponding relationship is a corresponding relationship between the indoor light intensity and a correction weight group, and the correction weight group includes the first correction weight and the second correction weight, wherein the first correction weight is less than the first weight, and the second correction weight is greater than the second weight; The first correction weight and the second correction weight are used to perform positioning fusion on the first location information and the second location information to determine the current location of the user.
6. The AR-based indoor navigation method according to claim 1, characterized in that: The step of combining the preset navigation route and planning the route from the current location to obtain the target navigation route specifically includes: Acquire the target sequence position corresponding to the target sensor device, one sensor device corresponds to one sequence position, and the preset navigation route is obtained by planning the multiple sequence positions according to a preset order; Determine a target path between the target sequence position and the current position using a preset path planning algorithm; The target path is added to the preset navigation route to obtain the target navigation route.
7. The AR-based indoor navigation method according to claim 1, characterized in that: The target navigation route includes a virtual arrow, a highlighted path, and a distance indication, and the display of the target navigation route through the AR glasses specifically includes: Performing real-time monitoring of the user's current location; If it is determined that the current position of the user deviates from the target navigation route, the virtual arrow, the highlighted path and the distance indication are displayed through the AR glasses to provide the user with indoor navigation correction prompts.
8. An indoor navigation device based on AR, characterized in that: The indoor navigation device comprises an acquisition module (31) and a processing module (32), wherein: The acquisition module (31) is used to acquire image data for a target room sent by the AR glasses, where the target room is any one of the multiple rooms; The processing module (32) is used to perform feature recognition on the image data to obtain a target feature area; The processing module (32) is further used to determine the first position information of the user according to the target feature area, the user is wearing the AR glasses, and one target feature area corresponds to one room; The acquisition module (31) is further used to acquire a positioning signal sent by a target sensor device, wherein the target sensor device is located in the target room; The processing module (32) is further used to determine the second location information of the user according to the positioning signal; The processing module (32) is further configured to determine the current location of the user based on the first location information and the second location information; The processing module (32) is further used to plan a route from the current position in combination with a preset navigation route to obtain a target navigation route, wherein the preset navigation route is pre-built based on navigation requirements; The processing module (32) is further used to display the target navigation route through the AR glasses, so as to perform indoor navigation for the user according to the target navigation route.
9. An electronic device, characterized in that: The electronic device comprises a processor (41), a memory (45), a user interface (43) and a network interface (44), wherein the memory (45) is used to store instructions, the user interface (43) and the network interface (44) are both used to communicate with other devices, and the processor (41) is used to execute the instructions stored in the memory (45) so that the electronic device executes the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed, the method according to any one of claims 1 to 7 is performed.
Citation Information
Cited By
Navigation method and device based on image analysis, electronic equipment and storage medium
CN119063740A
Image imaging processing method and system, electronic equipment and storage medium
CN119399419A
Image processing method, system, electronic device and storage medium
CN119399419B
