An intelligent guide method and system based on image recognition
By integrating multimodal information and adaptive adjustment, the problems of recognition reliability and path planning in complex environments of traditional wayfinding systems have been solved, and accurate wayfinding services have been achieved.
Patent Information
- Application Number
- CN202611411656.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-11
- Publication Date
- 2026-11-24
AI Technical Summary
Traditional wayfinding systems struggle to provide accurate guidance in complex and dynamic environments, especially failing to meet the personalized needs of visually impaired individuals. Furthermore, their reliability decreases under conditions of degraded image quality, temporary obstacles, and complex lighting conditions, leading to path planning failures.
An image recognition-based intelligent wayfinding method is adopted, which integrates information from visual and physical sensory devices to perform multimodal information fusion, visual quality assessment and weight adjustment, cross-modal consistency comparison and closed-loop correction, generate dynamic environmental maps and plan passage routes.
It improves environmental perception and path planning accuracy in complex and dynamic environments, providing more accurate and safe wayfinding services, adapting to environmental changes and identifying temporary obstacles.
Smart Images

Figure CN123154871A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent wayfinding technology, and more specifically, to an intelligent wayfinding method and system based on image recognition. Background Technology
[0002] In large transportation hubs or complex public building complexes, traditional wayfinding systems often struggle to provide accurate guidance based on real-time environmental changes and users' specific needs. Existing solutions typically rely on fixed signs or require manual adjustments, which leads to inefficiency during peak hours and makes it difficult to meet the personalized guidance needs of people with special needs, such as the visually impaired. Summary of the Invention
[0003] This invention provides an intelligent wayfinding method and system based on image recognition, aiming to solve the problems of reduced recognition reliability, environmental perception errors, and path planning failures caused by factors such as image quality degradation, temporary obstacles, and complex lighting conditions in complex dynamic environments.
[0004] The technical solution of this application is as follows: In a first aspect, this application discloses an intelligent wayfinding method based on image recognition, comprising the following steps: Image sequences of the target environment are collected using visual sensory devices as visual information, and echo signals of the target environment are collected using physical detection sensory devices as physical detection information. Each frame of visual information is divided into multiple perceptual sub-regions. The local sharpness index and local contrast index of each perceptual sub-region are calculated. The local sharpness index and local contrast index are input into the reliability scoring function to obtain the local reliability score of the perceptual sub-region. The overall reliability score is obtained by weighted averaging of all local reliability scores. The first weighting coefficient of visual information and the second weighting coefficient of physical detection information in environmental perception fusion are determined based on the overall reliability score. The first weighting coefficient is positively correlated with the overall reliability score, and the second weighting coefficient is negatively correlated with the overall reliability score. Image edge features in visual information are weighted by a first weighting coefficient, and echo distance features in physical detection information are weighted by a second weighting coefficient. The two weighted features are then cascaded and fused. The location coordinates and contour boundaries of temporary obstacles in the target environment are identified based on the fused joint features. Visual edge contour features extracted from visual information and obstacle echo features extracted from physical detection information at the same sampling time are mapped to a polar coordinate system and divided into grid units according to distance and angle dimensions. The consistency between the two is compared grid by grid and the number of inconsistent grids is recorded. When the cumulative number of inconsistent grids in multiple consecutive frames exceeds a preset threshold, it is determined that there is a continuous recognition deviation in visual information. Based on the distribution location and degree of deviation of the corresponding perceptual sub-regions that are continuously identified, adjust the optical parameters of the visual sensory device or generate maintenance prompts; Based on the location coordinates and outline boundaries of temporary obstacles, the grid occupied by the temporary obstacles is marked as impassable in the static environment map to generate a dynamic environment map. A passage path is planned on the dynamic environment map, and the passage path is output as a navigation arrow superimposed on the image sequence.
[0005] Furthermore, the steps for adjusting the optical parameters of the visual sensory device or generating maintenance prompts include: The actual sharpness and contrast values of the images acquired by the visual sensory device in each sensing sub-region are obtained, as well as the actual signal-to-noise ratio of the echo signals acquired by the physical detection sensory device in each sensing sub-region. The sharpness deviation of each sub-region is obtained by subtracting the average sharpness of the sub-region within the historical time window from the actual sharpness value of each sub-region; the contrast deviation of each sub-region is obtained by subtracting the average contrast of the sub-region within the historical time window from the actual contrast value of each sub-region. When the spatial distribution variance of the sharpness deviation of each sensing sub-region is greater than the preset variance threshold and the spatial distribution variance of the contrast deviation is greater than the preset variance threshold, and the actual signal-to-noise ratio of each sensing sub-region is greater than the preset signal-to-noise ratio threshold, it is determined that the visual sensory device has non-uniform optical degradation. Based on the magnitude of the sharpness deviation in each sensing sub-region, the exposure compensation amount corresponding to each sensing sub-region is calculated, and the exposure compensation amount is positively correlated with the sharpness deviation amount; based on the magnitude of the contrast deviation in each sensing sub-region, the focus shift correction amount corresponding to each sensing sub-region is calculated. The exposure compensation is superimposed on the current exposure parameters of the optical imaging unit corresponding to the sensing sub-region in the visual sensing device, and the focus shift correction is superimposed on the current focus parameters of the optical imaging unit. After the overlay is completed, the updated sharpness deviation of each sensing sub-region is recalculated. If the updated sharpness deviation of any sensing sub-region is still greater than the preset sharpness tolerance threshold, a maintenance prompt containing the location number of the sensing sub-region and the sharpness deviation value is generated.
[0006] Based on the above, the steps for calculating the local sharpness index and local contrast index of each perceptual sub-region include: For each receptive sub-region, the Sobel operator in the four directions of horizontal, vertical, diagonal and anti-diagonal is used to calculate the gradient values of each pixel in the receptive sub-region. The maximum value of the gradient values of each pixel in the four directions is taken as the gradient magnitude of the pixel. The gradient magnitudes of all pixels in the receptive sub-region are accumulated to obtain the edge intensity accumulation value as the local sharpness index. For each perceptual sub-region, the brightness values of all pixels within the perceptual sub-region are counted. The maximum and minimum brightness values are taken, and the difference between the maximum and minimum brightness values is calculated and divided by the sum of the maximum and minimum brightness values to obtain the local contrast index.
[0007] Furthermore, the step of obtaining the overall reliability score by weighted averaging of all local reliability scores includes: The local reliability score is continuously collected at a fixed sampling time interval. The arithmetic mean of the local reliability scores of the L consecutive sampling times before the current sampling time is used as the moving average, where L is an integer greater than or equal to 5. The instantaneous decrease of the local reliability score at the current sampling time relative to the moving average is calculated. Linear regression was performed on the local reliability score within the long-term time window to obtain the regression slope value; When the instantaneous drop is less than the preset instantaneous fluctuation threshold and the regression slope is greater than or equal to zero, it is determined that there is instantaneous light fluctuation interference in the sensing sub-region, and the local reliability score of the sensing sub-region is reduced by the first attenuation coefficient. When the instantaneous drop exceeds the preset systematic degradation threshold and the regression slope is less than zero, it is determined that the visual photosensitive element corresponding to the sensing sub-region has systematic aging. The local reliability score of the sensing sub-region is reduced by the second attenuation coefficient, and the local weight of the physical detection information of the sensing sub-region in the cascade fusion is increased by the enhancement coefficient, wherein the second attenuation coefficient is greater than the first attenuation coefficient. The local reliability scores of all sensing sub-regions that are still greater than zero after adjustment by the first or second attenuation coefficient are weighted and averaged, and the weighted average is used as the overall reliability score.
[0008] In some preferred embodiments, the step of comparing the two grid-by-grid for consistency includes: At each sampling time, adaptive Canny edge detection is performed on the current frame image to extract the edge intensity value and edge direction angle value of each pixel in the current frame image as visual edge contour features; At the same sampling time, constant false alarm rate detection is performed on the current echo frame in the physical detection information, and the radial distance measurement value and azimuth angle measurement value of each echo point whose echo intensity exceeds the adaptive detection threshold are extracted as obstacle echo features; Based on the pre-calibrated rotation matrix and translation vector between the visual sensory device and the physical detection sensory device, the image coordinates of each pixel in the visual edge contour feature are converted into polar coordinates with the physical detection sensory device as the origin, thus obtaining the polar coordinate distribution of the visual feature. The radial distance measurement value of the obstacle echo feature is discretized and quantized according to a preset distance resolution, and the azimuth angle measurement value is discretized and quantized according to a preset angle resolution to obtain the polar coordinate distribution of the detection feature; The polar coordinate system is divided into multiple grid cells according to a preset distance resolution and a preset angle resolution. When any grid cell has a non-zero edge intensity value in the visual feature polar coordinate distribution and no echo intensity value in the detection feature polar coordinate distribution, the grid cell is marked as a feature inconsistent grid cell. The total number of inconsistent raster cells in the current frame is used as the inconsistency metric for the current frame.
[0009] Based on this, after the step of counting the total number of feature-inconsistent raster units in the current frame, the following steps are also included: During the process of collecting physical detection information by the physical detection sensor, the environmental electromagnetic field strength value and the environmental metal structure reflection intensity value at the location of the physical detection sensor are collected simultaneously. When the ambient electromagnetic field strength value is greater than the preset electromagnetic field strength threshold or the ambient metal structure reflection strength value is greater than the preset metal reflection strength threshold, it is determined that the physical detection information is affected by environmental interference at the current sampling time. The feature inconsistency raster cells marked at the sampling time that are affected by environmental interference are excluded from the total number, and the remaining number after exclusion is used as the inconsistency metric of the current frame. The inconsistency metric of the current frame is compared with a preset threshold to determine whether there is a persistent deviation in visual information recognition.
[0010] As a technological improvement, after the step of acquiring image sequences of the target environment as visual information through visual sensory devices, the following is also included: The image acquisition of the visual sensory device is interrupted for a first preset time period. The visual sensory device is controlled to switch to calibration mode and acquire the calibration image of the preset calibration target. The actual imaging pixel coordinates of each feature point in the calibration image are extracted and compared with the theoretical imaging pixel coordinates of the corresponding feature points in the calibration target. The geometric distortion error value and color channel offset value of the visual sensory device are calculated. Distortion correction is performed on each frame of the subsequently acquired visual information based on the geometric distortion error value, and color correction is performed on each frame of the subsequently acquired visual information based on the color channel offset value. Interrupt the information acquisition of the physical detection sensor device with a second preset time period, control the physical detection sensor device to switch to test mode and transmit test pulse signal and receive test echo signal, measure the time deviation between the actual arrival time and the theoretical arrival time of the test echo signal, and the amplitude attenuation deviation between the actual amplitude and the theoretical amplitude of the test echo signal. Based on the time deviation value, distance correction is performed on each echo signal of the subsequently acquired physical detection information, and based on the amplitude attenuation deviation value, amplitude compensation is performed on each echo signal of the subsequently acquired physical detection information.
[0011] To improve the solution, after calculating the geometric distortion error value and color channel offset value, as well as the time deviation value and amplitude attenuation deviation value, the following steps are also included: Compare the geometric distortion error value with the preset geometric distortion tolerance threshold, and compare the time deviation value with the preset time deviation tolerance threshold. When the geometric distortion error value is greater than the geometric distortion tolerance threshold, a vision device calibration deviation record containing the geometric distortion error value is generated and written to a maintenance prompt. When the time deviation value exceeds the time deviation tolerance threshold, a physical detection equipment calibration deviation record containing the time deviation value is generated and written into the maintenance prompt.
[0012] As an enhancement to functionality, in addition to acquiring visual and physical detection information, it also includes: The distribution data of wireless signal strength emitted by mobile terminals carried by people in the target environment is collected by the regional human distribution sensor device. The human density distribution in the target environment is estimated based on the wireless signal strength distribution data. The boundary location of densely populated areas is identified based on the human density distribution. The boundary location of densely populated areas is used as an avoidance constraint in the path search algorithm during the planning of travel routes on a dynamic environment map, so that the planned travel routes bypass densely populated areas.
[0013] Secondly, this application also discloses an intelligent guidance system based on image recognition, comprising: The perception information acquisition unit is used to acquire image sequences of the target environment as visual information through visual sensory devices, and to acquire echo signals of the target environment as physical detection information through physical detection sensory devices. The visual quality assessment unit is used to divide each frame of visual information into multiple perceptual sub-regions, calculate the local sharpness index and local contrast index of each perceptual sub-region, input the local sharpness index and local contrast index into the reliability scoring function to obtain the local reliability score of the perceptual sub-region, and calculate the overall reliability score by weighting and averaging all local reliability scores. The fusion weight adjustment unit is used to determine the first weight coefficient of visual information and the second weight coefficient of physical detection information in environmental perception fusion based on the overall reliability score. The first weight coefficient is positively correlated with the overall reliability score, and the second weight coefficient is negatively correlated with the overall reliability score. The cross-modal fusion identification unit is used to weight the image edge features in the visual information with a first weight coefficient and the echo distance features in the physical detection information with a second weight coefficient, and to cascade and fuse the two weighted features to identify the position coordinates and contour boundaries of temporary obstacles in the target environment based on the fused joint features. The cross-modal consistency comparison unit is used to map the visual edge contour features extracted from the visual information and the obstacle echo features extracted from the physical detection information at the same sampling time to the polar coordinate system, divide them into grid units according to the distance dimension and the angle dimension, compare the consistency of the two grids one by one and record the number of inconsistent grids. When the cumulative number of inconsistent grids in multiple consecutive frames exceeds the preset threshold, it is determined that there is a continuous recognition deviation in the visual information. The closed-loop correction unit is used to adjust the optical parameters of the visual sensory device or generate maintenance prompts based on the distribution position and degree of deviation of the continuously identified deviation from the corresponding sensory sub-region. The map update and path planning unit is used to mark the grid occupied by the temporary obstacle as impassable in the static environment map based on the location coordinates and outline boundary of the temporary obstacle to generate a dynamic environment map, and plan a passage path on the dynamic environment map. The navigation output unit is used to output the travel path as a navigation arrow superimposed on the image sequence.
[0014] This application discloses an intelligent guidance method and system based on image recognition. Through a series of innovative technical solutions, such as multimodal information fusion, visual quality assessment and weight adjustment, cross-modal consistency comparison, closed-loop correction and dynamic path planning, it effectively solves the technical problems of existing intelligent guidance systems in complex dynamic environments, such as reduced recognition reliability, environmental perception errors and path planning failures caused by factors such as image quality degradation, temporary obstacles and complex crowd lighting conditions. Attached Figure Description
[0015] Figure 1 This is a flowchart illustrating an intelligent wayfinding method based on image recognition provided in an embodiment of the present invention; Figure 2 This is a flowchart of a method for adjusting the optical parameters of a visual sensory device according to an embodiment of the present invention; Figure 3 This is a schematic diagram of the structure of an intelligent guidance system based on image recognition provided in an embodiment of the present invention. Detailed Implementation
[0016] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0017] Reference Figure 1 , Figure 1 This is a flowchart illustrating an image recognition-based intelligent wayfinding method provided in an embodiment of the present invention, including: S11, image sequences of the target environment are acquired as visual information through a visual sensory device, and echo signals of the target environment are acquired as physical detection information through a physical detection sensory device; S12, divide each frame of the visual information into multiple perceptual sub-regions, calculate the local sharpness index and local contrast index of each perceptual sub-region, input the local sharpness index and the local contrast index into the reliability scoring function to obtain the local reliability score of the perceptual sub-region, and take a weighted average of all the local reliability scores to obtain the overall reliability score. S13, determine the first weighting coefficient of the visual information in the environmental perception fusion and the second weighting coefficient of the physical detection information based on the overall reliability score. The first weighting coefficient is positively correlated with the overall reliability score, and the second weighting coefficient is negatively correlated with the overall reliability score. S14, the image edge features in the visual information are weighted by the first weighting coefficient, and the echo distance features in the physical detection information are weighted by the second weighting coefficient. The two weighted features are then cascaded and fused. The position coordinates and contour boundaries of temporary obstacles in the target environment are identified based on the fused joint features. S15, map the visual edge contour features extracted from the visual information and the obstacle echo features extracted from the physical detection information at the same sampling time to the polar coordinate system, divide them into grid units according to the distance dimension and angle dimension, compare the consistency of the two grids one by one and record the number of inconsistent grids. When the cumulative number of inconsistent grids in multiple consecutive frames exceeds a preset threshold, it is determined that the visual information has a continuous recognition deviation. S16, based on the distribution position and degree of deviation of the corresponding perception sub-region of the continuous identification deviation, adjust the optical parameters of the visual sensory device or generate maintenance prompts; S17, based on the location coordinates and outline boundary of the temporary obstacle, mark the grid occupied by the temporary obstacle as impassable in the static environment map to generate a dynamic environment map, plan a passage path on the dynamic environment map, and output the passage path as a navigation arrow superimposed on the image sequence.
[0018] This application effectively solves the problems of inaccurate recognition and path planning failure caused by image quality degradation, temporary obstacles, and crowd occlusion in traditional wayfinding systems under complex dynamic environments by introducing multimodal information fusion, visual quality assessment and dynamic weight adjustment, cross-modal consistency comparison, and closed-loop correction mechanisms. Through real-time assessment of visual information reliability and dynamic adjustment of fusion weights, this application can more robustly perceive the environment, accurately identify temporary obstacles, and generate reliable dynamic environmental maps and pathways based on the actual environment, thereby providing users with more accurate and safer intelligent wayfinding services.
[0019] To better understand the technical solutions proposed in this application, it is necessary to explain some key terms and implementation environments involved.
[0020] "Visual sensory devices" refer to devices capable of acquiring image sequences, such as, but not limited to, cameras and infrared cameras. Their main function is to acquire visual information about the target environment, providing a data foundation for subsequent image processing and recognition.
[0021] "Physical detection sensory equipment" refers to devices capable of collecting echo signals, such as, but not limited to, radar, sonar, and lidar. Their main function is to acquire physical detection information about the target environment to supplement insufficient visual information, especially in situations of low light or obstruction.
[0022] "Perceptual sub-regions" refer to dividing an image into several smaller regions. This division helps to refine the quality assessment of local areas of the image, thereby more accurately reflecting the reliability of visual information in different regions.
[0023] Local sharpness and local contrast are parameters that measure the local quality of an image. Sharpness reflects the sharpness of image details, while contrast reflects the degree of brightness difference between different areas of the image. The calculation of these metrics is fundamental to evaluating the reliability of visual information.
[0024] The "reliability scoring function" is a mathematical model that maps local sharpness and local contrast metrics to local reliability scores. This function can comprehensively evaluate the reliability of local regions of an image based on preset rules or machine learning models.
[0025] The "first weighting coefficient" and "second weighting coefficient" are parameters used for multimodal information fusion. They represent the proportions of visual information and physical detection information in the fusion process, respectively. These weighting coefficients are dynamically adjusted to adapt to environmental changes and fluctuations in sensor performance.
[0026] "Image edge features" refer to areas in an image where there are significant changes in brightness or color, usually representing the outline or boundary of an object.
[0027] "Echo distance characteristics" refers to the distance information of an object reflected in the echo signal received by a physical detection device.
[0028] "Cascaded fusion" is a multimodal information fusion method in which features from different modalities are fused at different stages to gradually extract higher-level semantic information.
[0029] "Temporary obstacles" refer to objects that appear temporarily in the environment and are not recorded in a static map, such as temporary isolation zones, construction barriers, and dense crowds.
[0030] A polar coordinate system is a two-dimensional coordinate system in which the position of a point is specified by its distance from the center point and its angle relative to a reference direction. Mapping features to a polar coordinate system facilitates cross-modal data alignment and consistency comparison.
[0031] A "grid cell" refers to a discrete unit in which a polar coordinate system is divided according to distance and angle dimensions.
[0032] "Persistent recognition deviation" refers to a significant inconsistency between visual information and physical detection information across multiple consecutive frames, indicating that the visual sensory device may be malfunctioning or subject to environmental interference.
[0033] "Optical parameters" refer to parameters such as exposure, focus, and white balance of visual sensory devices. Adjusting these parameters can improve image quality.
[0034] "Maintenance alerts" are alarm messages sent to users or maintenance personnel when the system detects equipment malfunctions or performance degradation.
[0035] A "static environment map" refers to a pre-constructed environment map that does not contain temporary obstacles.
[0036] A "dynamic environment map" is a map that is updated in real time based on a static environment map and marks the grids occupied by temporary obstacles as impassable.
[0037] "Travel path" refers to the path planned on the dynamic environment map that users can travel on.
[0038] "Navigation arrows" are visual elements superimposed on a sequence of images to indicate a path.
[0039] The intelligent wayfinding method based on image recognition proposed in this application is based on the principle of improving environmental perception and wayfinding accuracy in complex dynamic environments through multimodal information fusion and adaptive adjustment mechanism.
[0040] First, in the information acquisition phase, image sequences of the target environment are acquired using visual sensory devices as visual information, while echo signals from the target environment are acquired using physical detection sensory devices as physical detection information. For example, the visual sensory device could be a high-definition camera to capture visible light images of the environment; the physical detection sensory device could be a millimeter-wave radar to detect the distance and velocity of objects in the environment. These two modalities complement each other: visual information provides rich texture and semantic details, while physical detection information provides precise distance and position data, which is particularly advantageous in low-light or occluded conditions.
[0041] Next, to assess the reliability of the visual information, each frame of the image is divided into multiple receptive sub-regions. For example, a frame can be divided into a 3x3 grid, with each grid representing a receptive sub-region. Then, a local sharpness index and a local contrast index are calculated for each receptive sub-region. The local sharpness index can be obtained by summing the gradient magnitudes of local regions of the image; for example, edge detection can be performed using the Laplacian or Sobel operator, and then the edge intensity values are summed. The local contrast index is obtained by calculating the ratio of the difference between the maximum and minimum pixel brightness values within a local region to the sum of the values. These indices reflect the quality of local regions of the image. Subsequently, the local sharpness and contrast indices are input into a reliability scoring function to obtain a local reliability score for each receptive sub-region. The reliability scoring function can be a pre-trained neural network model or a fuzzy logic-based expert system, and its output value represents the reliability of the visual information in that receptive sub-region. Finally, a weighted average of all local reliability scores is calculated to obtain the overall reliability score. The weighted average can be based on the importance or area of the receptive sub-region; for example, the central region can have a higher weight.
[0042] Based on the overall reliability score, a first weighting coefficient for visual information and a second weighting coefficient for physical detection information are determined in the environmental perception fusion. The first weighting coefficient is positively correlated with the overall reliability score, meaning that when the quality of visual information is high, its weight in the fusion is greater. The second weighting coefficient is negatively correlated with the overall reliability score, meaning that when the quality of visual information is low, the weight of physical detection information will increase accordingly. For example, when the overall reliability score is 0.8, the first weighting coefficient can be set to 0.7 and the second weighting coefficient to 0.3; when the overall reliability score is 0.3, the first weighting coefficient can be set to 0.2 and the second weighting coefficient to 0.8. This dynamic weight adjustment mechanism ensures that the system can fully utilize reliable sensor information under different environmental conditions.
[0043] Subsequently, image edge features from the visual information are weighted with a first weighting coefficient, and echo distance features from the physical detection information are weighted with a second weighting coefficient. These two weighted features are then cascaded and fused. For example, Canny edge detection can be performed on the visual image to extract image edge features; target detection can be performed on the physical detection information to extract echo distance features. Then, the weighted image edge features and echo distance features are input into a fusion network, such as a convolutional neural network, which learns how to effectively combine features from different modalities. Based on the fused joint features, the position coordinates and contour boundaries of temporary obstacles in the target environment are identified. For example, the fusion network can output a detection result containing obstacle bounding boxes and category information.
[0044] To further enhance the system's robustness, visual edge contour features extracted from visual information and obstacle echo features extracted from physical detection information at the same sampling time are mapped to a polar coordinate system. For example, visual edge contour features can be extracted from images using image processing algorithms, while obstacle echo features are directly provided by the physical detection device. Then, the polar coordinate system is divided into grid cells according to distance and angle dimensions. For example, the distance dimension can be divided into 1-meter grids, and the angle dimension into 1-degree grids. The consistency between the two is compared grid by grid, and the number of inconsistent grids is recorded. For example, if a grid shows an obstacle edge in the visual information but has no echo signal in the physical detection information, the grid is considered inconsistent. When the cumulative number of inconsistent grids in multiple consecutive frames exceeds a preset threshold, a persistent deviation in visual information is determined. For example, if the cumulative number of inconsistent grids exceeds 100 in 10 consecutive frames, a persistent deviation in visual information is considered.
[0045] Based on the distribution location and degree of deviation of the corresponding perceptual sub-regions, the optical parameters of the visual sensing device are adjusted or maintenance prompts are generated. For example, if the deviation is mainly concentrated in a specific area of the image and the degree of deviation is high, the optical parameters of the visual sensing device corresponding to that area, such as exposure and focus, can be adjusted to improve image quality. If the problem cannot be solved after adjusting the optical parameters, or if the degree of deviation is very serious, a maintenance prompt is generated to notify maintenance personnel to inspect and repair the image.
[0046] Finally, based on the location coordinates and outline boundaries of the temporary obstacles, the grid cells occupied by the temporary obstacles are marked as impassable in the static environment map to generate a dynamic environment map. For example, if a temporary barrier is detected, its corresponding area on the static map is marked as impassable. A travel path is then planned on the dynamic environment map. The path planning algorithm can employ A* or Dijkstra's algorithm to avoid the marked impassable areas. The travel path is then output as a navigation arrow superimposed on the image sequence. For example, a green arrow is superimposed on a real-time video stream to indicate the user's direction of travel.
[0047] In summary, this application significantly improves the environmental perception capability, path planning accuracy, and system robustness of the intelligent wayfinding system in complex dynamic environments through innovative mechanisms such as multimodal information fusion, adaptive weight adjustment, real-time obstacle identification, cross-modal consistency comparison, and closed-loop correction, providing users with more accurate, safe, and reliable wayfinding services.
[0048] In some embodiments described above in this application, when there is a persistent recognition deviation in visual information, the optical parameters of the visual sensing device are adjusted or maintenance prompts are generated based on the distribution location and degree of the deviation. However, in practical applications, optical degradation of the visual sensing device may not occur uniformly, such as dirt or aging in local areas. In this case, if a uniform optical parameter adjustment strategy is adopted, it may not be able to effectively solve the recognition deviation problem in local areas, and may even negatively affect the imaging quality of other normal areas, thereby affecting the accuracy and reliability of the overall environmental perception.
[0049] In this regard, refer to Figure 2 , Figure 2 This is a flowchart of a method for adjusting the optical parameters of a visual sensory device according to an embodiment of the present invention. S16 includes: S161, obtain the actual sharpness value and actual contrast value of the image collected by the visual sensory device in each of the sensory sub-regions, and obtain the actual signal-to-noise ratio value of the echo signal collected by the physical detection sensory device in each of the sensory sub-regions; S162, subtract the average sharpness of the perceptual sub-region within the historical time window from the actual sharpness value of each of the perceptual sub-regions to obtain the sharpness deviation of the perceptual sub-region; subtract the average contrast of the perceptual sub-region within the historical time window from the actual contrast value of each of the perceptual sub-regions to obtain the contrast deviation of the perceptual sub-region. S163, when the spatial distribution variance of the sharpness deviation of each of the perceptual sub-regions is greater than a preset variance threshold and the spatial distribution variance of the contrast deviation is greater than the preset variance threshold, and the actual signal-to-noise ratio of each of the perceptual sub-regions is greater than the preset signal-to-noise ratio threshold, it is determined that the visual sensory device has non-uniform optical degradation. S164, based on the magnitude of the sharpness deviation of each of the sensing sub-regions, calculate the exposure compensation amount corresponding to each of the sensing sub-regions, wherein the exposure compensation amount is positively correlated with the sharpness deviation; based on the magnitude of the contrast deviation of each of the sensing sub-regions, calculate the focus shift correction amount corresponding to each of the sensing sub-regions. S165, the exposure compensation amount is superimposed on the current exposure parameters of the optical imaging unit corresponding to the sensing sub-region in the visual sensing device, and the focus offset correction amount is superimposed on the current focus parameters of the optical imaging unit; S166, after the overlay is completed, the updated sharpness deviation of each of the sensing sub-regions is recalculated. When the updated sharpness deviation of any of the sensing sub-regions is still greater than the preset sharpness tolerance threshold, the maintenance prompt containing the location number of the sensing sub-region and the sharpness deviation value is generated.
[0050] Specifically, obtaining actual sharpness and actual contrast values refers to quantifying the image quality of each perceptual sub-region using image processing algorithms, such as gradient-, frequency-, or statistical feature-based methods. The actual signal-to-noise ratio (SNR) value, on the other hand, is obtained by analyzing the echo signals from physical sensory devices (such as radar or sonar) in the corresponding region to assess the degree of noise interference. Its purpose is to provide auxiliary information for subsequently determining the type of degradation of visual sensory devices.
[0051] The sharpness deviation and contrast deviation are obtained by comparing the current value with the historical average, which helps identify long-term or short-term trends in image quality. The historical time window can be understood as a pre-defined, sufficiently long continuous period to accumulate enough data to calculate a stable average. In practical applications, a preset variance threshold is used to determine whether the spatial distribution of sharpness deviation and contrast deviation exhibits significant non-uniformity. When the spatial distribution variance of these deviations exceeds this threshold, it indicates a significant difference in the degree of image quality degradation across different perceptual sub-regions. Simultaneously, a preset signal-to-noise ratio threshold is used to ensure the reliability of physical detection information in the corresponding area, avoiding misjudgments of visual device degradation due to problems with the physical detection equipment itself. When these conditions are met, the system can accurately determine that the visual sensory device exhibits non-uniform optical degradation, such as localized lens damage or localized sensor aging.
[0052] Furthermore, the exposure compensation is positively correlated with the sharpness deviation, meaning that when the sharpness of a certain sensing sub-region decreases significantly, the exposure compensation for that region will be increased accordingly to improve sharpness by adjusting brightness. The focus shift correction is calculated based on the contrast deviation and aims to optimize image sharpness by fine-tuning focus parameters. These compensation and correction amounts are superimposed on the current parameters of the corresponding optical imaging unit in the visual sensing device, thereby achieving localized and refined optical parameter adjustments. After completing the optical parameter adjustments, the system recalculates the updated sharpness deviation for each sensing sub-region. If the updated sharpness deviation for a certain sensing sub-region is still greater than the preset sharpness tolerance threshold, it indicates that even after automatic adjustment, the image quality of that region has not reached an acceptable level. In this case, the system generates a maintenance prompt, which includes the location number of the sensing sub-region and the specific sharpness deviation value, for manual inspection and maintenance.
[0053] This application's solution, by introducing refined monitoring of the actual sharpness and contrast of visual sensory devices in different perceptual sub-regions, and the signal-to-noise ratio of physical detection sensory devices in corresponding regions, can accurately diagnose whether a visual sensory device exhibits non-uniform optical degradation. Through this technical solution, this application overcomes the limitations of existing technologies in handling non-uniform optical degradation of visual sensory devices. This solution achieves accurate identification of non-uniform optical degradation by refining the image quality indicators of the perceptual sub-regions and combining this with physical detection information for auxiliary judgment.
[0054] In some of the above embodiments, in order to evaluate the quality of visual information, it is necessary to calculate the local sharpness index and local contrast index for each perceptual sub-region. Specifically, this calculation step may include the following: For each perceptual sub-region, the Sobel operator in the four directions of horizontal, vertical, diagonal and anti-diagonal is used to calculate the gradient values of each pixel in the perceptual sub-region. The maximum value of the gradient values of each pixel in the four directions is taken as the gradient magnitude of the pixel. The gradient magnitudes of all pixels in the perceptual sub-region are accumulated to obtain the edge intensity accumulation value as the local sharpness index. For each of the perceptual sub-regions, the brightness values of all pixels within the perceptual sub-region are counted, the maximum and minimum brightness values are taken, and the difference between the maximum and minimum brightness values is calculated and divided by the sum of the maximum and minimum brightness values to obtain the local contrast index.
[0055] The Sobel operator is a commonly used image edge detection operator that detects edges by calculating the approximate gradient of the grayscale values of image pixels. The Sobel operator operates in four directions: horizontal, vertical, diagonal, and anti-diagonal, comprehensively capturing grayscale changes in different directions to more accurately reflect image edge information. The larger the magnitude of the directional gradient at each pixel, the more drastic the grayscale change at that pixel, indicating a more pronounced edge. Accumulating the directional gradient magnitudes of all pixels within a receptive region yields the overall edge strength of that region. This accumulated edge strength value is used as a local sharpness indicator, effectively quantifying the sharpness of the image.
[0056] Furthermore, the calculation of the local contrast ratio aims to measure the dynamic range of brightness distribution within a perceptual sub-region. By statistically analyzing the brightness values of all pixels within the perceptual sub-region and obtaining the maximum and minimum brightness values, the difference between the maximum and minimum brightness values can be calculated by dividing the difference by the sum of the maximum and minimum brightness values. This calculation method provides a normalized contrast measure that reflects the visibility of image details within the region.
[0057] The proposed solution employs the Sobel operator to calculate the accumulated edge intensity value as a local sharpness indicator, effectively capturing image details and texture information. When image sharpness is high, edge information is abundant, and gradient magnitudes are large, resulting in a high accumulated edge intensity value. Simultaneously, by calculating the ratio of the difference between the maximum and minimum brightness values within a perceptual sub-region to the sum of these values as a local contrast indicator, the brightness differences in the image can be quantified. When image contrast is high, the brightness value distribution range is wide, and the difference between the maximum and minimum values is large, resulting in a high local contrast indicator. Therefore, these two indicators can comprehensively and objectively reflect the quality of visual information.
[0058] In this regard, this application further proposes a step for obtaining the overall reliability score by weighted averaging of all local reliability scores, including: The local reliability score is continuously collected at a fixed sampling time interval. The arithmetic mean of the local reliability scores of the L consecutive sampling times before the current sampling time is used as the moving average, where L is an integer greater than or equal to 5. The instantaneous decrease of the local reliability score at the current sampling time relative to the moving average is calculated. Linear regression was performed on the local reliability score within the long-term time window to obtain the regression slope value; When the instantaneous drop is less than the preset instantaneous fluctuation threshold and the regression slope is greater than or equal to zero, it is determined that there is instantaneous light fluctuation interference in the sensing sub-region, and the local reliability score of the sensing sub-region is reduced by the first attenuation coefficient. When the instantaneous drop exceeds the preset systematic degradation threshold and the regression slope is less than zero, it is determined that the visual photosensitive element corresponding to the sensing sub-region has systematic aging. The local reliability score of the sensing sub-region is reduced by the second attenuation coefficient, and the local weight of the physical detection information of the sensing sub-region in the cascade fusion is increased by the enhancement coefficient, wherein the second attenuation coefficient is greater than the first attenuation coefficient. The local reliability scores of all sensing sub-regions that are still greater than zero after adjustment by the first or second attenuation coefficient are weighted and averaged, and the weighted average is used as the overall reliability score.
[0059] Specifically, before calculating the overall reliability score by weighting all local reliability scores, the local reliability score of each sensing sub-region needs to be dynamically evaluated and adjusted. First, the system continuously collects the local reliability scores of each sensing sub-region at fixed sampling intervals. To capture short-term fluctuations, a moving average is calculated. This moving average is based on the arithmetic mean of the local reliability scores over L consecutive sampling times prior to the current sampling time, where L is an integer not less than 5, ensuring the smoothness of the moving average. Subsequently, by comparing the local reliability score at the current sampling time with this moving average, the instantaneous drop can be calculated to characterize short-term reliability changes.
[0060] Meanwhile, to assess long-term reliability trends, the system performs linear regression on the local reliability scores within a long-term time window, resulting in a regression slope value. This regression slope value reflects the overall trend of local reliability scores over time, such as whether it tends to stabilize, decreases, or increases.
[0061] Based on the instantaneous drop magnitude and regression slope value mentioned above, the system can distinguish different types of reliability degradation causes. Specifically, when the instantaneous drop magnitude is small (i.e., less than the preset instantaneous fluctuation threshold) and the regression slope value is greater than or equal to zero, it indicates that the local reliability score may have been affected by a transient, non-persistent disturbance, such as instantaneous fluctuations in illumination. In this case, a first attenuation coefficient is used to moderately reduce the local reliability score of the sensing sub-region to reflect its transient reliability degradation.
[0062] On the other hand, when the instantaneous drop is large (i.e., greater than the preset systematic degradation threshold) and the regression slope is less than zero, this usually indicates that the visual photosensitive element corresponding to the perceptual sub-region may be experiencing systematic aging, leading to a continuous decline in its performance. In this case, a larger second attenuation coefficient is used to significantly reduce the local reliability score of the perceptual sub-region to reflect its long-term and severe reliability problems. It is worth noting that the second attenuation coefficient is set to be greater than the first attenuation coefficient to reflect the greater impact of systematic aging on reliability. In addition, to compensate for the impact of the decline in visual information reliability, an enhancement coefficient is used to increase the local weight of the physical detection information of the perceptual sub-region in the cascaded fusion, thereby making the fusion more reliant on physical detection information.
[0063] Ultimately, only the local reliability scores of all sensing sub-regions that are still greater than zero after adjustment by the first or second attenuation coefficient will be included in the weighted average calculation to obtain the final overall reliability score.
[0064] This application's solution effectively addresses the limitations of traditional simple weighted averaging methods in handling instantaneous fluctuations and systemic degradation by introducing a dynamic evaluation mechanism for local reliability scores. Through this technical solution, the application significantly improves the accuracy and robustness of overall reliability score calculation.
[0065] In some of the above embodiments, in order to accurately compare the consistency between visual information and physical detection information, this application further proposes specific steps for comparing the consistency of the two grid by grid.
[0066] Specifically, the above grid-by-grid comparison of the two for consistency includes: At each sampling time, adaptive Canny edge detection is performed on the current frame image to extract the edge intensity value and edge direction angle value of each pixel in the current frame image as the visual edge contour feature; At the same sampling time, constant false alarm rate detection is performed on the current echo frame in the physical detection information, and the radial distance measurement value and azimuth angle measurement value of each echo point whose echo intensity exceeds the adaptive detection threshold are extracted as the obstacle echo features. Based on the pre-calibrated rotation matrix and translation vector between the visual sensory device and the physical detection sensory device, the image coordinates of each pixel in the visual edge contour feature are converted into polar coordinates with the physical detection sensory device as the origin, thus obtaining the polar coordinate distribution of the visual feature. The radial distance measurement value of the obstacle echo feature is discretized and quantized according to a preset distance resolution, and the azimuth angle measurement value is discretized and quantized according to a preset angle resolution to obtain the polar coordinate distribution of the detection feature; The polar coordinate system is divided into multiple grid cells according to the preset distance resolution and the preset angle resolution. When any grid cell has a non-zero edge intensity value in the visual feature polar coordinate distribution and no echo intensity value in the detection feature polar coordinate distribution, the grid cell is marked as a feature inconsistent grid cell. The total number of inconsistent raster cells in the current frame is used as the inconsistency metric for the current frame.
[0067] At each sampling time, adaptive Canny edge detection is performed on the current frame image to accurately extract edge information from visual information. Canny edge detection is a multi-level edge detection algorithm whose adaptability lies in its ability to dynamically adjust the threshold according to the image content, thus achieving good edge detection results under different lighting and texture conditions. Through this detection, the edge intensity value and edge orientation angle value of each pixel can be obtained. These values together constitute the visual edge contour features, which are used for subsequent comparison with physical detection information.
[0068] Simultaneously, at the same sampling time, constant false alarm rate (CFAR) detection is performed on the current echo frame in the physical detection information. CFAR detection is a radar signal processing technique aimed at effectively detecting target echoes from noise and clutter while maintaining a constant false alarm probability. Through this detection, radial distance and azimuth measurements of echo points whose echo intensity exceeds an adaptive detection threshold can be extracted. These measurements constitute the obstacle echo characteristics, representing the obstacle information perceived by the physical detection equipment.
[0069] To achieve comparison of visual and physical detection information within the same spatial reference frame, the image coordinates of each pixel in the visual edge contour features need to be converted into polar coordinates with the physical detection sensor as the origin, based on a pre-calibrated rotation matrix and translation vector between the visual and physical detection sensory devices. This conversion process ensures that the perceptual data from the two different modalities can be spatially aligned in a unified polar coordinate system, thereby obtaining the polar coordinate distribution of visual features.
[0070] Furthermore, the radial distance measurements of the obstacle echo features are discretized and quantized according to a preset distance resolution, and the azimuth measurements are discretized and quantized according to a preset angle resolution. The purpose of this quantization process is to convert continuous detection data into a discrete grid representation, thereby obtaining the polar coordinate distribution of the detection features. In this way, the polar coordinate system can be divided into multiple grid cells, each grid cell representing a spatial region within a specific distance and angle range.
[0071] After grid division, the consistency between the visual feature polar coordinate distribution and the detection feature polar coordinate distribution is compared grid by grid. Specifically, when any grid cell has a non-zero edge intensity value in the visual feature polar coordinate distribution (indicating that the visual device detected an edge in the area) but has no echo intensity value in the detection feature polar coordinate distribution (indicating that the physical detection device did not detect an obstacle in the area), the grid cell is marked as a feature-inconsistent grid cell. This inconsistency may indicate that the visual device misidentified an obstacle in the area or that the physical detection device missed an obstacle.
[0072] Finally, the total number of all raster cells marked as feature inconsistencies in the current frame is counted and used as the inconsistency metric for the current frame. This metric reflects the degree of spatial difference between visual information and physical detection information at the current moment, providing a quantitative basis for subsequent judgment on whether there is a persistent recognition deviation in visual information.
[0073] The proposed solution extracts the features of visual information and physical detection information respectively, and maps them to grid cells in polar coordinate system for comparison, thereby achieving a refined evaluation of the consistency between the two modal information.
[0074] This application further proposes, after the step of counting the total number of feature-inconsistent raster units in the current frame, to include: During the process of collecting physical detection information by the physical detection sensor, the environmental electromagnetic field strength value and the environmental metal structure reflection intensity value at the location of the physical detection sensor are collected simultaneously. When the ambient electromagnetic field strength value is greater than the preset electromagnetic field strength threshold or the ambient metal structure reflection strength value is greater than the preset metal reflection strength threshold, it is determined that the physical detection information is affected by environmental interference at the current sampling time. The feature inconsistency raster cells marked at the sampling time that are affected by environmental interference are excluded from the total number, and the remaining number after exclusion is used as the inconsistency metric of the current frame. The inconsistency metric of the current frame is compared with a preset threshold to determine whether there is a persistent deviation in visual information recognition.
[0075] Specifically, while the physical detection sensor collects echo signals, additional sensors, such as electromagnetic field sensors and metal detection sensors, can be integrated or configured to monitor the ambient electromagnetic field strength and the reflection intensity of ambient metal structures around the physical detection sensor in real time. The ambient electromagnetic field strength refers to the intensity of electromagnetic radiation present in the working area of the physical detection sensor, such as electromagnetic interference from wireless communication devices, power lines, or industrial equipment. The ambient metal structure reflection intensity refers to the intensity of reflection generated when the signal emitted by the physical detection sensor encounters surrounding metal structures; these reflections may be confused with the echoes from target obstacles. Preset electromagnetic field strength thresholds and preset metal reflection intensity thresholds are thresholds set based on the interference resistance of the physical detection sensor and experience in actual application scenarios, used to distinguish between normal environmental fluctuations and significant interference.
[0076] When any intensity value exceeds its corresponding threshold, the physical detection information is considered to have been affected by environmental interference at that sampling moment. In this case, the inconsistent feature grid cells marked at the interfered sampling moment are considered to have low reliability and therefore need to be excluded from the total number to avoid misleading subsequent identification deviation judgments. The remaining number after exclusion can more accurately reflect the degree of consistency between visual information and reliable physical detection information, and is thus used for comparison with a preset number threshold to ultimately determine whether there is a persistent identification deviation in the visual information.
[0077] The solution proposed in this application solves the problem of misjudgment caused by interference with physical detection information in complex environments by introducing real-time monitoring of the working environment of physical detection sensory equipment.
[0078] In some embodiments of this application described above, in order to address the potential decrease in accuracy that may result from long-term operation of the sensory device, after the step of acquiring image sequences of the target environment as visual information using the visual sensory device, the method further includes: The image acquisition of the visual sensory device is interrupted for a first preset time period. The visual sensory device is controlled to switch to calibration mode and acquire a calibration image of a preset calibration target. The actual imaging pixel coordinates of each feature point in the calibration image are extracted and compared with the theoretical imaging pixel coordinates of the corresponding feature points in the calibration target. The geometric distortion error value and color channel offset value of the visual sensory device are calculated. Distortion correction is performed on each frame of the visual information acquired subsequently based on the geometric distortion error value, and color correction is performed on each frame of the visual information acquired subsequently based on the color channel offset value. Interrupt the information acquisition of the physical detection sensor device for a second preset time period, control the physical detection sensor device to switch to test mode and transmit test pulse signal and receive test echo signal, measure the time deviation value between the actual arrival time and the theoretical arrival time of the test echo signal, and the amplitude attenuation deviation value between the actual amplitude and the theoretical amplitude of the test echo signal. Based on the time deviation value, distance correction is performed on each echo signal of the subsequently acquired physical detection information, and based on the amplitude attenuation deviation value, amplitude compensation is performed on each echo signal of the subsequently acquired physical detection information.
[0079] Specifically, the first and second preset time periods can be set according to the needs of the actual application scenario, the type of sensory device, the stability of the working environment, and the requirements for system accuracy. For example, they can be set to several hours, several days, or several weeks. When the visual sensory device switches to calibration mode, its image acquisition function is temporarily interrupted, and it focuses on acquiring images of pre-placed or built-in calibration targets. The calibration targets typically contain feature points with known geometric shapes and color distributions, such as checkerboard patterns or specific color blocks. By comparing the actual imaging pixel coordinates of these feature points in the calibration image with their theoretical imaging pixel coordinates under ideal distortion-free conditions, the geometric distortion error value of the visual sensory device, such as radial distortion and tangential distortion, can be accurately calculated. At the same time, by analyzing the difference between the actual color value and the theoretical color value of the known color blocks in the calibration image, the color channel offset value can be calculated to correct the color deviation of the image.
[0080] Furthermore, the geometric distortion error value is used to perform distortion correction on each subsequent frame of visual information to eliminate image distortion caused by lens optical characteristics and ensure the accuracy of the shape and position of objects in the image. The color channel offset value is used to perform color correction on each subsequent frame of visual information to compensate for color deviations caused by the photosensitive element or image processing link, ensuring the authenticity of image colors.
[0081] Similarly, when the physical detection sensor switches to test mode, it interrupts normal information acquisition and instead transmits a preset test pulse signal and receives its echo signal. By measuring the difference between the actual arrival time and the theoretical arrival time of the test echo signal, the time deviation value can be obtained, which reflects the accuracy of the detection distance measurement. Simultaneously, by comparing the actual amplitude of the test echo signal with the theoretical amplitude, the amplitude attenuation deviation value can be obtained, which reflects the attenuation of the detection signal strength.
[0082] Therefore, the time deviation value is used to perform distance correction on the echo signal in each subsequently acquired physical detection information to correct systematic errors in the detection distance. The amplitude attenuation deviation value is used to perform amplitude compensation on the echo signal in each subsequently acquired physical detection information to ensure that the echo signal intensity can accurately reflect the physical characteristics of the obstacle, thereby improving the reliability of obstacle recognition.
[0083] The solution proposed in this application effectively addresses the issues of sensor accuracy drift and performance degradation that may occur in intelligent guidance systems during long-term operation by introducing a periodic sensor device calibration mechanism.
[0084] By setting a first preset time period and a second preset time period, the system can periodically interrupt normal perception tasks and instead execute a dedicated calibration process. For visual sensory devices, by acquiring images of preset calibration targets and analyzing the difference between the actual and theoretical coordinates of their feature points, geometric distortion error values and color channel offset values can be quantified and calculated. These error values are used to correct subsequent acquired visual information in real time, thereby ensuring the geometric accuracy and color fidelity of the images and avoiding inaccurate obstacle contour recognition or misjudgment of environmental features due to image distortion or color cast.
[0085] For physical detection sensors, by transmitting test pulse signals and measuring the arrival time and amplitude of the echo signals, time deviation and amplitude attenuation deviation can be calculated. The time deviation directly reflects the accuracy of distance measurement, while the amplitude attenuation deviation is related to the strength and penetration capability of the detection signal. By performing distance correction and amplitude compensation on subsequently acquired physical detection information, systematic errors in the detection distance can be corrected, and signal attenuation can be compensated, thereby improving the reliability of the echo distance characteristics and ensuring the accuracy of obstacle position coordinates and echo distance characteristics.
[0086] It is precisely because of this periodic and targeted calibration mechanism that the intelligent guidance system can continuously obtain high-precision and high-reliability visual and physical detection information, providing a solid data foundation for subsequent perception fusion, obstacle identification, and path planning, thereby effectively avoiding system performance degradation caused by sensor problems.
[0087] Through the above technical solution, this application can effectively solve the problem of decreased perception accuracy caused by the performance drift or degradation of sensory devices in traditional intelligent guidance systems during long-term operation.
[0088] This application further proposes, after the steps of calculating the geometric distortion error value and the color channel offset value, and calculating the time deviation value and the amplitude attenuation deviation value, the following additional steps: The geometric distortion error value is compared with a preset geometric distortion tolerance threshold, and the time deviation value is compared with a preset time deviation tolerance threshold. When the geometric distortion error value is greater than the geometric distortion tolerance threshold, a vision device calibration deviation record containing the geometric distortion error value is generated and written into the maintenance prompt; When the time deviation value is greater than the time deviation tolerance threshold, a physical detection device calibration deviation record containing the time deviation value is generated and written into the maintenance prompt.
[0089] Specifically, the geometric distortion error value refers to the degree of image distortion generated by the visual sensing device during the imaging process. It is compared with a preset geometric distortion tolerance threshold to determine whether the distortion is within an acceptable range. The time deviation value refers to the difference between the actual arrival time and the theoretical arrival time in the echo signal measurement by the physical detection sensing device. It is compared with a preset time deviation tolerance threshold to evaluate the accuracy of the detection distance measurement. These tolerance thresholds can be set according to the device's performance requirements, application scenarios, and historical data, with the aim of defining an acceptable error range.
[0090] When the geometric distortion error value of a visual sensor exceeds a preset geometric distortion tolerance threshold, it indicates that the visual imaging quality may be severely impaired. In this case, the system will automatically generate a visual device calibration deviation record. This record will contain detailed information about the current geometric distortion error value and will be included in a maintenance prompt to remind operators or the maintenance system to check and address the issue. Similarly, when the time deviation value of a physical detection sensor exceeds a preset time deviation tolerance threshold, a physical detection device calibration deviation record containing that time deviation value will be generated and included in a maintenance prompt, indicating a potential accuracy problem with the physical detection function. The maintenance prompt can be presented in various forms, such as displaying a warning message on the user interface, sending a notification to the maintenance terminal via the network, or recording it in the system log for subsequent analysis.
[0091] This application's solution effectively addresses the lack of error severity assessment in basic solutions by introducing a threshold comparison mechanism for calibration errors. Through this technical solution, this application enables real-time, intelligent monitoring of the calibration status of visual and physical sensing devices in intelligent guidance systems. Compared to basic solutions that only perform corrections, this application can promptly detect and identify device performance degradation or malfunctions exceeding acceptable limits, thereby avoiding problems such as inaccurate perception data and poor fusion effects caused by excessive calibration errors.
[0092] In response, this application proposes an intelligent wayfinding method that takes into account crowd density distribution while collecting visual and physical detection information.
[0093] In addition to collecting the visual information and the physical detection information, the method also includes: The distribution data of wireless signal strength emitted by mobile terminals carried by people in the target environment is collected by a sensory device for the distribution of people in the area. The distribution data of wireless signal strength is used to estimate the population density distribution in the target environment. The boundary location of densely populated areas is identified based on the population density distribution. The boundary location of the densely populated area is used as an avoidance constraint condition in the step of planning a travel route on the dynamic environment map, so that the planned travel route bypasses the densely populated area.
[0094] Specifically, area personnel distribution sensor devices can be understood as sensor devices capable of detecting and receiving wireless signals emitted by mobile terminals, such as Wi-Fi detectors, Bluetooth beacon receivers, or RFID readers. Their purpose is to obtain information on the distribution of people in a target environment. Wireless signal strength distribution data emitted by mobile terminals refers to the strength values and spatial distribution information of wireless signals such as Wi-Fi detection requests, Bluetooth broadcast packets, or RFID tag signals emitted by mobile terminals carried by people, such as smartphones and wearable devices.
[0095] Estimating crowd density distribution based on wireless signal strength distribution data can be achieved by establishing a mapping model between signal strength and population size. For example, machine learning algorithms can be used to train on historical data, taking wireless signal strength as input and outputting the crowd density value for the corresponding area. Alternatively, methods based on signal source localization and cluster analysis can be employed. Multiple sensor devices can be used to locate mobile terminals, and the localization results can be clustered to estimate the crowd density in a local area. The goal is to transform discrete signal strength data into intuitive crowd distribution information.
[0096] In practical applications, identifying the boundary locations of densely populated areas involves setting a preset population density threshold based on the estimated population density distribution. When the population density of a certain area exceeds this threshold, that area is marked as a densely populated area, and its spatial boundary is extracted. For example, connected component analysis or clustering algorithms from image processing can be used to identify and determine the boundaries of these dense areas. The goal is to visualize the abstract population density information as a geometric region that can be used for path planning.
[0097] Furthermore, the boundary locations of the densely populated areas are used as avoidance constraints for the path search algorithm during the route planning step on the dynamic environment map. This means that during the route planning process, the path search algorithm (such as A* algorithm, Dijkstra's algorithm, etc.) will treat these densely populated areas as high-cost or impassable areas, thereby guiding the planned route to actively avoid these areas. The purpose is to ensure that the planned route avoids not only physical obstacles but also densely populated areas, improving the intelligence and user-friendliness of navigation.
[0098] This application's solution introduces a sensory device for regional population distribution, simultaneously acquiring data on the distribution of wireless signal strength emitted by mobile terminals carried by people in the target environment while collecting visual and physical detection information. This wireless signal strength distribution data is used to estimate the population density distribution in the target environment, thereby identifying the boundary locations of densely populated areas. It is precisely because these dynamically changing densely populated areas can be perceived and identified in real time that these areas can be used as avoidance constraints for path planning algorithms when planning routes on dynamic environmental maps. Therefore, when calculating the optimal path, the path planning algorithm not only considers the location and outline boundaries of temporary obstacles but also incorporates densely populated areas, thus proactively guiding users to avoid these areas. This fusion of multimodal information enables the navigation system to more comprehensively understand the environment and make more intelligent route decisions.
[0099] refer to Figure 3 , Figure 3 This is a schematic diagram of the structure of an image recognition-based intelligent wayfinding system provided in an embodiment of the present invention, comprising: The perception information acquisition unit is used to acquire image sequences of the target environment as visual information through a visual sensory device, and to acquire echo signals of the target environment as physical detection information through a physical detection sensory device. The visual quality assessment unit is used to divide each frame of the visual information into multiple perceptual sub-regions, calculate the local sharpness index and local contrast index of each perceptual sub-region, input the local sharpness index and the local contrast index into a reliability scoring function to obtain the local reliability score of the perceptual sub-region, and take a weighted average of all the local reliability scores to obtain the overall reliability score. The fusion weight adjustment unit is used to determine a first weight coefficient of the visual information in the environmental perception fusion and a second weight coefficient of the physical detection information based on the overall reliability score. The first weight coefficient is positively correlated with the overall reliability score, and the second weight coefficient is negatively correlated with the overall reliability score. The cross-modal fusion identification unit is used to weight the image edge features in the visual information with the first weighting coefficient, and the echo distance features in the physical detection information with the second weighting coefficient, and to cascade and fuse the two weighted features to identify the position coordinates and contour boundaries of temporary obstacles in the target environment based on the fused joint features. The cross-modal consistency comparison unit is used to map the visual edge contour features extracted from the visual information and the obstacle echo features extracted from the physical detection information at the same sampling time to the polar coordinate system, divide them into grid units according to the distance dimension and the angle dimension, compare the consistency of the two grids one by one and record the number of inconsistent grids. When the cumulative number of inconsistent grids in multiple consecutive frames exceeds a preset threshold, it is determined that there is a continuous recognition deviation in the visual information. A closed-loop correction unit is used to adjust the optical parameters of the visual sensory device or generate maintenance prompts based on the distribution position and degree of deviation of the corresponding sensing sub-region of the continuous identification deviation. The map updating and path planning unit is used to mark the grid occupied by the temporary obstacle as impassable in the static environment map according to the location coordinates and the outline boundary of the temporary obstacle to generate a dynamic environment map, and plan a passage path on the dynamic environment map. A navigation output unit is used to output the travel path as a navigation arrow superimposed on the image sequence.
[0100] This system, through the coordinated work of its various functional units, aims to solve the problems of inaccurate identification and path planning failure caused by factors such as the degradation of visual information quality, temporary obstacles, and complex lighting conditions in traditional wayfinding systems in complex and dynamic environments.
[0101] The steps and working principle of the image recognition-based intelligent wayfinding method have been described in detail in the above embodiments of this application, and will not be repeated here. It should be emphasized that this application also provides an intelligent wayfinding system for implementing the above method, which completes the method through the coordinated work of a series of functional units.
[0102] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. An intelligent wayfinding method based on image recognition, characterized in that, include: Image sequences of the target environment are acquired using visual sensory devices as visual information, and echo signals of the target environment are acquired using physical detection sensory devices as physical detection information. Each frame of the visual information is divided into multiple perceptual sub-regions. The local sharpness index and local contrast index of each perceptual sub-region are calculated. The local sharpness index and the local contrast index are input into a reliability scoring function to obtain the local reliability score of the perceptual sub-region. The overall reliability score is obtained by weighted averaging of all the local reliability scores. The first weighting coefficient of the visual information in the environmental perception fusion and the second weighting coefficient of the physical detection information are determined based on the overall reliability score. The first weighting coefficient is positively correlated with the overall reliability score, and the second weighting coefficient is negatively correlated with the overall reliability score. The image edge features in the visual information are weighted by the first weighting coefficient, and the echo distance features in the physical detection information are weighted by the second weighting coefficient. The two weighted features are then cascaded and fused. The position coordinates and contour boundaries of temporary obstacles in the target environment are identified based on the fused joint features. The visual edge contour features extracted from the visual information and the obstacle echo features extracted from the physical detection information at the same sampling time are mapped to the polar coordinate system and divided into grid units according to the distance dimension and the angle dimension. The consistency between the two is compared grid by grid and the number of inconsistent grids is recorded. When the cumulative number of inconsistent grids in multiple consecutive frames exceeds a preset threshold, it is determined that there is a continuous recognition deviation in the visual information. Based on the distribution location and degree of deviation of the corresponding perceptual sub-region corresponding to the continuous identification deviation, the optical parameters of the visual sensory device are adjusted or maintenance prompts are generated; Based on the location coordinates and outline boundary of the temporary obstacle, the grid occupied by the temporary obstacle is marked as impassable in the static environment map to generate a dynamic environment map. A passage path is planned on the dynamic environment map, and the passage path is output as a navigation arrow superimposed on the image sequence.
2. The intelligent wayfinding method based on image recognition according to claim 1, characterized in that, The steps of adjusting the optical parameters of the visual sensory device or generating maintenance prompts include: The actual sharpness and actual contrast values of the images collected by the visual sensory device in each of the sensory sub-regions are obtained, as well as the actual signal-to-noise ratio values of the echo signals collected by the physical detection sensory device in each of the sensory sub-regions are obtained. The sharpness deviation of the perceptual sub-region is obtained by subtracting the average sharpness of the perceptual sub-region within the historical time window from the actual sharpness value of each of the perceptual sub-regions; the contrast deviation of the perceptual sub-region is obtained by subtracting the average contrast of the perceptual sub-region within the historical time window from the actual contrast value of each of the perceptual sub-regions. When the spatial distribution variance of the sharpness deviation in each of the perceptual sub-regions is greater than a preset variance threshold and the spatial distribution variance of the contrast deviation is greater than the preset variance threshold, and the actual signal-to-noise ratio value of each of the perceptual sub-regions is greater than the preset signal-to-noise ratio threshold, it is determined that the visual sensory device has non-uniform optical degradation. Based on the magnitude of the sharpness deviation in each of the sensor sub-regions, the exposure compensation amount corresponding to each sensor sub-region is calculated, and the exposure compensation amount is positively correlated with the sharpness deviation amount; based on the magnitude of the contrast deviation in each of the sensor sub-regions, the focus shift correction amount corresponding to each sensor sub-region is calculated. The exposure compensation amount is superimposed on the current exposure parameters of the optical imaging unit corresponding to the sensing sub-region in the visual sensing device, and the focus offset correction amount is superimposed on the current focus parameters of the optical imaging unit. After the overlay is completed, the updated sharpness deviation of each of the sensing sub-regions is recalculated. If the updated sharpness deviation of any of the sensing sub-regions is still greater than the preset sharpness tolerance threshold, the maintenance prompt containing the location number of the sensing sub-region and the sharpness deviation value is generated.
3. The intelligent wayfinding method based on image recognition according to claim 1, characterized in that, The steps of calculating the local sharpness index and local contrast index of each of the perceptual sub-regions include: For each of the aforementioned sub-regions, the Sobel operators in the four directions of horizontal, vertical, diagonal, and anti-diagonal are used to calculate the gradient values of each pixel in the aforementioned sub-region. The maximum value of the gradient values of each pixel in the four directions is taken as the gradient magnitude of the pixel. The gradient magnitudes of all pixels in the aforementioned sub-region are accumulated to obtain the edge intensity accumulation value as the local sharpness index. For each of the perceptual sub-regions, the brightness values of all pixels within the perceptual sub-region are counted, the maximum and minimum brightness values are taken, and the difference between the maximum and minimum brightness values is calculated and divided by the sum of the maximum and minimum brightness values to obtain the local contrast index.
4. The intelligent wayfinding method based on image recognition according to claim 1, characterized in that, The step of obtaining the overall reliability score by weighted averaging of all the local reliability scores includes: The local reliability score is continuously collected at a fixed sampling time interval for multiple sampling moments. The arithmetic mean of the local reliability scores of the L consecutive sampling moments before the current sampling moment is used as the moving average, where L is an integer greater than or equal to 5. The instantaneous decrease of the local reliability score at the current sampling moment relative to the moving average is calculated. Linear regression fitting is performed on the local reliability score within the long-term time window to obtain the regression slope value; When the instantaneous decrease is less than the preset instantaneous fluctuation threshold and the regression slope is greater than or equal to zero, it is determined that there is instantaneous light fluctuation interference in the sensing sub-region, and the local reliability score of the sensing sub-region is reduced by the first attenuation coefficient. When the instantaneous decrease is greater than the preset systematic degradation threshold and the regression slope is less than zero, it is determined that the visual photosensitive element corresponding to the sensing sub-region has systematic aging. The local reliability score of the sensing sub-region is reduced by the second attenuation coefficient, and the local weight of the physical detection information of the sensing sub-region in the cascade fusion is increased by the enhancement coefficient, wherein the second attenuation coefficient is greater than the first attenuation coefficient. The local reliability scores of all the sensing sub-regions that are still greater than zero after adjustment by the first attenuation coefficient or the second attenuation coefficient are weighted and averaged, and the weighted average is used as the overall reliability score.
5. The intelligent wayfinding method based on image recognition according to claim 1, characterized in that, The step of comparing the two grid-by-grid for consistency includes: At each sampling time, adaptive Canny edge detection is performed on the current frame image to extract the edge intensity value and edge direction angle value of each pixel in the current frame image as the visual edge contour feature; At the same sampling time, constant false alarm rate detection is performed on the current echo frame in the physical detection information, and the radial distance measurement value and azimuth angle measurement value of each echo point whose echo intensity exceeds the adaptive detection threshold are extracted as the obstacle echo features. Based on the pre-calibrated rotation matrix and translation vector between the visual sensory device and the physical detection sensory device, the image coordinates of each pixel in the visual edge contour feature are converted into polar coordinates with the physical detection sensory device as the origin, thus obtaining the polar coordinate distribution of the visual feature. The radial distance measurement value of the obstacle echo feature is discretized and quantized according to a preset distance resolution, and the azimuth angle measurement value is discretized and quantized according to a preset angle resolution to obtain the polar coordinate distribution of the detection feature; The polar coordinate system is divided into multiple grid cells according to the preset distance resolution and the preset angle resolution. When any grid cell has a non-zero edge intensity value in the visual feature polar coordinate distribution and no echo intensity value in the detection feature polar coordinate distribution, the grid cell is marked as a feature inconsistent grid cell. The total number of inconsistent raster cells in the current frame is used as the inconsistency metric for the current frame.
6. The intelligent wayfinding method based on image recognition according to claim 5, characterized in that, Following the step of counting the total number of feature-inconsistent raster cells in the current frame, the method further includes: During the process of the physical detection sensor device collecting the physical detection information, the ambient electromagnetic field strength value and the ambient metal structure reflection intensity value at the location of the physical detection sensor device are collected simultaneously. When the ambient electromagnetic field strength value is greater than a preset electromagnetic field strength threshold or the ambient metal structure reflection strength value is greater than a preset metal reflection strength threshold, it is determined that the physical detection information is subject to environmental interference at the current sampling time. The feature inconsistency grid cells marked at the sampling time affected by environmental interference are excluded from the total number, and the remaining number after exclusion is used as the inconsistency metric value of the current frame; The inconsistency metric of the current frame is compared with the preset quantity threshold to determine whether the visual information exhibits persistent recognition deviation.
7. The intelligent wayfinding method based on image recognition according to claim 1, characterized in that, Following the step of acquiring image sequences of the target environment as visual information using a visual sensory device, the method further includes: The image acquisition of the visual sensory device is interrupted for a first preset time period. The visual sensory device is controlled to switch to calibration mode and acquire a calibration image of a preset calibration target. The actual imaging pixel coordinates of each feature point in the calibration image are extracted and compared with the theoretical imaging pixel coordinates of the corresponding feature points in the calibration target. The geometric distortion error value and color channel offset value of the visual sensory device are calculated. Distortion correction is performed on each frame of the visual information acquired subsequently based on the geometric distortion error value, and color correction is performed on each frame of the visual information acquired subsequently based on the color channel offset value. Interrupt the information acquisition of the physical detection sensor device for a second preset time period, control the physical detection sensor device to switch to test mode and transmit test pulse signal and receive test echo signal, measure the time deviation value between the actual arrival time and the theoretical arrival time of the test echo signal, and the amplitude attenuation deviation value between the actual amplitude and the theoretical amplitude of the test echo signal. Based on the time deviation value, distance correction is performed on each echo signal of the subsequently acquired physical detection information, and based on the amplitude attenuation deviation value, amplitude compensation is performed on each echo signal of the subsequently acquired physical detection information.
8. The intelligent wayfinding method based on image recognition according to claim 7, characterized in that, After the steps of calculating the geometric distortion error value and the color channel offset value, and the steps of calculating the time deviation value and the amplitude attenuation deviation value, the method further includes: The geometric distortion error value is compared with a preset geometric distortion tolerance threshold, and the time deviation value is compared with a preset time deviation tolerance threshold. When the geometric distortion error value is greater than the geometric distortion tolerance threshold, a vision device calibration deviation record containing the geometric distortion error value is generated and written into the maintenance prompt; When the time deviation value is greater than the time deviation tolerance threshold, a physical detection device calibration deviation record containing the time deviation value is generated and written into the maintenance prompt.
9. The intelligent wayfinding method based on image recognition according to claim 1, characterized in that, In addition to collecting the visual information and the physical detection information, the method also includes: The distribution data of wireless signal strength emitted by mobile terminals carried by people in the target environment is collected by a sensory device for the distribution of people in the area. The distribution data of wireless signal strength is used to estimate the population density distribution in the target environment. The boundary location of densely populated areas is identified based on the population density distribution. The boundary location of the densely populated area is used as an avoidance constraint condition in the step of planning a travel route on the dynamic environment map, so that the planned travel route bypasses the densely populated area.
10. An intelligent wayfinding system based on image recognition, characterized in that, include: The perception information acquisition unit is used to acquire image sequences of the target environment as visual information through a visual sensory device, and to acquire echo signals of the target environment as physical detection information through a physical detection sensory device. The visual quality assessment unit is used to divide each frame of the visual information into multiple perceptual sub-regions, calculate the local sharpness index and local contrast index of each perceptual sub-region, input the local sharpness index and the local contrast index into a reliability scoring function to obtain the local reliability score of the perceptual sub-region, and take a weighted average of all the local reliability scores to obtain the overall reliability score. The fusion weight adjustment unit is used to determine a first weight coefficient of the visual information in the environmental perception fusion and a second weight coefficient of the physical detection information based on the overall reliability score. The first weight coefficient is positively correlated with the overall reliability score, and the second weight coefficient is negatively correlated with the overall reliability score. The cross-modal fusion identification unit is used to weight the image edge features in the visual information with the first weighting coefficient, and the echo distance features in the physical detection information with the second weighting coefficient, and to cascade and fuse the two weighted features to identify the position coordinates and contour boundaries of temporary obstacles in the target environment based on the fused joint features. The cross-modal consistency comparison unit is used to map the visual edge contour features extracted from the visual information and the obstacle echo features extracted from the physical detection information at the same sampling time to the polar coordinate system, divide them into grid units according to the distance dimension and the angle dimension, compare the consistency of the two grids one by one and record the number of inconsistent grids. When the cumulative number of inconsistent grids in multiple consecutive frames exceeds a preset threshold, it is determined that there is a continuous recognition deviation in the visual information. A closed-loop correction unit is used to adjust the optical parameters of the visual sensory device or generate maintenance prompts based on the distribution position and degree of deviation of the corresponding sensing sub-region of the continuous identification deviation. The map updating and path planning unit is used to mark the grid occupied by the temporary obstacle as impassable in the static environment map according to the location coordinates and the outline boundary of the temporary obstacle to generate a dynamic environment map, and plan a passage path on the dynamic environment map. A navigation output unit is used to output the travel path as a navigation arrow superimposed on the image sequence.
