Mowing path planning method, device, equipment, storage medium and product

By combining the RGB camera and the event camera, the image information is analyzed to determine the dividing line position of the lawn mower, which solves the problem of inaccurate mowing paths caused by RTK technology failure, achieves high-accuracy mowing path planning when RTK fails, and improves The lawnmower’s automated mowing capabilities.

CN118168559BActive Publication Date: 2024-09-13RUICHI LASER (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410586224.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-13
Publication Date
2024-09-13
Estimated Expiration
2044-05-13

AI Technical Summary

Technical Problem

When the RTK technology fails, the automatic lawn mower cannot accurately plan the mowing path, resulting in positioning offset and inaccurate mowing path.

Method used

It uses a combination of RGB cameras and event cameras to receive image information of the area to be cut, determines the location information of the dividing line through analysis and processing, and plans the path of the lawnmower based on this, avoiding path deviations caused by inaccurate global map construction. .

Benefits of technology

The accuracy of mowing path planning is improved, ensuring that the lawn mower can still accurately perform mowing operations when RTK fails, reducing labor costs and operational complexity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118168559B
    Figure CN118168559B
Patent Text Reader

Abstract

The present application discloses a mowing path planning method, device, equipment, storage medium and product, which relates to the technical field of intelligent lawn mowers. The mowing path planning method comprises: receiving image information of a to-be-mowed area; analyzing and processing the image information based on a target camera to obtain position information of a dividing line, wherein the dividing line information is a dividing line between a mowed area and an unmowed area, wherein the target camera comprises one or more of an RGB camera and an event camera; and planning a mower's travel path based on the position information, so that the mower can perform a mowing operation based on the travel path. The present application realizes accurate planning of a mowing path.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of intelligent lawn mowers, and in particular to a mowing path planning method, device, equipment, storage medium and computer program product. Background Art

[0002] Compared with traditional lawn mowers, automatic lawn mowers can automatically complete mowing tasks and have the advantages of simple operation and low labor costs. They have become the main development direction of the lawn mower industry.

[0003] At present, automatic lawn mowers mainly use RTK (Real-time kinematic, real-time dynamic measurement technology) to build a global map of the lawn area, and then locate based on the global map to plan the mowing path. However, since RTK technology builds a global map through satellite positioning, when RTK fails, the lawn mower will have a positioning offset and will not be able to accurately plan the mowing path.

[0004] Therefore, how to accurately plan the mowing path of the lawn mower is a problem that urgently needs to be solved.

[0005] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0006] The main purpose of this application is to provide a mowing path planning method, device, equipment, storage medium and computer program product, aiming to solve the technical problem in the related technology that a global map is constructed through satellite positioning using RTK technology. When RTK fails, the positioning of the mower will be offset, making it impossible to accurately plan the mowing path.

[0007] To achieve the above objectives, the present application proposes a mowing path planning method, which includes:

[0008] Receiving image information of an area to be mowed;

[0009] Based on a target camera, the image information is analyzed and processed to obtain position information of a boundary line, wherein the boundary line information is a boundary line between a mowed area and an unmowed area, wherein the target camera includes one or more of an RGB camera and an event camera;

[0010] Based on the position information, a travel path of the lawn mower is planned so that the lawn mower performs a mowing operation based on the travel path.

[0011] In one embodiment, when the target camera is an event camera, the step of analyzing and processing the image information based on the target camera to obtain the position information of the dividing line includes:

[0012] Based on an event camera, the image information is converted into a plurality of event stream data, wherein the event stream data is used to represent height information of a lawn area corresponding to the image information;

[0013] Based on the event stream data, a boundary line of lawn areas having a height difference greater than a preset value is taken as a boundary line, and position information of the boundary line is determined.

[0014] In one embodiment, when the target camera is an RGB camera and an event camera, the step of analyzing and processing the image information based on the target camera to obtain the position information of the boundary line includes:

[0015] Recognize static image information in the image information by using the RGB camera;

[0016] Based on the static image information, identifying first position information of a boundary line of a to-be-mowed area;

[0017] identifying dynamic image information in the image information by using the event camera;

[0018] Based on the dynamic image information, identifying second position information of a boundary line of the area to be mowed;

[0019] If it is determined that the first location information and the second location information overlap, selecting one of the first location information and the second location information as location information of the dividing line;

[0020] If it is determined that the first position information and the second position information do not overlap, the second position information is used as the position information of the dividing line.

[0021] In one embodiment, the step of planning a travel path of the lawn mower based on the position information so that the lawn mower performs a mowing operation based on the travel path includes:

[0022] Based on the position information, the dividing line is used as a travel path or a mowing path of the lawn mower, so that the lawn mower performs a mowing operation along the position corresponding to the position information.

[0023] In one embodiment, before the step of planning the travel path of the lawn mower based on the position information, the step further includes:

[0024] Recognize obstacles in the image information by using the RGB camera and the event camera to obtain static information and dynamic information of the obstacles;

[0025] The dynamic information and the static information are fused to obtain fused feature information of the obstacle;

[0026] Calculating and processing the fused feature information to obtain distance information between the obstacle and the lawn mower;

[0027] The step of planning a travel path of the lawn mower based on the position information comprises:

[0028] Based on the position information, taking the boundary line as an initial path of the lawn mower;

[0029] If it is determined that the obstacle is a static object, the center position and the safety radius of the obstacle are calculated based on the distance information by a preset algorithm, wherein the safety radius is greater than the maximum radius of the obstacle;

[0030] Based on the center position and the safety radius, a circular arc path intersecting with the initial path is used as an avoidance path, wherein the circular arc path has the center position as a circle center and the safety radius as a radius;

[0031] If the obstacle is determined to be a dynamic object, a warning message is sent to the obstacle. When it is detected that the obstacle is not on the dividing line after a preset time period, the dividing line continues to be used as the travel path of the lawn mower. Otherwise, the arc curve path is used as the avoidance path.

[0032] In one embodiment, before the step of planning the travel path of the lawn mower based on the position information, the step further includes:

[0033] Acquire boundary information of a lawn area from an RGB camera, wherein the boundary information refers to information of a boundary line of the lawn area;

[0034] The step of planning a travel path of the lawn mower based on the position information further includes:

[0035] Within the boundary line corresponding to the boundary information, the boundary line within the lawn area is used as a travel path of the lawn mower.

[0036] In addition, to achieve the above purpose, the present application also proposes a mowing path planning device, the mowing path planning device comprising:

[0037] A receiving module, used for receiving image information of the area to be mowed;

[0038] a processing module, configured to analyze and process the image information based on a target camera to obtain position information of a boundary line, wherein the boundary line information is a boundary line between a mowed area and an unmowed area, wherein the target camera includes one or more of an RGB camera and an event camera;

[0039] The planning module is used to plan a travel path of the lawn mower based on the position information, so that the lawn mower performs a mowing operation based on the travel path.

[0040] In addition, to achieve the above objectives, the present application also proposes a mowing path planning device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the mowing path planning method described above.

[0041] In addition, to achieve the above objectives, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the mowing path planning method described above are implemented.

[0042] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps of the mowing path planning method described above are implemented.

[0043] The present application proposes a mowing path planning method, device, equipment, storage medium and computer program product. The present application receives image information of an area to be mowed, and analyzes and processes the image information according to a target camera, thereby determining the position information of a dividing line, and then plans the travel path of a lawn mower according to the position information of the dividing line. The position information of the dividing line can be determined by acquiring information of a local map through one or more of an RGB camera and an event camera. At the same time, the RGB camera and the event camera are combined to collect image information of the area to be mowed, which can also avoid the occurrence of inaccurate image information collection and the deviation of the planned path caused by inaccurate global map construction, thereby improving the accuracy of mowing path planning.

[0044] In summary, the present application combines an RGB camera and an event camera to collect image information of the area to be mowed, thereby obtaining information of the local map, avoiding the deviation of the planned path due to inaccurate global map construction, thereby improving the accuracy of mowing path planning. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0046] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0047] Figure 1 A flowchart diagram of the first embodiment of the mowing path planning method of the present application is provided;

[0048] Figure 2 A flow chart of the second embodiment of the mowing path planning method of the present application;

[0049] Figure 3 A flowchart diagram of the third embodiment of the mowing path planning method of the present application;

[0050] Figure 4 This is a schematic diagram of the module structure of the mowing path planning device according to an embodiment of the present application;

[0051] Figure 5 Schematic diagram of the device structure of the hardware operating environment involved in the mowing path planning method in the embodiment of the present application.

[0052] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0053] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0054] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0055] The main solutions of the embodiments of this application are:

[0056] Receiving image information of an area to be mowed;

[0057] Based on a target camera, the image information is analyzed and processed to obtain position information of a boundary line, wherein the boundary line information is a boundary line between a mowed area and an unmowed area, wherein the target camera includes one or more of an RGB camera and an event camera;

[0058] Based on the position information, a travel path of the lawn mower is planned so that the lawn mower performs a mowing operation based on the travel path.

[0059] In this embodiment, for ease of description, the following description is made with the intelligent lawn mower as the execution subject.

[0060] In the prior art, when RTK plus ultrasonic solution fails, the machine will run around and cannot achieve positioning.

[0061] In the RTK plus vision solution, if RTK fails, the vision cannot maintain a high accuracy for a long time. As time goes by, the error will become larger and larger, eventually causing the machine to be out of control.

[0062] The present application provides a mowing path planning method, device, equipment, storage medium and computer program product, which collects image information of the area to be mowed by combining an RGB camera and an event camera to obtain information of a local map, thereby avoiding the deviation of the planned path caused by inaccurate global map construction, thereby improving the accuracy of mowing path planning.

[0063] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a smart lawn mower, etc. The following takes a smart lawn mower as an example to illustrate this embodiment and the following embodiments.

[0064] Based on this, the present application embodiment provides a mowing path planning method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the mowing path planning method of the present application.

[0065] In this embodiment, the mowing path planning method includes steps S10 to S30:

[0066] Step S10, receiving image information of the area to be mowed;

[0067] It should be noted that the area to be mowed includes a mowed area and an unmowed area. Since the boundary between the mowed area and the unmowed area cannot be determined when using a smart lawn mower to mow, it is necessary to scan both areas to determine their boundary and then control the lawn mower to perform the corresponding mowing operation.

[0068] It should be noted that the image information is collected by an RGB camera and an event camera. The measuring device includes the RGB camera and the event camera. The measuring device is arranged on the smart lawn mower. The smart lawn mower obtains the image information through the measuring device.

[0069] Step S20, analyzing and processing the image information based on a target camera to obtain position information of a boundary line, wherein the boundary line information is a boundary line between a mowed area and an unmowed area, and the target camera includes one or more of an RGB camera and an event camera;

[0070] It should be noted that the target camera can be one or more of an RGB camera and an event camera. In order to take into account the functions of path planning, visual navigation and active avoidance, the RGB camera and the event camera need to work together. Among them, the RGB camera can obtain the color of the area to be mowed, and identify the boundary line of the lawn area with color difference, and use the boundary line as the dividing line; the structured light depth camera (including a projector and a camera) actively emits IR infrared light that is invisible to the naked eye to the surface of the dividing line through the projector, and then uses one or more cameras to capture the surface of the dividing line to collect structured light images, and sends the collected data to the computing unit, and then calculates the depth (distance) information of the dividing line through the triangulation principle to determine the position information of the dividing line.

[0071] Event cameras are used to identify dynamic objects, which can be people, pets, or moving machines. For RGB cameras, when shooting images of dynamic objects, dynamic blur will occur and complete image information cannot be obtained. However, this does not happen with event cameras. Event cameras include dynamic vision sensors, which convert the captured dynamic objects into event stream data, thereby obtaining complete image information corresponding to the dynamic images based on the event stream data.

[0072] It should be noted that RGB cameras are mainly used for path planning, while event cameras have the following advantages:

[0073] (1) Based on event cameras, dynamic objects can be monitored in real time. Key protected objects such as people and pets can be quickly identified and monitored.

[0074] (2) Based on event cameras, objects can be identified regardless of whether they are in strong light, backlight, or dark light.

[0075] (3) Based on the event camera, the features of the object can be extracted, which is beneficial to the accuracy of visual positioning.

[0076] Therefore, the corresponding dynamic objects can be identified by the event camera, and the photographed dynamic objects can be monitored in real time, thereby ensuring accurate identification of moving objects and boundaries of lawn areas during the mowing process.

[0077] Step S30: planning a travel path of the lawn mower based on the position information, so that the lawn mower performs a mowing operation based on the travel path.

[0078] It should be noted that after determining the position information of the dividing line, the lawn mower can be made to perform mowing operations along the path of the dividing line. Generally speaking, a smart lawn mower mows the lawn area in a straight line, which can also reduce the occurrence of route deviation.

[0079] In a feasible implementation manner, the step S30 of planning a travel path of the lawn mower based on the position information so that the lawn mower performs a mowing operation based on the travel path includes:

[0080] Based on the position information, the dividing line is used as a travel path or a mowing path of the lawn mower, so that the lawn mower performs a mowing operation along the position corresponding to the position information.

[0081] It should be noted that the position information of the dividing line can be the specific coordinates of the dividing line. When the smart lawn mower is not on the path along the dividing line, the measuring equipment collects the target point on the dividing line that is closest to the smart lawn mower. The smart lawn mower path planning device plans a straight path to reach the dividing line with the current position as the starting point and the target point as the end point.

[0082] In a feasible implementation manner, before the step S30 of planning the travel path of the lawn mower based on the position information, the step further includes:

[0083] Step A10, acquiring boundary information of the lawn area from the RGB camera, wherein the boundary information refers to information of a boundary line of the lawn area;

[0084] It should be noted that it is understandable that the measuring device (such as an RGB camera) can collect boundary information of the lawn area, and the boundary information refers to the information of the boundary line of the lawn area, and the smart lawn mower plans the mowing path of the smart lawn mower in the lawn area.

[0085] The step of planning a travel path of the lawn mower based on the position information further includes:

[0086] Step B10: within the boundary line corresponding to the boundary information, use the boundary line in the lawn area as the travel path of the lawn mower.

[0087] It should be noted that within the boundary line of the unmowed area, the lawn area is mowed using the boundary line as the travel path of the lawn mower.

[0088] It is understandable that, when no dividing line can be detected, a notification indicating that mowing is completed is fed back to the user.

[0089] The present application proposes a mowing path planning method, device, equipment, storage medium and computer program product. The present application receives image information of an area to be mowed, and analyzes and processes the image information according to a target camera, thereby determining the position information of a dividing line, and then plans the travel path of a lawn mower according to the position information of the dividing line. The position information of the dividing line can be determined by acquiring information of a local map through one or more of an RGB camera and an event camera. At the same time, the RGB camera and the event camera are combined to collect image information of the area to be mowed, which can also avoid the occurrence of inaccurate image information collection and the deviation of the planned path caused by inaccurate global map construction, thereby improving the accuracy of mowing path planning.

[0090] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 2 , step S20, the mowing path planning method further includes steps S21-S22:

[0091] Step S21, based on the event camera, converting the image information into a plurality of event stream data, wherein the event stream data is used to represent the height information of the lawn area corresponding to the image information;

[0092] It should be noted that when an event camera is used, the image information is converted into various event stream data, and then the lawn height of the corresponding lawn area is identified based on the event stream data.

[0093] Step S22: based on the event stream data, taking the boundary line of the lawn area where the height difference is greater than a preset value as a dividing line, and determining the position information of the dividing line.

[0094] It should be noted that the preset value may be 5 cm, 10 cm, etc., and may be changed according to user needs without specific limitation.

[0095] It should be noted that after the height information of the corresponding lawn area is identified, the height information is compared with a preset value, so as to determine the boundary between the mowed area and the unmowed area according to the comparison result.

[0096] For example, when the height of one lawn area is h and the height of another lawn area is 2h, the depth camera recognizes the boundary between the two lawn areas as the boundary line.

[0097] In a feasible implementation manner, when the target camera is an RGB camera and an event camera, the step S20 of analyzing and processing the image information based on the target camera to obtain the position information of the boundary line includes:

[0098] Step S201, identifying static image information in the image information through the RGB camera;

[0099] Step S202, identifying first position information of a boundary line of a to-be-mowed area based on the static image information;

[0100] It can be understood that, when the target camera is an RGB camera, the RGB camera can identify the boundary line through a deep learning model, and the deep learning model is obtained by iteratively training the training model through a deep learning algorithm.

[0101] It should be noted that the image information includes dynamic image information and static image information, wherein the dynamic image information mainly includes image information of running people or other creatures, and the static image information includes image information corresponding to static objects, such as numbers, stones, etc.

[0102] It should be noted that after the RGB camera recognizes the static image information, the first position information of the boundary line of the to-be-mowed area is recognized through a deep learning model, wherein the first position information is the boundary line position information recognized by the RGB camera.

[0103] Step S203, identifying dynamic image information in the image information through the event camera;

[0104] Step S204, identifying second position information of a boundary line of the to-be-mowed area based on the dynamic image information;

[0105] It should be noted that the event camera is used to identify image information of dynamic objects. When the lawn shakes, or when other objects interfere with the smart lawn mower's identification of the boundary line, the second position information of the boundary line is identified by collecting dynamic image information, wherein the second position information is the boundary line position information identified by the event camera.

[0106] Step S205: if it is determined that the first position information and the second position information overlap, selecting one of the first position information and the second position information as the position information of the dividing line;

[0107] It should be noted that when the boundary position information measured by the event camera and the RGB camera coincide, it means that the collected image information is complete, and only one of them needs to be selected as the boundary position information.

[0108] Step S206: If it is determined that the first position information and the second position information do not overlap, the second position information is used as the position information of the dividing line.

[0109] It should be noted that when the first position information and the second position information do not overlap, the second position information detected by the event camera is used as the position information of the boundary line.

[0110] It is understandable that the image information collected by the event camera will be more complete than that of the RGB camera. When it is uncertain which type of location information collected by the two cameras is more accurate, the error can be compared through a preset algorithm, and the more accurate location information can be used as the planned path of the lawn mower.

[0111] In this embodiment, by combining the event camera with the RGB camera, the dynamic image information and static image information in the image information can be taken into account to avoid the information of the generated dividing line being inconsistent with the actual situation, so as to accurately locate the dividing line and avoid the deviation of the planned path, thereby improving the accuracy of mowing path planning.

[0112] Based on the first embodiment and / or the second embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those in the first and second embodiments above can be referred to the above description, and will not be described in detail later. Figure 3 , before the step S30 of planning the path of the lawn mower based on the position information, the method further includes:

[0113] Step S210, identifying obstacles in the image information through the RGB camera and the event camera to obtain static information and dynamic information of the obstacles;

[0114] It should be noted that when identifying obstacles, the RGB camera and the event camera are combined to jointly collect image information and extract the dynamic and static information of the obstacle, so that even when the obstacle is a dynamic object, it can be processed in time, among which the dynamic information is collected by the event camera and the static information is collected by the RGB camera.

[0115] For example, when the RGB camera identifies an obstacle tree, it sends the image of the tree to the time-of-flight depth camera. The time-of-flight depth camera emits continuous light pulses to each point on the edge of the tree corresponding to the image, receives the light reflected back by the tree through the sensor, and records the flight time. The distance to the tree is then calculated based on the flight time.

[0116] The event camera processes the captured image information, generates multiple data points based on each pixel, and then converts each data point into dynamic information.

[0117] Step S220, fusing the dynamic information and the static information to obtain fused feature information of the obstacle;

[0118] It should be noted that the fused feature information includes the dynamic features and static features of the obstacle. When the obstacle is a static object, there is no dynamic feature, but when the obstacle is a dynamic object, both dynamic and static features exist. After fusing the two, when calculating the distance information between the obstacle and the lawn mower, it can be guaranteed that the result obtained is more accurate.

[0119] Step S230, calculating and processing the fused feature information to obtain distance information between the obstacle and the lawn mower;

[0120] It should be noted that the distance information includes information about the distances from a plurality of points on the edge of the obstacle to the lawn mower;

[0121] It should be noted that the process of calculating and processing the fused feature information may be, based on the fused feature information, emitting light pulses to the trees or animals corresponding to the fused feature information, receiving the light reflected back from the trees through sensors, recording the flight time, and then calculating the distance to the tree through the flight time.

[0122] The step of planning a travel path of the lawn mower based on the position information comprises:

[0123] Based on the position information, taking the boundary line as an initial path of the lawn mower;

[0124] It should be noted that after the dividing line is used as the initial path of the smart lawn mower, the smart lawn mower notifies the RGB camera and the event camera to identify whether there are obstacles on the initial path. The RGB camera identifies the obstacles through a deep learning model. If there are obstacles, the distance information includes information about the distances from multiple points on the edge of the obstacle to the smart lawn mower.

[0125] If it is determined that the obstacle is a static object, the center position and the safety radius of the obstacle are calculated based on the distance information by a preset algorithm, wherein the safety radius is greater than the maximum radius of the obstacle;

[0126] It should be noted that the smart lawn mower calculates the distances from multiple points on the edge of the obstacle to the smart lawn mower through a preset algorithm to obtain the center position and safety radius of the obstacle, where the safety radius is the sum of the maximum radius of the obstacle and the preset additional radius.

[0127] Based on the center position and the safety radius, a circular arc path intersecting with the initial path is used as an avoidance path, wherein the circular arc path has the center position as a circle center and the safety radius as a radius;

[0128] It should be noted that the intelligent lawn mower path planning device plans an arc curve path with the calculated center position of the obstacle as the center of the circle and the safety radius as the radius, and overlaps the arc curve path with the initial path to obtain an avoidance path connected to the initial path.

[0129] If the obstacle is determined to be a dynamic object, a warning message is sent to the obstacle. When it is detected that the obstacle is not on the dividing line after a preset time period, the dividing line continues to be used as the travel path of the lawn mower. Otherwise, the arc curve path is used as the avoidance path.

[0130] It can be understood that when an obstacle is identified as a person, the smart lawn mower sends an alarm notification to the obstacle to notify the obstacle to avoid the smart lawn mower. When the obstacle leaves the initial path, the avoidance path is not planned and the initial path is used as the mowing path. When the obstacle does not leave the mowing path, the avoidance path continues to be planned.

[0131] In this embodiment, an initial path is planned first, then the dynamic and static information of the obstacle is obtained from the camera, and the obstacle avoidance path is planned. The local path planning avoids the deviation of the planned path caused by inaccurate global map construction, thereby improving the accuracy of mowing path planning.

[0132] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the mowing path planning method of the present application. More simple transformations based on this technical concept are all within the protection scope of the present application.

[0133] This application also provides a mowing path planning device, please refer to Figure 4 , the mowing path planning device comprises:

[0134] A receiving module 10 is used to receive image information of the area to be mowed;

[0135] A processing module 20 is used to analyze and process the image information based on a target camera to obtain position information of a boundary line, wherein the boundary line information is a boundary line between a mowed area and an unmowed area, and the target camera includes one or more of an RGB camera and an event camera;

[0136] The planning module 30 is used to plan a travel path of the lawn mower based on the position information, so that the lawn mower performs a mowing operation based on the travel path.

[0137] Optionally, the processing module includes:

[0138] A conversion unit, used for converting the image information into a plurality of event stream data based on an event camera, wherein the event stream data is used for representing height information of a lawn area corresponding to the image information;

[0139] The first determining unit is used to use, based on the event stream data, a boundary line of lawn areas with a height difference greater than a preset value as a boundary line, and determine position information of the boundary line.

[0140] Optionally, the processing module further includes:

[0141] A first recognition unit, configured to recognize static image information in the image information through the RGB camera;

[0142] a second recognition unit, configured to recognize first position information of a boundary line of a to-be-mowed area based on the static image information;

[0143] A third recognition unit, configured to recognize dynamic image information in the image information through the event camera;

[0144] a fourth recognition unit, configured to recognize second position information of a boundary line of a to-be-mowed area based on the dynamic image information;

[0145] a selection unit, configured to select one of the first position information and the second position information as position information of a dividing line if it is determined that the first position information and the second position information coincide with each other;

[0146] The second determining unit is configured to use the second position information as the position information of a boundary line if it is determined that the first position information and the second position information do not overlap.

[0147] Optionally, the planning module further includes:

[0148] The third determining unit is configured to use the boundary line as a travel path or a mowing path of the lawn mower based on the position information, so that the lawn mower performs a mowing operation at a position corresponding to the position information.

[0149] Optionally, the device further comprises:

[0150] A recognition module, used to recognize obstacles in the image information through the RGB camera and the event camera, and obtain static information and dynamic information of the obstacles;

[0151] A fusion module, used to fuse the dynamic information and the static information to obtain fusion feature information of the obstacle;

[0152] The calculation and processing module is used to calculate and process the fused feature information to obtain the distance information between the obstacle and the lawn mower.

[0153] Optionally, the device further comprises:

[0154] The acquisition module is used to acquire boundary information of the lawn area from the RGB camera, wherein the boundary information refers to the information of the boundary line of the lawn area.

[0155] The mowing path planning device provided by the present application adopts the mowing path planning method in the above embodiment, which can solve the technical problem of mowing path planning. Compared with the prior art, the beneficial effects of the mowing path planning device provided by the present application are the same as the beneficial effects of the mowing path planning method provided by the above embodiment, and other technical features in the mowing path planning device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0156] The present application provides a mowing path planning device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the mowing path planning method in the above-mentioned embodiment 1.

[0157] Reference below Figure 5 , which shows a schematic diagram of the structure of a mowing path planning device suitable for implementing the embodiment of the present application. The mowing path planning device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The mowing path planning device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0158] like Figure 5As shown, the mowing path planning device may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the mowing path planning device are also stored. The processing device 1001, ROM1002 and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the mowing path planning device to communicate with other devices wirelessly or by wire to exchange data. Although the mowing path planning device with various systems is shown in the figure, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided instead.

[0159] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0160] The mowing path planning device provided by the present application adopts the mowing path planning method in the above embodiment, which can solve the technical problem of mowing path planning. Compared with the prior art, the beneficial effects of the mowing path planning device provided by the present application are the same as the beneficial effects of the mowing path planning method provided by the above embodiment, and the other technical features in the mowing path planning device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0161] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0162] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0163] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the mowing path planning method in the above-mentioned embodiment.

[0164] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.

[0165] The computer-readable storage medium may be included in the mowing path planning device; or may exist independently without being assembled into the mowing path planning device.

[0166] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the mowing path planning device, the mowing path planning device:

[0167] Receiving image information of an area to be mowed;

[0168] Based on a target camera, the image information is analyzed and processed to obtain position information of a boundary line, wherein the boundary line information is a boundary line between a mowed area and an unmowed area, wherein the target camera includes one or more of an RGB camera and an event camera;

[0169] Based on the position information, a travel path of the lawn mower is planned so that the lawn mower performs a mowing operation based on the travel path.

[0170] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0171] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0172] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0173] The readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned mowing path planning method, and can solve the technical problem of mowing path planning. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the mowing path planning method provided in the above-mentioned embodiment, and will not be elaborated here.

[0174] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned mowing path planning method when executed by a processor.

[0175] The computer program product provided in this application can solve the technical problem of mowing path planning. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as the beneficial effects of the mowing path planning method provided in the above embodiment, which will not be repeated here.

[0176] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A mowing path planning method, It is characterized in that The mowing path planning method comprises: Receiving image information of an area to be mowed; Based on a target camera, the image information is analyzed and processed to obtain position information of a dividing line, wherein the dividing line information is a dividing line between a mowed area and an unmowed area, and the target camera includes an RGB camera and an event camera; In the case where the target camera is an RGB camera and an event camera, the step of analyzing and processing the image information based on the target camera to obtain the position information of the boundary line includes: Recognize static image information in the image information by using the RGB camera; Based on the static image information, identifying first position information of a boundary line of a to-be-mowed area; identifying dynamic image information in the image information by using the event camera; Based on the dynamic image information, identifying second position information of a boundary line of the area to be mowed; If it is determined that the first location information and the second location information overlap, selecting one of the first location information and the second location information as location information of the dividing line; If it is determined that the first location information and the second location information do not overlap, the second location information is used as the location information of the dividing line; Based on the position information, a travel path of the lawn mower is planned so that the lawn mower performs a mowing operation based on the travel path.

2. The method according to claim 1, It is characterized in that The step of planning a travel path of the lawn mower based on the position information so that the lawn mower performs a mowing operation based on the travel path comprises: Based on the position information, the dividing line is used as a travel path or a mowing path of the lawn mower, so that the lawn mower performs a mowing operation along the position corresponding to the position information.

3. The method according to claim 1, It is characterized in that Before the step of planning the path of the lawn mower based on the position information, the method further includes: Recognize obstacles in the image information by using the RGB camera and the event camera to obtain static information and dynamic information of the obstacles; The dynamic information and the static information are fused to obtain fused feature information of the obstacle; Calculating and processing the fused feature information to obtain distance information between the obstacle and the lawn mower; The step of planning a travel path of the lawn mower based on the position information comprises: Based on the position information, taking the boundary line as an initial path of the lawn mower; If it is determined that the obstacle is a static object, the center position and the safety radius of the obstacle are calculated based on the distance information by a preset algorithm, wherein the safety radius is greater than the maximum radius of the obstacle; Based on the center position and the safety radius, a circular arc path intersecting with the initial path is used as an avoidance path, wherein the circular arc path has the center position as a circle center and the safety radius as a radius; If the obstacle is determined to be a dynamic object, a warning message is sent to the obstacle. When it is detected that the obstacle is not on the dividing line after a preset time period, the dividing line continues to be used as the travel path of the lawn mower. Otherwise, the arc curve path is used as the avoidance path.

4. The method according to claim 1, It is characterized in that Before the step of planning the path of the lawn mower based on the position information, the method further includes: Acquire boundary information of a lawn area from an RGB camera, wherein the boundary information refers to information of a boundary line of the lawn area; The step of planning a travel path of the lawn mower based on the position information further includes: Within the boundary line corresponding to the boundary information, the boundary line within the lawn area is used as a travel path of the lawn mower.

5. A mowing path planning device, It is characterized in that The device comprises: A receiving module, used for receiving image information of the area to be mowed; A processing module, configured to analyze and process the image information based on a target camera to obtain position information of a boundary line, wherein the boundary line information is a boundary line between a mowed area and an unmowed area, wherein the target camera includes an RGB camera and an event camera; The processing module is specifically used to identify static image information in the image information through the RGB camera; Based on the static image information, identifying first position information of a boundary line of a to-be-mowed area; identifying dynamic image information in the image information by using the event camera; Based on the dynamic image information, identifying second position information of a boundary line of the area to be mowed; If it is determined that the first location information and the second location information overlap, selecting one of the first location information and the second location information as location information of the dividing line; If it is determined that the first location information and the second location information do not overlap, the second location information is used as the location information of the dividing line; The planning module is used to plan a travel path of the lawn mower based on the position information, so that the lawn mower performs a mowing operation based on the travel path.

6. A mowing path planning device, It is characterized in that The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the mowing path planning method according to any one of claims 1 to 4.

7. A storage medium, It is characterized in that The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the mowing path planning method according to any one of claims 1 to 4 are implemented.

8. A computer program product, It is characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the mowing path planning method according to any one of claims 1 to 4 are implemented.