Binocular target detection method and system for blind guiding glasses

Through binocular cameras and multi-layer sensing signal technology, the problem of target detection accuracy in dynamic environments in the existing technology is solved, higher detection accuracy and navigation stability are achieved, and safer navigation is provided for visually impaired users. Navigation information.

CN118570558AInactive Publication Date: 2024-08-30泉州职业技术大学

Patent Information

Application Number
CN202411041290.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-08-30
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing target detection technology is difficult to accurately handle complex changing situations in dynamic environments, such as light changes and fast-moving objects, and relies on a single perception mode, resulting in misjudgments or missed judgments, affecting the stability of the navigation system, especially in complex or Unknown environments increase the risk of danger for visually impaired users.

Method used

Use binocular cameras to capture images, identify the spatial position of objects through angle difference data, generate original parallax data, reconstruct the three-dimensional structure, create multi-layer perception signals, analyze distortion characteristics and adjust image correction control parameters, optimize scene images, and predict dynamic target trajectories .

Benefits of technology

It improves the accuracy of target detection in complex environments, provides rich and accurate spatial perception, enhances environmental adaptability, improves image quality and target recognition rate, and ensures real-time and accurate navigation information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570558A
    Figure CN118570558A
Patent Text Reader

Abstract

The invention relates to the technical field of target detection, in particular to a binocular target detection method and system for blind guiding glasses, and the method comprises the following steps: recognizing the spatial position of each object through angle difference data based on an image captured by a binocular camera, analyzing the depth of field through the brightness and color difference between pixel points, and generating original parallax data; according to the invention, the image captured by the binocular camera is combined with the angle difference data, the spatial position of the object is effectively identified, and the accuracy of target detection in a complex environment is improved. And analytic hierarchy process is carried out on the depth-of-field information and a three-dimensional structure is reconstructed, so that the depth value of each pixel point is finely managed, and richer and more accurate spatial perception is provided for visually impaired users. Furthermore, distance classification is carried out on the depth-of-field information, and corresponding sound and vibration intensity are distributed, so that a multi-layer sensing signal is created, and the user can receive the environment information in a multi-sensory mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of target detection, and in particular to a binocular target detection method and system for guide glasses for the blind. Background Art

[0002] The field of object detection technology is a key research area in computer vision, which aims to enable computers to identify and locate one or more objects from images or videos. This technology involves identifying the shape, size and position of specific objects from image data. Common applications include self-driving cars, surveillance systems, face recognition and interactive games. Object detection algorithms are usually based on deep learning models, which can learn the visual features of objects from a large amount of labeled training data.

[0003] Among them, the binocular target detection method for guide glasses refers to a technology implemented on guide glasses using a dual camera system. This technology captures stereo images through two cameras installed on the glasses frame, and uses target detection algorithms to analyze these images to help visually impaired people identify obstacles and navigate the environment in front of them. The glasses can analyze objects in the environment such as people, vehicles, doors, stairs, etc. in real time, and remind the user through sound or tactile feedback. This improves the autonomous mobility of visually impaired people, increases safety and independence, and enables them to effectively navigate and avoid obstacles without external help.

[0004] Although existing target detection technologies have been widely used in many fields, they still have some significant deficiencies in actual operations. Especially in dynamic environments, traditional target detection technologies often find it difficult to accurately handle complex changes, such as light changes, fast-moving objects, etc., which often lead to misjudgments or missed judgments. In addition, many existing technologies mainly rely on a single perception mode, such as visual information. For visually impaired users, this single mode of information input is not sufficient to provide safe and accurate navigation. Furthermore, existing technologies often lack sufficient adaptability when dealing with image distortion, and cannot be effectively adjusted for different environments and different camera characteristics, thereby affecting the overall image quality and subsequent target detection performance. In practical applications, the limitations of these technologies may lead to instability of the navigation system, especially in complex or unknown environments, increasing the risk of visually impaired users encountering danger. Summary of the invention

[0005] The purpose of the present invention is to solve the shortcomings of the prior art and to propose a binocular target detection method and system for guide glasses for the blind.

[0006] In order to achieve the above object, the present invention adopts the following technical solution: a binocular target detection method for guide glasses, comprising the following steps: S1: Based on the images captured by the binocular camera, the spatial position of each object is identified through angle difference data, and the depth of field is analyzed through the brightness and color difference between pixels to generate raw disparity data; S2: Performing hierarchical analysis on the depth information through the original disparity data, reconstructing the three-dimensional structure of each object, refining the depth value of each pixel, and obtaining a three-dimensional panoramic map; S3: Based on the three-dimensional panoramic map, the depth information is classified by distance, each class represents a depth level, and sound and vibration intensity are assigned to each depth level to create a multi-layer perception signal; S4: extracting edge data from the three-dimensional panoramic map, identifying image edge stretching and compression phenomena, recording distortion characteristics, analyzing the impact caused by the camera, and generating distortion feature analysis results; S5: Based on the distortion feature analysis result, adjusting the image correction control parameters, modifying the distortion effect of the image capture in real time, and obtaining an optimized scene image; S6: Using the optimized scene image and multi-layer perception signal, monitor and analyze the speed and direction of the moving target, predict its future movement trajectory, and construct a dynamic target prediction path.

[0007] The present invention has the following improvements: the original disparity data includes a baseline distance, a pixel position difference of an object in a left and right image, and a depth of field value derived therefrom; the three-dimensional panoramic map includes the spatial coordinates, surface texture features, and depth levels of the object; the multi-layer perception signal specifically refers to a multi-tone sound signal and a vibration mode with multiple intensity levels assigned to each depth level; the distortion feature analysis result includes a stretching ratio, a compression ratio, and an influence of the distortion on the overall geometric shape of each image edge; the optimized scene image includes an adjusted color balance, contrast level, and image clarity; and the dynamic target prediction path includes the target's instantaneous position, a calculated moving speed, and a future position predicted based on behavior pattern analysis.

[0008] The present invention has the following improvements: based on the images captured by the binocular camera, the spatial position of each object is identified through angle difference data, and the depth of field is analyzed through brightness and color difference between pixels. The specific steps of generating original disparity data are as follows: S101: based on the images captured by the binocular camera, the positions of pedestrians and obstacles are calibrated, and the disparity value is estimated by analyzing the pixel position difference between the left and right images to generate a disparity measurement result; S102: using the disparity value in the disparity measurement result, determining the pixel difference between pedestrians and obstacles in the image by analyzing the brightness and color changes between pixels, recording the depth change of each object, and obtaining image depth change information; S103: constructing a spatial positioning map according to the image depth change information, showing the exact position of each pedestrian and obstacle in the visual scene based on its depth value, and generating original disparity data.

[0009] The present invention is improved in that the specific steps of performing hierarchical analysis on the depth information through the original disparity data, reconstructing the three-dimensional structure of each object, and refining the depth value of each pixel point to obtain the three-dimensional panoramic map are as follows: S201: Based on the original disparity data, pixel points are classified according to depth information, corresponding to depth levels respectively, each level represents a distance range of a pedestrian or obstacle, and layered depth data is obtained; S202: using the layered depth data, adjusting the depth value of the pixel points at each layer based on the difference in depths of adjacent pixels, to generate refined three-dimensional structure data; S203: Combining the refined three-dimensional structure data to form a continuous three-dimensional panorama, showing the three-dimensional positions and shapes of all pedestrians and obstacles in the entire scene, and generating a three-dimensional panoramic map.

[0010] The present invention is improved in that, based on the three-dimensional panoramic map, the depth of field information is classified by distance, each class represents a depth level, and the sound and vibration intensity are assigned to each depth level. The specific steps of creating a multi-layer perception signal are as follows: S301: Based on the three-dimensional panoramic map, by distinguishing the distance information of pedestrians and obstacles, the pedestrians and obstacles are classified in order from near to far, each classification represents pedestrians or obstacles within a certain distance range in the scene, and a distance classification index is generated; S302: from the distance classification index, based on the relative distance between pedestrians and obstacles, equip each distance category with sounds of multiple frequencies and vibrations of multiple intensities, and establish a distance perception signal model; S303: In combination with the distance perception signal model, the sound frequency and vibration intensity of each classification are adjusted and synchronized to identify the distance between pedestrians and obstacles and generate a multi-layer perception signal.

[0011] The present invention is improved in that the specific steps of extracting edge data from the three-dimensional panoramic map, identifying the stretching and compression phenomenon of the image edge, recording the distortion characteristics, analyzing the influence caused by the camera, and generating the distortion feature analysis result are as follows: S401: Based on the three-dimensional panoramic map, analyzing the edge portion of the image, using a distortion correction algorithm based on chessboard calibration to identify the stretching and compression of pedestrians and obstacles, and obtaining image edge distortion data; S402: Analyze the image edge distortion data, record each type of distortion, including the influence of radial and tangential distortion on the image, and generate a distortion characteristic data set; S403: Identify the influence range and intensity of each distortion in the distortion characteristic data set, determine the optical distortion characteristics of the camera, and generate a distortion characteristic analysis result.

[0012] The present invention is improved in that the distortion correction algorithm is according to the formula: Identify the stretching and compression of pedestrians and obstacles and obtain image edge distortion data; in, and is the point in the corrected image coordinates, and is the point in the original image coordinates, and is the original radial distortion coefficient, which is used to describe the basic effect of the radial distance from the midpoint to the center of the image on the distortion. is the radial distance from the point to the center of the image, is the disparity data, which represents the depth difference between objects in the image, is the depth perception, which indicates the spatial positioning accuracy of each object in the image. is the relative speed of the object, is the object size, which refers to the pixel area occupied by the target object in the image. , , and are weight coefficients that adjust the effects of parallax, depth of field, speed, and size on distortion correction.

[0013] The present invention is improved in that, based on the distortion feature analysis result, the image correction control parameters are adjusted to modify the distortion effect of the image capture in real time, and the specific steps of obtaining the optimized scene image are as follows: S501: Based on the distortion feature analysis result, identify the key distortion area that affects the identification of pedestrians and obstacles, adjust the image correction control parameters of each area by measuring the distortion degree of the area, and generate adjusted control parameters; S502: applying the adjusted control parameters to process the distorted areas in the image one by one, gradually adjusting the distortion effect in the image capture process by changing the image data processing method, and generating a distortion-optimized image; S503: Adjusting the overall contrast and clarity of the distortion-optimized image to generate an optimized scene image.

[0014] The present invention is improved in that the specific steps of using the optimized scene image and multi-layer perception signal to monitor and analyze the speed and direction of the moving target, predict its future movement trajectory, and construct a dynamic target prediction path are as follows: S601: Based on the optimized scene image, monitor the dynamic changes of pedestrians and obstacles in the image, analyze the position changes of various objects, record the speed and direction data, and generate real-time dynamic data; S602: Analyze the movement trends of pedestrians and obstacles using the real-time dynamic data, provide obstacle avoidance paths by predicting their future position changes, and generate predicted movement trajectories; S603: combining the predicted moving trajectory and multi-layer perception signals, updating the predicted position of the dynamic target in navigation, providing real-time path update and obstacle warning, and generating a dynamic target predicted path.

[0015] A binocular target detection system for guide glasses, the system comprising: The disparity data analysis module analyzes the pixel position differences between pedestrians and obstacles based on the images captured by the binocular camera, estimates the disparity value through luminance and color contrast, and generates disparity data; The three-dimensional structure construction module combines the depth information with the pixel data based on the disparity data, and generates a three-dimensional panoramic model through layer-by-layer refinement processing; The multi-layer perception signal module classifies objects according to their distance based on the three-dimensional panoramic model, and equips each classification with sound and vibration signals to assist visually impaired users in perceiving the environment and generate hierarchical perception signals; The distortion characteristic analysis module extracts edge data from the three-dimensional panoramic model, records and analyzes the stretching and compression of the image, determines the influence of the optical distortion of the camera, and generates a distortion analysis result; The dynamic prediction and navigation module monitors the dynamic changes of pedestrians and obstacles, analyzes speed and direction, predicts future movement trajectories, and generates navigation update paths based on the distortion analysis results and hierarchical perception signals.

[0016] Compared with the prior art, the advantages and positive effects of the present invention are: In the present invention, the images captured by the binocular camera are combined with the angle difference data to effectively identify the spatial position of the object, thereby improving the accuracy of target detection in complex environments. The depth of field information is hierarchically analyzed and the three-dimensional structure is reconstructed, so that the depth value of each pixel is finely managed, providing visually impaired users with richer and more accurate spatial perception. Furthermore, by classifying the depth of field information by distance and assigning corresponding sound and vibration intensities, a multi-layer perception signal is created, so that users can receive environmental information in a multi-sensory way, improving the ability to adapt to the environment. In addition, by analyzing and recording the stretching and compression phenomena at the edge of the image, the distortion characteristics caused by the camera are accurately identified. Not only the image quality is improved, but also the overall target recognition rate is enhanced. Finally, the distortion effect in the image capture is adjusted in real time, and the trajectory of the moving target is predicted in combination with the multi-layer perception signal, providing real-time and accurate navigation information for visually impaired users. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 A flow chart of a binocular target detection method for guide glasses is proposed for the present invention; Figure 2 This is a detailed flow chart of step S1 of the present invention; Figure 3 This is a detailed flow chart of step S2 of the present invention; Figure 4 This is a detailed flow chart of step S3 of the present invention; Figure 5 This is a detailed flow chart of step S4 of the present invention; Figure 6 This is a detailed flow chart of step S5 of the present invention; Figure 7 This is a detailed flow chart of step S6 of the present invention; Figure 8 The present invention proposes a module diagram of a binocular target detection system for guide glasses. DETAILED DESCRIPTION

[0018] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0019] In the description of the present invention, it should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating positions or positional relationships, are based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, in the description of the present invention, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0020] Example See also Figure 1 The present invention provides a technical solution: a binocular target detection method for guide glasses, comprising the following steps: S1: Based on the images captured by the binocular camera, the spatial position of each object is identified through angle difference data, and the depth of field is analyzed through the brightness and color difference between pixels to generate raw disparity data; S2: Through the original disparity data, the depth information is analyzed hierarchically to reconstruct the three-dimensional structure of each object, refine the depth value of each pixel, and obtain a three-dimensional panoramic map; S3: Based on the 3D panoramic map, the depth information is classified by distance, each category represents a depth level, and the sound and vibration intensity are assigned to each depth level to create a multi-layer perception signal; S4: extract edge data from the 3D panoramic map, identify image edge stretching and compression phenomena, record distortion characteristics, analyze the impact caused by the camera, and generate distortion feature analysis results; S5: Based on the distortion feature analysis results, adjust the image correction control parameters, modify the distortion effect of the image capture in real time, and obtain the optimized scene image; S6: Using optimized scene images and multi-layer perception signals, monitor and analyze the speed and direction of moving targets, predict their future movement trajectories, and construct dynamic target prediction paths.

[0021] The original disparity data includes the baseline distance, the pixel position difference of the object in the left and right images, and the depth of field value derived therefrom. The three-dimensional panoramic map includes the spatial coordinates of the object, surface texture features and depth level. The multi-layer perception signal specifically refers to the multi-tone sound signal and multi-intensity level vibration mode assigned to each depth level. The distortion feature analysis results include the stretching ratio, compression ratio of each image edge and the impact of the distortion on the overall geometry of the image. The optimized scene image includes the adjusted color balance, contrast level and image clarity. The dynamic target prediction path includes the target's instantaneous position, the calculated moving speed and the predicted future position based on behavior pattern analysis.

[0022] See also Figure 2 Based on the images captured by the binocular camera, the spatial position of each object is identified through the angle difference data, and the depth of field is analyzed through the brightness and color difference between pixels. The specific steps to generate the original disparity data are as follows: S101: Based on the images captured by the binocular camera, the positions of pedestrians and obstacles are calibrated, and the disparity value is estimated by analyzing the pixel position difference of the left and right images. The specific process of generating the disparity measurement result is as follows; First, locate the specific pixel positions of pedestrians and obstacles in the left and right images captured by the camera, and store the pixel data of the corresponding positions of the two images in arrays A and B. Next, calculate the position difference of the corresponding pixels between the two arrays, and store the difference data in array C. Based on the data in array C, apply the disparity estimation formula to calculate the disparity value D of each pixel. The specific calculation formula is as follows: disparity value D = Σ (A [i] - B [i]) ^ 2 / n, where i represents the index of the pixel and n is the total number of pixels.

[0023] S102: using the disparity value in the disparity measurement result, by analyzing the brightness and color changes between pixels, determining the pixel difference between pedestrians and obstacles in the image, recording the depth change of each object, and obtaining the image depth change information. The specific process is as follows; Based on the disparity data D, the brightness and color difference of each pixel are further analyzed and stored in array E. Using the brightness and color difference data, the depth value F is calculated using the following improved formula: F=k*log(1+σ(E)), where k is the adjustment coefficient and σ(E) represents the standard deviation of the elements in array E. This formula processes the standard deviation of brightness and color difference in logarithmic form, providing a more subtle perception of depth changes.

[0024] S103: constructing a spatial positioning map based on the image depth change information to display the exact position of each pedestrian and obstacle in the visual scene based on its depth value, and generating the original disparity data in the following specific process; Using the depth value F, combined with the initial pixel positions of pedestrians and obstacles in the image, a linear interpolation method is used to generate a spatial positioning map G. The generation of the spatial positioning map considers the x, y coordinates of each point and the corresponding F value, and calculates the depth value of the point not directly measured in the scene through an interpolation algorithm. This interpolation algorithm considers the depth values ​​of four adjacent points, and the formula for calculating the depth of an unknown point is G(x,y)=Σ(F[i] / d[i]) / Σ(1 / d[i]), where d[i] is the distance from the unknown point to the known point.

[0025] See also Figure 3 ,Through the original disparity data, the depth information is analyzed hierarchically, the three-dimensional structure of each object is reconstructed, the depth value of each pixel is refined, and the specific steps for obtaining the three-dimensional panoramic map are as follows: S201: Based on the original disparity data, the pixel points are classified according to the depth information, and correspond to the depth levels respectively. Each level represents a distance range of a pedestrian or obstacle. The specific process of obtaining the layered depth data is as follows; First, define the depth level and set different depth ranges, such as 0-1m, 1-2m, etc. The pixels in each range are assigned to the corresponding depth layer according to their depth value F. Traverse each pixel, and if its depth value F falls within a specific depth range, the pixel is marked as the depth layer. The depth data of each layer is stored in an independent array H, and the array index corresponds to the depth level.

[0026] S202: Using the layered depth data, based on the difference in the depths of adjacent pixels, the depth value of the pixel point at each layer is adjusted to generate the refined three-dimensional structure data. The specific process is as follows; The data of each depth layer is processed to analyze the depth difference between adjacent pixels. The depth value of each pixel is smoothed using a difference filter to reduce the sudden change and noise of the depth. The adjustment formula is J[i]=(H[i-1]+2*H[i]+H[i+1]) / 4, where i represents the current pixel, and H[i-1] and H[i+1] represent the depth values ​​of adjacent pixels. This process helps refine the depth information of each layer and provides a basis for generating accurate 3D data.

[0027] S203: combining the refined three-dimensional structure data to form a continuous three-dimensional panorama, showing the three-dimensional positions and shapes of all pedestrians and obstacles in the entire scene. The specific process of generating a three-dimensional panoramic map is as follows; The complete 3D scene is constructed using the 3D structure data refined in the previous step. The position and depth value of each pixel is converted into 3D space coordinates, which are used to construct a 3D grid. The grid shows the position and shape of each object in the scene. The generated 3D panoramic map is stored and displayed in the form of a 3D model, providing a full view of pedestrians and obstacles, and enhancing the availability and resolution of visual information.

[0028] See also Figure 4 ,Based on the 3D panoramic map, the depth information is classified by distance, each category represents a depth level, and the sound and vibration intensity are assigned to each depth level. The specific steps to create a multi-layer perception signal are as follows: S301: Based on the three-dimensional panoramic map, by distinguishing the distance information of pedestrians and obstacles, the pedestrians and obstacles are classified in order from near to far. Each classification represents pedestrians or obstacles within a certain distance range in the scene. The specific process of generating the distance classification index is as follows; First, the spatial coordinates of each object are extracted from the 3D panoramic map, and its distance relative to the observation point is calculated. The formula for calculating the distance is: ,in are the spatial coordinates of the object, are the coordinates of the observation point, is the Euclidean distance from the observation point to the object. Based on these distances, a piecewise function is used to classify each object to determine the distance category it belongs to. The classification is based on a fixed distance interval, such as 0-2 meters for close distance, 2-5 meters for medium distance, and more than 5 meters for long distance. This classification data is stored in the distance classification index to provide the necessary input data for subsequent steps.

[0029] S302: From the distance classification index, based on the relative distance between pedestrians and obstacles, each distance category is equipped with sounds of multiple frequencies and vibrations of multiple intensities, and the specific process of establishing a distance perception signal model is as follows; Different perception signals are assigned according to the distance classification index. Close objects are equipped with high-frequency sound and high-intensity vibration, medium-distance objects are equipped with medium-frequency sound and medium-intensity vibration, and long-distance objects use low-frequency sound and low-intensity vibration. This configuration is based on the principle of distance reduction, ensuring that users can intuitively perceive the distance of the object based on the changes in sound frequency and vibration intensity. The specific frequency and intensity values ​​of each sound and vibration are determined through experiments to ensure sufficient differentiation and user comfort. Formulated as and ,in and Represents sound frequency and vibration intensity respectively. and is their baseline value, and is the distance adjustment factor, is the distance of the object from the observation point.

[0030] S303: In combination with the distance perception signal model, the specific process of adjusting and synchronizing the sound frequency and vibration intensity of each classification, identifying the distance between pedestrians and obstacles, and generating multi-layer perception signals is as follows; The output of sound and vibration signals is synchronized to avoid confusion in user perception. A synchronization control algorithm is used to ensure that when multiple objects are present, the user can receive the signal of each object at the same time without overlap or misalignment. The output of sound and vibration is managed by a unified control system, which adjusts the timing and intensity of the signal to ensure the clarity and accuracy of the signal, thereby improving the overall performance and reliability of the navigation assistance system. The synchronization algorithm can be expressed as ,in is the final output signal, It is A signal emitted by an object, It is a time adjustment parameter used to ensure proper synchronization of various signals and prevent signal crossing and confusion.

[0031] See also Figure 5 , extract edge data from the 3D panoramic map, identify the stretching and compression phenomena of the image edges, record the distortion characteristics, analyze the impact caused by the camera, and generate the distortion feature analysis results. The specific steps are as follows: S401: Based on the three-dimensional panoramic map, the edge part of the image is analyzed, and the stretching and compression of pedestrians and obstacles are identified using a distortion correction algorithm based on chessboard calibration. The specific process of obtaining image edge distortion data is as follows; First, the edge areas of the image are extracted from the 3D panoramic map, and these edge areas are systematically analyzed using the chessboard calibration method. The intersection points of the chessboard provide precise reference points for measuring the actual deformation of the image at these points. By comparing the expected position of each intersection with the actual position, the distortion amount of each point, such as the specific value of stretching or compression, is calculated, thereby generating distortion data for the entire edge area.

[0032] The distortion correction algorithm follows the formula: Identify the stretching and compression of pedestrians and obstacles and obtain image edge distortion data; in, and is a point in the corrected image coordinates, representing the new position in the image after taking the distortion into account. and is a point in the original image coordinates, representing its position in the uncorrected image. and It is the original radial distortion coefficient, which is used to describe the basic effect of the radial distance from the midpoint to the center of the image on the distortion. It is the radial distance from the point to the center of the image, which is used to calculate the basic amount of distortion. Disparity data represents the depth difference between objects in the image and is used to enhance depth perception for distortion correction. Depth perception indicates the spatial positioning accuracy of objects in the image and is used to improve distortion correction for distance perception. The relative speed of the object measures the speed at which the object moves in consecutive image frames and is used to dynamically adjust the distortion correction. The object size refers to the pixel area occupied by the target object in the image, which helps to adjust the distortion correction according to the visual importance of the object. , , and are weight coefficients that adjust the effects of parallax, depth of field, speed, and size on distortion correction, respectively, ensuring that these factors are properly considered in the correction process.

[0033] The calculation process is as follows: Calculate radial distance : in, and are the horizontal and vertical coordinates of the center of the image, respectively. This calculation provides each pixel with its distance from the center of the image, which is the basis for the application of the radial distortion coefficient.

[0034] Extracting disparity data and depth perception : Parallax It is usually obtained by comparing the left and right images of a binocular camera. and The images captured by the left and right eye cameras, parallax It can be calculated by the disparity matching algorithm: It is assumed that a block matching or feature-based matching algorithm is used to find the differences between corresponding points.

[0035] Depth of Field By parallax Converted, usually based on camera parameters and parallax data, can be obtained through the following relationship: in, is the focal length, is the baseline distance (the distance between the two cameras).

[0036] Calculate the relative speed of an object and object size : Object Speed It can be estimated by analyzing the position change of the same object between two consecutive frames. and They are the positions of the objects in two consecutive frames: in, is the time interval between frames.

[0037] Object size The threshold is set by calculating the pixel area occupied by the object in the image. Distinguish objects from background, and then count object pixels: in, is an image, is the threshold used to segment objects.

[0038] Weight coefficient Adjustment: These coefficients are adjusted experimentally or based on data from previous studies. Usually in a pre-experimental phase, different scenes are tested and these coefficients are adjusted by an optimization algorithm (such as gradient descent) to minimize the error between the distortion-corrected image and the real scene.

[0039] The improved distortion correction formula not only corrects the geometric distortion caused by the camera, but also makes the correction process more in line with the needs of practical applications by introducing dynamic factors such as parallax, depth of field, speed and object size, especially suitable for guide glasses in dynamic environments. This correction improves image quality, enhances the accuracy and reliability of target detection, and enables users of guide glasses to better understand and navigate their surroundings.

[0040] S402: Analyze the image edge distortion data, record each type of distortion, including the influence of radial and tangential distortion on the image, and generate the distortion characteristic data set. The specific process is as follows: Using the edge distortion data obtained in the previous step, we classify and sort out various types of distortion and quantify the impact of each type. Radial distortion is mainly manifested as the edge of the image stretching toward the center or expanding outward, while tangential distortion is manifested as the image shifting in a specific direction. For each type of distortion, we calculate its specific impact on image quality, such as the affected pixel range and distortion intensity, so as to construct a detailed data set containing all distortion characteristics. Radial distortion can be expressed using the formula Indicates that is the radial distortion, is the distance from the pixel to the center of the image, is the radial distortion coefficient. The calculation formula for tangential distortion is ,in represents the tangential distortion vector, and is the horizontal and vertical coordinates of the pixel, is the tangential distortion coefficient.

[0041] S403: Identify the influence range and intensity of each distortion in the distortion characteristic data set, determine the optical distortion characteristics of the camera, and generate the specific process of the distortion characteristic analysis result as follows; Based on the data recorded in the distortion characteristic dataset, the optical distortion characteristics of the camera are analyzed and determined. This step involves matching the distortion data with the optical model to identify the optical causes of the distortion, such as lens design defects or assembly errors. The scope and intensity of each type of distortion are used to evaluate and correct the camera system to reduce the impact of these distortions on the final image quality, and finally generate a comprehensive distortion feature analysis result to provide a basis for subsequent image processing and camera optimization. The distortion correction formula is and ,in and is the corrected pixel coordinate, and are the original coordinates, and are the correction values ​​corresponding to radial and tangential distortion respectively.

[0042] See also Figure 6 ,Based on the distortion feature analysis results, adjust the image correction control parameters, modify the distortion effect of image capture in real time, and obtain the optimized scene image. The specific steps are as follows: S501: Based on the distortion feature analysis result, identify the key distortion area that affects the identification of pedestrians and obstacles, and adjust the image correction control parameters of each area by measuring the distortion degree of the area. The specific process of generating the adjusted control parameters is as follows; First, based on the results of the distortion characteristic analysis, the most significant distorted areas in the image are analyzed and located. These areas are identified by calculating the degree of distortion for each pixel, where the degree of distortion is calculated based on the previously generated distortion data. Specifically, for each distorted point, the pixel position difference between it and the ideal image (undistorted state) is calculated, using the formula: ,in is the pixel position after distortion, is the pixel position under ideal conditions. Then these differences are statistically analyzed to obtain the average distortion and the maximum distortion , For image processing measurement Based on these statistical results, the key areas that need special correction are determined, and the corresponding image correction control parameters are adjusted accordingly, such as the amplitude and direction of distortion compensation. These parameters will directly affect the subsequent image processing process.

[0043] S502: Apply the adjusted control parameters to process the distorted areas in the image one by one, and gradually adjust the distortion effect in the image capture process by changing the image data processing method to generate a distortion-optimized image. The specific process is as follows; After applying the updated control parameters, the system performs individual corrections for each identified critical distortion region. The specific correction method involves applying region-based correction algorithms that adjust the pixel arrangement and pixel values ​​within each region to compensate for the distortion caused by the lens. During the process, the algorithm calculates the actual distortion value of the pixels in each region and remaps and adjusts the brightness of these pixels to minimize the distortion. The formula for the remapping process is ,in is the original pixel position, is the pixel position difference calculated based on the distortion data, Represents the corrected pixel position to maintain the coherence and integrity of the image content.

[0044] S503: The specific process of adjusting the overall contrast and clarity of the distortion-optimized image to generate an optimized scene image is as follows; Using the global contrast adjustment algorithm, the brightness distribution of the entire image is optimized to make the details of the dark and bright areas more obvious. In addition, by applying image sharpening processing, the edge definition of the image is enhanced, making the outlines of pedestrians and obstacles in the image clearer. The formula for image sharpening can be expressed as ,in is the original image, is a smoothed version of the image, usually obtained by Gaussian blurring, is the sharpening strength coefficient, is a sharpened image. These processes not only improve the visual effect, but also enhance the usability of the image, providing users with more accurate visual information. Through the comprehensive application of these steps, the final scene image generated will have a significant improvement in visual effect, while improving the overall performance and accuracy of the image analysis system.

[0045] See also Figure 7 ,Using the optimized scene image and multi-layer perception signals, the speed and direction of the moving target are monitored and analyzed, and its future movement trajectory is predicted. The specific steps of constructing the dynamic target prediction path are as follows: S601: Based on the optimized scene image, the dynamic changes of pedestrians and obstacles in the image are monitored, and the specific process of generating real-time dynamic data by analyzing the position changes of various objects and recording their speed and direction data is as follows; In this phase, monitoring is performed based on optimized scene images. First, the system continuously tracks pedestrians and obstacles in the image, using image processing technology to identify the specific locations of these objects and track their position changes in consecutive frames. The optical flow method is applied to each identified object to determine the speed and direction of the object by analyzing the pixel intensity pattern that changes over time. The vector field calculated by the optical flow algorithm represents the displacement speed of each object in the horizontal and vertical directions, thereby generating real-time dynamic data. The calculation formula of the optical flow method is ,in Indicates the pixel at position and time The strength of and The levels are and vertical The velocity component in the direction, and Respectively represent the partial derivatives of image intensity with respect to horizontal and vertical positions, Represents the partial derivative of image intensity with respect to time. Such calculations can help determine the speed at which each point in the image moves over time, which is a key step in dynamic scene analysis.

[0046] S602: Analyze the movement trends of pedestrians and obstacles by using real-time dynamic data, provide obstacle avoidance paths by predicting their future position changes, and generate the predicted movement trajectory. With the real-time dynamic data obtained, the next task is to analyze the movement trends of pedestrians and obstacles. By analyzing the position data of objects in consecutive frames in time series, the system can build a dynamic model to predict the position changes of each object in the next few seconds. This prediction model is based on linear or nonlinear regression analysis to estimate future positions based on historical data. The prediction algorithm considers the current speed and direction, as well as the possible behavior patterns of pedestrians or obstacles, such as turning or accelerating, to calculate the predicted path. The formula of the prediction model can be expressed as ,in is the current location, It's speed. is the acceleration, is the time increment. This information is used to dynamically generate obstacle avoidance paths, ensuring that the navigation system can adjust the route in real time to avoid potential collisions.

[0047] S603: combining the predicted moving trajectory and the multi-layer perception signal, updating the predicted position of the dynamic target in the navigation, providing real-time path update and obstacle warning, and generating the specific process of the predicted path of the dynamic target; Combining the predicted movement trajectory and multi-layer perception signals, the system synchronizes the predicted movement trajectory with the data obtained from the multi-layer perception signal module. These perception signals include inputs from different sensors, such as sound and vibration signals, and adjust according to the distance strength of the object. By integrating this information, the navigation system is able to provide more accurate real-time path updates and obstacle warnings. The generation of dynamic paths and obstacle warnings relies on comprehensive analysis of predicted trajectories and current perception data to ensure the safety and accuracy of navigation, providing users with a seamless and safe navigation experience. The path synchronization formula can be expressed as ,in is the predicted path, is the sensing data path, is a weight factor used to balance the impact of prediction and perception data.

[0048] See also Figure 8 , a binocular target detection system for guide glasses, the system comprising: The disparity data analysis module analyzes the pixel position differences between pedestrians and obstacles based on the images captured by the binocular camera, estimates the disparity value through luminance and color contrast, and generates disparity data; The 3D structure building module combines the depth information with the pixel data based on the disparity data, and generates a 3D panoramic model through layer-by-layer refinement. The multi-layer perception signal module is based on a 3D panoramic model, classifies objects according to their distance, and equips each classification with sound and vibration signals to assist visually impaired users in perceiving the environment and generate hierarchical perception signals. The distortion characteristic analysis module extracts edge data from the 3D panoramic model, records and analyzes the stretching and compression of the image, determines the impact of the camera's optical distortion, and generates distortion analysis results; The dynamic prediction and navigation module monitors the dynamic changes of pedestrians and obstacles based on distortion analysis results and hierarchical perception signals, analyzes speed and direction, predicts future movement trajectories, and generates navigation update paths.

[0049] The above are only preferred embodiments of the present invention and are not intended to limit the present invention in other forms. Any technician familiar with the profession may use the technical contents disclosed above to change or modify them into equivalent embodiments with equivalent changes and apply them to other fields. However, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present invention without departing from the technical solution of the present invention still falls within the protection scope of the technical solution of the present invention.

Claims

1. A binocular target detection method for guide glasses, characterized in that: The following steps are involved: Based on the images captured by the binocular camera, the spatial position of each object is identified through angle difference data, and the depth of field is analyzed through the brightness and color difference between pixels to generate raw disparity data; By using the original disparity data, the depth information is hierarchically analyzed to reconstruct the three-dimensional structure of each object, refine the depth value of each pixel point, and obtain a three-dimensional panoramic map; Based on the three-dimensional panoramic map, the depth information is classified by distance, each class represents a depth level, and the sound and vibration intensity are assigned to each depth level to create a multi-layer perception signal; Extracting edge data from the three-dimensional panoramic map, identifying image edge stretching and compression phenomena, recording distortion characteristics, analyzing the impact caused by the camera, and generating distortion feature analysis results; Based on the distortion feature analysis result, adjusting the image correction control parameters, modifying the distortion effect of the image capture in real time, and obtaining an optimized scene image; The optimized scene image and multi-layer perception signal are used to monitor and analyze the speed and direction of the moving target, predict its future movement trajectory, and construct a dynamic target prediction path.

2. The binocular target detection method for guide glasses for the blind according to claim 1, characterized in that: The original disparity data includes the baseline distance, the pixel position difference of the object in the left and right images, and the depth of field value derived therefrom; the three-dimensional panoramic map includes the spatial coordinates, surface texture features and depth level of the object; the multi-layer perception signal specifically refers to the multi-tone sound signal and multi-intensity level vibration mode assigned to each depth level; the distortion feature analysis result includes the stretching ratio, compression ratio and distortion effect of each image edge on the overall geometric shape of the image; the optimized scene image includes the adjusted color balance, contrast level and image clarity; the dynamic target prediction path includes the target's instantaneous position, the calculated moving speed and the future position predicted based on the behavior pattern analysis.

3. The binocular target detection method for guide glasses for the blind according to claim 1, characterized in that: Based on the images captured by the binocular camera, the spatial position of each object is identified through the angle difference data, and the depth of field is analyzed through the brightness and color difference between pixels. The specific steps to generate the original disparity data are as follows: Based on the images captured by the binocular camera, the positions of pedestrians and obstacles are calibrated, and the disparity value is estimated by analyzing the pixel position difference between the left and right images to generate the disparity measurement results; Using the disparity value in the disparity measurement result, by analyzing the brightness and color changes between pixels, the pixel difference between pedestrians and obstacles in the image is determined, the depth change of each object is recorded, and the image depth change information is obtained; Based on the image depth change information, a spatial positioning map is constructed to show the exact position of each pedestrian and obstacle in the visual scene based on its depth value, and the original disparity data is generated.

4. The binocular target detection method for guide glasses for the blind according to claim 1, characterized in that: The specific steps of performing hierarchical analysis on the depth information through the original disparity data, reconstructing the three-dimensional structure of each object, and refining the depth value of each pixel to obtain a three-dimensional panoramic map are as follows: Based on the original disparity data, pixel points are classified according to depth information, respectively corresponding to depth levels, each level represents a distance range of a pedestrian or obstacle, and layered depth data is obtained; Using the layered depth data, based on the difference in depths of adjacent pixels, the depth value of the pixel points at each layer is adjusted to generate refined three-dimensional structure data; The refined three-dimensional structural data are combined to form a continuous three-dimensional panorama, showing the three-dimensional positions and shapes of all pedestrians and obstacles in the entire scene, and generating a three-dimensional panoramic map.

5. The binocular target detection method for guide glasses for the blind according to claim 1, characterized in that: Based on the three-dimensional panoramic map, the depth information is classified by distance, each class represents a depth level, and the sound and vibration intensity are assigned to each depth level. The specific steps of creating a multi-layer perception signal are as follows: Based on the three-dimensional panoramic map, by distinguishing the distance information of pedestrians and obstacles, the pedestrians and obstacles are classified in order from near to far, each classification represents pedestrians or obstacles within a certain distance range in the scene, and a distance classification index is generated; From the distance classification index, based on the relative distance between pedestrians and obstacles, each distance category is equipped with sounds of multiple frequencies and vibrations of multiple intensities to establish a distance perception signal model; Combined with the distance perception signal model, the sound frequency and vibration intensity of each classification are adjusted and synchronized to identify the distance between pedestrians and obstacles and generate multi-layer perception signals.

6. The binocular target detection method for guide glasses for the blind according to claim 1, characterized in that: The specific steps of extracting edge data from the three-dimensional panoramic map, identifying the stretching and compression phenomena of the image edges, recording the distortion characteristics, analyzing the influence caused by the camera, and generating the distortion feature analysis results are as follows: Based on the three-dimensional panoramic map, analyzing the edge portion of the image, using a distortion correction algorithm based on chessboard calibration to identify the stretching and compression of pedestrians and obstacles, and obtaining image edge distortion data; Analyzing the image edge distortion data, recording each type of distortion, including the influence of radial and tangential distortion on the image, and generating a distortion characteristic data set; Identify the influence range and intensity of each distortion in the distortion characteristic data set, determine the optical distortion characteristics of the camera, and generate distortion characteristic analysis results.

7. The binocular target detection method for guide glasses for the blind according to claim 6, characterized in that: The distortion correction algorithm is according to the formula: Identify the stretching and compression of pedestrians and obstacles and obtain image edge distortion data; in, and is the point in the corrected image coordinates, and is the point in the original image coordinates, and is the original radial distortion coefficient, which is used to describe the basic effect of the radial distance from the midpoint to the center of the image on the distortion. is the radial distance from the point to the center of the image, is the disparity data, which represents the depth difference between objects in the image, is the depth perception, which indicates the spatial positioning accuracy of each object in the image. is the relative speed of the object, is the object size, which refers to the pixel area occupied by the target object in the image. , , and are weight coefficients that adjust the effects of parallax, depth of field, speed, and size on distortion correction.

8. The binocular target detection method for guide glasses for the blind according to claim 1, characterized in that: The specific steps of using the optimized scene image and multi-layer perception signal to monitor and analyze the speed and direction of the moving target, predict its future movement trajectory, and construct a dynamic target prediction path are as follows: Based on the optimized scene image, the dynamic changes of pedestrians and obstacles in the image are monitored, and the position changes of various objects are analyzed, and the speed and direction data are recorded to generate real-time dynamic data; Utilizing the real-time dynamic data, analyzing the movement trends of pedestrians and obstacles, providing obstacle avoidance paths by predicting their future position changes, and generating predicted movement trajectories; The predicted moving trajectory and multi-layer perception signals are combined to update the predicted position of the dynamic target in the navigation, provide real-time path updates and obstacle warnings, and generate a dynamic target predicted path.

9. A binocular target detection system for guide glasses, characterized in that: According to the binocular target detection method for guide glasses according to any one of claims 1 to 8, the system comprises: The disparity data analysis module analyzes the pixel position differences between pedestrians and obstacles based on the images captured by the binocular camera, estimates the disparity value through luminance and color contrast, and generates disparity data; The three-dimensional structure construction module combines the depth information with the pixel data based on the disparity data, and generates a three-dimensional panoramic model through layer-by-layer refinement processing; The multi-layer perception signal module classifies objects according to their distance based on the three-dimensional panoramic model, and equips each classification with sound and vibration signals to assist visually impaired users in perceiving the environment and generate hierarchical perception signals; The distortion characteristic analysis module extracts edge data from the three-dimensional panoramic model, records and analyzes the stretching and compression of the image, determines the influence of the optical distortion of the camera, and generates a distortion analysis result; The dynamic prediction and navigation module monitors the dynamic changes of pedestrians and obstacles, analyzes speed and direction, predicts future movement trajectories, and generates navigation update paths based on the distortion analysis results and hierarchical perception signals.

Citation Information

Patent Citations

  • Binocular intelligent navigation system

    CN102175251A

  • Insole making system special for spine rehabilitation adjustment

    CN103961197A

  • Method and system for perspective distortion correction of image

    CN104867113A

  • Blind guiding method, device and equipment

    CN108337876A

  • Intelligent glasses for guiding the blind

    CN109481248A

Cited By

  • Blind person navigation method and device based on visual touch cross-modal perception and medium

    CN119385753A

  • Artificial eye space perception method based on binocular camera

    CN120070273A