Object identification method and system and laser radar camera
By combining lidar and cameras, we perform relative pixel correction and halo overlap effect analysis of environmental scanning video frames, solving the visual error problem of traditional object recognition methods under the influence of halo, and achieving higher navigation and recognition accuracy. autonomy.
Patent Information
- Application Number
- CN202411346497.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-26
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-09-26
AI Technical Summary
Traditional object recognition methods have large visual errors under the influence of halos in the environment, and have poor visual correction capabilities for halos, resulting in low navigation and operation accuracy for robots in complex environments, and frequent misidentifications and misoperations.
Using a method that combines lidar and cameras, we can identify the shape of waste objects through relative pixel correction of environmental scanning video frames, conduct halo overlap effect analysis and visual error estimation, adjust the viewing angle focus in real time, and embed automated firmware to optimize visual recognition. .
It improves the robot's navigation accuracy and object recognition accuracy in complex environments, reduces the risk of misidentification and misoperation, enhances autonomy and adaptability, and improves work efficiency and overall system stability.
Smart Images

Figure CN118864804A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of object recognition technology, and in particular to an object recognition method, system and laser radar camera. Background Art
[0002] Object recognition technology plays a vital role in modern sweeping robots. With the rapid development of artificial intelligence and deep learning technology, this field has also made significant progress. Traditional sweeping robots mainly rely on simple sensors and preset paths to complete cleaning tasks. However, with the advancement of technology, the introduction of object recognition technology has greatly improved the intelligence level and adaptability of sweeping robots. The core of object recognition is to identify different types of objects by analyzing and processing visual data in the environment. Early sweeping robots usually only use infrared sensors or ultrasonic sensors to detect the position and distance of obstacles. Although this method can avoid collisions, it cannot judge the type and specific characteristics of obstacles. Modern sweeping robots use advanced computer vision technology and deep learning algorithms to capture environmental information through cameras and image processing systems to achieve accurate object recognition. In the process of object recognition, the robot first needs to obtain image data of the environment through the camera, and then use image processing algorithms to analyze this data. These algorithms usually include steps such as image segmentation, feature extraction and classification. Image segmentation divides an image into multiple regions so that each region can be processed independently; feature extraction obtains the basic features of an object by identifying information such as edges and textures in the image; classification classifies objects into predefined categories such as furniture, toys, or garbage based on these features. This process usually requires a large amount of training data and complex deep learning models to ensure that the robot can accurately identify and classify objects in various environments. However, a traditional object recognition method has the problem of large errors in estimating the visual error caused by halo in the environment and poor ability to correct the visual effect of light in the environment. Summary of the invention
[0003] Based on this, it is necessary to provide an object recognition method, system and lidar camera to solve at least one of the above technical problems.
[0004] To achieve the above object, an object recognition method is provided, the method comprising the following steps: Step S1: using a laser radar camera mounted on the sweeping robot to collect environment scanning video frames in the direction of travel, to obtain environment scanning video frames; performing pixel relative correction on the environment scanning video frames, to obtain video frame pixel relative correction data; Step S2: performing waste object morphology recognition on the environment scanning video frame according to the video frame pixel relative correction data to obtain waste object morphology data; performing halo overlapping effect analysis on the waste object morphology data on the moving path to obtain object morphology halo overlapping effect data; performing visual error estimation on the moving path according to the object morphology halo overlapping effect data to obtain object morphology moving visual error estimation data; Step S3: adjusting the object form movement visual error estimation data for a viewing angle error to obtain object form viewing angle focus adjustment data; Step S4: Designing automatic firmware for the object morphology view and focus adjustment data to obtain automatic view and focus adjustment firmware; embedding the automatic view and focus adjustment firmware into the underlying architecture of the sweeping robot to execute the object recognition method.
[0005] In the automatic operation process of the sweeping robot of the present invention, the laser radar and the camera cooperate with each other to collect the environment scanning video frame. The laser radar can accurately measure the distance and shape of the surrounding environment, while the camera provides visual information, which together constitute a real-time visual map of the environment. By performing pixel relative correction on the environment scanning video frame, the image distortion caused by the change of viewing angle or lens distortion can be eliminated, thereby ensuring the accuracy and reliability of the image data in the subsequent processing steps. This correction not only helps to improve the navigation accuracy of the robot in a complex environment, but also enhances its perception of environmental changes, laying the foundation for subsequent autonomous decision-making and action planning. In the waste object morphology recognition stage, the robot can accurately identify the various waste object morphologies in the environment using the pixel-corrected video frame data. By analyzing the features of the object such as shape, size and color, various types of waste can be effectively distinguished, and subsequent processing and classification can be performed accordingly. In particular, in environmental cleaning and garbage disposal applications, this technology can greatly improve the work efficiency and accuracy of the robot, effectively reduce the need for manual intervention, thereby reducing operating costs and improving the cleanliness of the working environment. Analyzing the halo overlap effect on the moving path of the waste object morphology data is an important step after identifying and locating the waste. The halo overlap effect refers to the fuzzy boundary formed around the object, which is often caused by the reflection of the light source and the surface of the object. By analyzing the halo overlap effect, the location and morphological characteristics of the waste can be determined more accurately, and the robot's target positioning and grasping accuracy can be further improved. This analysis not only helps to avoid misgrasping or missing grasping, but also optimizes the robot's operation path, improves work efficiency and reduces resource waste. Finally, based on the object morphology movement visual error estimation data, the robot can adjust its motion path and grasping action in real time to reduce visual error and ensure accurate grasping of the target object. The visual error estimation is calculated by comparing the deviation between the actual movement and the expected path, which can help the robot operate stably and complete precise operations in complex environments. This technology not only improves the robot's autonomy and adaptability, but also enhances its practical application capabilities in various environments, bringing more possibilities and innovative solutions to the field of automated cleaning and item handling. The view error adjustment of the object morphology movement visual error estimation data is a correction process for the visual positioning deviation that occurs in the actual operation of the robot. By analyzing the perspective error data, the deviation of the robot in the visual perception process can be accurately calculated, and the robot's perspective focus can be adjusted accordingly to ensure that the target object can be more accurately identified and located in subsequent operations. This adjustment not only improves the robot's working accuracy in complex environments, but also effectively reduces the risk of misidentification and misoperation, thereby enhancing the stability and reliability of the overall system. The design and embedding of the automatic perspective focus adjustment firmware is a key step in embedding the optimized perspective focus adjustment algorithm and logic into the underlying architecture of the sweeping robot.Through the automated firmware design, the precise control and execution capabilities of the viewing angle adjustment can be integrated into the robot's control system to achieve real-time response and optimization of the visual recognition method. This integration not only simplifies the robot's operating procedures, but also greatly improves its adaptability and efficiency in different working scenarios. At the same time, the embedded automated viewing angle focus adjustment firmware also enables the robot to more flexibly adjust and optimize its visual perception capabilities in complex environments, thereby effectively improving its working performance and coping capabilities. Therefore, the present invention is an improved processing of a traditional object recognition method, which solves the problem that a traditional object recognition method has a large estimation error of the visual error caused by the halo in the environment and a poor ability to correct the visual effect of light in the environment, reduces the estimation error of the visual error caused by the halo in the environment, and improves the ability to correct the visual effect of light in the environment.
[0006] Preferably, step S1 comprises the following steps: Step S11: collecting environment scanning video frames in the direction of travel by using a laser radar camera carried by the sweeping robot to obtain environment scanning video frames; Step S12: performing color distribution feature analysis on the environment scanning video frame to obtain environment color distribution feature data; Step S13: performing background depth change analysis on the environment scanning video frame according to the environment color distribution feature data to obtain environment background depth change data; Step S14: performing pixel relative correction on the environment scanning video frame according to the environment background depth change data and the environment color distribution characteristic data to obtain video frame pixel relative correction data.
[0007] The sweeping robot of the present invention collects environment scanning video frames through the laser radar camera carried by the robot, and these frames record the real-time environment information in the direction of the robot's travel. This step ensures that the robot can perform subsequent visual analysis and decision-making based on real environment data, and provides the necessary information basis for accurate navigation and task execution. After the environment scanning video frame is collected, the color distribution feature analysis is performed. This analysis process is intended to identify and record the distribution of different colors in the environment, so as to help the robot identify and distinguish different areas or objects. Through the analysis of color features, the robot can perceive the environment more accurately and improve the ability to identify and locate targets. Using the environmental color distribution feature data, the environment scanning video frame is analyzed for background depth changes. This step is intended to identify and analyze the depth changes in the environmental background, such as changes in obstacles or terrain. Through the analysis of depth changes, the robot can better understand the spatial structure of the environment, so as to plan a safer and more effective moving path. Based on the aforementioned environmental background depth change data and color distribution feature data, the environment scanning video frame is subjected to pixel relative correction. This correction process ensures the accuracy and reliability of the image data in the subsequent processing steps by eliminating the image distortion caused by the change of viewing angle and lens distortion. This pixel-relative correction not only improves the robot's navigation accuracy in complex environments, but also enhances its ability to perceive environmental changes.
[0008] Preferably, step S14 comprises the following steps: Step S141: performing background color gradient analysis on the environmental background depth change data to obtain background color gradient data; Step S142: Calculating the multi-point gradient pixel loss difference of the environmental background depth change data according to the background color gradient data to obtain the multi-point gradient pixel loss difference data; Step S143: performing visual continuity loss evaluation on the multi-point gradual pixel loss difference data to obtain multi-point pixel visual continuity loss data; Step S144: performing multi-point color structure adjustment on the environmental color distribution characteristic data according to the multi-point pixel visual continuity loss data to obtain multi-point color structure adjustment data; Step S145: Perform pixel relative correction on the environment scan video frame according to the multi-point pixel visual continuity loss data and the multi-point color structure adjustment data to obtain video frame pixel relative correction data.
[0009] The background color gradient analysis of the present invention is a detailed processing of the environmental background depth change data, the purpose of which is to identify and record the gradient trend of the background color. This analysis can reveal the change of color from one area to another in the environment and form gradient data. The beneficial effect of this step is that it provides detailed information on the background color change, which is helpful for pixel correction and image processing in subsequent steps, thereby improving the accuracy and reliability of visual data. The multi-point gradient pixel loss difference calculation is a further analysis of the environmental background depth change data based on the background color gradient data. By calculating the gradient pixel loss difference of different points, the errors caused by inconsistent color gradients in the image can be identified. This calculation can accurately evaluate the pixel loss difference of each point, which helps to adjust the image data more accurately in the subsequent correction step, thereby improving the overall quality of the visual data. The visual continuity loss evaluation of the multi-point gradient pixel loss difference data is intended to measure the visual continuity loss of different points in the image. This evaluation can identify visual discontinuity areas caused by color gradients and background depth changes. The main benefit of this step is that it can provide detailed visual continuity loss data to help further optimize the pixel correction process to ensure the continuity and accuracy of the image and improve the robot's perception of the environment. Multi-point color structure adjustment is performed based on multi-point pixel visual continuity loss data to optimize the structure and distribution of colors in the image. This adjustment can accurately adjust the color structure at different points, thereby reducing the error caused by visual continuity loss. Through this adjustment, the color distribution of the image becomes more consistent, which helps to improve the accuracy of subsequent pixel relative correction, thereby improving the quality of overall image processing. Pixel relative correction is performed on the environment scan video frame based on multi-point pixel visual continuity loss data and multi-point color structure adjustment data. By comprehensively considering color structure adjustment and visual continuity loss data, this step can accurately correct the pixel position in the video frame and eliminate image distortion caused by perspective changes and color gradients. This precise pixel correction can significantly improve the robot's ability to recognize the environment and enhance its navigation and operation performance in complex environments.
[0010] Preferably, step S2 comprises the following steps: Step S21: performing waste object morphology recognition on the environment scanning video frame according to the video frame pixel relative correction data to obtain waste object morphology data; Step S22: performing ambient light movement change analysis on the waste object morphology data based on the environment scanning video frame to obtain ambient light movement change data; Step S23: analyzing the halo overlapping effect of the waste object shape data on the moving path according to the ambient light movement change data to obtain the object shape halo overlapping effect data; Step S24: performing visual error estimation on the moving path of the waste object shape data according to the object shape halo overlapping effect data to obtain object shape moving visual error estimation data.
[0011] The present invention performs waste object morphology recognition based on the relative correction data of video frame pixels. This step identifies and records the morphology data of waste objects in the environment, such as waste paper, empty cans, etc., by analyzing the corrected video frames. By accurately identifying the morphology of waste, the robot can more effectively perform subsequent environmental cleaning or processing tasks, thereby improving the efficiency of environmental cleaning and management. Based on the environmental scanning video frame, the waste object morphology data is analyzed for ambient light movement changes. This analysis aims to capture the impact of environmental light changes on the waste morphology, such as changes in light intensity or changes in light projection angles. By analyzing the data of ambient light movement, the robot can more accurately understand the changes in the morphology of waste objects, which helps to improve waste identification and processing strategies. Using the ambient light movement change data, the halo overlap effect analysis on the moving path of the waste object morphology is performed. This step aims to evaluate the impact of the halo phenomenon on the recognition of waste morphology, such as the halo phenomenon caused by reflection or refraction of ambient light. Through the analysis of the halo overlap effect, the robot can more accurately distinguish the light and shadow changes of the waste and the surrounding environment, and improve the ability to accurately recognize the waste morphology. According to the object morphology halo overlap effect data, the visual error of the waste object morphology on the moving path is estimated. This step evaluates the magnitude and possible deviation of visual errors by analyzing the impact of halo overlap effects on image quality and morphological recognition. By accurately estimating visual errors, the robot can more reliably judge the changes and positions of waste objects, thereby improving the accuracy and efficiency of waste treatment.
[0012] Preferably, step S23 includes the following steps: Step S231: Calculate the light scattering angle of the waste object shape data on the moving path according to the ambient light movement change data to obtain light scattering angle data; Step S232: performing optical coherence layer interference analysis on the waste object shape data on the moving path based on the light scattering angle data to obtain moving behavior optical coherence layer interference data; Step S233: performing geometric structure interleaving analysis on the waste object morphology data on the moving path according to the moving behavior optical coherence layer interference data to obtain morphology optical geometric structure interleaving data; Step S234: performing dynamic halo non-uniformity analysis on the morphological optical geometric structure interleaved data to obtain dynamic halo non-uniformity data; Step S235: analyzing the halo overlapping effect on the moving path according to the morphological optical geometric structure interleaving data and the dynamic halo non-uniformity data to obtain the object morphological halo overlapping effect data.
[0013] The present invention calculates the light scattering angle of the waste object morphology on the moving path according to the ambient light movement change data. This step is intended to analyze the scattering of light on the waste surface and obtain light scattering angle data. By accurately calculating the light scattering angle, it is possible to more precisely understand how light is reflected or propagated on the waste surface, providing data support for the subsequent optical coherence layer interference analysis. Based on the light scattering angle data, the waste object morphology is subjected to optical coherence layer interference analysis on the moving path. This analysis obtains the optical coherence layer interference data of the moving behavior by considering the interference effect of light on the waste morphology. These data help the robot understand the changes in the optical properties of the waste surface, including interference patterns and reflection characteristics, thereby improving the accuracy and reliability of morphological recognition. According to the optical coherence layer interference data of the moving behavior, the waste object morphology is subjected to geometric structure interlacing analysis on the moving path. This step is intended to analyze the interlacing phenomenon of the optical geometric structure of the waste on the moving path, such as the clarity and structural changes of the morphological edge. Through the geometric structure interlacing analysis, the complex characteristics of the waste morphology can be more deeply understood, providing a data basis for the subsequent dynamic halo non-uniformity analysis. Dynamic halo non-uniformity analysis of morphological optical geometry interlaced data. This step aims to evaluate the dynamic changing characteristics of the halo phenomenon on the waste surface, such as the formation and distribution non-uniformity of the halo. Through the analysis of dynamic halo non-uniformity data, the robot can more accurately predict and identify the impact of halo on waste morphological recognition, and further optimize visual analysis and operation strategies. Based on the morphological optical geometry interlaced data and dynamic halo non-uniformity data, the halo overlap effect on the moving path is analyzed. This analysis aims to comprehensively consider the optical structure interlacing and dynamic halo effects, and evaluate the degree of influence of halo on waste morphological recognition. Through the analysis of halo overlap effect data, the robot can more accurately identify and locate the morphology of waste objects, and improve the operational accuracy and efficiency of environmental treatment and management.
[0014] Preferably, step S24 comprises the following steps: Step S241: calculating the halo overlapping radius of the object shape halo overlapping effect data to obtain halo overlapping radius data; Step S242: performing boundary diffusion time series deconstruction on the object shape halo overlap effect data according to the halo overlap radius data to obtain halo overlap diffusion time series deconstruction data; Step S243: performing a moving perspective blur intensity simulation on the halo overlapping diffusion time series deconstruction data to obtain halo moving perspective blur intensity data; Step S244: performing three-dimensional geometric mapping based on the halo moving perspective blur intensity data to obtain three-dimensional moving perspective blur geometric mapping data; Step S245: performing angle switching fuzzy relationship mining on the halo moving perspective fuzzy intensity data according to the three-dimensional moving perspective fuzzy geometric mapping data to obtain angle switching fuzzy relationship data; Step S246: Estimating the visual error of the waste object shape data on the moving path according to the angle switching fuzzy relationship data and the halo movement viewing angle fuzzy intensity data, to obtain object shape movement visual error estimation data.
[0015] The present invention calculates the halo overlap radius based on the halo overlap effect data of the object form. This step aims to determine the distance range of the halo diffusion around the object, and obtains the halo overlap radius data by calculation. The accurate calculation of the halo overlap radius helps to understand the influence of the halo on the surrounding environment and the visual perception of the object form, and provides basic data support for the subsequent visual error estimation. The object form halo overlap effect data is subjected to boundary diffusion time series deconstruction according to the halo overlap radius data. This step deconstructs the time series characteristics of the halo diffusion process by analyzing the change of the halo in the time series, and obtains the halo overlap diffusion time series deconstruction data. These data can reveal the dynamic characteristics of the halo changing with time, and help the robot to control and process the halo influence more finely. The halo overlap diffusion time series deconstruction data is subjected to mobile perspective blur intensity simulation. This step aims to simulate the blur effect intensity of the halo on the visual perception in the mobile environment, and generate the halo mobile perspective blur intensity data. By simulating the perspective blur intensity, the influence of the halo on the object form recognition on the mobile path can be better understood, and the accuracy and reliability of the visual error estimation can be improved. Three-dimensional geometric mapping is performed based on the halo mobile perspective blur intensity data. This step maps the perspective blur intensity data into the three-dimensional geometric space to obtain the three-dimensional moving perspective blur geometric mapping data. These data can reflect the distribution and change rules of the halo in the three-dimensional space, and provide the necessary spatial information support for the switching relationship mining of the halo moving perspective. The angle switching fuzzy relationship mining of the halo moving perspective blur intensity data is carried out according to the three-dimensional moving perspective blur geometric mapping data. This step aims to analyze the changing relationship of the halo intensity under different perspectives and mine the fuzzy relationship data when the angle is switched. Through the mining of the angle switching fuzzy relationship, the influence of the halo under different perspectives can be more accurately predicted and adjusted, and the accuracy and stability of the object morphology movement visual error estimation can be improved. The visual error of the waste object morphology data on the moving path is estimated according to the angle switching fuzzy relationship data and the halo moving perspective blur intensity data. This step comprehensively considers the dynamic characteristics of the halo and the perspective blur effect to estimate the visual error of the waste morphology. Through accurate visual error estimation, the robot can more reliably identify and track the movement trajectory and morphological changes of the waste, thereby improving the operational efficiency and accuracy of environmental treatment and management.
[0016] Preferably, step S3 comprises the following steps: Step S31: extracting visual error reference from the object form movement visual error estimation data to obtain visual error reference data; Step S32: performing object perspective focus offset analysis on the object form movement visual error estimation data according to the visual error reference data to obtain object perspective focus offset data; Step S33: adjusting the object form movement visual error estimation data for a viewing angle error according to the object viewing angle focus offset data to obtain object form viewing angle focus adjustment data.
[0017] In the process of object shape movement, the present invention obtains visual error reference data by extracting visual error reference from visual error estimation data. The key of this step is to identify and extract visual errors that occur in the process of object shape movement, such as halo effect, angle offset, etc. Visual error reference data provides a basis for subsequent analysis and adjustment, helping the robot to accurately perceive and understand the actual position and shape of the object. Based on the visual error reference data, the object perspective focus offset analysis is performed on the object form movement visual error estimation data. This analysis aims to explore the offset of the object in terms of perspective focus, such as insufficient or excessive perspective concentration. Through the analysis of the object perspective focus offset data, the need for perspective adjustment can be identified and quantified, providing detailed data support for subsequent perspective error adjustment. According to the object perspective focus offset data, the visual error estimation data for object form movement is adjusted for perspective error. The goal of this step is to adjust the visual error estimation data according to the actual perspective focus offset, thereby optimizing the visual recognition and positioning accuracy of the object form. The perspective error adjustment data provides an important indicator reflecting the accuracy and stability of the robot vision system, which helps to improve the tracking and operation effects of the object form and enhance the overall intelligent system performance.
[0018] Preferably, step S33 includes the following steps: Step S331: performing a focus stereo offset direction analysis on the object perspective focus offset data to obtain focus stereo offset direction data; Step S332: performing focus azimuth offset trajectory analysis on the focus stereo offset direction data to obtain focus azimuth offset trajectory data; Step S333: calculating the stereo azimuth offset mean difference of the focus stereo offset direction data according to the focus azimuth offset trajectory data to obtain stereo azimuth offset mean difference data; Step S334: adjusting the object form movement visual error estimation data for viewing angle error according to the stereoscopic orientation offset mean difference data to obtain object form viewing angle focus adjustment data.
[0019] The present invention performs a focus stereo offset direction analysis during the movement of the object form, aiming to identify the stereo offset direction data of the object's view focus. This analysis helps determine the main direction of the view adjustment, that is, how to adjust the view in the stereo space to reduce the error, thereby improving the robot's ability to accurately identify and track the object form. The focus stereo offset direction data provides a basis for subsequent detailed analysis and adjustment. Focus azimuth offset trajectory analysis is performed based on the focus stereo offset direction data to obtain focus azimuth offset trajectory data. This step further refines the needs and patterns of view adjustment by analyzing the change trajectory of the focus offset in azimuth. The focus azimuth offset trajectory data reveals the dynamic changes in the view adjustment process, and provides detailed data support for the subsequent calculation of the mean difference of the stereo azimuth offset. The stereo azimuth offset mean difference is calculated using the focus azimuth offset trajectory data. The purpose of this step is to quantify the average difference of the stereo offset during the view adjustment process, that is, the stereo azimuth offset mean difference data. These data reflect the stability and accuracy of the view adjustment, and are helpful to evaluate the robot's ability to adjust the object form visual error under different conditions. The view error is adjusted for the object form movement visual error estimation data based on the stereo azimuth offset mean difference data. This step adjusts the visual error estimation data based on the mean difference data of the stereoscopic orientation offset obtained in the previous analysis to optimize the visual focus of the object shape. The object shape visual focus adjustment data effectively improves the robot's visual positioning ability and shape tracking accuracy in complex environments, thereby enhancing the overall operational efficiency and accuracy of the intelligent system.
[0020] Preferably, the present invention further provides an object recognition system for executing the object recognition method as described above, the object recognition system comprising: The pixel correction module is used to collect environment scanning video frames in the direction of travel through the laser radar camera carried by the sweeping robot to obtain environment scanning video frames; perform pixel relative correction on the environment scanning video frames to obtain video frame pixel relative correction data; The visual error estimation module is used to identify the waste object morphology of the environment scanning video frame according to the video frame pixel relative correction data to obtain the waste object morphology data; analyze the halo overlapping effect on the moving path of the waste object morphology data to obtain the object morphology halo overlapping effect data; and estimate the visual error on the moving path according to the object morphology halo overlapping effect data to obtain the object morphology moving visual error estimation data; A viewing angle error adjustment module is used to perform viewing angle error adjustment on the object form movement visual error estimation data to obtain object form viewing angle focus adjustment data; The automatic firmware design module is used to perform automatic firmware design on the object morphology perspective focus adjustment data to obtain automatic perspective focus adjustment firmware; the automatic perspective focus adjustment firmware is embedded into the underlying architecture of the sweeping robot to execute the object recognition method.
[0021] Preferably, a laser radar camera comprises a processor, a memory, and a computer program stored in the memory and executable on the processor, for executing any one of the object recognition methods described above.
[0022] The beneficial effect of the present invention is that during the automatic operation of the sweeping robot, the laser radar and the camera cooperate with each other to collect the environment scanning video frame. The laser radar can accurately measure the distance and shape of the surrounding environment, while the camera provides visual information, which together constitutes a real-time visual map of the environment. By performing pixel relative correction on the environment scanning video frame, the image distortion caused by the change of viewing angle or lens distortion can be eliminated, thereby ensuring the accuracy and reliability of the image data in the subsequent processing steps. This correction not only helps to improve the navigation accuracy of the robot in a complex environment, but also enhances its ability to perceive environmental changes, laying the foundation for subsequent autonomous decision-making and action planning. In the waste object morphology recognition stage, the robot can accurately identify the various waste object forms in the environment using the pixel-corrected video frame data. By analyzing the features of the object such as shape, size and color, various types of waste can be effectively distinguished, and subsequent processing and classification can be carried out accordingly. Especially in environmental cleaning and garbage disposal applications, this technology can greatly improve the work efficiency and accuracy of the robot, effectively reduce the need for manual intervention, thereby reducing operating costs and improving the cleanliness of the working environment. Analyzing the halo overlap effect on the moving path of the waste object morphology data is an important step after identifying and locating the waste. The halo overlap effect refers to the fuzzy boundary formed around the object, which is often caused by the reflection of the light source and the surface of the object. By analyzing the halo overlap effect, the location and morphological characteristics of the waste can be determined more accurately, and the robot's target positioning and grasping accuracy can be further improved. This analysis not only helps to avoid misgrasping or missing grasping, but also optimizes the robot's operation path, improves work efficiency and reduces resource waste. Finally, based on the object morphology movement visual error estimation data, the robot can adjust its motion path and grasping action in real time to reduce visual error and ensure accurate grasping of the target object. The visual error estimation is calculated by comparing the deviation between the actual movement and the expected path, which can help the robot operate stably and complete precise operations in complex environments. This technology not only improves the robot's autonomy and adaptability, but also enhances its practical application capabilities in various environments, bringing more possibilities and innovative solutions to the field of automated cleaning and item handling. The view error adjustment of the object morphology movement visual error estimation data is a correction process for the visual positioning deviation that occurs in the actual operation of the robot. By analyzing the perspective error data, the deviation of the robot in the visual perception process can be accurately calculated, and the robot's perspective focus can be adjusted accordingly to ensure that the target object can be more accurately identified and located in subsequent operations. This adjustment not only improves the robot's working accuracy in complex environments, but also effectively reduces the risk of misidentification and misoperation, thereby enhancing the stability and reliability of the overall system. The design and embedding of the automatic perspective focus adjustment firmware is a key step in embedding the optimized perspective focus adjustment algorithm and logic into the underlying architecture of the sweeping robot.Through automated firmware design, the precise control and execution capabilities of viewing angle adjustment can be integrated into the robot's control system to achieve real-time response and optimization of the visual recognition method. This integration not only simplifies the robot's operating procedures, but also greatly improves its adaptability and efficiency in different work scenarios. At the same time, the embedded automated viewing angle focus adjustment firmware also enables the robot to more flexibly adjust and optimize its visual perception capabilities in complex environments, thereby effectively improving its working performance and coping capabilities. Therefore, the present invention is an improved treatment of a traditional object recognition method, which solves the problem that a traditional object recognition method has a large estimation error of the visual error caused by the halo in the environment and a poor ability to correct the visual effect of light in the environment, reduces the estimation error of the visual error caused by the halo in the environment, and improves the ability to correct the visual effect of light in the environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 A schematic diagram of a process flow of an object recognition method; Figure 2 for Figure 1 Detailed implementation steps of step S2 in FIG.
[0024] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0025] The technical method of the present invention is described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by technicians in this field without creative work are within the scope of protection of the present invention.
[0026] In addition, the accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. The functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor methods and / or microcontroller methods.
[0027] It should be understood that, although the terms "first", "second", etc. may be used herein to describe various units, these units should not be limited by these terms. These terms are used only to distinguish one unit from another unit. For example, without departing from the scope of the exemplary embodiments, the first unit may be referred to as the second unit, and similarly the second unit may be referred to as the first unit. The term "and / or" used herein includes any and all combinations of one or more of the listed associated items.
[0028] To achieve this, please refer to Figure 1 to Figure 2 , an object recognition method, the method comprising the following steps: Step S1: using a laser radar camera mounted on the sweeping robot to collect environment scanning video frames in the direction of travel, to obtain environment scanning video frames; performing pixel relative correction on the environment scanning video frames, to obtain video frame pixel relative correction data; Step S2: performing waste object morphology recognition on the environment scanning video frame according to the video frame pixel relative correction data to obtain waste object morphology data; performing halo overlapping effect analysis on the waste object morphology data on the moving path to obtain object morphology halo overlapping effect data; performing visual error estimation on the moving path according to the object morphology halo overlapping effect data to obtain object morphology moving visual error estimation data; Step S3: adjusting the object form movement visual error estimation data for a viewing angle error to obtain object form viewing angle focus adjustment data; Step S4: Designing automatic firmware for the object morphology view and focus adjustment data to obtain automatic view and focus adjustment firmware; embedding the automatic view and focus adjustment firmware into the underlying architecture of the sweeping robot to execute the object recognition method.
[0029] In the embodiment of the present invention, reference Figure 1 The above is a schematic flow chart of the steps of an object recognition method of the present invention. In this example, the object recognition method includes the following steps: Step S1: using a laser radar camera mounted on the sweeping robot to collect environment scanning video frames in the direction of travel, to obtain environment scanning video frames; performing pixel relative correction on the environment scanning video frames, to obtain video frame pixel relative correction data; In an embodiment of the present invention, the laser radar camera carried by the sweeping robot collects environment scanning video frames in the direction of travel to obtain environment scanning video frames. In a specific implementation, the sweeping robot uses the laser radar and the camera to synchronously obtain information about the surrounding environment. The point cloud data generated by the laser radar is used to measure the distance and size of the object, while the camera is used to capture image information in the environment. During the march, the robot scans once at a fixed distance or time interval, and the video frames captured by the camera are synchronously processed with the distance data provided by the laser radar. These video frames are continuously transmitted to the processing unit inside the robot. In this process, each frame of video is matched with the corresponding point cloud data to form a two-dimensional image in a three-dimensional space, which is the environment scanning video frame. The environment scanning video frame is pixel-relatively corrected to obtain video frame pixel-relatively corrected data. In a specific implementation, the pixel-relative correction of the video frame is completed by comparing and adjusting the pixel position in the video frame with the distance data provided by the laser radar. First, each pixel point in the video frame is extracted, and the relative position of the pixel in the camera field of view is calculated. Next, this relative position is matched with the 3D point cloud data provided by the LiDAR, and the position of each pixel is adjusted to eliminate the error caused by the difference in viewing angles between the camera and the LiDAR. This process uses sophisticated vector operation tools to perform corrections pixel by pixel, ultimately generating accurate pixel-relative correction data so that each pixel in the image corresponds to a specific 3D spatial coordinate.
[0030] Step S2: performing waste object morphology recognition on the environment scanning video frame according to the video frame pixel relative correction data to obtain waste object morphology data; performing halo overlapping effect analysis on the waste object morphology data on the moving path to obtain object morphology halo overlapping effect data; performing visual error estimation on the moving path according to the object morphology halo overlapping effect data to obtain object morphology moving visual error estimation data; In an embodiment of the present invention, the waste object morphology is identified on the environment scanning video frame according to the relative correction data of the video frame pixels to obtain the waste object morphology data. In a specific implementation, the morphology identification of the waste object is achieved by performing shape analysis and edge detection on the corrected video frame. First, the edge information in the video frame is extracted using a morphological filtering method, and the waste morphology is preliminarily identified using a contour detection algorithm. Then, in combination with the depth information provided by the laser radar, these preliminarily identified morphologies are compared with the predefined waste shape model, and objects that do not conform to the waste morphology are eliminated, and finally the waste object morphology data is generated. The waste object morphology data is analyzed for the halo overlap effect on the moving path to obtain the object morphology halo overlap effect data. In a specific implementation, the halo overlap effect analysis is completed by evaluating the relative position of the waste object on the moving path and the angle of the light source. First, the position of the light source in the environment is calculated, and the irradiation of the light on the waste object at different angles is analyzed, with particular attention paid to the diffraction effect of the light in the edge area. This step uses an optical simulation tool to generate the halo effect generated by the light at the edge of the object and calculates the degree of halo overlap between adjacent objects. Through this analysis, the object morphology halo overlapping effect data can be obtained for subsequent visual error estimation. The visual error estimation on the moving path is performed based on the object morphology halo overlapping effect data to obtain the object morphology movement visual error estimation data. In the specific implementation, the visual error estimation is based on the halo overlapping effect data. By analyzing the visual blur area caused by halo overlap, the deviation between the object position perceived by the robot and the actual position is calculated. First, the area in the halo overlapping effect data that has a significant impact on visual blur is extracted, and the ray tracing algorithm is used to simulate the working conditions of the robot's visual sensor in this area. Next, the impact of these fuzzy areas on the robot's path planning is calculated, especially the impact of the blur of the object boundary on the robot's obstacle avoidance accuracy. Finally, these influencing factors are combined to generate the object morphology movement visual error estimation data to provide a reference for the next operation of the sweeping robot.
[0031] Step S3: adjusting the object form movement visual error estimation data for a viewing angle error to obtain object form viewing angle focus adjustment data; In an embodiment of the present invention, the object morphology moving visual error estimation data is adjusted for perspective error to obtain the object morphology perspective focus adjustment data. In a specific implementation, the perspective error adjustment is achieved by accurately calculating the deviation of the object morphology captured by the camera at different perspectives. First, based on the moving visual error estimation data, the morphological changes of the object edge and the halo overlapping area at different perspectives are analyzed. Geometric transformation and optical correction algorithms are used to guide these errors to a specific perspective focus point to ensure that the camera can consistently identify the true form of the object at different angles. In this process, a multiple interpolation algorithm is used to correct the edge of the object to reduce the morphological distortion caused by the halo overlapping effect. After these adjustments, the generated object morphology perspective focus adjustment data can accurately reflect the recognition results of the camera at different perspectives and improve the accuracy of object recognition.
[0032] Step S4: Designing automatic firmware for the object morphology view and focus adjustment data to obtain automatic view and focus adjustment firmware; embedding the automatic view and focus adjustment firmware into the underlying architecture of the sweeping robot to execute the object recognition method.
[0033] In an embodiment of the present invention, an automatic firmware design is performed on the object form perspective focus adjustment data to obtain an automatic perspective focus adjustment firmware. In a specific implementation, the automatic firmware design is based on the perspective focus adjustment data, and the embedded system development tool is used to perform firmware encoding and optimization. First, the characteristics and dependencies of each parameter in the perspective focus adjustment data are analyzed, and these parameters are embedded in the control logic of the firmware. Then, an algorithm module for processing the perspective error is designed using a hardware description language (such as VHDL or Verilog), and these modules are integrated into the firmware. In this design process, the execution efficiency of the firmware is optimized by a timing analysis tool to ensure that the firmware can respond to the image data collected by the camera in real time and perform dynamic adjustments when necessary. The final generated automatic perspective focus adjustment firmware contains the implementation logic of all perspective error correction algorithms, and can automatically adjust the perspective of the object form during the operation of the sweeping robot. The automatic perspective focus adjustment firmware is embedded in the underlying architecture of the sweeping robot to execute the object recognition method. In a specific implementation, the automatic perspective focus adjustment firmware is loaded into the embedded control system of the underlying architecture of the sweeping robot, and the firmware needs to be written into the non-volatile memory of the robot main control chip through a dedicated debugging interface. After the firmware is embedded, the perspective adjustment logic in the firmware will be automatically loaded when the robot starts, and interact with the data streams of the lidar and camera in real time. The firmware workflow first processes the real-time images collected by the camera and adjusts the object shape based on a pre-designed algorithm. In order to ensure the stable operation of the firmware, the integrated debugging environment (IDE) is used to monitor the entire embedding process, and multiple real-time tests are performed to verify the firmware's response speed and processing accuracy. In this way, it is ensured that the firmware can effectively execute the object recognition method and improve the recognition ability and navigation efficiency of the sweeping robot in complex environments.
[0034] Preferably, step S1 comprises the following steps: Step S11: collecting environment scanning video frames in the direction of travel by using a laser radar camera carried by the sweeping robot to obtain environment scanning video frames; Step S12: performing color distribution feature analysis on the environment scanning video frame to obtain environment color distribution feature data; Step S13: performing background depth change analysis on the environment scanning video frame according to the environment color distribution feature data to obtain environment background depth change data; Step S14: performing pixel relative correction on the environment scanning video frame according to the environment background depth change data and the environment color distribution characteristic data to obtain video frame pixel relative correction data.
[0035] In an embodiment of the present invention, a laser radar camera mounted on a sweeping robot collects environment scanning video frames in the direction of travel to obtain environment scanning video frames. In a specific implementation, the sweeping robot continuously uses the laser radar and the camera to perform synchronous environment scanning during its forward movement. The laser radar emits a laser beam at a certain frequency per second and receives the reflected signal to generate three-dimensional point cloud data of surrounding objects, while the camera simultaneously captures video frames of the front environment. These video frames are synchronously matched with the point cloud data generated by the laser radar to form two-dimensional and three-dimensional information of the environment. This process is carried out by a dedicated embedded image processing unit to ensure that high-quality video frames can be accurately obtained under various light conditions, and transmitted to the processor inside the robot through a high-speed data bus to generate environment scanning video frames. The environment scanning video frames are subjected to color distribution feature analysis to obtain environment color distribution feature data. In a specific implementation, the color distribution feature analysis adopts a color histogram analysis method to extract color features from each frame of the environment scanning video frame. First, a color space conversion tool is used to convert the video frame from the RGB color space to the HSV color space to reduce the impact of light changes on color recognition. Next, by analyzing each pixel of the image, the distribution of different colors in the video frame is counted, and a color histogram is generated. The histogram can reflect the proportion of different colors in the environment and their distribution positions in the image, forming environmental color distribution feature data. These data will then be used for further image processing and background analysis steps. The background depth change analysis of the environment scanning video frame is performed according to the environmental color distribution feature data to obtain the environmental background depth change data. In the specific implementation, the background depth change analysis is completed by combining the color distribution feature with the depth information generated by the laser radar. First, the main color of each area in the video frame is determined using the color distribution feature data, and these areas are associated with the depth data of the laser radar for analysis. Then, the foreground object and the background in the image are distinguished using the deep image segmentation technology, and the depth change of different color areas is calculated. In this way, the depth change of the background can be accurately analyzed, especially in scenes with color gradients or complex lighting conditions. These analyzed depth change data will provide a basis for the subsequent pixel correction. The environment scanning video frame is pixel-relatively corrected according to the environmental background depth change data and the environmental color distribution feature data to obtain the video frame pixel-relative correction data. In specific implementation, pixel relative correction is accomplished by jointly adjusting the depth and color of each pixel in the video frame. First, based on the environmental background depth change data, the depth information of each pixel in the video frame is corrected to eliminate the perspective distortion caused by the change in camera viewing angle. Then, based on the environmental color distribution feature data, the color value of each pixel is adjusted to keep it consistent with the color in the actual environment, especially in areas with uneven lighting intensity or color transition.This process uses a precise pixel interpolation algorithm to process each pixel frame by frame to ensure that the corrected image accurately reflects the actual environment and generates video frame pixel relative correction data. This data will provide basic support in the subsequent object recognition process to ensure the accuracy and reliability of object recognition.
[0036] Preferably, step S14 comprises the following steps: Step S141: performing background color gradient analysis on the environmental background depth change data to obtain background color gradient data; Step S142: Calculating the multi-point gradient pixel loss difference of the environmental background depth change data according to the background color gradient data to obtain the multi-point gradient pixel loss difference data; Step S143: performing visual continuity loss evaluation on the multi-point gradual pixel loss difference data to obtain multi-point pixel visual continuity loss data; Step S144: performing multi-point color structure adjustment on the environmental color distribution characteristic data according to the multi-point pixel visual continuity loss data to obtain multi-point color structure adjustment data; Step S145: Perform pixel relative correction on the environment scan video frame according to the multi-point pixel visual continuity loss data and the multi-point color structure adjustment data to obtain video frame pixel relative correction data.
[0037] In an embodiment of the present invention, background color gradient analysis is performed on the environmental background depth change data to obtain background color gradient data. In a specific implementation, an image gradient calculation tool is used to analyze the color gradient of each pixel in the environmental background depth change data. First, the color gradient change of the image in the horizontal and vertical directions is calculated by the Sobel operator or a similar image processing algorithm. Then, the gradient data in each direction are integrated to obtain background color gradient maps, which can show the color change rate and direction of different regions, especially capture the areas where the gradient changes slowly or sharply. These gradient data are output in the form of a matrix to form background color gradient data, which provides a basis for subsequent pixel loss difference calculation. According to the background color gradient data, the environmental background depth change data is subjected to multi-point gradient pixel loss difference calculation to obtain multi-point gradient pixel loss difference data. In a specific implementation, the background color gradient data is compared and calculated pixel by pixel with the environmental background depth change data to identify the depth error accumulation area caused by color gradient in the background. A specific error calculation formula is used to calculate the gradient pixel loss difference at different depth levels in these regions. In order to accurately evaluate the error of multiple points, a multi-point sampling method is used to set multiple sampling points in each specific depth area, calculate the loss difference of each point, and finally integrate these data into multi-point gradient pixel loss difference data. These data are used to evaluate the changes in visual continuity during the gradient process. The visual continuity loss of the multi-point gradient pixel loss difference data is evaluated to obtain the visual continuity loss data of the multi-point pixel. In the specific implementation, the visual continuity evaluation tool is used to analyze the multi-point gradient pixel loss difference data. During the evaluation, a visual model of the multi-point pixel is first constructed based on the loss difference data to simulate the visual illusion or discontinuity caused by the color gradient in actual observation. Then, by calculating the difference between pixels at different depth levels, the degree of visual continuity loss is quantified to generate multi-point pixel visual continuity loss data. These data reflect the discontinuous areas of visual effects caused by the gradient and depth changes of the background color in visual observation, which are helpful for the color structure adjustment in the subsequent steps. The multi-point color structure adjustment is performed on the environmental color distribution feature data according to the multi-point pixel visual continuity loss data to obtain the multi-point color structure adjustment data. In the specific implementation, the image restoration and enhancement algorithm is used to adjust the color structure of the areas related to the loss of visual continuity in the environmental color distribution feature data. First, the areas with large visual continuity loss are located and the color distribution characteristics in these areas are analyzed. Then, the point-by-point tone mapping method is applied to adjust the color values of these areas so that the color transition between adjacent pixels is smoother, thereby reducing visual discontinuity. Finally, multi-point color structure adjustment data is generated, which provides optimized color information for the next step of pixel relative correction.According to the multi-point pixel visual continuity loss data and the multi-point color structure adjustment data, the environment scanning video frame is subjected to pixel relative correction to obtain the video frame pixel relative correction data. In the specific implementation, the pixel relative correction first combines the multi-point pixel visual continuity loss data and the multi-point color structure adjustment data to accurately correct the affected pixels in the video frame. A dual interpolation algorithm is used to consider the depth relationship between pixels and adjust the smoothness of the color gradient to ensure that the corrected image is visually continuous and reflects the depth information of the actual environment. After this process, the corrected video frame can maintain a high recognition accuracy in an environment with uneven lighting or complex colors, and finally obtains the video frame pixel relative correction data, which improves the object recognition ability of the sweeping robot in complex environments.
[0038] Preferably, step S2 comprises the following steps: Step S21: performing waste object morphology recognition on the environment scanning video frame according to the video frame pixel relative correction data to obtain waste object morphology data; Step S22: performing ambient light movement change analysis on the waste object morphology data based on the environment scanning video frame to obtain ambient light movement change data; Step S23: analyzing the halo overlapping effect of the waste object shape data on the moving path according to the ambient light movement change data to obtain the object shape halo overlapping effect data; Step S24: performing visual error estimation on the moving path of the waste object shape data according to the object shape halo overlapping effect data to obtain object shape moving visual error estimation data.
[0039] As an example of the present invention, refer to Figure 2 As shown, in this example, step S2 includes: Step S21: performing waste object morphology recognition on the environment scanning video frame according to the video frame pixel relative correction data to obtain waste object morphology data; In an embodiment of the present invention, waste object morphology is identified in environmental scanning video frames according to the relative correction data of video frame pixels to obtain waste object morphology data. In a specific implementation, the video frames are first processed frame by frame by image segmentation technology to separate potential waste morphology from the background. In this process, the pixel relative correction data is used to perform preliminary contour extraction to ensure that the boundaries of the waste are clear and clearly distinguishable from the background. Subsequently, edge detection and morphological operations are used to further refine these extracted contours to generate waste object morphology data. These data contain the outline, size and shape information of the waste, and can provide a basis for subsequent halo overlap effect analysis.
[0040] Step S22: performing ambient light movement change analysis on the waste object morphology data based on the environment scanning video frame to obtain ambient light movement change data; In an embodiment of the present invention, the movement and change of ambient light is analyzed for the waste object morphology data based on the environment scanning video frame to obtain the movement and change data of ambient light. In a specific implementation, the time series data of light changes in the environment scanning video frame is used to analyze the movement trajectory of ambient light on the surface and surroundings of the waste at different time points. To this end, the brightness and shadow distribution in the video frame are first analyzed by light intensity gradient change detection technology to identify the movement path of the ambient light source. Then, combined with the waste object morphology data, the reflection and scattering behavior of the light is finely modeled to generate the movement and change data of ambient light. This data specifically describes how ambient light moves on the surface of an object and affects the visibility of the object, thereby laying a data foundation for the subsequent analysis of the halo overlapping effect.
[0041] Step S23: analyzing the halo overlapping effect of the waste object shape data on the moving path according to the ambient light movement change data to obtain the object shape halo overlapping effect data; In an embodiment of the present invention, the halo overlapping effect on the moving path of the waste object morphology data is analyzed according to the ambient light movement change data to obtain the object morphology halo overlapping effect data. In a specific implementation, the projection angle and light intensity of the ambient light source at different time points are first determined in combination with the ambient light movement change data. Then, the halo phenomenon appearing on the surface of the waste object is modeled through the halo effect simulation algorithm, especially when the light projection angle changes, the diffusion and overlapping areas of the halo are captured. Finally, an iterative calculation method is used to evaluate the superposition effect of the halo at different path points to obtain the object morphology halo overlapping effect data. These data describe in detail how the halo phenomenon is formed on the surface of the waste and affects its visual presentation in the image, providing a key basis for the next step of visual error estimation.
[0042] Step S24: performing visual error estimation on the moving path of the waste object shape data according to the object shape halo overlapping effect data to obtain object shape moving visual error estimation data.
[0043] In an embodiment of the present invention, the visual error of the waste object morphology data on the moving path is estimated based on the object morphology halo overlapping effect data to obtain the object morphology movement visual error estimation data. In a specific implementation, the visual deviation points of the waste morphology under the influence of the halo are first identified by analyzing the halo overlapping effect data. Then, the visual error estimation algorithm is used to calculate the degree of morphological deviation caused by halo overlap at different moving path points point by point. In this process, special attention is paid to the contour blur and shape deformation in the halo overlapping area, and the error matrix is used to describe the spatial distribution of these visual errors. The object morphology movement visual error estimation data finally generated can accurately reflect the visual deviation caused by light changes during the movement of the sweeping robot, and ensure the accuracy of subsequent object recognition.
[0044] Preferably, step S23 includes the following steps: Step S231: Calculate the light scattering angle of the waste object shape data on the moving path according to the ambient light movement change data to obtain light scattering angle data; Step S232: performing optical coherence layer interference analysis on the waste object shape data on the moving path based on the light scattering angle data to obtain moving behavior optical coherence layer interference data; Step S233: performing geometric structure interleaving analysis on the waste object morphology data on the moving path according to the moving behavior optical coherence layer interference data to obtain morphology optical geometric structure interleaving data; Step S234: performing dynamic halo non-uniformity analysis on the morphological optical geometric structure interleaved data to obtain dynamic halo non-uniformity data; Step S235: analyzing the halo overlapping effect on the moving path according to the morphological optical geometric structure interleaving data and the dynamic halo non-uniformity data to obtain the object morphological halo overlapping effect data.
[0045] In an embodiment of the present invention, the light scattering angle of the waste object morphology data on the moving path is calculated according to the ambient light movement change data to obtain the light scattering angle data. In the specific implementation, the ambient light movement change data is first analyzed by a ray tracing algorithm to calculate the incident angle and reflection angle of the light at different positions on the waste surface. The calculation of the light scattering angle needs to consider the optical properties of the surface material, including the refractive index and the reflection coefficient. By analyzing the light scattering path in the video frame frame by frame, the waste object morphology is accurately simulated using a three-dimensional geometric modeling tool to obtain the light scattering angle data of each path point. This data provides basic parameters for the subsequent optical coherence layer interference analysis. Based on the light scattering angle data, the waste object morphology data is analyzed on the moving path by optical coherence layer interference to obtain the moving behavior optical coherence layer interference data. In the specific implementation, the optical coherence layer interference algorithm is first used to simulate the optical coherence phenomenon of the waste surface at different light scattering angles. This process involves the accurate calculation of the phase difference and interference intensity of the light wave, and the coherence layer interference images of different path points are generated using the interferometer simulation tool. By comparing the interference images under different light scattering angles, the distribution of bright and dark stripes on the waste surface caused by light wave interference is extracted, and finally the moving behavior optical coherence layer interference data is obtained. This data describes in detail the visual performance of the waste object morphology under the action of optical interference, and provides a reference for the subsequent geometric structure interlacing analysis. According to the moving behavior optical coherence layer interference data, the geometric structure interlacing analysis of the waste object morphology data on the moving path is performed to obtain the morphological optical geometric structure interlacing data. In the specific implementation, the optical coherence layer interference data is first combined with the geometric morphological data of the waste object to analyze the changes in the interference pattern caused by the change in the geometric shape of the light on the moving path. By applying the geometric optics method, the three-dimensional geometric model of the waste object is calculated point by point at the interlacing angle, and combined with the coherence layer interference data on the moving path, the scattering and reflection behavior of the light in the geometric structure interlacing area is identified. The generated morphological optical geometric structure interlacing data contains the optical interference characteristics caused by the change in the geometric morphology of the object, which lays the foundation for the next step of dynamic halo non-uniformity analysis. The dynamic halo non-uniformity analysis is performed on the morphological optical geometric structure interlaced data to obtain dynamic halo non-uniformity data. In the specific implementation, the dynamic halo simulation algorithm is used to analyze the halo distribution of waste objects in different geometric structure interlaced areas. In this process, the morphological optical geometric structure interlaced data is input into the halo model, and the propagation path and intensity distribution of light in these areas are analyzed point by point. Special attention is paid to the diffusion and superposition effects of the halo on the non-uniform surface, and the degree of non-uniformity of the halo boundary is accurately measured through the light intensity gradient analysis tool. The dynamic halo non-uniformity data finally obtained describes in detail the halo non-uniformity phenomenon caused by the geometric structure changes of the waste object morphology at different moving path points, providing key data support for the subsequent halo overlapping effect analysis.According to the morphological optical geometric structure interlaced data and dynamic halo non-uniformity data, the halo overlapping effect on the moving path is analyzed to obtain the object morphology halo overlapping effect data. In the specific implementation, the morphological optical geometric structure interlaced data and the dynamic halo non-uniformity data are first integrated to construct a halo superposition model of the waste object morphology at different moving path points. Through the halo overlapping effect simulation tool, the halo effect of the waste in the actual path is analyzed frame by frame to identify the overlapping areas of the halo at different times and positions. Special attention is paid to the light intensity changes and visual blur in the halo overlapping area, and the object morphology halo overlapping effect data is finally generated by quantifying the halo overlapping effect. This data accurately describes the visual deviation of waste objects under the action of light, and provides a reliable basis for subsequent object recognition algorithms.
[0046] Preferably, step S24 comprises the following steps: Step S241: calculating the halo overlapping radius of the object shape halo overlapping effect data to obtain halo overlapping radius data; Step S242: performing boundary diffusion time series deconstruction on the object shape halo overlap effect data according to the halo overlap radius data to obtain halo overlap diffusion time series deconstruction data; Step S243: performing a moving perspective blur intensity simulation on the halo overlapping diffusion time series deconstruction data to obtain halo moving perspective blur intensity data; Step S244: performing three-dimensional geometric mapping based on the halo moving perspective blur intensity data to obtain three-dimensional moving perspective blur geometric mapping data; Step S245: performing angle switching fuzzy relationship mining on the halo moving perspective fuzzy intensity data according to the three-dimensional moving perspective fuzzy geometric mapping data to obtain angle switching fuzzy relationship data; Step S246: Estimating the visual error of the waste object shape data on the moving path according to the angle switching fuzzy relationship data and the halo movement viewing angle fuzzy intensity data, to obtain object shape movement visual error estimation data.
[0047] In an embodiment of the present invention, the halo overlap radius of the object morphology halo overlap effect data is calculated to obtain the halo overlap radius data. In a specific implementation, the halo overlap area is analyzed pixel by pixel, and the outer edge of the halo is accurately identified using an edge detection algorithm. In combination with the light intensity distribution map and the morphological analysis tool, the curvature of the halo boundary is measured to obtain the halo radius of each overlapping area. In this process, the influence of the light source direction, the reflection characteristics of the object surface and the incident light angle on the formation of the halo is considered. According to the halo overlap radius data, the boundary diffusion time series deconstruction of the object morphology halo overlap effect data is performed to obtain the halo overlap diffusion time series deconstruction data. In a specific implementation, the halo overlap radius data is first combined with the time series data, and the dynamic changes of the halo boundary are analyzed frame by frame using the diffusion equation. The process uses a time series deconstruction algorithm to accurately model the diffusion speed and direction of the halo, and combines the moving trajectory of the halo boundary to analyze the expansion path of the halo at different time points. By analyzing the changes in the overlapping area of the halo at different time points, the halo overlap diffusion time series deconstruction data is generated, providing accurate time resolution data support for subsequent blur intensity simulation. The blur intensity of the halo overlap diffusion time series deconstruction data is simulated to obtain the blur intensity data of the halo movement perspective. In the specific implementation, the blur effect of the halo on the moving path is simulated frame by frame using the perspective simulation algorithm. In this process, the three-dimensional morphology of the waste object and the changes of the halo overlap area at different perspectives are considered, and the blurred images at different angles are generated by adjusting the simulated perspective. The optical blur effect calculation tool is used to quantitatively analyze the intensity distribution of the blurred area, and combined with the time series deconstruction data, the blur changes of the halo during the movement are tracked. The halo movement perspective blur intensity data finally obtained accurately describes the halo blur degree of the object morphology at different perspectives, providing key input data for three-dimensional geometric mapping. Three-dimensional geometric mapping is performed based on the halo movement perspective blur intensity data to obtain three-dimensional movement perspective blur geometric mapping data. In the specific implementation, the halo movement perspective blur intensity data is input into the three-dimensional modeling tool, and the three-dimensional model of the waste object is constructed using the geometric mapping algorithm. By performing three-dimensional reconstruction of the halo effect on the surface of the object and combining the blur intensity data at different perspectives, a halo distribution model of the object in three-dimensional space is generated. This model not only accurately shows the impact of halo on the geometric morphology of the object surface during movement, but also takes into account the dynamic changes of the light source and the different observation angles. The three-dimensional moving perspective fuzzy geometric mapping data finally generated provides an accurate three-dimensional geometric basis for further mining of angle switching fuzzy relationships. According to the three-dimensional moving perspective fuzzy geometric mapping data, the angle switching fuzzy relationship of the halo moving perspective fuzzy intensity data is mined to obtain the angle switching fuzzy relationship data. In the specific implementation, the angle analysis algorithm is used to perform multi-angle simulation on the three-dimensional geometric mapping model to analyze the halo blur effect under different observation angles.The process identifies the blur change law when the angle is switched by comparing the halo blur intensity data under different viewing angles. Using data mining tools, the blur intensity changes during the angle switching process are deeply analyzed to extract the key angle switching blur relationship. The generated angle switching fuzzy relationship data provides accurate angle reference and blur intensity parameters for subsequent visual error estimation. The visual error of the waste object morphology data on the moving path is estimated according to the angle switching fuzzy relationship data and the halo moving perspective blur intensity data to obtain the object morphology moving visual error estimation data. In the specific implementation, the angle switching fuzzy relationship data and the halo moving perspective blur intensity data are first integrated to construct a visual error estimation model. By analyzing the blur intensity changes of the waste object on different moving paths frame by frame, the visual deviation caused by perspective switching and halo overlapping effects is identified. Using the error analysis tool, the visual offset of the object on different paths is accurately calculated, and the fuzzy relationship during angle switching is considered to finally generate the object morphology moving visual error estimation data. This data provides a reliable error correction basis for the sweeping robot to perform accurate object recognition in complex environments.
[0048] Preferably, step S3 comprises the following steps: Step S31: extracting visual error reference from the object form movement visual error estimation data to obtain visual error reference data; Step S32: performing object perspective focus offset analysis on the object form movement visual error estimation data according to the visual error reference data to obtain object perspective focus offset data; Step S33: adjusting the object form movement visual error estimation data for a viewing angle error according to the object viewing angle focus offset data to obtain object form viewing angle focus adjustment data.
[0049] In an embodiment of the present invention, visual error reference data is generated by extracting visual error reference from the object morphology movement visual error estimation data. First, the object morphology movement visual error estimation data generated in the above steps needs to be obtained. Using precision image processing tools, the object morphology and movement path in each frame of video are analyzed, and the key factors affecting the error are identified by calculating and comparing the morphology changes at different time points pixel by pixel. Through these key factors, such as light reflection, perspective offset, and morphology change, reference points of the error are extracted, and these reference points are used to generate visual error reference data. This data is used to provide a benchmark in subsequent analysis to ensure that the error calculation has consistency and reference value. According to the generated visual error reference data, the object morphology movement visual error estimation data is analyzed for object perspective focus offset to obtain object perspective focus offset data. During the operation, the perspective focus point of each reference point is first located, and the visual offset of the object at different perspectives is analyzed by measuring the offset between the actual perspective and the ideal perspective. Using an image correction algorithm, the offset degree of each perspective is numerically evaluated in combination with the reference data, and finally the object perspective focus offset data is generated. This data reflects the focus offset of the object caused by the visual error at different observation angles, laying the foundation for subsequent perspective adjustment. According to the object perspective focus offset data, the object morphology movement visual error estimation data is adjusted for perspective error to generate object morphology perspective focus adjustment data. First, the object perspective focus offset data is used to adjust the perspective of each position of the object in the video frame. Image restoration technology is used in the operation to correct the offset data points one by one, and the morphological deformation caused by the perspective error is corrected through iterative processing. Through frame-by-frame processing, it is ensured that the perspective error of the object on the entire moving path is fully adjusted. Finally, the generated object morphology perspective focus adjustment data ensures that the object morphology in the video frame maintains consistency and accuracy, reduces the impact of visual errors, and improves the recognition effect.
[0050] Preferably, step S33 includes the following steps: Step S331: performing a focus stereo offset direction analysis on the object perspective focus offset data to obtain focus stereo offset direction data; Step S332: performing focus azimuth offset trajectory analysis on the focus stereo offset direction data to obtain focus azimuth offset trajectory data; Step S333: calculating the stereo azimuth offset mean difference of the focus stereo offset direction data according to the focus azimuth offset trajectory data to obtain stereo azimuth offset mean difference data; Step S334: adjusting the object form movement visual error estimation data for viewing angle error according to the stereoscopic orientation offset mean difference data to obtain object form viewing angle focus adjustment data.
[0051] In an embodiment of the present invention, the focus offset direction data is obtained by performing a focus stereo offset direction analysis on the focus offset data of the object viewing angle. First, the three-dimensional space data obtained by the laser radar camera is analyzed to perform a stereo analysis on the focus offset of the object at different viewing angles. By analyzing the deviation between the object position and the ideal position at each viewing angle, the stereo offset in each direction is calculated. The geometric analysis tool is used to determine the stereo offset direction in the three-dimensional space, and these directions reflect the actual movement path of the object at different viewing angles. The focus stereo offset direction data finally generated provides specific direction information of the stereo offset, laying the foundation for further trajectory analysis. The focus azimuth offset trajectory analysis is performed on the focus stereo offset direction data to obtain the focus azimuth offset trajectory data. In the operation, the azimuth information in the stereo offset direction data is first extracted, and combined with the actual movement trajectory of the object at different viewing angles. The trajectory analysis tool is used to draw the movement trajectory of the object in the three-dimensional space, and the offset trajectory at each azimuth is calculated. This process includes recording and analyzing the movement path of the object at different viewing angles, finding the rules and deviations on the trajectory, and the focus azimuth offset trajectory data finally obtained shows the actual movement path and trajectory changes of the object at different viewing angles. According to the focus azimuth offset trajectory data, the stereo azimuth offset mean difference is calculated for the focus stereo offset direction data to obtain the stereo azimuth offset mean difference data. First, the focus azimuth offset trajectory data is compared with the preset ideal trajectory to calculate the actual deviation of each offset direction. These deviation values are statistically analyzed under multiple viewing angles to calculate the mean square error in each direction and determine the average offset of the stereo azimuth. This process ensures that the offset under each viewing angle is accurately quantified through point-by-point comparison and statistical analysis. The stereo azimuth offset mean difference data finally generated provides a basis for viewing angle error adjustment. According to the stereo azimuth offset mean difference data, the object morphology movement visual error estimation data is adjusted for viewing angle error to obtain the object morphology viewing angle focus adjustment data. First, the average offset of the object in the viewing angle is analyzed using the mean difference data, and then the object morphology movement visual error is corrected using this data. The position and shape of the object in the image are adjusted to align with the ideal state. The process includes applying correction parameters at each viewing angle to gradually adjust the image to compensate for the visual error. The object morphology perspective focus adjustment data finally generated ensures that the visual performance of the object remains consistent throughout the entire moving path, reduces the impact of errors, and improves the accuracy of object recognition.
[0052] Preferably, the present invention further provides an object recognition system for executing the object recognition method as described above, the object recognition system comprising: The pixel correction module is used to collect environment scanning video frames in the direction of travel through the laser radar camera carried by the sweeping robot to obtain environment scanning video frames; perform pixel relative correction on the environment scanning video frames to obtain video frame pixel relative correction data; The visual error estimation module is used to identify the waste object morphology of the environment scanning video frame according to the video frame pixel relative correction data to obtain the waste object morphology data; analyze the halo overlapping effect on the moving path of the waste object morphology data to obtain the object morphology halo overlapping effect data; and estimate the visual error on the moving path according to the object morphology halo overlapping effect data to obtain the object morphology moving visual error estimation data; A viewing angle error adjustment module is used to perform viewing angle error adjustment on the object form movement visual error estimation data to obtain object form viewing angle focus adjustment data; The automatic firmware design module is used to perform automatic firmware design on the object morphology perspective focus adjustment data to obtain automatic perspective focus adjustment firmware; the automatic perspective focus adjustment firmware is embedded into the underlying architecture of the sweeping robot to execute the object recognition method.
[0053] Preferably, a laser radar camera comprises a processor, a memory, and a computer program stored in the memory and executable on the processor, for executing any one of the object recognition methods described above.
[0054] Therefore, the embodiments should be regarded as illustrative and non-restrictive from all points, and the scope of the present invention is limited by the appended claims rather than the above description, and it is therefore intended that all changes falling within the meaning and range of equivalent elements of the application documents are included in the present invention.
[0055] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.
Claims
1. An object recognition method, characterized in that: The following steps are involved: Step S1: using a laser radar camera mounted on the sweeping robot to collect environment scanning video frames in the direction of travel, to obtain environment scanning video frames; performing pixel relative correction on the environment scanning video frames, to obtain video frame pixel relative correction data; Step S2: performing waste object morphology recognition on the environment scanning video frame according to the video frame pixel relative correction data to obtain waste object morphology data; performing halo overlapping effect analysis on the waste object morphology data on the moving path to obtain object morphology halo overlapping effect data; According to the halo overlapping effect data of the object shape, the visual error on the moving path is estimated to obtain the object shape moving visual error estimation data; Step S3: adjusting the object form movement visual error estimation data for a viewing angle error to obtain object form viewing angle focus adjustment data; Step S4: Designing automatic firmware for the object shape viewing angle and focus adjustment data to obtain automatic viewing angle and focus adjustment firmware; The automatic view focus adjustment firmware is embedded into the underlying architecture of the sweeping robot to implement the object recognition method.
2. The object recognition method according to claim 1, characterized in that: Step S1 includes the following steps: Step S11: collecting environment scanning video frames in the direction of travel by using a laser radar camera carried by the sweeping robot to obtain environment scanning video frames; Step S12: performing color distribution feature analysis on the environment scanning video frame to obtain environment color distribution feature data; Step S13: performing background depth change analysis on the environment scanning video frame according to the environment color distribution feature data to obtain environment background depth change data; Step S14: performing pixel relative correction on the environment scanning video frame according to the environment background depth change data and the environment color distribution characteristic data to obtain video frame pixel relative correction data.
3. The object recognition method according to claim 2, characterized in that: Step S14 includes the following steps: Step S141: performing background color gradient analysis on the environmental background depth change data to obtain background color gradient data; Step S142: Calculating the multi-point gradient pixel loss difference of the environmental background depth change data according to the background color gradient data to obtain the multi-point gradient pixel loss difference data; Step S143: performing visual continuity loss evaluation on the multi-point gradual pixel loss difference data to obtain multi-point pixel visual continuity loss data; Step S144: performing multi-point color structure adjustment on the environmental color distribution characteristic data according to the multi-point pixel visual continuity loss data to obtain multi-point color structure adjustment data; Step S145: Perform pixel relative correction on the environment scan video frame according to the multi-point pixel visual continuity loss data and the multi-point color structure adjustment data to obtain video frame pixel relative correction data.
4. The object recognition method according to claim 1, characterized in that: Step S2 includes the following steps: Step S21: performing waste object morphology recognition on the environment scanning video frame according to the video frame pixel relative correction data to obtain waste object morphology data; Step S22: performing ambient light movement change analysis on the waste object morphology data based on the environment scanning video frame to obtain ambient light movement change data; Step S23: analyzing the halo overlapping effect of the waste object shape data on the moving path according to the ambient light movement change data to obtain the object shape halo overlapping effect data; Step S24: performing visual error estimation on the moving path of the waste object shape data according to the object shape halo overlapping effect data to obtain object shape moving visual error estimation data.
5. The object recognition method according to claim 4, characterized in that: Step S23 includes the following steps: Step S231: Calculate the light scattering angle of the waste object shape data on the moving path according to the ambient light movement change data to obtain light scattering angle data; Step S232: performing optical coherence layer interference analysis on the waste object shape data on the moving path based on the light scattering angle data to obtain moving behavior optical coherence layer interference data; Step S233: performing geometric structure interleaving analysis on the waste object morphology data on the moving path according to the moving behavior optical coherence layer interference data to obtain morphology optical geometric structure interleaving data; Step S234: performing dynamic halo non-uniformity analysis on the morphological optical geometric structure interleaved data to obtain dynamic halo non-uniformity data; Step S235: analyzing the halo overlapping effect on the moving path according to the morphological optical geometric structure interleaving data and the dynamic halo non-uniformity data to obtain the object morphological halo overlapping effect data.
6. The object recognition method according to claim 4, characterized in that: Step S24 includes the following steps: Step S241: calculating the halo overlapping radius of the object shape halo overlapping effect data to obtain halo overlapping radius data; Step S242: performing boundary diffusion time series deconstruction on the object shape halo overlap effect data according to the halo overlap radius data to obtain halo overlap diffusion time series deconstruction data; Step S243: performing a moving perspective blur intensity simulation on the halo overlapping diffusion time series deconstruction data to obtain halo moving perspective blur intensity data; Step S244: performing three-dimensional geometric mapping based on the halo moving perspective blur intensity data to obtain three-dimensional moving perspective blur geometric mapping data; Step S245: performing angle switching fuzzy relationship mining on the halo moving perspective fuzzy intensity data according to the three-dimensional moving perspective fuzzy geometric mapping data to obtain angle switching fuzzy relationship data; Step S246: Estimating the visual error of the waste object shape data on the moving path according to the angle switching fuzzy relationship data and the halo movement viewing angle fuzzy intensity data, to obtain object shape movement visual error estimation data.
7. The object recognition method according to claim 1, characterized in that: Step S3 includes the following steps: Step S31: extracting visual error reference from the object form movement visual error estimation data to obtain visual error reference data; Step S32: performing object perspective focus offset analysis on the object form movement visual error estimation data according to the visual error reference data to obtain object perspective focus offset data; Step S33: adjusting the object form movement visual error estimation data for a viewing angle error according to the object viewing angle focus offset data to obtain object form viewing angle focus adjustment data.
8. The object recognition method according to claim 7, characterized in that: Step S33 includes the following steps: Step S331: performing a focus stereo offset direction analysis on the object perspective focus offset data to obtain focus stereo offset direction data; Step S332: performing focus azimuth offset trajectory analysis on the focus stereo offset direction data to obtain focus azimuth offset trajectory data; Step S333: calculating the stereo azimuth offset mean difference of the focus stereo offset direction data according to the focus azimuth offset trajectory data to obtain stereo azimuth offset mean difference data; Step S334: adjusting the object form movement visual error estimation data for viewing angle error according to the stereoscopic orientation offset mean difference data to obtain object form viewing angle focus adjustment data.
9. An object recognition system, characterized in that: For executing the object recognition method according to claim 1, the object recognition system comprises: The pixel correction module is used to collect environment scanning video frames in the direction of travel through the laser radar camera carried by the sweeping robot to obtain environment scanning video frames; perform pixel relative correction on the environment scanning video frames to obtain video frame pixel relative correction data; The visual error estimation module is used to identify the waste object morphology of the environment scanning video frame according to the video frame pixel relative correction data to obtain the waste object morphology data; analyze the halo overlapping effect on the moving path of the waste object morphology data to obtain the object morphology halo overlapping effect data; and estimate the visual error on the moving path according to the object morphology halo overlapping effect data to obtain the object morphology moving visual error estimation data; A viewing angle error adjustment module is used to perform viewing angle error adjustment on the object form movement visual error estimation data to obtain object form viewing angle focus adjustment data; The automatic firmware design module is used to perform automatic firmware design on the object morphology perspective focus adjustment data to obtain automatic perspective focus adjustment firmware; the automatic perspective focus adjustment firmware is embedded into the underlying architecture of the sweeping robot to execute the object recognition method.
10. A laser radar camera, characterized in that: A processor, a memory, and a computer program stored in the memory and executable on the processor, for executing the object recognition method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Object recognition system and method based on laser radar and camera
CN115856917A
Solid waste classification method and system based on image recognition
CN118230314A
Camera based on deep learning algorithm
CN118338117A
3D vision system with automatically calibrated stereo vision sensors and LiDAR sensor
US11782145B1
Lidar point cloud data alignment with camera pixels
US20230333253A1
Cited By
Optical lens automatic focusing method and system
CN119126326A
Optical lens automatic focusing method and system
CN119126326B
