Control method and apparatus, storage medium, and electronic device
By using the image recognition model to identify the types of non-grass areas of the lawn and optimizing the driving path, it solves the problem of low mowing efficiency of existing self-mobile equipment when working on different lawns, and achieves more efficient lawn treatment and coverage.
Patent Information
- Application Number
- PCT/CN2024/087269
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-24
- Filing Date
- 2024-04-11
- Publication Date
- 2024-10-17
AI Technical Summary
When existing self-mobile equipment works on different lawns, it cannot make personalized adjustments according to the specific conditions of the lawn, resulting in low mowing efficiency and coverage, and it is unable to effectively identify and deal with non-grass areas such as flagstones, mud and other obstacles.
Obtain the target image of the lawn through the image recognition model, identify the type of non-grass area, determine customized driving information based on the target type information, control the equipment to drive and work in a specific area, including identifying grass areas and non-grass areas, optimizing the driving path to Improve mowing efficiency.
It improves the mowing efficiency and coverage of the mobile device on the lawn, can effectively identify and process different types of non-grass areas, meets the personalized needs of users, and enhances the intelligence of the device.
Smart Images

Figure CN2024087269_17102024_PF_FP_ABST
Abstract
Description
Control method, device, storage medium and electronic device Technical Field
[0001] The present application relates to the technical field of equipment automation control, and in particular to a control method, device, storage medium and electronic equipment. Background Art
[0002] Currently, the level of intelligence of autonomous vehicles on the market is relatively low. For example, a smart lawn mower can only divide its working area into grass and non-grass areas, creating an operating area and a non-operating area. Autonomous vehicles operate within their working areas. However, since every lawn is different and different users have different requirements for lawns, autonomous vehicles use the same operating method regardless of the lawn.
[0003] Summary of the Invention
[0004] In view of this, embodiments of the present application provide a control method, device, storage medium, and electronic device.
[0005] In a first aspect, some embodiments of the present application provide a control method for a self-propelled vehicle system, the self-propelled vehicle comprising a self-propelled vehicle configured to travel and / or operate within a work area. The control method comprises: obtaining type information of identifiable non-grass objects, wherein the identifiable non-grass objects represent non-grass objects identifiable by the self-propelled vehicle; determining at least one target type information within the type information of the identifiable non-grass objects; and obtaining a target image of the work area.
[0006] The target image is recognized and processed based on the image recognition model to determine a recognition result, where the recognition result includes at least one non-grass area, and the non-grass area type of the non-grass area corresponds to the type of identifiable non-grass object; based on the target type information, customized driving information corresponding to each non-grass area type is determined, and the type of customized driving information includes drivable information and non-drivable information; based on the customized driving information corresponding to each non-grass area type, a first area is determined in at least one non-grass area; and the self-moving device is controlled to drive and / or work in the to-be-driven area corresponding to the target area, where the target area includes the first area.
[0007] In some embodiments, at least one target type information is determined in the type information of the identifiable non-grass object, including: determining at least one recommended type information in the type information of the identifiable non-grass object; displaying at least one recommended type information; and determining target type information in the at least one recommended type information in response to a user's selection instruction for the at least one recommended type information.
[0008] In some embodiments, at least one target type information is determined in the type information of identifiable non-grass objects, including: determining at least one recommended type information in the type information of identifiable non-grass objects; and determining the target type information from the at least one recommended type information based on a preset selection rule of the self-mobile device.
[0009] In some embodiments, determining at least one recommended type information in the type information of identifiable non-grass objects includes: determining date information; and determining at least one recommended type information in the type information of identifiable non-grass objects based on the date information and preset seasonal recommendation rules.
[0010] In some embodiments, at least one recommended type information is determined in the type information of identifiable non-grass objects, including: determining the distribution status information corresponding to each type of identifiable non-grass objects, the distribution status information representing the distribution status of the identifiable non-grass objects in the working area; based on the distribution status information, at least one recommended type information is determined in the type information of the identifiable non-grass objects.
[0011] In some embodiments, the distribution status information includes a total area of the region. Determining the distribution status information corresponding to each type of identifiable non-grass object includes: acquiring a first historical image; and determining, based on the first historical image, a total area of the region corresponding to each type of identifiable non-grass object.
[0012] In some embodiments, based on the distribution status information, at least one recommended type information is determined in the type information of identifiable non-grass objects, including: based on the type information corresponding to the total area of the area that meets the first preset condition, at least one recommended type information is determined in the type information of identifiable non-grass objects.
[0013] In some embodiments, the first historical image includes historical images collected from the mobile device during operation of a preset distance in the working area, or historical images collected from the mobile device during operation of a preset time in the working area, or historical images collected from the mobile device during operation of a preset number of times in the working area.
[0014] In some embodiments, customized driving information corresponding to each non-grass area type is determined based on the target type information, including: based on the target type information, determining a target area type that matches the target type information in the non-grass area type; and determining the customized driving information corresponding to the target area type as drivable information.
[0015] In some embodiments, based on the target type information, a target area type that matches the target type information is determined in the non-grass area type, including: determining configuration information based on the target type information, the configuration information is used to characterize whether each non-grass area type matches the target type information; based on the configuration information, determining the target area type in the non-grass area type.
[0016] In some embodiments, the recognition result further includes a dangerous area and a non-dangerous area. The non-dangerous area includes at least one non-grass area. The dangerous area represents an area where the mobile device is prohibited from entering.
[0017] In some embodiments, the recognition result further includes at least one grass area, the grass area type of the grass area corresponding to an identifiable grass type, and the identifiable grass type represents the type of grass object identifiable by the self-mobile device. The control method further includes: determining a second area within the at least one grass area; the target area includes a first area and a second area; and controlling the self-mobile device to travel and / or operate in the to-be-traveled area corresponding to the target area, including: controlling the self-mobile device to travel and / or operate in the to-be-traveled area corresponding to the first area and the second area.
[0018] In some embodiments, the non-grass area type includes at least one of a mud type, a stone slab type, and a fallen leaf type.
[0019] In some embodiments, the control method further includes: acquiring an image of the area to be optimized; uploading the image of the area to be optimized to a server so that the server generates an update instruction based on the image of the area to be optimized; and performing an update in response to the update instruction.
[0020] In some embodiments, uploading the image of the area to be optimized to the server includes: uploading the image of the area to be optimized and user demand information to the server, so that the server generates at least one customized recognition model and update instructions based on the image of the area to be optimized and the user demand information.
[0021] In some embodiments, updating in response to an update instruction includes: obtaining a customized recognition model in response to the update instruction; and, before performing recognition processing on the target image based on the image recognition model and determining the recognition result, the control method also includes: in the case of obtaining a customized recognition model, based on a user selection instruction, determining the image recognition model from the initial recognition model and the customized recognition model of the mobile device; or, in the case of obtaining a customized recognition model, determining the customized recognition model as the image recognition model.
[0022] In some embodiments, the image of the area to be optimized includes an image of the area to be optimized taken by a mobile device and / or an image of the area to be optimized taken by a user-end device.
[0023] In some embodiments, obtaining the image of the area to be optimized includes: generating a first warning message if a second preset condition is met; and obtaining the image of the area to be optimized corresponding to the first warning message.
[0024] In some embodiments, the second preset condition includes: within a preset time period, the number of obstacle collisions of the self-moving device exceeds a preset number, or the self-moving device detects being stuck, or the self-moving device detects being entangled.
[0025] In some embodiments, controlling the self-moving device to travel and / or work in the area to be traveled corresponding to the target area includes: determining geometric feature information of a first area; and controlling the self-moving device to travel and / or work in the area to be traveled corresponding to the target area based on the geometric feature information of the first area.
[0026] In some embodiments, the control method further includes: if the geometric feature information of the non-grass area in the target area meets a third preset condition, controlling the mobile device to avoid obstacles.
[0027] In some embodiments, the control method also includes: obtaining a working area image of the working area without determining the target type information, and if the geometric feature information of any non-grass area in the working area image meets a fourth preset condition, controlling the mobile device to avoid obstacles, and the fourth preset condition is different from the third preset condition.
[0028] In some embodiments, the control method further includes: if the geometric feature information of the target area meets a fifth preset condition, controlling the mobile device to avoid obstacles, the fifth preset condition including that the area of the non-grass area in the target area is larger than the first area.
[0029] In some embodiments, the control method further includes: if the area of any non-grass area in the non-target area is larger than a second area, controlling the self-moving device to avoid obstacles, wherein the first area is larger than the second area.
[0030] In some embodiments, the self-moving system further includes a control device for controlling the self-moving device.
[0031] In some embodiments, after performing recognition processing on the target image based on the image recognition model and determining the recognition result, the method further includes: determining, within the at least one non-grass area, a candidate area that meets a first condition (non-dangerous, safe);
[0032] Determining a first area in at least one of the non-grass areas based on the customized driving information corresponding to each of the non-grass area types includes: determining the first area in the candidate area based on the customized driving information corresponding to each of the non-grass area types. (In a safe area, determining the first area based on the customized driving information)
[0033] In some embodiments, the first condition includes that the area type is a safe area type or a non-hazardous area type.
[0034] In some embodiments, the first condition includes the area type being stone slabs, dirt, or fallen leaves.
[0035] In some embodiments, determining the first region among the candidate regions includes:
[0036] Determining attribute information of the candidate area;
[0037] determining the first region in the candidate region according to the attribute information of the candidate region;
[0038] The attribute information of the candidate region includes one or more of the following information: region type, area, shape, side length, position and boundary probability, where the boundary probability represents the probability that the candidate region is the boundary of the working area.
[0039] In some embodiments, the recognition result includes an obstacle area;
[0040] Determining the first area among the candidate areas includes:
[0041] Determining distribution information of the obstacle area;
[0042] determining a first area in the candidate area according to the distribution information of the obstacle area;
[0043] The distribution information of the obstacle area includes one or more of the following information: position, area, shape, side length, and the relative position between the obstacle area and the candidate area.
[0044] In some embodiments, determining the first area in the candidate area according to the distribution information of the obstacle area includes:
[0045] Determining an area to be screened in the candidate area according to the distribution information of the obstacle area;
[0046] Determining attribute information of the area to be screened;
[0047] Determining the first area in the area to be screened according to the attribute information of the area to be screened;
[0048] The attribute information of the area to be screened includes one or more of the following information: area type, area, shape, side length, position and boundary probability, where the boundary probability represents the probability that the candidate area is the boundary of the working area.
[0049] In some embodiments, determining the area to be screened in the candidate area based on the distribution information of the obstacle area includes:
[0050] Determine a peripheral polygonal area corresponding to the candidate area;
[0051] determining an overlapping area between the obstacle area and the peripheral polygonal area according to the distribution information of the obstacle area;
[0052] Determine the area of other regions in the peripheral polygonal region, where the other regions are regions in the peripheral polygonal region excluding the candidate region;
[0053] determining a ratio between the overlapping area and the area of the other region;
[0054] When the ratio is less than a first threshold, the candidate region is determined to be the region to be screened.
[0055] In some embodiments, determining the first area in the area to be screened according to the attribute information of the area to be screened includes:
[0056] When the area type of the area to be screened is slate and the area of the area to be screened is smaller than a second threshold, determining the area to be screened as the first area;
[0057] Alternatively, when the area type of the area to be screened is slate and the length and width of the area to be screened are both smaller than a distance threshold, the area to be screened is determined to be the first area.
[0058] In some embodiments, determining the first area in the area to be screened according to the attribute information of the area to be screened includes:
[0059] When the region type of the region to be screened is fallen leaves and the ratio between the area of the region to be screened and the image area is less than a third threshold, the region to be screened is determined to be the first region.
[0060] In some embodiments, determining the first area in the area to be screened according to the attribute information of the area to be screened includes:
[0061] When the region type of the to-be-screened region is soil and the area of the to-be-screened region is smaller than a fourth threshold, determining the to-be-screened region to be the first region;
[0062] Alternatively, when the area type of the area to be screened is soil and the shape of the area to be screened is non-strip, the area to be screened is determined to be the first area.
[0063] In some embodiments, the method further comprises:
[0064] determining areas other than the first area in the candidate areas as non-drivable areas;
[0065] The self-moving device is controlled to avoid the spatial area corresponding to the non-drivable area.
[0066] Some embodiments of the present application provide a control method applied to a self-propelled system, wherein the self-propelled system includes a self-propelled device configured to travel and / or work in a work area. The control method includes:
[0067] Acquiring target type information, where the target type information represents at least one type of non-grass objects identifiable by the mobile device;
[0068] Acquiring a target image of the working area;
[0069] Performing recognition processing on the target image based on an image recognition model to determine a first area corresponding to the target type information;
[0070] determining a target area, wherein the target area includes the first area;
[0071] The self-moving device is controlled to travel and / or operate in the to-be-traveled area corresponding to the target area.
[0072] In some embodiments, the first area includes at least one of a stone slab area, a soil area, a fallen leaf area, and a fallen flower area.
[0073] In some embodiments, controlling the self-moving device to travel and / or operate in the to-be-traveled area corresponding to the target area includes:
[0074] Determining geometric feature information of the target area;
[0075] Based on the geometric feature information of the target area, the self-moving device is controlled to travel and / or work in the to-be-traveled area corresponding to the target area.
[0076] In some embodiments, the geometric feature information includes one or more of length, area, shape, and region boundary angle.
[0077] In some embodiments, determining the geometric feature information of the target area includes: determining the geometric feature information of the first area;
[0078] Based on the geometric feature information of the target area, controlling the self-moving device to travel and / or work in the area to be traveled corresponding to the target area includes: based on the geometric feature information of the first area, controlling the self-moving device to travel and / or work in the area to be traveled corresponding to the target area.
[0079] Some embodiments of the present application provide a control device for use in a self-propelled system, wherein the self-propelled system includes a self-propelled device configured to travel and / or operate in a work area. The control device includes:
[0080] The first acquisition module is used to obtain type information of identifiable non-grass objects, which represent non-grass objects that can be identified by the self-mobile device; the first determination module is used to determine at least one target type information in the type information of the identifiable non-grass objects; the second acquisition module is used to obtain a target image of the working area; the second determination module is used to perform recognition processing on the target image based on the image recognition model to determine the recognition result, which includes at least one non-grass area, and the non-grass area type of the non-grass area corresponds to the type of the identifiable non-grass object; the third determination module is used to determine the customized driving information corresponding to each non-grass area type based on the target type information, and the customized driving information includes drivable information or non-drivable information; the fourth determination module is used to determine a first area in at least one non-grass area based on the customized driving information corresponding to each non-grass area type; the control module is used to control the self-mobile device to drive and / or work in the to-be-driven area corresponding to the target area, and the target area includes the first area.
[0081] Some embodiments of the present application provide a computer-readable storage medium, which stores a computer program for executing the methods mentioned in the first and second aspects.
[0082] Some embodiments of the present application provide an electronic device, comprising: a processor; a memory for storing processor-executable instructions; and the processor is configured to execute the methods mentioned in the first and second aspects.
[0083] The control method provided in the embodiments of the present application has the following beneficial effects.
[0084] The self-moving device in the embodiment of the present application can further subdivide non-grass to identify the type information of multiple non-grass objects, and determine the type information of any non-grass object as target type information, so that the self-moving device can determine the non-grass area with the same target type information as the drivable area according to the target type information, and call the algorithm corresponding to the target type information to work in the drivable area, thereby improving the mowing efficiency and mowing completion of the self-moving device in the entire working area. BRIEF DESCRIPTION OF THE DRAWINGS
[0085] The above and other purposes, features, and advantages of the present application will become more apparent through a more detailed description of the embodiments of the present application in conjunction with the accompanying drawings. The accompanying drawings are intended to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the drawings, the same reference numerals generally represent the same components or steps.
[0086] FIG1 is a flow chart showing a control method according to some embodiments of the present application.
[0087] FIG2 is a schematic diagram showing a lawn mower provided by some embodiments of the present application moving within a working area.
[0088] FIG3 is a schematic diagram showing recognition results corresponding to a target image provided in some embodiments of the present application.
[0089] FIG4 is a schematic diagram showing a process of determining at least one target type information provided by some embodiments of the present application.
[0090] FIG5 is a schematic diagram showing a process of determining at least one target type information provided in other embodiments of the present application.
[0091] FIG6 is a flow chart showing control methods provided in some other embodiments of the present application.
[0092] FIG7 is a schematic diagram showing a flow chart of controlling the travel and / or operation of a self-moving device provided in some embodiments of the present application.
[0093] FIG8 is a flow chart showing a control method according to some embodiments of the present application.
[0094] FIG9 is a schematic diagram showing the structure of a control device provided in some embodiments of the present application.
[0095] FIG10 is a schematic diagram showing the structure of an electronic device provided in some embodiments of the present application.
[0096] FIG11 is a schematic structural diagram of a self-moving device provided in some embodiments of the present application.
[0097] FIG12 is a module diagram of some embodiments of the present application. DETAILED DESCRIPTION
[0098] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application. In addition, it is particularly important to note that different embodiments can be combined with each other.
[0099] To facilitate understanding of the present invention, the present invention will be described more fully below with reference to the accompanying drawings. Preferred embodiments of the present invention are shown in the accompanying drawings. However, the present invention may be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and comprehensive understanding of the present disclosure. The embodiments provided in this specification may be combined with each other.
[0100] In the present invention, unless otherwise specified or limited, the terms "installed," "connected," "connect," "fixed," etc. should be understood in a broad sense. For example, they can refer to fixed connection, detachable connection, or integration; mechanical connection, electrical connection; direct connection, or indirect connection through an intermediate medium; internal communication between two components, or interaction between two components, unless otherwise specified. Those skilled in the art will understand the specific meanings of the above terms in the present invention based on specific circumstances.
[0101] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of the technical features being referred to. Thus, a feature specified as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "plurality" means at least two, for example, two, three, etc., unless otherwise specifically defined.
[0102] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this invention pertains. The terms used in this specification of the present invention are for the purpose of describing specific embodiments only and are not intended to limit the present invention. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.
[0103] The autonomous device may be an autonomous lawn mower, an autonomous vacuum cleaner, an autonomous mop, an autonomous snow blower, or other intelligent devices that can move automatically. It may automatically move within a specified working area and perform corresponding work, or it may return to a docking station along the boundary of the working area for docking or charging.
[0104] As shown in FIG. 10 and FIG. 11 , the self-moving device includes a body 800 , an imaging sensor 200 , a position sensor 300 , and a control circuit 600 .
[0105] Specifically, the body 800 includes a drive device 700, which is used to drive the body 800 on the work surface according to received drive commands. The drive device 700 generally includes rollers and a motor that drives the rollers. The rollers may include a driving wheel and a driven wheel. The rollers may be distributed on both sides of the body 800, with one or two rollers on each side.
[0106] The body 800 also includes a working module, which is used to perform specific work tasks. For example, if the self-moving device is an automatic lawn mower, the working module includes mowing blades, a cutting motor, and other components. It may also include auxiliary components such as a mowing height adjustment mechanism to optimize or adjust the mowing effect. For example, if the self-moving device is an automatic vacuum cleaner, the working module includes a vacuum motor, a vacuum port, a vacuum tube, a vacuum chamber, a dust collection device, and other working components used to perform the vacuuming task.
[0107] The body 800 may also include an energy module, which is used to provide energy for various operations of the self-mobile device. The energy module may include a rechargeable battery and a charging connection structure, wherein the charging connection structure is usually a charging electrode sheet, which can be used in conjunction with a charging electrode sheet set at a docking station to charge the self-mobile device.
[0108] The body 800 further includes a memory 400 , which is used to store data generated by sensors or control circuits, or to pre-store data for use by the control circuits.
[0109] The body 800 further includes a position sensor 500 , which may include an inertial sensor IMU or an odometer ODO installed on the driving device 700 , etc., for obtaining a relative position according to the movement of the body 800 .
[0110] In addition to the above modules, the body 800 may also include a shell for accommodating and installing each module, a control panel for user operation, etc. It may also include various environmental sensors, such as humidity sensors, temperature sensors, acceleration sensors, light sensors, etc. The above sensors can assist the mobile device in determining the working environment in order to execute the corresponding program.
[0111] The control circuit 600 is the core component of the self-moving device, which is used to control the automatic movement and operation of the self-moving device. The functions it performs include controlling the working module to start or stop working, generating a moving path and controlling the drive device 700 to move according to the path, judging the power level of the energy module and promptly controlling the self-moving device to return to the docking station for automatic docking and charging, and executing corresponding programs based on the data from the environmental sensor.
[0112] 11 and 12 , the self-propelled device includes an imaging sensor 200. The imaging sensor 200 is connected to the body 800 and is configured to capture images in the forward direction of the body 800. These images are at least partially images of the work surface in the forward direction. The captured images are within the field of view 210 of the imaging sensor 200. The imaging sensor 200 can be a commonly used camera or lidar.
[0113] Typically, the imaging sensor 200 is mounted near the front upper portion of the fuselage 800, preferably centered, with its viewing angle facing forward and downward to capture images of the work surface. Its field of view 210 can be adjusted based on actual needs. A larger field of view 210 captures more images in the forward direction of the fuselage 800, and vice versa. The forward direction of the fuselage 800 can be various, such as normal forward movement, backward movement, and turning. In this embodiment, the forward direction of the fuselage refers to the normal forward direction, i.e., the direction of the fuselage's central axis.
[0114] Exemplary Methods
[0115] Figure 1 is a schematic flow chart of a control method provided in some embodiments of the present application. For example, the control method in some embodiments of the present application is applied to a self-propelled system, which includes a self-propelled device configured to travel and / or operate within a work area. As shown in Figure 1 , the control method in some embodiments of the present application includes the following steps.
[0116] Step S110 , obtaining type information of identifiable non-grass objects.
[0117] The recognizable non-grass object represents a non-grass object of a type that can be recognized by the mobile device. The non-grass object represents an object in real space. The type information corresponding to several non-grass objects can be the same or different.
[0118] For example, the self-mobile device is a lawn mower, and the actual space is a garden area to be mowed, which includes a grassy area. Non-grass objects include flagstones, fallen leaves, and mud. For example, the non-grass object flagstone has type information of flagstone; the non-grass object fallen leaves has type information of fallen leaves; and the non-grass object mud has type information of mud. For example, a black strip of flagstone and a white circular flagstone are of the flagstone path type, and a suspended fence and a grounded fence are of the fence type.
[0119] Step S120 : determining at least one target type information in the type information of the identifiable non-grass object.
[0120] The target type information can be any one or more types of type information of non-grass objects. The target type information can be determined by the user, or the target type information can be determined by the mobile device, or the target type information has been set by default when the mobile device leaves the factory (such as setting the cobblestone road type as the target type information by default).
[0121] Exemplarily, non-grass objects include stone slabs, fallen leaves, mud, and soil (for example, places where a small amount of grass grows). The stone slabs can be determined as target type information, or the mud can be determined as target type information, or the mud and fallen leaves can be determined as target type information at the same time, or the type information of all identifiable non-grass objects can be determined as target type information.
[0122] Step S130: Acquire a target image of the working area.
[0123] An image acquisition module may be configured on the mobile device to acquire the target image. For example, the image acquisition module is a camera. The target image may be acquired in real time during the movement of the mobile device.
[0124] Step S140 : performing recognition processing on the target image based on the image recognition model to determine a recognition result.
[0125] The recognition result includes at least one non-grass area, and the non-grass area type of the non-grass area corresponds to the type of the identifiable non-grass object. For example, the non-grass area type includes at least one of a mud type, a stone slab type, and a fallen leaf type. The non-grass area type in the present application is not limited thereto.
[0126] Recognition results can also include other areas. These areas are areas other than grass areas and non-grass areas corresponding to identifiable non-grass objects (such as mud, stone, and fallen leaves). For example, areas where specific types of obstacles cannot be identified, boundary areas, and areas outside of boundaries. Mud refers to areas where the soil hardness is greater than or equal to a hardness threshold, or areas where the soil moisture content is greater than or equal to a moisture content threshold.
[0127] The recognition results may also include grassy areas.
[0128] Non-grass areas at different positions in the recognition result may correspond to the same type or different types. For example, there may be muddy areas on both sides of the image and a stone slab area in the middle of the image.
[0129] Exemplarily, an image recognition model is used to perform semantic segmentation on the target image, and each pixel in the target image is classified. Based on the classification results, different colors are used to represent the grass area and at least one non-grass area in the target image, or different numbers are used to represent the grass area and at least one non-grass area, or the grass area is directly marked with grass, and its corresponding non-grass area is marked with the non-grass area type.
[0130] Step S150 : determining customized driving information corresponding to each non-grass area type according to the target type information.
[0131] Customized driving information includes drivable information and non-drivable information. Drivable information indicates that the corresponding area is an area where mobile devices can drive, while non-drivable information indicates that the corresponding area is not an area where mobile devices can drive.
[0132] Specifically, customized driving information corresponding to non-grass area types that match the target type information is determined as drivable information; customized driving information corresponding to non-grass area types that differ from the target type information is determined as non-drivable information. For example, if the target type information is stone slabs, the customized driving information corresponding to each non-grass area type includes: stone slabs correspond to drivable information, and any non-grass area other than stone slabs corresponds to non-drivable information. If the target type information is fallen leaves, the customized driving information corresponding to each non-grass area type includes: fallen leaves correspond to drivable information, and any non-grass area other than fallen leaves corresponds to non-drivable information.
[0133] Step S160 : determining a first area in at least one non-grass area according to the customized driving information corresponding to each non-grass area type.
[0134] Specifically, a first area is determined in at least one non-grass area according to the drivable information, and the first area is the drivable area.
[0135] Step S170: Control the self-mobile device to travel and / or operate in the waiting travel area corresponding to the target area.
[0136] The target area is the area in the target image, which includes the first area, and the waiting area is the area in real space. The first area is determined in a non-grass area, and the self-moving device can travel and / or operate in the waiting area corresponding to the first area, thereby improving the self-moving device's coverage of the entire operating area. Furthermore, the first area is determined based on target type information, which can be related to user needs. Therefore, the self-moving device can travel and / or operate in the corresponding area based on user needs, meeting personalized user requirements and improving user satisfaction.
[0137] Take lawn mowers for example. Every lawn is unique. Some are entirely grassy, others feature user-installed stone slabs for walking, and still others feature pools for added aesthetic appeal. Traditional mowers employ the same approach for each lawn: they move exclusively within the grassy area, treating stone slabs as obstacles and avoiding them. Consequently, they fail to cut the grass surrounding the stone slabs, resulting in low coverage and an unsightly, unsightly cutting effect, falling short of user expectations.
[0138] In embodiments of the present application, customized cutting can be performed for different lawns to meet the varying needs of users. For example, if a user's lawn is covered with multiple flagstones, and the user wishes the mower to cut the areas surrounding the flagstones and the spaces between adjacent flagstones, the self-mobile device can perform customized cutting based on the user's needs, identifying the flagstones as target type information and then driving and cutting within the area corresponding to the flagstones, thus meeting the user's personalized work needs. The target area includes a first area. For example, if the target type information is flagstones, during customized cutting, the mower can only move and cut within the area to be driven by the flagstones.
[0139] The target area may also include a grass area. Taking the target type information as a stone slab as an example, when performing customized cutting work, the machine may move and cut in the to-be-traveled areas corresponding to the stone slab and the grass.
[0140] The self-propelled equipment in this application is not limited to lawn mowers, but can also be snow blowers, watering machines, fertilizer spreaders, etc.
[0141] Unlike self-moving devices that can only identify grass and non-grass, the self-moving device in the embodiments of the present application can further subdivide non-grass to identify the type information of multiple non-grass objects, and determine the type information of any non-grass object as target type information. This facilitates the self-moving device to determine non-grass areas with the same target type information as drivable areas based on the target type information, and to call the algorithm corresponding to the target type information to operate within the drivable area, thereby improving the self-moving device's mowing efficiency and mowing completion rate across the entire work area. The identifiable non-grass objects in this application are not limited to the types described above.
[0142] FIG2 is a schematic diagram of a lawn mower provided by some embodiments of the present application moving within a working area. For example, FIG2 shows 10 in FIG2 , indicating the boundary of the working area, a, b, and e indicating flagstones, c indicating mud, d1, d2, d3, d4, and d5 indicating fallen leaves or flowers, f indicating the area between flagstone a and the boundary 10, and g indicating the area between flagstone a and flagstone b. The target image captured by the lawn mower in the position shown in FIG2 is recognized and processed, and the recognition result obtained is shown in FIG3 . In FIG3 , the grass area is represented by 1, the mud area is represented by 2, the flagstone area is represented by 3, and the other areas are represented by 4. The other areas 4 represent areas corresponding to non-grass areas other than the grass area, flagstones, mud, and fallen leaves (e.g., areas outside the boundary 10, areas of non-grass areas that the machine cannot recognize a specific type of, etc.).
[0143] For example, if a slate is the target type, the target area may include area 3 in Figure 3. Thus, the lawn mower can move and / or operate in the to-be-traveled area corresponding to area 3, while performing obstacle avoidance (by detouring, stopping, or retreating) in area 2. Specifically, area 1 can be cut first, and then area 3 can be cut after area 1 is cut, thereby completely cutting the grass near area 3.
[0144] For example, when the slate is the target type information, the target area may include area 1 and area 3 in Figure 3. Thus, the lawn mower may process area 1 and area 3 uniformly, and perform uniform cutting in the overall area formed by area 1 and area 3, which may further reduce missed cutting and improve cutting coverage, especially improve cutting coverage in area f and area g.
[0145] After applying the method in this embodiment, the self-moving device can further reduce missed cutting and improve the cutting coverage. For example, the cutting coverage around or inside area a, area b, area c, area d1, area d2, area d3, area d4, and area d5 can be improved, and the cutting coverage in area f and area g can be improved.
[0146] In some embodiments, determining customized driving information corresponding to each non-grass area type based on the target type information further includes: determining, based on the target type information, a target area type that matches the target type information among the non-grass area types; and determining the customized driving information corresponding to the target area type as drivable information. In other words, an area belonging to the same non-grass area type as the target type information is determined as a drivable area, and this area can serve as the first area.
[0147] For example, if the target type information is mud, and the non-grass area types include mud, fallen leaves, and stone slabs, then the target area type that matches the target type information is mud. Furthermore, the area corresponding to the mud is a drivable area.
[0148] In an embodiment of the present application, customized driving information of the non-grass area type that matches the target type information is determined as drivable information, so that when the self-mobile device is mowing the grass in the work area and drives to an area close to the non-grass area type, instead of changing the travel path in advance to avoid obstacles, the area corresponding to the non-grass area type can be used as a drivable area and operations can be performed in the drivable area, thereby improving work efficiency and work coverage.
[0149] In some embodiments, customized driving information corresponding to any type of non-grass area type except the target area type can be determined as non-drivable information; based on the non-drivable information, a non-drivable area is determined in at least one non-grass area, and the self-mobile device avoids the spatial area corresponding to the non-drivable area during movement.
[0150] In some embodiments, determining a target area type matching the target type information in the non-grass area type according to the target type information further includes: determining configuration information according to the target type information; and determining the target area type in the non-grass area type based on the configuration information.
[0151] The configuration information indicates whether each non-grass area type matches the target type information. For example, the configuration information includes a certain number of configuration parameters corresponding to identifiable non-grass object type information, such as mud, stone, fallen leaves, and pool types. If the identifiable non-grass object type information is determined to be the target type information, the configuration parameter for that non-grass object type information is set to 1.
[0152] For example, the user selects flagstone and muddy ground as target type information based on the lawn conditions in the work area, and the configuration parameters representing flagstone type information and muddy ground type information in the configuration information are set to 1. See Table 1 for details.
[0153] Table 1: Configuration information when the target type information is stone slabs and mud.
[0154] As shown in Table 1, the 000 in the second row of the table represents the configuration parameters corresponding to the type information of each non-grass object when the target type information is not determined. The third row of the table, 110, represents the configuration parameters corresponding to the type information of each non-grass object when the target type information is determined. As shown in Table 1, the target area types in the non-grass area type are stone slab type and mud type.
[0155] In an embodiment of the present application, the target area type is determined in the non-grass area type based on the configuration information. On the one hand, this solution is highly replicable and can be applied in various working situations. On the other hand, it is also more convenient to determine the target area type from a mobile device.
[0156] In some embodiments, the recognition results obtained by the image recognition model from processing the target image also include dangerous areas and non-dangerous areas. The non-dangerous areas include at least one non-grass area, and the dangerous areas represent areas where self-driving vehicles are prohibited from entering. In other words, the dangerous areas and non-dangerous areas are divided based on whether they pose a danger to the self-driving vehicle.
[0157] Then, under normal circumstances, the grass area can be regarded as a non-dangerous area. Accordingly, a part of the non-grass area (such as the non-grass area where the non-grass object cannot be identified) can be regarded as a dangerous area, or other areas except the grass area and the non-grass area can be regarded as dangerous areas. Exemplarily, the dangerous area may include other areas except the grass area and the non-grass area corresponding to the identifiable non-grass object, such as the area surrounded by suspended fences, the area surrounded by grounded fences, pools, ditches, soft soil areas, areas where irrigation facilities are located, areas where people or animals are located, areas outside the work area, etc., wherein the soft soil area refers to an area where the soil hardness is less than the hardness threshold, and a self-mobile device walking in the soft soil area may fall into and be trapped.
[0158] In some embodiments, the recognition result obtained by the image recognition model through recognition processing of the target image also includes at least one grass area, and the grass area type of the grass area corresponds to the recognizable grass type, and the recognizable grass type represents the type of grass object that can be recognized by the mobile device.
[0159] Based on the above, the control method in some embodiments of the present application further includes determining a second area within at least one grass area. Furthermore, the target area includes a first area and a second area, and controlling the self-moving device to travel and / or operate within the to-be-traveled area corresponding to the target area includes: controlling the self-moving device to travel and / or operate within the to-be-traveled area corresponding to the first area and the second area. Specifically, the grass object is an object in real space. The second area can be all grass areas, or one or more of a plurality of grass areas.
[0160] In some embodiments, a second area where the self-moving device can operate is determined based on the grass area, and the self-moving device is controlled to travel and / or operate in the waiting area corresponding to the first and second areas. By subdividing the grass area and non-grass area to determine the area where the self-moving device can travel, the operating efficiency of the self-moving device is further improved and the user's customization needs are met. The grass area can be subdivided according to grass variety, and areas corresponding to specific grass varieties can be used as second areas based on user needs. The self-moving device is controlled to travel and / or operate in the waiting area corresponding to the first and second areas. Alternatively, the grass area can be unclassified and all grass areas can be used as second areas.
[0161] In some embodiments, controlling the self-moving device to travel and / or work in the to-be-traveled area corresponding to the first area and the second area includes: determining the circumscribed polygonal area (e.g., convex hull) of the second area based on the second area; determining the overlapping area between the circumscribed polygonal area and the first area; combining the overlapping area and the first area to obtain a combined area corresponding to the overlapping area and the first area; and controlling the self-moving device to travel and / or work in the to-be-traveled area corresponding to the combined area.
[0162] FIG4 is a flow chart illustrating a method for determining at least one target type according to some embodiments of the present application. FIG4 is an extension of FIG1 . The following focuses on the differences between FIG4 and FIG1 , and the similarities are omitted.
[0163] As shown in FIG. 4 , in some embodiments of the present application, determining at least one target type information in the type information of identifiable non-grass objects includes the following steps.
[0164] Step S410 : determining at least one recommended type information in the type information of identifiable non-grass objects.
[0165] The recommended type information may be any one or more of the type information of non-grass objects. For example, the type information of the identifiable non-grass objects includes stone slabs and fallen leaves. Either stone slabs or fallen leaves may be determined as the recommended type information, or both stone slabs and fallen leaves may be determined as the recommended type information.
[0166] Step S420: display at least one recommended type of information.
[0167] Exemplarily, at least one type of recommendation information is displayed from a mobile device or a user terminal.
[0168] For example, the mobile device is provided with a display screen, which can display the at least one recommended type of information determined above.
[0169] For another example, after determining at least one recommended type of information from the type information of identifiable non-grass objects, the mobile device sends the at least one recommended type of information to a user terminal (e.g., a mobile phone, a computer, etc.). The user terminal receives and displays the at least one recommended type of information sent from the mobile device.
[0170] Step S430 : In response to a user's selection instruction for at least one piece of recommended type information, target type information is determined in the at least one piece of recommended type information.
[0171] For example, a user selects a recommended information type from the recommended information displayed on the display screen of their mobile device. Upon receiving the user's selection instruction, the mobile device determines the recommended information type selected by the user as the target information type. Alternatively, the user selects the recommended information type they desire on their terminal and sends the selected recommended information type to their mobile device, which then determines the recommended information type selected by the user as the target information type.
[0172] For users, their understanding of the working area is relatively high. Therefore, the embodiments of the present application determine the target type information from at least one piece of recommended type information through the user's selection instruction, which can improve the adaptability of the target type information to the working area and make the target type information more adaptable to the user's actual needs. In addition, the embodiments of the present application take the user's choice into consideration and further integrate the user's needs into the operation process of the self-moving device in the working area, so that the operation of the self-moving device in the working area is more in line with the user's selection and meets the user's personalized needs.
[0173] FIG5 is a flow chart illustrating a method for determining at least one target type according to another embodiment of the present invention. The embodiment shown in FIG5 is derived from the embodiment shown in FIG1 . The following focuses on the differences between the embodiment shown in FIG5 and the embodiment shown in FIG1 , and the similarities are not repeated.
[0174] As shown in FIG. 5 , in some embodiments of the present application, determining at least one target type information in the type information of identifiable non-grass objects includes the following steps.
[0175] Step S510 : determining at least one recommended type information in the type information of identifiable non-grass objects.
[0176] The recommended type information may be any one or more of the type information of the non-grass object.
[0177] Step S520 : determining target category information from at least one piece of recommended category information based on a preset selection rule of the mobile device.
[0178] The preset selection rules for the mobile device can be customized when the mobile device leaves the factory or by the user of the mobile device. For example, the preset selection rules can be constructed based on the area, shape, or number of areas corresponding to at least one piece of recommended type information. For example, the preset selection rules are to use the type information with the largest area in the recommended type information as the target type information, or to use the type information with the smallest number of areas corresponding to the recommended type information as the target type information, or to use the type information with a regular shape corresponding to the recommended type information as the target type information.
[0179] In this embodiment of the present application, the mobile device can autonomously determine target type information from at least one piece of recommended type information. Combined with the aforementioned user-defined target type information from at least one piece of recommended type information, the solution in this embodiment of the present application meets the operational needs of the mobile device in different operating situations. For example, when the user selects a recommended type information, the user's selected recommended type information can be prioritized as the target type information. If the user does not select a recommended type information, the recommended type information selected by the mobile device can be determined as the target type information.
[0180] In some embodiments, step S410 and step S510 (determining at least one piece of recommended type information in the type information of identifiable non-grass objects) in the embodiments shown in FIG. 4 and FIG. 5 may be implemented in the following manner.
[0181] Implementation method 1: determining date information; and determining at least one recommended type information from the type information of identifiable non-grass objects based on the date information and preset seasonal recommendation rules.
[0182] For example, since there are more fallen leaves in autumn, it can be set that fallen leaves are determined as the recommended type information in autumn.
[0183] For example, the preset seasonal recommendation rules may also be determined based on the weeding operation area. Specifically, the type of grass in the operation area is determined, and based on the grass type, the seasonal growth pattern of the grass is determined, and based on the seasonal growth pattern of the grass, the preset seasonal recommendation rules are determined.
[0184] Specifically, the season to which the date represented by the date information belongs is determined, and a seasonal recommendation rule matching the season to which the date represented by the date information belongs is determined from preset seasonal recommendation rules, thereby determining the recommendation type information.
[0185] In some embodiments, at least one recommendation type information is determined using a preset seasonal recommendation rule, which meets the needs of using the self-moving device in different seasons and improves the grass mowing coverage rate of the self-moving device in different situations.
[0186] Implementation method 2 is to determine distribution status information corresponding to each type of identifiable non-grass objects; and determine at least one recommended type information in the type information of the identifiable non-grass objects according to the distribution status information.
[0187] The distribution information represents the distribution of identifiable non-grass objects within the work area. For example, the distribution information includes at least one of area, location, shape, and angle. Furthermore, the area of the non-grass objects can be determined by counting the number of pixels in the non-grass objects.
[0188] In some embodiments, at least one recommended type information is determined using the distribution status information of identifiable non-grass objects, taking into account the distribution of identifiable non-grass objects, so that the determination of the recommended type information is more reasonable, and the recommended type information is more closely matched with the current working area situation.
[0189] Furthermore, the distribution status information includes the total area of the region, and determining the distribution status information corresponding to each type of identifiable non-grass object includes: acquiring a first historical image; and determining the total area of the region corresponding to each type of identifiable non-grass object based on the first historical image.
[0190] Exemplarily, based on the first historical images, the areas of the slabs in the first historical images are accumulated to obtain the total area of the slabs in all the first historical images. Specifically, the first historical images include historical images collected when the mobile device moves within the working area for a preset distance, or historical images collected when the mobile device moves within the working area for a preset time, or historical images collected when the mobile device moves within the working area a preset number of times.
[0191] In an embodiment of the present application, the total area of the region corresponding to the identifiable non-grass object is determined based on the first historical image, and the first historical image includes multiple types, which meets the total area calculation requirements of the mobile device under different working conditions.
[0192] Further, based on the distribution status information, determining at least one recommended type information in the type information of identifiable non-grass objects includes: based on the type information corresponding to the total area of the area that meets the first preset condition, determining at least one recommended type information in the type information of identifiable non-grass objects.
[0193] For example, the type information of the identifiable non-grass object type information with the largest total area can be used as the recommended type information. Alternatively, the type information of several types of identifiable non-grass object type information with the largest total area can be used as the recommended type information.
[0194] In some embodiments, at least one piece of recommended type information is determined based on the total area of each identifiable non-grass object. Specifically, at least one piece of recommended type information is determined based on the type information corresponding to the total area of the area that meets a first preset condition. This enriches the method for determining recommended type information to meet the requirements for determining recommended type information in different situations. Based on the rational determination of recommended type information, the grass mowing coverage rate of the mobile device in different situations is improved.
[0195] Figure 6 is a flow chart of the control method provided in some other embodiments of the present application. The embodiment shown in Figure 6 is extended based on the embodiment shown in Figure 1. The following focuses on the differences between the embodiment shown in Figure 6 and the embodiment shown in Figure 1, and the similarities are not repeated.
[0196] As shown in FIG6 , in the embodiment of the present application, the control method further includes the following steps.
[0197] Step S610: Acquire an image of the area to be optimized.
[0198] The image of the area to be optimized includes an image of the area to be optimized taken by a mobile device and / or an image of the area to be optimized taken by a user terminal device.
[0199] For example, the user takes photos of grass areas or non-grass areas where the mowing effect is not satisfactory to obtain images of the areas to be optimized, for example, some areas that the user wants to cut but the mower does not cut, or some grass areas with unique shapes that the mower does not recognize as grass.
[0200] For example, the image of the area to be optimized, captured by the mobile device, can be determined from a number of target images of the working area automatically captured by the mobile device. Alternatively, the mobile device may detect a high number of collisions during movement and then capture an image of the area with the high number of collisions, with the captured image serving as the image of the area to be optimized. Alternatively, the user may define a custom area to be optimized, and when the mobile device moves into the area to be optimized, the mobile device is controlled to stop and capture an image of the area to be optimized.
[0201] Step S620: Upload the image of the area to be optimized to the server.
[0202] The purpose of step S620 is to enable the server to analyze the image of the area to be optimized, determine the user's required content to be optimized, and generate an update instruction for the required content.
[0203] Step S630: performing an update in response to the update instruction.
[0204] Exemplarily, in response to the update instruction, the mobile device optimizes the image recognition model. Alternatively, in response to the update instruction, the mobile device optimizes the control strategy of the mobile device.
[0205] In some embodiments, if a user is dissatisfied with the mowing results based on the target type information, they can proactively report the issue and control the mobile device to update. Alternatively, if the number of collisions exceeds a preset number, the mobile device will proactively update. This solution can meet the diverse optimization needs of users and improve the mowing efficiency of the mobile device.
[0206] In some embodiments, uploading the image of the area to be optimized to the server further includes: uploading the image of the area to be optimized and user demand information to the server, so that the server generates at least one customized recognition model and update instructions based on the image of the area to be optimized and user demand information.
[0207] For example, the user requirement information represents the user's requirements for the mowing effect of the mobile device. The user requirement information can be in text form or in audio or video form. In addition, the server also obtains the device ID of the mobile device and, based on the device ID, finds the image of the area to be optimized captured by the device ID in a preset storage space.
[0208] In this embodiment of the present application, the image recognition model can be flexible. If the user is dissatisfied with the mowing results, or if the self-mobile device determines that the image recognition model needs to be optimized based on driving conditions, the server will regenerate a customized recognition model based on the image of the area to be optimized and the user's needs. Compared to the initial image recognition model, the training data of the customized recognition model reflects the user's needs, ensuring that the mowing results of the self-mobile device meet the user's needs to the greatest extent possible.
[0209] In some embodiments, updating in response to an update instruction further includes: acquiring a customized recognition model in response to the update instruction.
[0210] Furthermore, before the target image is recognized and processed based on the image recognition model and the recognition result is determined, the control method also includes: when a customized recognition model is obtained, based on the user selection instruction, determining the image recognition model between the initial recognition model and the customized recognition model of the mobile device; or, when a customized recognition model is obtained, determining the customized recognition model as the image recognition model.
[0211] In other words, when both a customized recognition model and an initial recognition model exist, the image recognition model is determined from the two models based on the user's selection, taking the user's needs into consideration. When only the customized recognition model exists, the customized recognition model is directly determined as the image recognition model. This solution, while maximizing the user's real-time needs, improves the mowing efficiency of the autonomous device.
[0212] In some embodiments, obtaining the image of the area to be optimized further includes: generating a first warning message if a second preset condition is met; and obtaining the image of the area to be optimized corresponding to the first warning message.
[0213] Exemplarily, the second preset condition includes: within a preset time period, the number of collisions of the self-moving device with obstacles exceeds a preset number, or the self-moving device detects being stuck, or the self-moving device detects being entangled.
[0214] For example, the first warning message can be a voice-activated indicator light on a mobile device or a reminder on a user terminal. The first warning message can be of different types, and for example, the first warning message can include at least one of an obstacle collision, a jam, or an entanglement. Furthermore, an image captured some time before the first warning message was generated, or an image manually captured by the user at the time the first warning message was generated, can be obtained.
[0215] In this embodiment of the present application, when the mobile device meets the second preset condition, a first warning message is generated, and an image of the area to be optimized corresponding to the first warning message is obtained. The solution in this embodiment of the present application can improve the intelligence of the mobile device and enhance the user experience of the mobile device.
[0216] FIG7 is a schematic diagram of a process flow for controlling the movement and / or operation of a self-propelled device according to some embodiments of the present application. The embodiment shown in FIG7 is an extension of the embodiment shown in FIG1 . The following focuses on the differences between the embodiment shown in FIG7 and the embodiment shown in FIG1 , and the similarities are not repeated.
[0217] As shown in FIG. 7 , in some embodiments of the present application, controlling the self-moving device to travel and / or operate in the to-be-traveled area corresponding to the target area includes the following steps.
[0218] Step S710: Determine geometric feature information of the first area.
[0219] Exemplarily, the geometric feature information includes one or more of length, area, shape, region boundary angle, and the like.
[0220] Step S720: Based on the geometric feature information of the first area, the self-mobile device is controlled to travel and / or operate in the to-be-traveled area corresponding to the target area.
[0221] In some embodiments, the target area includes a first area, that is, the self-moving device controls the self-moving device to travel and / or work in the to-be-traveled area corresponding to the target area according to geometric feature information of the first area in the target area.
[0222] In some embodiments, the target area includes a first area and a second area, that is, the self-moving device controls the self-moving device to travel and / or work in the to-be-traveled area corresponding to the target area according to the geometric feature information of the first area.
[0223] In some embodiments, the target area includes a first area and a second area, that is, the self-moving device controls the self-moving device to travel and / or work in the to-be-traveled area corresponding to the target area based on geometric feature information of the first area and the grass area.
[0224] In an embodiment of the present application, based on the geometric feature information of the target area, the self-moving device is controlled to travel and / or work in the waiting area corresponding to the target area, thereby enriching the working conditions of the self-moving device, improving the mowing efficiency of the self-moving device, and avoiding missing mowing.
[0225] In conjunction with FIG. 7 , in some embodiments, if the geometric feature information of the non-grass area (first area) within the target area does not satisfy a third preset condition, the self-moving device is controlled to travel and / or operate within the to-be-traveled area corresponding to the target area. The control method further includes: if the geometric feature information of the non-grass area within the target area satisfies the third preset condition, controlling the self-moving device to avoid obstacles.
[0226] For example, when determining target type information, the geometric feature information of the non-grass areas within the target area may refer to the sum of the areas of the non-grass areas matching the target type information in the target image. The third preset condition may be that the sum of the areas of the non-grass areas matching the target type information in the target image is greater than 70% of the target image area. When the sum of the areas of the non-grass areas matching the target type information in the target image is greater than 70% of the target image area, the self-mobile device is controlled to avoid obstacles in the non-grass areas matching the target type information that are greater than 70% of the target image area, and grass is not mowed.
[0227] For example, the target type information is a stone slab. When the self-mobile device recognizes that the sum of the areas of the stone slabs in the currently acquired target image is greater than 70% of the area of the currently acquired target image, the self-mobile device is controlled to avoid the stone slabs.
[0228] In some embodiments, unlike fully cutting real grass, non-grass areas within the target area can be cut if they are within an appropriate range. Furthermore, if the non-grass area within the target area is too large, it can be treated as an obstacle and avoided. This is because a large non-grass area within the target area indicates that there is essentially no real grass. As shown in FIG2 , the area of slate e in FIG2 is too large. If the mobile device moves into slate e and detects that the area occupied by the slate in the currently captured target image is too large, obstacle avoidance can be performed to avoid ineffective cutting of the area within slate e. In this embodiment of the present application, different strategies for dealing with non-grass areas are determined based on the geometric features of the non-grass areas within the target area, thereby avoiding ineffective cutting, improving work efficiency, avoiding energy waste, and preventing damage to the machine.
[0229] In other embodiments, the control method further includes: obtaining a work area image of the work area without determining the target type information, and controlling the self-mobile device to avoid the obstacle if the geometric feature information of any non-grass area in the work area image satisfies a fourth preset condition. The fourth preset condition is different from the third preset condition.
[0230] Exemplarily, without determining the target type information, the self-mobile device takes real-time photos during movement and obtains an image of the working area; the geometric feature information of any non-grass area in the working area image may refer to the area corresponding to each type of non-grass area, and the fourth preset condition may be that the area of a certain type of non-grass area in the working area image is larger than 30% of the area of the working area image, that is, when the area of a certain type of non-grass area is larger than 30% of the area of the working area image, the self-mobile device is controlled to avoid obstacles in this type of non-grass area and not mow the grass.
[0231] In some embodiments, when the target type information is not determined, that is, in the default working mode of the self-mobile device, the working area image can be identified and processed to distinguish between grass and various types of non-grass. When the area of a certain type of non-grass is larger than 30% of the area of the working area image, obstacle avoidance is performed for that type of non-grass area. For example, in the default working mode, the self-mobile device only cuts the grass area. The recognition results corresponding to the working area image include grass, stone slabs and fallen leaves. For the stone slabs among the non-grass, when the sum of their areas is larger than 30% of the working area area, the self-mobile device is controlled to avoid the stone slabs and not to mow the grass.
[0232] By comparison, it can be seen that in the embodiment of the present application, when the target type information is selected, for the non-grass area corresponding to the target type information, when the area it occupies in the target image is large (not too large), it can still work, thereby improving the work coverage of the corresponding area. When the target type information is not selected, if a certain type of non-grass area occupies a large area in the working area image, obstacle avoidance is performed. In the embodiment of the present application, different response strategies are adopted under different working conditions, which can improve work efficiency and work coverage and meet the personalized needs of users.
[0233] In some embodiments, the control method further includes controlling the self-moving device to avoid obstacles based on other areas. These other areas are areas other than grass areas and non-grass areas corresponding to identifiable non-grass objects. When encountering other areas, the self-moving device can avoid obstacles, thereby preventing the device from going out of bounds or colliding with obstacles.
[0234] 7 , in some embodiments, the control method further includes: controlling the mobile device to avoid obstacles if the geometric feature information of the target area satisfies a fifth preset condition, wherein the fifth preset condition includes that the area of the non-grass area in the target area is larger than the first area.
[0235] Exemplarily, the first area is 70% of the target image area. For example, if the target type information is a stone slab, if the area of the stone slab in the currently captured target image is greater than 70% of the target image area, the self-mobile device is controlled to avoid the stone slab.
[0236] In other embodiments, the control method further includes: if the area of any non-grass area in the non-target area is larger than a second area, controlling the self-moving device to avoid obstacles, wherein the first area is larger than the second area.
[0237] For example, if the target type information is stone slabs and the target image includes grass, stone slabs, fallen leaves, and mud, then the non-target areas are the fallen leaves and mud areas. For example, if the second area is 30% of the target image area, for a fallen leaf area within the non-target area, if the fallen leaves account for 32% of the target image area, the self-mobile device is controlled to avoid the fallen leaves. For a mud area within the non-target area, if the mud area accounts for 36% of the target image area, the self-mobile device is controlled to avoid the mud area.
[0238] In the above embodiment, multiple obstacle avoidance conditions for the autonomous vehicle are set based on the geometric features of the target area and the area of any non-grass areas in the non-target area, meeting the requirements of the autonomous vehicle in different working environments. The solution in this embodiment further improves the mowing coverage rate of the autonomous vehicle.
[0239] In some embodiments, the self-moving system further includes a control device for controlling the self-moving device.
[0240] Exemplarily, the control device includes at least one of a terminal, a cloud server, and a remote controller.
[0241] For example, a user can select recommended scene information in the terminal and send it to their mobile device via the terminal. Alternatively, the user can control the movement, stopping, and operation of their mobile device via the terminal. Alternatively, the user can send optimization instructions via the terminal, use the terminal to capture an image of the area to be optimized, and then upload it to the cloud server via the terminal.
[0242] For example, the cloud server can optimize the image recognition model based on the acquired optimized area image to obtain a customized recognition model, and then send it to the mobile device. Alternatively, after obtaining the customized recognition model, the cloud server sends it to the terminal, and the user can choose whether to replace the initial recognition model with the customized recognition model.
[0243] For example, the remote controller can control the forward direction and forward angle, driving path, whether to stop, etc. of the mobile device.
[0244] In some embodiments, after performing recognition processing on the target image based on the image recognition model and determining the recognition result, the method further includes: determining a candidate area that meets the first condition in at least one non-grass area;
[0245] Determining a first area in at least one non-grass area according to customized driving information corresponding to each non-grass area type includes: determining the first area in the candidate areas according to the customized driving information corresponding to each non-grass area type.
[0246] Since the mobile device is equipped with a visual sensor (such as a camera), it can capture images based on the visual sensor and perform image recognition processing on the images to determine the sub-regions and region types of the images. For example, binary image recognition processing can be performed on the images to determine the grass area and non-grass area in the image.
[0247] The self-mobile device can also perform multi-classification image recognition processing on the image to determine the grass area, boundary area, obstacle area, various types of non-grass areas, etc. in the image. After determining the sub-area and area type in the image, the sub-area can be screened and the area in the sub-area that meets the first condition is determined as the candidate area. The first condition can be: the area type of the sub-area is any type of stone slab, soil (mud), fallen leaves (or fallen flowers). Among them, mud refers to an area where the soil hardness is greater than or equal to the hardness threshold, or refers to an area where the soil moisture content is greater than or equal to the moisture content threshold. In other embodiments, the area type of the candidate area can also be an area with low grass density.
[0248] Traditional lawn mowers only cut grassy areas, leaving non-grass areas untouched. However, some lawns may have multiple stone slabs installed for users to walk on, and traditional mowers only move within the grassy areas. Alternatively, traditional mowers only move within the grassy areas of the lawn, such as dirt and fallen leaves. This results in a low coverage rate and an unsightly final cutting effect, often failing to meet user expectations and requiring manual cutting.
[0249] Although the candidate areas in this embodiment are not grass, they can be used as driving areas if they meet certain conditions. Based on these conditions, a first area can be determined within the candidate areas, and the autonomous vehicle can be controlled to drive and / or operate within the grass area and the first area. This allows the autonomous vehicle to not only cut grass areas that have been identified, but also non-grass areas that meet the conditions, thereby improving cutting coverage. In this embodiment, the number of sub-areas, candidate areas, and first areas is unlimited. Candidate areas can be evaluated individually to determine whether they qualify as the first area, or multiple candidate areas can be evaluated simultaneously.
[0250] In this embodiment, after determining the first area, the first area can be cut separately, or the first area and the grass area can be cut together; the cutting can be based on path planning, or it can be based on random cutting. In some embodiments, the first condition includes that the area type is a safe area type. The safe area type means that when the self-moving device moves or works in the space corresponding to the area, the movement, work or structure of the self-moving device will not be hindered or damaged; for example, the self-moving device will not be stuck, will not fall, will not be entangled, will not be collided, will not be hindered from moving, etc. in the safe area. The non-grass area in the image sub-area that meets the first condition can be determined as a candidate area.
[0251] In some embodiments, the first condition includes the area type being slate, dirt, or fallen leaves.
[0252] In some embodiments, determining the first region from the candidate regions includes:
[0253] Determine attribute information of the candidate area;
[0254] determining a first region in the candidate regions according to the attribute information of the candidate regions;
[0255] The attribute information of the candidate region includes one or more of the following information: region type, area, shape, side length, position and boundary probability, where the boundary probability represents the probability that the candidate region is the boundary of the working area.
[0256] In this embodiment, the suitability of a candidate area for cutting is determined based on its attribute information. For example, if the candidate area is too large, or the candidate area is in the shape of a strip (elongated), it can be indicated that the candidate area is likely to be the boundary of the working area. In this case, the self-moving device is controlled to avoid the candidate area, otherwise the self-moving device is likely to drive outside the boundary. If the candidate area is suitable for cutting, the self-moving device can be controlled to move near or inside the candidate area and cut the candidate area, thereby clearing the grass inside or at the edge of the candidate area.
[0257] In some embodiments, the recognition result includes an obstacle area;
[0258] Determining a first region from the candidate regions includes:
[0259] Determine the distribution information of the obstacle area;
[0260] Determining a first area in the candidate areas according to the distribution information of the obstacle area;
[0261] The distribution information of the obstacle area includes one or more of the following information: position, area, shape, side length, and the relative position between the obstacle area and the candidate area.
[0262] In some embodiments, the self-mobile device has a more detailed recognition and classification of non-grass objects, and can identify stone slabs, mud, fallen leaves, puddles, fallen flowers, irrigation heads, etc. Non-grass objects correspond to non-grass areas in the image; and obstacle areas are areas other than grass areas and non-grass areas. The self-mobile device cannot determine the specific type of obstacle area (such as stools, toys, hammer heads), and can only refer to them as obstacle areas.
[0263] Based on the obstacle distribution information and the location of the candidate area, the obstacle distribution around the candidate area is determined. If there are a large number of obstacles around the candidate area, the autonomous mobile device is controlled to avoid the candidate area, otherwise a collision may occur and damage the machine. If there are few or no obstacles around the candidate area, the autonomous mobile device can be controlled to move near or inside the candidate area and cut the grass inside or around the candidate area.
[0264] In some embodiments, determining the first area in the candidate areas according to the distribution information of the obstacle area includes:
[0265] According to the distribution information of the obstacle area, the area to be screened is determined in the candidate area;
[0266] Determine the attribute information of the area to be screened;
[0267] Determining a first area in the area to be screened based on the attribute information of the area to be screened;
[0268] The attribute information of the area to be screened includes one or more of the following information: area type, area, shape, side length, location and boundary probability, where the boundary probability represents the probability that the candidate area is the boundary of the working area.
[0269] In this embodiment, the candidate areas are first screened to obtain the area to be screened based on the distribution information of the obstacle area; and then the first area is screened to obtain the first area from the area to be screened based on the attribute information of the area to be screened.
[0270] In some embodiments, the candidate regions may be double-screened based on the distribution information of the obstacle regions and the attribute information of the candidate regions to determine the first region.
[0271] In some embodiments, determining the area to be screened in the candidate area based on the distribution information of the obstacle area includes:
[0272] Determine the peripheral polygonal area corresponding to the candidate area;
[0273] Determine the overlapping area between the obstacle area and the peripheral polygonal area based on the distribution information of the obstacle area;
[0274] Determine the area of other regions in the peripheral polygonal region, where the other regions are regions other than the candidate region in the peripheral polygonal region;
[0275] Determine the ratio between the overlapping area and the area of the other regions;
[0276] When the ratio is less than the first threshold, the candidate region is determined to be the region to be screened.
[0277] The outer polygonal area is the circumscribed polygon of the candidate area, i.e., the convex hull. Preferably, the outer polygonal area can be the circumscribed rectangle of the candidate area, and the candidate area can be a stone slab area, a fallen leaf area, or a soil area. Taking fallen leaves as an example, according to the distribution information of the obstacle area (such as position and area), the area of the part of the obstacle area located in the outer polygonal area, i.e., the overlapping area, is determined; then the area of other areas in the outer polygonal area except the fallen leaf area is determined; the ratio between the overlapping area and the area of the other areas is determined; if the ratio is less than a first threshold, the candidate area can be determined as the area to be screened; if the ratio is not less than the first threshold, it can be said that there are many obstacles around the candidate area, and the self-moving device cannot move in the space corresponding to the candidate area. Exemplarily, the first threshold can be 12%. In subsequent steps, the first area can be determined in the area to be screened based on the same or different screening rules.
[0278] Alternatively, the peripheral polygonal region is a region formed by expanding the candidate region outward by several pixels. In some embodiments, determining the first region in the region to be screened based on the attribute information of the region to be screened includes:
[0279] When the region type of the to-be-screened region is slate and the area of the to-be-screened region is smaller than the second threshold, the to-be-screened region is determined to be the first region.
[0280] If the area to be screened is a flagstone area, the area of the flagstone area can be used to determine whether it is the first area. For example, if the area of the circumscribed rectangle of the flagstone area is less than 70 cm × 70 cm, the flagstone area can be determined as the first area. If the area of the circumscribed rectangle of the flagstone area is not less than 70 cm × 70 cm, it can be determined that the flagstone area is likely to be an area outside the boundary, such as a road, highway, or sidewalk outside the lawn. In this case, the mobile device cannot move in the space corresponding to the flagstone area.
[0281] In some embodiments, determining the first area in the area to be screened based on the attribute information of the area to be screened includes:
[0282] When the area type of the area to be screened is slate, and the length and width of the area to be screened are both smaller than the distance threshold, the area to be screened is determined to be the first area.
[0283] If the area to be screened is a flagstone area, the length and width of the flagstone area can be used to determine whether the area is the first area. For example, if the length and width of the flagstone area are both less than 70 cm, the flagstone area can be determined as the first area. If the length and width of the flagstone area are both greater than 70 cm, it indicates that the flagstone area is likely to be outside the boundary, such as a road, highway, or sidewalk outside the lawn. Therefore, the mobile device cannot move in the space corresponding to the flagstone area.
[0284] In some embodiments, the distance threshold can be set based on actual needs. For example, during the day, the distance threshold is 100 cm to 130 cm. At the same time, when the mobile device recognizes that the stone road is connected to the boundary of the work area, the distance threshold is 90 cm; at night, the distance threshold is 70 cm.
[0285] In some embodiments, determining the first area in the area to be screened based on the attribute information of the area to be screened includes:
[0286] When the region type of the to-be-screened region is fallen leaves and the ratio between the area of the to-be-screened region and the image area is less than a third threshold, the to-be-screened region is determined to be the first region.
[0287] In this embodiment, if the area to be screened is a fallen leaf area, the area of the fallen leaf area can be used to determine whether it is the first area. For example, if the ratio between the fallen leaf area and the area of the entire image is less than 50%, the fallen leaf area can be determined as the first area. If the ratio is not less than 50%, it can indicate that the fallen leaf area is likely outside the boundary, such as a pile of fallen leaves left outside the boundary by a user after mowing the lawn. In this case, the self-moving device cannot move in the space corresponding to the fallen leaf area.
[0288] In some embodiments, determining the first area in the area to be screened based on the attribute information of the area to be screened includes:
[0289] When the region type of the to-be-screened region is soil and the area of the to-be-screened region is smaller than a fourth threshold, determining the to-be-screened region as the first region;
[0290] Alternatively, when the region type of the to-be-screened region is soil and the shape of the to-be-screened region is non-strip-shaped, the to-be-screened region is determined to be the first region.
[0291] In this embodiment, when the area to be screened is a soil area, it can be determined whether the area is the first area based on the area or shape of the soil area. For example, if the number of pixels occupied by the soil area is less than 3000, the soil area can be determined as the first area; if the number of pixels occupied by the soil area is not less than 3000, it can be said that the soil area is likely to be outside the boundary, such as a road, highway, or sidewalk outside the lawn, and the self-moving device cannot move in the space corresponding to the soil area. For another example, if the shape of the soil area is elongated or strip-shaped, it can be said that the soil area is likely to be outside the boundary, most likely a road, highway, or sidewalk outside the lawn, and the self-moving device cannot move in the space corresponding to the soil area.
[0292] In some embodiments, the method further comprises:
[0293] Determine the areas other than the first area in the candidate areas as non-drivable areas;
[0294] Control the mobile device to avoid the spatial area corresponding to the non-drivable area.
[0295] In this embodiment, all spatial areas corresponding to the first area are drivable areas; all areas in the candidate area except the first area are non-drivable areas. Path planning can be used to steer the trajectory around the spatial areas corresponding to non-drivable areas, or control logic such as stopping, turning, or reversing can be employed when encountering a non-drivable area.
[0296] In some embodiments, all areas in the image except the first area and the grass area may be determined as non-drivable areas.
[0297] In addition, some embodiments of the present application further provide a control method, which is applied to a self-moving system. The self-moving system includes a self-moving device, and the self-moving device is configured to travel and / or work in a working area. The control method includes:
[0298] Acquiring target type information, where the target type information represents at least one type of non-grass object identifiable from the mobile device;
[0299] Acquire a target image of the working area;
[0300] Performing recognition processing on the target image based on the image recognition model to determine a first area corresponding to the target type information;
[0301] determining a target area, where the target area includes the first area;
[0302] The self-moving device is controlled to travel and / or operate in the to-be-traveled area corresponding to the target area.
[0303] The first area corresponding to the target type information is used as the area to be driven, and the area corresponding to at least one identifiable non-grass object can be used as the area to be driven, and the self-moving device can move or work in the area.
[0304] Taking a lawn mower as an example, the lawn mower can mow grass near and on the first area, avoiding missing grass near the first area, and improving the mowing coverage rate and user satisfaction.
[0305] In some embodiments, the first area includes at least one of a stone slab area, a dirt area, a fallen leaf area, and a fallen flower area.
[0306] In some embodiments, controlling the self-mobile device to travel and / or operate in the to-be-traveled area corresponding to the target area includes:
[0307] Determine the geometric feature information of the target area;
[0308] Based on the geometric feature information of the target area, the self-moving device is controlled to travel and / or work in the to-be-traveled area corresponding to the target area.
[0309] The driving strategy of the self-driving device is adjusted based on the geometric characteristics of the target area. For example, if the target area is too small, there is no need to travel on it.
[0310] In some embodiments, the geometric feature information includes one or more of length, area, shape, and region boundary angle.
[0311] In some embodiments, determining geometric feature information of the target area includes: determining geometric feature information of the first area;
[0312] Controlling the self-moving device to travel and / or work in the area to be traveled corresponding to the target area based on the geometric feature information of the target area includes: controlling the self-moving device to travel and / or work in the area to be traveled corresponding to the target area based on the geometric feature information of the first area.
[0313] In some embodiments, the target area includes a first area, that is, the self-moving device controls the self-moving device to travel and / or work in the to-be-traveled area corresponding to the target area according to geometric feature information of the first area in the target area.
[0314] In some embodiments, the target area includes a first area and a grass area, that is, the self-moving device controls the self-moving device to travel and / or work in the to-be-traveled area corresponding to the target area according to the geometric feature information of the first area.
[0315] In some embodiments, the target area includes a first area and a second area, that is, the self-moving device controls the self-moving device to travel and / or work in the to-be-traveled area corresponding to the target area based on geometric feature information of the first area and the grass area.
[0316] Exemplary devices
[0317] The method embodiment of the present application is described in detail above in conjunction with Figures 1 to 7 , and the device embodiment of the present application is described in detail below in conjunction with Figure 8 It should be understood that the description of the method embodiment corresponds to the description of the device embodiment, and therefore, for portions not described in detail, reference can be made to the above method embodiment.
[0318] FIG9 is a schematic diagram of the structure of a control device provided in some embodiments of the present application. For example, the control device is applied to a self-propelled system, which includes a self-propelled device configured to travel and / or operate in a work area. As shown in FIG9 , the control device 90 provided in the embodiments of the present application includes:
[0319] A first acquisition module 910 is configured to acquire type information of a recognizable non-grass object, where the recognizable non-grass object represents a non-grass object recognizable from a mobile device;
[0320] A first determining module 920 is configured to determine at least one target type information from the type information of identifiable non-grass objects;
[0321] The second acquisition module 930 is used to acquire a target image of the working area;
[0322] A second determination module 940 is configured to perform recognition processing on the target image based on the image recognition model and determine a recognition result, where the recognition result includes at least one non-grass area, and the non-grass area type of the non-grass area corresponds to a type of a recognizable non-grass object;
[0323] A third determining module 950 is configured to determine customized driving information corresponding to each non-grass area type based on the target type information, where the customized driving information includes driving permission information or non-driving permission information;
[0324] a fourth determining module 960 for determining a first area in at least one non-grass area based on the customized driving information corresponding to each non-grass area type;
[0325] The control module 970 is configured to control the self-moving device to travel and / or operate in a to-be-traveled area corresponding to a target area, where the target area includes the first area.
[0326] The second acquisition module 930 can acquire the target image from the camera. Each module in the control device 90 can be integrated into a control chip of the mobile device.
[0327] Recognition results
[0328] Figure 8 is a schematic flow chart of a control method provided in some embodiments of the present application. Exemplarily, the control method is applied to a self-propelled system, which includes a self-propelled device configured to travel and / or operate within a work area. As shown in Figure 8 , the control method includes the following steps.
[0329] Step S810: Determine target type information.
[0330] The target type information is one of at least one type information, the type information corresponding to a recognizable non-grass type, the recognizable non-grass type representing a type of a non-grass object recognizable from the mobile device.
[0331] The target type information can be determined by the user or by a mobile device. For example, non-grass objects include stone slabs, fallen leaves, and mud. Stone slabs can be determined as target type information, mud can be determined as target type information, or both a pool of water and fallen leaves can be determined as target type information.
[0332] Step S820: Determine a target model that matches the target type information from a plurality of preset scene models.
[0333] The plurality of preset scene models corresponds to the plurality of target type information in a one-to-one manner. The preset scene models can perform image recognition processing on the target images in the working area.
[0334] Step S830: Acquire a target image of the working area.
[0335] An image acquisition module can be configured on the mobile device to acquire a target image. Exemplarily, the image acquisition module is a camera. The target image includes a grass area, a non-grass area corresponding to an identifiable non-grass type, and other areas (e.g., an area where a specific obstacle type cannot be identified, or an area corresponding to a boundary).
[0336] Step S840: Process the target image based on the target model to determine a first region in the target image that matches the target type information.
[0337] The target model can perform personalized classification on the target image, identifying any area matching the target type information as the first area. For example, if the target type information includes stone slabs and muddy ground, the target model is determined from multiple preset models based on these two types of information. The target model then identifies both stone slabs and muddy ground in the target image as the first area. For another example, if the target type information includes fallen leaves, the target model is determined from multiple preset models based on fallen leaves. The target model then identifies the fallen leaves in the target image as the first area.
[0338] Step S850: Control the self-mobile device to travel and / or operate in the waiting travel area corresponding to the target area.
[0339] The target area includes a first area, the target area is an area in the target image, and the target area includes the first area. The area to be driven is an area in the actual space.
[0340] Similarly, taking a lawn mower as an example, each lawn is different. Some lawns are entirely grassy, others are user-installed with multiple stone slabs for walking, and still others are user-installed with pools of water for enhanced aesthetic appeal. Conventional lawn mowers employ the same approach for each lawn: they only move within the grassy area of the lawn and avoid stone slabs, treating them as obstacles. Consequently, they fail to cut the grass surrounding the stone slabs, resulting in a low cutting coverage rate and an unsightly final cutting effect, which falls short of user expectations. In an embodiment of the present application, a target model is directly determined from multiple preset scene models based on a selection by the user or a self-mobile device. The target model is then used to determine a first region within a target image, facilitating the self-mobile device's movement and / or operation within the target region corresponding to the target region. The solution in this embodiment facilitates the self-mobile device to identify non-grass regions as drivable regions based on target type information and to invoke an algorithm corresponding to the target type information to operate within the drivable region. This improves the self-mobile device's mowing efficiency across the entire working area while also enhancing the convenience of determining the first region.
[0341] The electronic device according to an embodiment of the present application is described below with reference to Figure 9. Figure 11 is a schematic diagram showing the structure of an electronic device provided by some embodiments of the present application.
[0342] As shown in FIG. 9 , the electronic device 110 includes one or more processors 1101 and a memory 1102 .
[0343] The processor 1101 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 110 to perform desired functions.
[0344] The memory 1102 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. The non-volatile memory may include, for example, read-only memory (ROM), a hard disk, a flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 1101 may execute the program instructions to implement the methods of the various embodiments of the present application described above and / or other desired functions. Various contents such as target type information, target image, first area, second area, and customized driving information corresponding to the non-grass area type may also be stored in the computer-readable storage medium.
[0345] In one example, the electronic device 110 may further include an input device 1103 and an output device 1104 , and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).
[0346] The input device 1103 may include, for example, a keyboard, a mouse, and the like.
[0347] The output device 1104 can output various information to the outside, including target type information, target images, customized driving information corresponding to the first area, the second area, and the non-grass area type. The output device 1104 can include, for example, a display, a speaker, a printer, a communication network, and a remote output device connected thereto.
[0348] Of course, for the sake of simplicity, FIG9 only shows some of the components of the electronic device 110 that are relevant to the present application, omitting components such as a bus, input / output interfaces, etc. In addition, the electronic device 110 may further include any other appropriate components depending on the specific application.
[0349] In addition to the above-mentioned methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the method according to various embodiments of the present application described above in this specification.
[0350] The computer program product may be written in any combination of one or more programming languages to implement the program code for performing the operations of the embodiments of the present application, including object-oriented programming languages such as Java, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0351] In addition, an embodiment of the present application may also be a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, enables the processor to execute the steps of the method according to various embodiments of the present application described above in this specification.
[0352] The computer-readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can, for example, include but is not limited to a system, device or component of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0353] The basic principles of the present application have been described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, and effects mentioned in this application are merely illustrative and not restrictive, and it should not be assumed that these advantages, strengths, and effects are required of each embodiment of this application. In addition, the specific details disclosed above are merely illustrative and facilitating understanding, and are not restrictive. The above details do not limit this application to necessarily being implemented using the above specific details.
[0354] The block diagrams of the devices, devices, equipment, and systems involved in this application are merely illustrative examples and are not intended to require or imply that they must be connected, arranged, or configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, devices, equipment, and systems can be connected, arranged, or configured in any manner. Words such as "include," "comprise," "have," and the like are open-ended words, meaning "including but not limited to," and can be used interchangeably therewith. The words "or" and "and" used herein refer to the words "and / or" and can be used interchangeably therewith, unless the context clearly indicates otherwise. The word "such as" used herein refers to the phrase "such as but not limited to," and can be used interchangeably therewith.
[0355] It should also be noted that in the apparatus, device, and method of the present application, each component or each step can be decomposed and / or recombined, and such decomposition and / or recombination should be regarded as equivalent solutions of the present application.
[0356] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present application. Therefore, the present application is not intended to be limited to the aspects shown herein, but rather to be accorded the widest scope consistent with the principles and novel features disclosed herein.
[0357] The above description has been provided for the purpose of illustration and description. Furthermore, this description is not intended to limit the embodiments of the present application to the forms disclosed herein. Although a number of example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, alterations, additions, and sub-combinations thereof.
Claims
1. A control method, characterized in that: Applied to a self-moving system, the self-moving system comprises a self-moving device, the self-moving device is configured to travel and / or work in a working area (10), the control method comprises: Acquire type information of a recognizable non-grass object, where the recognizable non-grass object represents a non-grass object recognizable by the mobile device; Determining at least one target type information in the type information of the identifiable non-grass object; Acquiring a target image of the working area (10); Performing recognition processing on the target image based on an image recognition model to determine a recognition result, wherein the recognition result includes at least one non-grass area, and a non-grass area type of the non-grass area corresponds to a type of the identifiable non-grass object; Determining customized driving information corresponding to each non-grass area type according to the target type information, wherein the types of the customized driving information include drivable information and non-drivable information; Determining a first area in at least one of the non-grass areas according to the customized driving information corresponding to each of the non-grass area types; The self-moving device is controlled to travel and / or work in a to-be-traveled area corresponding to a target area, wherein the target area includes the first area.
2. The method according to claim 1, characterized in that After performing recognition processing on the target image based on the image recognition model and determining the recognition result, the method further includes: determining a candidate area that meets a first condition in the at least one non-grass area; Determining a first area in at least one of the non-grass areas according to the customized driving information corresponding to each of the non-grass area types includes: determining the first area in the candidate areas according to the customized driving information corresponding to each of the non-grass area types.
3. The method according to claim 2, characterized in that The first condition includes that the area type is a safe area type or a non-hazardous area type.
4. The method according to claim 2 or 3, characterized in that: The first condition includes that the area type is stone slab (a, b, e), soil (c) or fallen leaves (d4, d5).
5. The method according to any one of claims 2 to 4, characterized in that Determining the first area among the candidate areas includes: Determining attribute information of the candidate area; Determine the first area in the candidate area according to the attribute information of the candidate area; The attribute information of the candidate region includes one or more of the following information: region type, area, shape, side length, position and boundary probability, and the boundary probability represents the probability that the candidate region is the boundary of the working area.
6. The method according to any one of claims 2 to 5, characterized in that The recognition result includes an obstacle area; Determining the first area among the candidate areas includes: Determining distribution information of the obstacle area; Determine a first area in the candidate area according to the distribution information of the obstacle area; The distribution information of the obstacle area includes one or more of the following information: position, area, shape, side length, and the relative position between the obstacle area and the candidate area.
7. The control method according to claim 6, characterized in that: Determining a first area in the candidate area according to the distribution information of the obstacle area includes: Determine an area to be screened in the candidate area according to the distribution information of the obstacle area; Determining the attribute information of the area to be screened; Determine the first area in the area to be screened according to the attribute information of the area to be screened; The attribute information of the area to be screened includes one or more of the following information: area type, area, shape, side length, position and boundary probability, and the boundary probability represents the probability that the candidate area is the boundary of the working area.
8. The control method according to claim 7, characterized in that: Determining a to-be-screened area in the candidate area according to the distribution information of the obstacle area includes: Determine a peripheral polygonal area corresponding to the candidate area; Determining an overlapping area between the obstacle area and the peripheral polygonal area according to the distribution information of the obstacle area; Determine the area of other regions in the peripheral polygonal region, where the other regions are regions in the peripheral polygonal region excluding the candidate region; determining a ratio between the overlapping area and the area of the other regions; When the ratio is less than a first threshold, the candidate region is determined to be the region to be screened.
9. The control method according to any one of claims 7 to 8, characterized in that: Determining the first area in the area to be screened according to the attribute information of the area to be screened includes: When the area type of the area to be screened is a slate and the area of the area to be screened is less than a second threshold, determining that the area to be screened is the first area; Alternatively, when the area type of the area to be screened is a slate, and the length and width of the area to be screened are both smaller than a distance threshold, the area to be screened is determined to be the first area.
10. The control method according to any one of claims 7 to 8, characterized in that: Determining the first area in the area to be screened according to the attribute information of the area to be screened includes: When the region type of the region to be screened is fallen leaves, and the ratio between the area of the region to be screened and the image area is less than a third threshold, the region to be screened is determined to be the first region.
11. The control method according to any one of claims 7 to 8, characterized in that: Determining the first area in the area to be screened according to the attribute information of the area to be screened includes: When the region type of the region to be screened is soil and the area of the region to be screened is less than a fourth threshold, determining that the region to be screened is the first region; Alternatively, when the area type of the area to be screened is soil and the shape of the area to be screened is non-strip-shaped, the area to be screened is determined to be the first area.
12. The method according to any one of claims 1 to 11, characterized in that The step of determining customized driving information corresponding to each non-grass area type according to the target type information includes: According to the target type information, determining a target area type matching the target type information in the non-grass area type; The customized driving information corresponding to the target area type is determined as drivable information.
13. The method according to claim 12, characterized in that The step of determining, in the non-grass area type according to the target type information, a target area type matching the target type information comprises: Determining configuration information according to the target type information, the configuration information being used to characterize whether each of the non-grass area types matches the target type information; The target area type is determined in the non-grass area type based on the configuration information.
14. The method according to any one of claims 1 to 13, characterized in that The recognition result further includes at least one grass area, a grass area type of the grass area corresponds to a recognizable grass type, and the recognizable grass type represents a type of grass object recognizable by the self-mobile device; The method further comprises: determining a second area in at least one of the grassland areas; The target area includes the first area and the second area, and controlling the self-moving device to travel and / or work in the area to be traveled corresponding to the target area includes: controlling the self-moving device to travel and / or work in the area to be traveled corresponding to the first area and the second area.
15. The method according to any one of claims 1 to 14, characterized in that The controlling the self-moving device to travel and / or work in the to-be-travelled area corresponding to the target area includes: Determining geometric feature information of the first area; Based on the geometric feature information of the first area, the self-moving device is controlled to travel and / or work in the to-be-traveled area corresponding to the target area.
16. The method according to claim 15, characterized in that The method further comprises: If the geometric feature information of the non-grass area in the target area meets the third preset condition, the self-moving device is controlled to avoid obstacles.
17. The method according to claim 16, characterized in that The method further comprises: In the case where the target type information is not determined, a working area image of the working area (10) is obtained, and if the geometric feature information of any non-grass area in the working area image satisfies a fourth preset condition, the self-moving device is controlled to avoid obstacles, and the fourth preset condition is different from the third preset condition.
18. The method according to claim 15 or 16, characterized in that The method further comprises: If the geometric feature information of the target area meets a fifth preset condition, the self-moving device is controlled to avoid obstacles, and the fifth preset condition includes that the area of the non-grass area in the target area is larger than the first area.
19. [Corrected 28.04.2024 in accordance with Rule 91] The method according to claim 18, characterized in that The method further comprises: If the area of any non-grass area in the non-target area is larger than the second area, the self-moving device is controlled to avoid obstacles, wherein the first area is larger than the second area.
20. [Corrected 28.04.2024 in accordance with Rule 91] A method according to any one of claims 2 to 19, characterized in that The method further comprises: Determine the area other than the first area in the candidate area as a non-drivable area; The self-moving device is controlled to avoid the spatial area corresponding to the non-drivable area.
21. The method according to any one of claims 1 to 20, characterized in that The self-moving system further comprises a control device, wherein the control device is used to control the self-moving device.
22. A control method, characterized in that: Applied to a self-moving system, the self-moving system comprises a self-moving device, the self-moving device is configured to travel and / or work in a working area (10), the control method comprises: Acquire target type information, wherein the target type information represents at least one type of non-grass objects identifiable by the mobile device; Acquiring a target image of the working area (10); Performing recognition processing on the target image based on an image recognition model to determine a first area corresponding to the target type information; determining a target area, wherein the target area includes the first area; The self-moving device is controlled to travel and / or work in the to-be-traveled area corresponding to the target area.
23. The method according to claim 22, characterized in that The first area includes at least one of a stone slab area, a soil area, a fallen leaf area, and a fallen flower area.
24. The method according to claim 22 or 23, characterized in that Controlling the self-moving device to travel and / or work in the to-be-traveled area corresponding to the target area includes: Determining geometric feature information of the target area; Based on the geometric feature information of the target area, the self-moving device is controlled to travel and / or work in the to-be-traveled area corresponding to the target area.
25. The method according to claim 24, characterized in that The geometric feature information includes one or more of length, area, shape, and area boundary angle.
26. [Corrected 28.04.2024 in accordance with Rule 91] A method according to any one of claims 24 to 25, characterized in that Determining the geometric feature information of the target area includes: determining the geometric feature information of the first area; Based on the geometric feature information of the target area, controlling the self-moving device to travel and / or work in the area to be traveled corresponding to the target area includes: based on the geometric feature information of the first area, controlling the self-moving device to travel and / or work in the area to be traveled corresponding to the target area.
27. [Corrected 28.04.2024 in accordance with Rule 91] A control device (90), characterized in that Applied to a self-moving system, the self-moving system comprises a self-moving device, the self-moving device is configured to travel and / or work in a working area (10), the device (90) comprises: A first acquisition module (910) is configured to acquire type information of a recognizable non-grass object, wherein the recognizable non-grass object represents a non-grass object recognizable by the mobile device; A first determination module (920) is configured to determine at least one target type information in the type information of the identifiable non-grass object; A second acquisition module (930) is configured to acquire a target image of the working area (10); A second determination module (940) is configured to perform recognition processing on the target image based on an image recognition model to determine a recognition result, wherein the recognition result includes at least one non-grass area, and the non-grass area type of the non-grass area corresponds to the type of the identifiable non-grass object; A third determination module (950) is configured to determine customized driving information corresponding to each non-grass area type according to the target type information, wherein the customized driving information includes drivable information or non-drivable information; A fourth determination module (960) is configured to determine a first area in at least one of the non-grass areas according to the customized driving information corresponding to each of the non-grass area types; The control module (970) is configured to control the self-moving device to travel and / or work in a to-be-traveled area corresponding to a target area, wherein the target area includes the first area.
28. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program is used to execute the method according to any one of claims 1 to 26.
29. An electronic device (110), characterized in that: include: Processor(1101); A memory (1102) for storing instructions executable by the processor; The processor (1101) is used to execute the method described in any one of claims 1 to 26.
Citation Information
Patent Citations
Automatic working system and method for establish map for working region thereof
CN107239074A
Path forming method and device of self-moving equipment and automatic working system
CN113296495A
Method for generating path between operation areas and garden system
CN114296463A
Obstacle recognition method, device and equipment, medium and weeding robot
CN114648690A
Mapping method and device, computer readable storage medium and self-moving equipment
CN114756018A
Cited By
A method in a self-propelled robotic lawnmower and a self-propelled robotic lawnmower
EP4837405A1
