[go: up one dir, main page]

CN107463167A - Automatic walking equipment and target area recognition method - Google Patents

Automatic walking equipment and target area recognition method Download PDF

Info

Publication number
CN107463167A
CN107463167A CN201610389564.8A CN201610389564A CN107463167A CN 107463167 A CN107463167 A CN 107463167A CN 201610389564 A CN201610389564 A CN 201610389564A CN 107463167 A CN107463167 A CN 107463167A
Authority
CN
China
Prior art keywords
cell
cells
walking
image
recognition result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610389564.8A
Other languages
Chinese (zh)
Other versions
CN107463167B (en
Inventor
邵勇
傅睿卿
郭会文
吴新宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Positec Power Tools Suzhou Co Ltd
Original Assignee
Positec Power Tools Suzhou Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Positec Power Tools Suzhou Co Ltd filed Critical Positec Power Tools Suzhou Co Ltd
Priority to CN202110518427.0A priority Critical patent/CN113311830A/en
Priority to CN201610389564.8A priority patent/CN107463167B/en
Priority to PCT/CN2017/087021 priority patent/WO2017206950A1/en
Publication of CN107463167A publication Critical patent/CN107463167A/en
Application granted granted Critical
Publication of CN107463167B publication Critical patent/CN107463167B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0231Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means
    • G05D1/0246Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means using a video camera in combination with image processing means
    • G05D1/0253Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means using a video camera in combination with image processing means extracting relative motion information from a plurality of images taken successively, e.g. visual odometry, optical flow
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0276Control of position or course in two dimensions specially adapted to land vehicles using signals provided by a source external to the vehicle
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0276Control of position or course in two dimensions specially adapted to land vehicles using signals provided by a source external to the vehicle
    • G05D1/028Control of position or course in two dimensions specially adapted to land vehicles using signals provided by a source external to the vehicle using a RF signal

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • Electromagnetism (AREA)
  • Manipulator (AREA)
  • Image Analysis (AREA)

Abstract

The invention relates to a method for identifying a target area of walking of automatic walking equipment, which is characterized by comprising the following steps of: s10, acquiring an image of the walking target area of the automatic walking equipment; s20, dividing the image into a plurality of cells, wherein each cell has at least one adjacent cell; s30, identifying whether a target area corresponding to the cell is a working area or not according to the color information of the designated pixel in the cell and the texture characteristic value of the cell, and obtaining an identification result; s60, for each cell, the recognition result obtained by the step S30 is changed or maintained according to the recognition result of the adjacent cell.

Description

自动行走设备及目标区域识别方法Automatic walking equipment and target area recognition method

技术领域technical field

本发明涉及一种自动行走设备,以及该自动行走设备识别目标区域的方法。The invention relates to an automatic running device and a method for identifying a target area by the automatic running device.

背景技术Background technique

随着计算机技术和人工智能技术的不断进步,类似于智能机器人的自动行走设备已经开始慢慢的走进人们的生活。三星、伊莱克斯等公司均开发了全自动吸尘器并已经投入市场。这种全自动吸尘器通常体积小巧,集成有环境传感器、自驱系统、吸尘系统、电池和充电系统,能够无需人工操控,自行在室内巡航,在能量低时自动返回停靠站,对接并充电,然后继续巡航吸尘。同时,哈斯科瓦纳等公司开发了类似的智能割草机,其能够自动在用户的草坪中割草、充电,无需用户干涉。由于这种自动割草系统一次设置之后就无需再投入精力管理,将用户从清洁、草坪维护等枯燥且费时费力的家务工作中解放出来,因此受到极大欢迎。With the continuous advancement of computer technology and artificial intelligence technology, automatic walking equipment similar to intelligent robots has slowly entered people's lives. Companies such as Samsung and Electrolux have developed fully automatic vacuum cleaners and have put them into the market. This kind of fully automatic vacuum cleaner is usually small in size and integrates environmental sensors, self-driving system, vacuum system, battery and charging system. It can cruise indoors by itself without manual control, and automatically return to the docking station when the energy is low, docking and charging. Then go on cruise vacuuming. At the same time, companies such as Haskovana have developed similar smart lawn mowers, which can automatically mow and recharge the user's lawn without user intervention. Since this automatic mowing system does not need to invest in energy management after one setting, it liberates users from boring and time-consuming housework such as cleaning and lawn maintenance, so it is very popular.

现有的自动割草机的行走区域一般是通过设置物理的边界线,如导线或篱笆,自动割草机侦测物理的边界线以确定行走区域。边界布线的过程比较麻烦,耗时费力,并且在边界线内可能还存在非草区域,或者边界线外还存在需割草的区域,采用物理边界线的方法不灵活、不方便。The walking area of the existing automatic lawn mower is generally set by a physical boundary line, such as a wire or a fence, and the automatic lawn mower detects the physical boundary line to determine the walking area. The process of boundary wiring is cumbersome, time-consuming and laborious, and there may be non-grass areas within the boundary line, or areas that need to be mowed outside the boundary line. The method of using a physical boundary line is inflexible and inconvenient.

而使用电子手段来识别并确定行走区域的解决方法,由于行走区域的多样性,利用现有手段往往会产生噪点,识别行走区域的准确性很低,从而影响自动行走设备的判断,很容易离开行走区域,从而对自动行走设备的正常工作造成一定影响。However, the use of electronic means to identify and determine the solution to the walking area, due to the diversity of the walking area, using existing methods often produces noise, the accuracy of identifying the walking area is very low, which affects the judgment of the automatic walking equipment, and it is easy to leave The walking area will have a certain impact on the normal work of the automatic walking equipment.

因此有必要对现有技术手段进行改进,使得更精确的识别行走区域,从而方便自动行走设备进行工作。Therefore, it is necessary to improve the existing technical means, so that the walking area can be identified more accurately, so as to facilitate the automatic walking equipment to work.

发明内容Contents of the invention

有鉴于此,本发明的目的之一在于提供一种准确识别目标区域并能控制自动行走设备根据识别结果相应行走的方法及应用该方法的自动行走设备。In view of this, one of the objectives of the present invention is to provide a method for accurately identifying a target area and controlling an automatic walking device to walk correspondingly according to the recognition result, and an automatic running device using the method.

为实现上述目的,本发明所采用的技术方案是:一种控制自动行走设备行走的方法,其特征在于包括以下步骤:S10、获取所述自动行走设备行走目标区域的图像;S20、把图像划分成若干个单元格,每个单元格具有至少一个相邻单元格;S30、根据所述单元格中的指定像素的颜色信息以及所述单元格的纹理特征值识别所述单元格对应的目标区域是否为工作区域,并获得识别结果;S40、把图像划分成若干个子图像块,每个子图像块包括若干个相邻的单元格,根据所述子图像块内的单元格的识别结果判断所述子图像块对应的目标区域是否为可行走区域,并获得判断结果;S50、根据判断结果,控制自动行走设备的行走方向。In order to achieve the above object, the technical solution adopted in the present invention is: a method for controlling the walking of automatic walking equipment, which is characterized in that it includes the following steps: S10, acquiring the image of the walking target area of the automatic walking equipment; S20, dividing the image into into several cells, each cell having at least one adjacent cell; S30, identifying the target area corresponding to the cell according to the color information of the specified pixel in the cell and the texture feature value of the cell Whether it is a working area, and obtain the recognition result; S40, divide the image into several sub-image blocks, each sub-image block includes several adjacent cells, and judge the Whether the target area corresponding to the sub-image block is a walkable area, and obtain a judgment result; S50, according to the judgment result, control the walking direction of the automatic walking device.

优选地,所述方法还包括在获得识别结果后,针对每个单元格,根据所述单元格及其相邻单元格的识别结果,调整所述单元格的识别结果。Preferably, the method further includes, after obtaining the recognition result, for each cell, adjusting the recognition result of the cell according to the recognition results of the cell and its adjacent cells.

优选地,所述方法进一步包括以下步骤:S61、选定一个单元格,并获取其识别结果;S62、统计具有与步骤S61中相同识别结果的相邻单元格的数量;S63、计算步骤S62中的数量在总的相邻单元格数量中的比例;S64、若该比例超过或达到预设值,则维持步骤S61指定的单元格的识别结果不变;若该比例小于预设值,则改变步骤S61指定的单元格的识别结果,其中所述第四预设值大于或等于50%。Preferably, the method further includes the following steps: S61, selecting a cell, and obtaining its recognition result; S62, counting the number of adjacent cells with the same recognition result as in step S61; S63, calculating the number of cells in step S62 The ratio of the number of cells in the total number of adjacent cells; S64, if the ratio exceeds or reaches the preset value, then maintain the recognition result of the cell specified in step S61 unchanged; if the ratio is less than the preset value, then change The recognition result of the cell specified in step S61, wherein the fourth preset value is greater than or equal to 50%.

优选地,所述相邻单元格包括横向及纵向上与所述选定的单元格相邻的单元格。Preferably, the adjacent cells include cells adjacent to the selected cell horizontally and vertically.

优选地,所述相邻单元格还包括与所述横向及纵向呈45度夹角的方向上与所述选定的单元格相邻的单元格。Preferably, the adjacent cells further include cells adjacent to the selected cell in a direction forming an angle of 45 degrees with the horizontal direction and the vertical direction.

优选地,所述方法进一步包括以下步骤:S66、选定一个单元格,获取所述单元格对于其识别结果的可靠度Y1,可靠度Y1为0~100%之间的一个数值;S67、计算1-Y1,并将结果标记为N1;S68、获取该选定单元格的所有相邻单元格对于其识别结果的可靠度Ya、Yb…,可靠度Ya、Yb…为0~100%之间的一个数值;S69、计算1-Ya、1-Yb…,并把结果标记为Na、Nb…;S70、把Ya、Yb…加权求和获得加权和Y2,把Nb、Nc…的加权求和获得加权和为N2,其中,加权系数均相同;S71、分别计算Y1+αN1和Y2+αN2的结果并比较其大小,其中α为系数;S72、若Y1+αN1的结果大于或等于Y2+αN2的结果,则维持所述指定的单元格的识别结果不变,若Y1+αN1的结果小于Y2+αN2的结果,则改变所述指定的单元格的识别结果。Preferably, the method further includes the following steps: S66. Select a cell, and obtain the reliability Y1 of the cell for its recognition result, where the reliability Y1 is a value between 0% and 100%; S67. Calculate 1-Y1, and mark the result as N1; S68, obtain the reliability Ya, Yb... of the recognition results of all adjacent cells of the selected cell, and the reliability Ya, Yb... is between 0 and 100% A numerical value; S69, calculate 1-Ya, 1-Yb..., and mark the result as Na, Nb...; S70, weight and sum Ya, Yb... to obtain the weighted sum Y2, and sum the weighted sum of Nb, Nc... Obtaining the weighted sum is N2, wherein the weighting coefficients are all the same; S71, respectively calculating the results of Y1+αN1 and Y2+αN2 and comparing their sizes, wherein α is a coefficient; S72, if the result of Y1+αN1 is greater than or equal to Y2+αN2 If the result of Y1+αN1 is smaller than the result of Y2+αN2, then the recognition result of the designated cell is changed.

优选地,所述S40步骤进一步包括以下步骤:S41、把所述图像划分成若干个子图像块,获取每个子图像块包含的单元格的数量,将其标记为B;收集所述子图像块中的单元格的识别结果,统计识别结果为工作区域的单元格的数量,并将其标记为A;若A:B小于第三预设值,则判断所述子图像块对应的目标区域不是可行走区域,否则,判断所述子图像块对应的目标区域为可行走区域。Preferably, the step S40 further includes the following steps: S41. Divide the image into several sub-image blocks, obtain the number of cells contained in each sub-image block, and mark it as B; collect the number of cells in the sub-image blocks The recognition result of the cell, count the number of cells whose recognition result is the working area, and mark it as A; if A:B is less than the third preset value, then it is judged that the target area corresponding to the sub-image block is not available a walking area; otherwise, it is determined that the target area corresponding to the sub-image block is a walking area.

优选地,所述方法还包括对同一目标区域连续拍摄形成多帧图像,根据每帧图像中同一子图像块的判断结果判断所述子图像块对应的目标区域是否为可行走区域,并获得判断结果。Preferably, the method further includes continuously shooting the same target area to form multiple frames of images, judging whether the target area corresponding to the sub-image block is a walkable area according to the judgment result of the same sub-image block in each frame of image, and obtaining the judgment result.

优选地,所述方法进一步包括以下步骤:S81、对同一目标区域连续拍摄形成多帧图像;S82、选定其中一帧图像中的一个子图像块,通过步骤S40获得判断结果;S83、设置初始的参数值,并根据步骤S82获得的判断结果对参数值进行运算,若判断结果为可行走区域,则在所述初始参数值上增加与判断结果关联的第一参数成为当前参数值;若判断结果不是可行走区域,则保持所述参数值不变;S84、选定下一帧图像,并根据步骤S82获得的判断结果对当前的参数值进行运算,若判断结果为可行走区域,则在所述当前的参数值上增加与判断结果关联的第一参数成为新的当前参数值;若判断结果不是可行走区域,则保持所述当前的参数值不变;S85、比较当前的参数值与阈值的大小,若当前的参数值大于或等于阈值,则认定该所述子图像块对应的目标区域是可行走区域。Preferably, the method further includes the following steps: S81, taking continuous shots of the same target area to form multiple frames of images; S82, selecting a sub-image block in one of the frames of images, and obtaining the judgment result through step S40; S83, setting the initial , and calculate the parameter value according to the judgment result obtained in step S82, if the judgment result is a walkable area, then add the first parameter associated with the judgment result to the initial parameter value to become the current parameter value; if it is judged The result is not a walkable area, then keep the parameter value unchanged; S84, select the next frame image, and calculate the current parameter value according to the judgment result obtained in step S82, if the judgment result is a walkable area, then in Adding the first parameter associated with the judgment result to the current parameter value becomes a new current parameter value; if the judgment result is not a walkable area, then keep the current parameter value unchanged; S85, compare the current parameter value with The size of the threshold, if the current parameter value is greater than or equal to the threshold, it is determined that the target area corresponding to the sub-image block is a walkable area.

优选地,所述步骤S84还进一步包括:在选定下一帧图像后而在对当前参数值进行运算前,当前的参数值减去一预设的第二参数,且所述第二参数小于所述第一参数。Preferably, the step S84 further includes: after the next frame of image is selected and before the operation is performed on the current parameter value, the current parameter value minus a preset second parameter, and the second parameter is less than the first parameter.

优选地,所述子图像块包括中部、左部和右部三个子图像块,分别对应目标区域的中间区域、左侧区域及右侧区域。Preferably, the sub-image blocks include three sub-image blocks of a middle part, a left part and a right part, respectively corresponding to a middle area, a left area and a right area of the target area.

为实现上述目的,本发明所采用的另一技术方案是:一种自动行走设备,其特征在于:包括壳体、位于壳体上的图像采集装置,所述图像采集装置用于拍摄目标区域并生成图像,驱动所述自动行走设备行走的行走模块,连接所述图像采集装置和行走模块以控制自动行走设备工作的主控模块,其中,所述主控模块包括划分单元、识别单元、判断单元和控制单元,所述划分单元把所述图像划分成若干个单元格,并把划分结果传递给所述识别单元,所述识别单元识别所述单元格对应的目标区域是否为工作区域,并把识别结果传递给判断单元,判断单元判断包含若干单元格的子图像块对应区域是否为可行走区域,并把判断结果传递给控制单元,所述控制单元根据判断结果,控制行走模块的行走方向。In order to achieve the above object, another technical solution adopted by the present invention is: a kind of self-propelled equipment, characterized in that: comprising a housing, an image acquisition device located on the housing, the image acquisition device is used to photograph the target area and Generate images, drive the walking module of the automatic walking equipment to walk, connect the image acquisition device and the walking module to control the main control module of the automatic walking equipment, wherein the main control module includes a division unit, an identification unit, and a judgment unit and a control unit, the dividing unit divides the image into several cells, and transmits the division result to the recognition unit, and the recognition unit recognizes whether the target area corresponding to the cell is a working area, and sends The recognition result is passed to the judging unit, which judges whether the corresponding area of the sub-image block containing several cells is a walkable area, and passes the judging result to the control unit, and the control unit controls the walking direction of the walking module according to the judging result.

优选地,所述主控模块还包括修正单元,所述修正单元针对每个单元格,根据单元格及其相邻单元格的识别结果,调整所述单元格的识别结果。Preferably, the main control module further includes a correction unit, for each cell, the correction unit adjusts the recognition result of the cell according to the recognition results of the cell and its adjacent cells.

优选地,所述相邻单元格包括横向及纵向上与所述选定的单元格相邻的单元格。Preferably, the adjacent cells include cells adjacent to the selected cell horizontally and vertically.

优选地,所述相邻单元格还包括与所述横向及纵向呈45度夹角的方向上与所述选定的单元格相邻的单元格。Preferably, the adjacent cells further include cells adjacent to the selected cell in a direction forming an angle of 45 degrees with the horizontal direction and the vertical direction.

优选地,所述判断单元还包括子图像块划分单元,所述子图像块划分单元把图像划分成若干个子图像块,判断单元根据所述子图像块包含的单元格的识别结果判断对应子图像块是否为可行走区域。Preferably, the judging unit further includes a sub-image block dividing unit, the sub-image block dividing unit divides the image into several sub-image blocks, and the judging unit judges the corresponding sub-image according to the recognition results of the cells contained in the sub-image blocks Whether the block is a walkable area.

优选地,所述子图像块包括中部、左部和右部三个子图像块。Preferably, the sub-image blocks include three sub-image blocks in the middle, left and right.

优选地,所述主控模块还包括记录有初始参数值的记录单元,所述图像采集装置对同一目标区域连续拍摄形成多帧图像,所述判断单元对每一帧图像中的同一子图像块进行判断并获得判断结果,记录单元根据其判断结果对参数值进行运算,当参数值大于或等于阈值,则认定该所述子图像块对应的目标区域是可行走区域。Preferably, the main control module further includes a recording unit that records initial parameter values, the image acquisition device continuously captures the same target area to form multiple frames of images, and the judgment unit performs a check on the same sub-image block in each frame of image Making a judgment and obtaining a judgment result, the recording unit calculates the parameter value according to the judgment result, and when the parameter value is greater than or equal to a threshold, it is determined that the target area corresponding to the sub-image block is a walkable area.

与现有技术相比,本发明的有益效果为:针对目标区域的图像划分成单元格,微观上对每个单元格进行识别,在宏观上综合多个单元格的识别结果进行综合辨别,从而提升识别目标区域的准确性,利于自动行走设备在目标区域更加准确的行走。Compared with the prior art, the beneficial effects of the present invention are as follows: the image of the target area is divided into cells, each cell is recognized microscopically, and the recognition results of multiple cells are comprehensively identified macroscopically, so that Improve the accuracy of identifying the target area, which will help the automatic walking equipment to walk more accurately in the target area.

本发明的另一目的在于提供一种准确识别目标区域的方法及应用该方法的自动行走设备。Another object of the present invention is to provide a method for accurately identifying a target area and an automatic walking device using the method.

为实现上述目的,本发明所采用的一种技术方案是:一种关于自动行走设备行走的目标区域的识别方法,其特征在于,所述识别方法包括以下步骤:S10、获取关于所述自动行走设备行走目标区域的图像;S20、把图像划分成若干个单元格,每个单元格具有至少一个相邻单元格;S30、根据所述单元格中的指定像素的颜色信息以及所述单元格的纹理特征值识别所述单元格对应的目标区域是否为工作区域,并获得识别结果;S60、针对每个单元格,根据相邻单元格的识别结果,改变或者维持通过步骤S30获得的识别结果。In order to achieve the above object, a kind of technical solution adopted by the present invention is: a kind of recognition method about the target area that automatic walking equipment walks, it is characterized in that, described recognition method comprises the following steps: S10, obtain the information about the automatic walking The image of the device walking target area; S20, divide the image into several cells, each cell has at least one adjacent cell; S30, according to the color information of the specified pixel in the cell and the color information of the cell The texture feature value identifies whether the target area corresponding to the cell is a working area, and obtains an identification result; S60, for each cell, change or maintain the identification result obtained in step S30 according to the identification results of adjacent cells.

优选地,所述S60步骤进一步包括以下步骤:S61、指定一个单元格,并获取其识别结果;S62、统计具有与步骤S61中相同识别结果的相邻单元格的数量;S63、计算步骤S62中的数量在总的相邻单元格数量的比例;S64、若该比例超过或达到第四预设值,则维持步骤S61指定的单元格的识别结果不变;若该比例小于第四预设值,则改变步骤S61指定的单元格的识别结果,其中所述第四预设值大于或等于50%;S65、对所有单元格执行上述S61~S64步骤。Preferably, the step S60 further includes the following steps: S61, designate a cell, and obtain its recognition result; S62, count the number of adjacent cells with the same recognition result as in step S61; S63, calculate the number of cells in step S62 The ratio of the quantity to the total number of adjacent cells; S64, if the ratio exceeds or reaches the fourth preset value, then maintain the recognition result of the cell specified in step S61; if the ratio is less than the fourth preset value , then change the recognition result of the cell specified in step S61, wherein the fourth preset value is greater than or equal to 50%; S65, execute the above steps S61-S64 for all cells.

优选地,所述相邻单元格包括横向及纵向上与所述单元格相邻的单元格。Preferably, the adjacent cells include cells adjacent to the cell horizontally and vertically.

优选地,所述相邻单元格还包括与所述横向及纵向呈45度夹角的方向上与所述单元格相邻的单元格。Preferably, the adjacent cells further include cells adjacent to the cells in a direction forming an angle of 45 degrees with the horizontal direction and the vertical direction.

优选地,所述S60步骤进一步包括以下步骤:S66、指定一个单元格,获取所述单元格对于其识别结果的可靠度Y1,可靠度Y1为0~100%之间的一个数值;S67、计算1-Y1,并将结果标记为N1;S68、获取该指定单元格的所有相邻单元格对于其识别结果的可靠度Ya、Yb…,可靠度Ya、Yb…为0~100%之间的一个数值;S69、计算1-Ya,1-Yb…,并把结果标记为Na、Nb…;S70、把Ya、Yb…加权求和获得加权和Y2,把Nb、Nc…的加权求和获得加权和N2,其中,这里的加权系数均相同;S71、分别计算Y1+αN1和Y2+αN2的结果并比较其大小,其中α为系数,若Y1+αN1大于或等于Y2+αN2,则维持所述指定的单元格的识别结果不变,若Y1+αN1的结果小于Y2+αN2的结果,则改变所述指定的单元格的识别结果;S72、对所有单元格执行上述S66~S71步骤,直到所有单元格的识别结果不再变化。Preferably, the step S60 further includes the following steps: S66, designate a cell, and obtain the reliability Y1 of the cell for its recognition result, the reliability Y1 is a value between 0% and 100%; S67, calculate 1-Y1, and mark the result as N1; S68, obtain the reliability Ya, Yb... of the recognition results of all adjacent cells of the specified cell, and the reliability Ya, Yb... is between 0 and 100% A numerical value; S69, calculate 1-Ya, 1-Yb..., and mark the result as Na, Nb...; S70, weight and sum Ya, Yb... to obtain a weighted sum Y2, and obtain a weighted sum of Nb, Nc... Weighted sum N2, wherein, the weighted coefficients here are all the same; S71, respectively calculate the results of Y1+αN1 and Y2+αN2 and compare their sizes, where α is a coefficient, if Y1+αN1 is greater than or equal to Y2+αN2, then maintain all The recognition result of the specified cell remains unchanged, if the result of Y1+αN1 is less than the result of Y2+αN2, then change the recognition result of the specified cell; S72, perform the above steps S66 to S71 for all cells, until The recognition results of all cells will not change.

为实现上述目的,本发明所采用的另外一种技术方案是:一种自动行走设备,其特征在于:包括壳体、位于壳体上的图像采集装置,所述图像采集装置用于拍摄目标区域并生成图像,驱动所述自动行走设备行走的行走模块,连接所述图像采集装置和行走模块以控制自动行走设备工作的主控模块,其中,所述主控模块划分单元、识别单元和修正单元,所述划分单元把所述图像划分成若干个单元格,所述识别单元识别所述单元格对应的目标区域是否为工作区域,并把识别结果传递给修正单元,所述修正单元针对每个单元格,根据相邻单元格的识别结果,改变或者维持通过识别单元获得的识别结果。In order to achieve the above object, another technical solution adopted by the present invention is: a kind of automatic walking equipment, characterized in that it includes a housing and an image acquisition device located on the housing, and the image acquisition device is used to photograph the target area And generate an image, drive the walking module of the automatic walking equipment to walk, connect the image acquisition device and the walking module to control the main control module of the automatic walking equipment, wherein the main control module divides the unit, the identification unit and the correction unit , the division unit divides the image into several cells, the identification unit identifies whether the target area corresponding to the cell is a working area, and transmits the identification result to the correction unit, and the correction unit for each The cell changes or maintains the recognition result obtained by the recognition unit according to the recognition result of the adjacent cells.

优选地,与所述单元格相邻的单元格包括横向及纵向上与所述单元格相邻的单元格。Preferably, the cells adjacent to the cell include cells adjacent to the cell horizontally and vertically.

优选地,与所述单元格相邻的单元格还包括与所述横向及纵向呈45度夹角的方向上与所述单元格相邻的单元格。Preferably, the cells adjacent to the cell also include cells adjacent to the cell in a direction forming an angle of 45 degrees with the horizontal direction and the vertical direction.

与现有技术相比,本发明的有益效果为:针对目标区域的图像划分成单元格,微观上对每个单元格进行识别,在宏观上综合多个单元格的识别结果进行修正,从而提升识别目标区域的准确性。Compared with the prior art, the beneficial effects of the present invention are as follows: the image of the target area is divided into cells, each cell is recognized microscopically, and the recognition results of multiple cells are macroscopically corrected, thereby improving Accuracy in identifying target areas.

附图说明Description of drawings

以上所述的本发明的目的、技术方案以及有益效果可以通过下面的能够实现本发明的具体实施例的详细描述,同时结合附图描述而清楚地获得。The purpose, technical solutions and beneficial effects of the present invention described above can be clearly obtained through the following detailed description of the specific embodiments capable of realizing the present invention, combined with the description of the accompanying drawings.

附图以及说明书中的相同的标号和符号用于代表相同的或者等同的元件。The same reference numerals and symbols are used in the drawings and the specification to denote the same or equivalent elements.

图1是本发明实施例的自动行走设备在目标区域行走的示意图。Fig. 1 is a schematic diagram of an automatic walking device walking in a target area according to an embodiment of the present invention.

图2是图1中的自动行走设备拍摄目标区域的的示意图。Fig. 2 is a schematic diagram of a target area photographed by the automatic walking device in Fig. 1 .

图3是图1的自动行走设备划分目标区域的示意图。Fig. 3 is a schematic diagram of dividing target areas by the automatic walking device in Fig. 1 .

图4是图1的自动行走设备的各部分模块的示意图。Fig. 4 is a schematic diagram of various modules of the self-propelled device in Fig. 1 .

图5是本发明实施例的控制自动行走设备行走方法的流程示意图。Fig. 5 is a schematic flowchart of a method for controlling the walking of an automatic walking device according to an embodiment of the present invention.

图6是本发明一实施例中的位于步骤S30与步骤S40之间的步骤S60的详细流程示意图。FIG. 6 is a schematic flowchart of step S60 between step S30 and step S40 in an embodiment of the present invention.

图7是本发明另一实施例中的位于步骤S30与步骤S40之间的步骤S60的详细流程示意图。FIG. 7 is a schematic flowchart of step S60 between step S30 and step S40 in another embodiment of the present invention.

图8是图5中步骤S40在一个实施例中的详细流程示意图。FIG. 8 is a detailed flowchart of step S40 in FIG. 5 in an embodiment.

图9是本发明一实施例中的位于步骤S40与步骤S50之间的步骤S80的详细流程示意图。FIG. 9 is a detailed flowchart of step S80 between step S40 and step S50 in an embodiment of the present invention.

1、自动行走设备 2、图像采集装置 3、主控模块1. Automatic walking equipment 2. Image acquisition device 3. Main control module

4、行走模块 5、工作模块 6、能量模块4. Walking module 5. Working module 6. Energy module

9、驱动轮 10、壳体 11、辅助轮9. Driving wheel 10. Housing 11. Training wheel

12、划分单元 13、颜色提取单元 14、计算单元12. Division unit 13. Color extraction unit 14. Calculation unit

15、比较单元 16、存储单元 17、纹理提取单元15. Comparison unit 16. Storage unit 17. Texture extraction unit

18、纹理比较单元 19、识别单元 20、信息提取单元18. Texture comparison unit 19. Recognition unit 20. Information extraction unit

21、信息改变单元 22、判断单元 23、子图像块划分单元21. Information changing unit 22. Judging unit 23. Sub-image block dividing unit

28、目标区域 32、修正单元 33、记录单元28. Target area 32. Correction unit 33. Recording unit

50、工作区域 51、非工作区域 52孤岛50. Working area 51. Non-working area 52 Island

具体实施方式detailed description

下面结合附图对本发明的较佳实施例进行详细阐述,以使本发明的优点和特征能更易于被本领域技术人员理解,从而对本发明的保护范围做出更为清楚明确的界定。The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, so that the advantages and features of the present invention can be more easily understood by those skilled in the art, so as to define the protection scope of the present invention more clearly.

图1所示为本发明一实施例的自动行走设备在目标区域行走的示意图。自动行走设备1可以在地面或其他工作表面上自动地行走,在行走的同时也可以进行工作。自动行走设备1可以为自动吸尘器、自动割草机、自动修剪机等。在本实施例中,自动行走设备为自动割草机。根据工作的对象不同,地面可以划分为工作区域50和非工作区域51。工作区域50是指用户想让自动行走设备行走经过并进行工作的区域,而非工作区域51是指用户不想让自动行走设备经过的区域。在本实施例中,由于自动行走设备为自动割草机,其工作为执行割草。因此行走区域50可以但不限定为草地,而非工作区域51可以但不限定为水泥路、大树、池塘、栅栏、木桩、墙角等。通常情况下,草地都是成片成块形成的,而非行走区域可以位于草地的周围,也可以被草地包围而形成孤岛52,所以孤岛52也是一种非行走区域的表现形式。在本发明中,非工作区域51和工作区域50的交界处可以不设置边界线,自动行走设备1利用工作区域50和非工作区域51在视觉上的差异进行识别。FIG. 1 is a schematic diagram of an automatic walking device walking in a target area according to an embodiment of the present invention. The automatic walking device 1 can automatically walk on the ground or other working surfaces, and can also work while walking. The autonomous running device 1 can be an automatic vacuum cleaner, an automatic lawn mower, an automatic trimmer, and the like. In this embodiment, the self-propelled device is an automatic lawnmower. According to different working objects, the ground can be divided into a working area 50 and a non-working area 51 . The working area 50 refers to the area where the user wants the automatic walking device to walk through and perform work, and the non-working area 51 refers to the area that the user does not want the automatic walking device to pass through. In this embodiment, since the self-propelled device is an automatic lawn mower, its work is to perform mowing. Therefore, the walking area 50 can be but not limited to grass, and the non-working area 51 can be but not limited to concrete roads, big trees, ponds, fences, stakes, wall corners and the like. Usually, the grass is formed in pieces, and the non-walking area can be located around the grass, or can be surrounded by the grass to form an island 52, so the isolated island 52 is also a form of non-walking area. In the present invention, no boundary line may be set at the junction of the non-working area 51 and the working area 50 , and the automatic walking device 1 uses the visual difference between the working area 50 and the non-working area 51 for identification.

结合图2和图3,自动行走设备1具有壳体10及安装在壳体10上的图像采集装置2。图像采集装置2拍摄自动行走设备1前方区域的图像。位于自动行走设备1前方的地面区域即为自动行走设备行走的目标区域28。目标区域28有可能是工作区域,也可能是非工作区域,也可能是行走区域和非行走区域的集合。而自动行走设备1为了能够执行在行走区域正常行走的目的,必须对当前的目标区域28进行识别。因此自动行走设备1利用图像采集装置2能够对该目标区域28拍摄并形成关于目标区域28的图像。因此控制自动行走设备的方法包括了步骤S10,即生成关于自动行走设备1行走目标区域的图像。在本实施例中,图像采集装置2的取景范围为一固定区域,如固定的视角范围90度至120度。在其他可选实施例中取景范围也可以为活动的,可选取视角范围内一定角度范围作为实际取景范围,如选取视角范围120度内位于中部的90度范围作为实际取景范围。该图像中包含目标区域的信息,例如目标区域的地形起伏情况、颜色分布情况、纹理情况等。Referring to FIG. 2 and FIG. 3 , the self-propelled device 1 has a housing 10 and an image acquisition device 2 installed on the housing 10 . The image acquisition device 2 captures images of the area in front of the automatic walking device 1 . The ground area in front of the automatic traveling device 1 is the target area 28 for the automatic traveling device to walk. The target area 28 may be a working area, may also be a non-working area, or may be a collection of walking areas and non-walking areas. However, in order to be able to perform normal walking in the walking area, the automatic walking device 1 must identify the current target area 28 . Therefore, the self-propelled device 1 can take pictures of the target area 28 and form an image about the target area 28 by using the image acquisition device 2 . Therefore, the method for controlling the self-propelled device includes step S10 , that is, generating an image of the walking target area of the self-propelled device 1 . In this embodiment, the viewing range of the image acquisition device 2 is a fixed area, such as a fixed viewing angle ranging from 90 degrees to 120 degrees. In other optional embodiments, the viewing range can also be active, and a certain angle range within the viewing angle range can be selected as the actual viewing range, such as selecting a 90-degree range in the middle of the viewing angle range of 120 degrees as the actual viewing range. The image contains information of the target area, such as terrain relief, color distribution, and texture of the target area.

请参照图4,除了图像采集装置2外,自动行走设备1还包括主控模块3、行走模块4、工作模块5及能量模块6。主控模块3分别与行走模块4、工作模块5、能量模块6以及图像采集装置2均电性相连,起到控制自动行走设备1工作的作用。Please refer to FIG. 4 , in addition to the image acquisition device 2 , the automatic walking device 1 also includes a main control module 3 , a walking module 4 , a working module 5 and an energy module 6 . The main control module 3 is electrically connected to the walking module 4 , the working module 5 , the energy module 6 and the image acquisition device 2 , and plays a role in controlling the operation of the automatic walking device 1 .

行走模块4包括轮组和用于驱动轮组的行走马达。轮组可以有多种设置方法。通常轮组包括由行走马达驱动的驱动轮9和辅助支撑壳体10的辅助轮11,驱动轮9的数量可以为1个,2个或者更多。如图2所示,以自动行走设备1的移动方向作为前侧,与前侧相对的一侧为后侧,与前后侧相邻的两边分别为左右两侧。在本实施例中,自动行走设备1的驱动轮9为2个,分别为位于左侧的左轮91和位于右侧的右轮92。左轮91和右轮92关于自动行走设备1的中轴线对称设置。左轮91和右轮92优选的位于壳体10的后部,辅助轮11位于前部,当然在其他实施例中也可以替换设置。The traveling module 4 includes a wheel set and a traveling motor for driving the wheel set. Wheel sets can be set up in a variety of ways. Usually, the wheel set includes a driving wheel 9 driven by a traveling motor and an auxiliary wheel 11 for auxiliary supporting the housing 10, and the number of the driving wheel 9 can be 1, 2 or more. As shown in FIG. 2 , the moving direction of the self-propelled device 1 is taken as the front side, the side opposite to the front side is the back side, and the two sides adjacent to the front and rear sides are the left and right sides respectively. In this embodiment, there are two driving wheels 9 of the self-propelled device 1 , which are respectively a left wheel 91 on the left side and a right wheel 92 on the right side. The left wheel 91 and the right wheel 92 are arranged symmetrically about the central axis of the self-propelled device 1 . The left wheel 91 and the right wheel 92 are preferably located at the rear of the housing 10, and the auxiliary wheels 11 are located at the front, and of course, in other embodiments, they can also be arranged alternatively.

在本实施例中,左轮91和右轮92各自配接一个驱动马达,以实现差速输出以控制转向,从而达到左转或者右转的目的。左轮91和右轮92也能够等速输出,从而达到前进或者后退的目的。驱动马达可以直接连接驱动轮,但也可以在驱动马达和驱动轮9之间设传动装置,如本技术领域内常见的行星轮系等。在其他的实施例中,也可设置驱动轮2个,驱动马达1个,这种情况下,驱动马达通过第一传动装置驱动左轮91,通过第二传动装置驱动右轮92。即同一个马达通过不同的传动装置驱动左轮91和右轮92。In this embodiment, each of the left wheel 91 and the right wheel 92 is connected with a driving motor to realize a differential output to control the steering, so as to achieve the purpose of turning left or right. The left wheel 91 and the right wheel 92 can also output at constant speeds, so as to achieve the purpose of moving forward or backward. The drive motor can be directly connected to the drive wheel, but also a transmission can be set between the drive motor and the drive wheel 9, such as a common planetary gear train in the art. In other embodiments, two driving wheels and one driving motor may also be provided. In this case, the driving motor drives the left wheel 91 through the first transmission device, and drives the right wheel 92 through the second transmission device. That is, the same motor drives the left wheel 91 and the right wheel 92 through different transmission devices.

工作模块5用于执行特定的工作。本实施例中,工作模块5具体为切割模块,包括用于割草的切割部件(图未示)和驱动切割部件的切割马达(图未示)。Work module 5 is used to perform specific work. In this embodiment, the working module 5 is specifically a cutting module, including a cutting unit (not shown) for mowing grass and a cutting motor (not shown) for driving the cutting unit.

能量模块6用于给自动行走设备1的运行提供能量。能量模块6的能源可以为汽油、电池包等,在本实施例中能量模块6包括在壳体2内设置的可充电电池包。在工作的时候,电池包释放电能以维持自动行走设备1工作。在非工作的时候,电池可以连接到外部电源以补充电能。特别地,出于更人性化的设计,当探测到电池的电量不足时,自动行走设备1会自行的寻找充电停靠站(图未示)补充电能。The energy module 6 is used to provide energy for the operation of the automatic walking device 1 . The energy source of the energy module 6 can be gasoline, a battery pack, etc. In this embodiment, the energy module 6 includes a rechargeable battery pack set in the casing 2 . When working, the battery pack releases electric energy to maintain the automatic walking device 1 to work. During non-working hours, the battery can be connected to an external power source for supplemental power. In particular, for a more user-friendly design, when it detects that the battery is insufficient, the automatic walking device 1 will automatically search for a charging station (not shown) to supplement electric energy.

如图3所示,图像采集装置2获得了关于目标区域28的图像后传递给主控模块3。主控模块3包括划分单元12。划分单元12用于把图像划分若干个单元格。所有的单元格组合成一张图像,每个单元格占据整个图像的一部分。因此每个单元格包含了该部分图像的识别信息。每个单元格的大小基本一致。另外,该若干个单元格构成矩阵阵列。该矩阵阵列分别沿横向及纵向延伸。在横向上,约20个单元格排列成一排;而在纵向上,约20个单元格排列成一列。在不同的实施例中,横向及纵向排列的单元格数量可以不一致。而每个单元格都具有至少一个与其相邻的单元格。对于位于阵列中间区域的单元格,每个单元格具有分别位于上下左右共4个与其相邻的单元格,换句话说,该4个单元格分别在横向上或者纵向上与那个单元格相邻。当然,相邻的意思也不限于上下左右4个方向。在另外的实施例中,对于该单元格具有上下左右以及上左、上右、下左、下右八个方向共8个与其相邻的单元格,换句话说,除了在横向及纵向上相邻之外,在与横向及纵向呈45度夹角的方向上也可以与单元格相邻。而对于位于阵列边缘区域的单元格,每个单元格可能没有4个与其相邻的单元格,但是至少会有一个与其相邻。因此控制自动行走设备的方法还包括了步骤S20,即图像划分成若干个单元格,每个单元格与至少一个其他的单元格相邻。As shown in FIG. 3 , the image acquisition device 2 obtains the image of the target area 28 and transmits it to the main control module 3 . The main control module 3 includes a dividing unit 12 . The division unit 12 is used to divide the image into several cells. All the cells are combined into one image, and each cell occupies a part of the whole image. Each cell therefore contains identifying information for that part of the image. Each cell is roughly the same size. In addition, the several cells form a matrix array. The matrix array extends horizontally and vertically respectively. In the horizontal direction, about 20 cells are arranged in a row; in the vertical direction, about 20 cells are arranged in a row. In different embodiments, the number of cells arranged horizontally and vertically may be different. And each cell has at least one cell adjacent to it. For the cells located in the middle area of the array, each cell has 4 adjacent cells located in the top, bottom, left, and right respectively. In other words, the 4 cells are adjacent to that cell in the horizontal or vertical direction. . Of course, the meaning of adjacent is not limited to the four directions of up, down, left, and right. In another embodiment, the cell has 8 adjacent cells in eight directions: up, down, left, right, up left, up right, down left, and down right. In addition to being adjacent to the cell, it can also be adjacent to the cell in a direction that forms an angle of 45 degrees with the horizontal and vertical directions. And for the cells located in the edge area of the array, each cell may not have 4 adjacent cells, but there will be at least one adjacent cell. Therefore, the method for controlling the automatic walking device further includes step S20, that is, the image is divided into several cells, and each cell is adjacent to at least one other cell.

划分单元12划分单元格完毕后,开始识别单元格对应的目标区域是否为行走区域。具体流程方法如下:主控模块3先读取各个单元格所包含的识别信息。在本实施例中,单元格所包含的识别信息包括了颜色信息和纹理信息。在其他实施例中,单元格包含的信息可以是颜色信息以及其他类型的信息。由于单元格是图像的一部分,而图像包括了对目标区域的信息。因此单元格必然包含了对应的目标区域的信息,当然也包括颜色信息。通过读取该识别信息有助于判断出该单元格对应的目标区域是管理工作区域还是非工作区域。由于作为工作区域的草地是绿色的,而作为非工作区域的道路、泥土则不是绿色的,因此若识别出该单元格的颜色信息为绿色,则可认为该单元格对应的是行走区域。若识别出颜色信息不为绿色,则可认为该单元格对应的是非行走区域。当然为了进一步提升准确性,有些情况的非行走区域也是绿色的,例如一些人工处理过的物体表面刷上了绿漆,这种情况下行走区域和非行走区域的颜色都为绿色,从颜色信息上分辨,并不容易区分出行走区域和非行走区域。因此还需要加入对纹理信息的识别。因为在那种非行走区域也为绿色的情况下,通常其具有规则的纹理,而行走区域的草地虽然也为绿色,但是草得生长并不是那么的有规则,因此其纹理是不规则的。进而如果识别出该单元格的颜色信息为绿色,且纹理不规则,则可认定该单元格对应的是行走区域。若颜色不为绿色或者纹理规则,则可认定该单元格对应的是非行走区域。当然,在其他实施例中,也可以通过识别其他信息来达到甄别行走区域和非行走区域的目的,在此就不尽详述。After dividing the cells, the division unit 12 starts to identify whether the target area corresponding to the cells is a walking area. The specific flow method is as follows: the main control module 3 first reads the identification information contained in each cell. In this embodiment, the identification information contained in the cell includes color information and texture information. In other embodiments, the information contained in the cells may be color information and other types of information. Since a cell is a part of an image, the image includes information about the target area. Therefore, the cell must contain the information of the corresponding target area, and of course the color information. Reading the identification information helps to determine whether the target area corresponding to the cell is a management working area or a non-working area. Because the grass as the working area is green, but the road and soil as the non-working area are not green, so if the color information of the cell is recognized as green, it can be considered that the cell corresponds to the walking area. If it is recognized that the color information is not green, it can be considered that the cell corresponds to a non-walking area. Of course, in order to further improve the accuracy, the non-walking area is also green in some cases. For example, some artificially processed objects are painted with green paint. In this case, the color of both the walking area and the non-walking area is green. From the color information It is not easy to distinguish the walking area from the non-walking area. Therefore, it is also necessary to add the identification of texture information. Because in the case that the non-walking area is also green, it usually has a regular texture, and although the grass in the walking area is also green, the growth of the grass is not so regular, so its texture is irregular. Furthermore, if it is recognized that the color information of the cell is green and the texture is irregular, it can be determined that the cell corresponds to a walking area. If the color is not green or the texture is regular, it can be determined that the cell corresponds to a non-walking area. Of course, in other embodiments, the purpose of distinguishing the walking area and the non-walking area can also be achieved by identifying other information, which will not be described in detail here.

对此,主控模块3还颜色提取单元13、计算单元14、比较单元15以及存储单元16。主控模块3通过提取单元格的颜色信息,然后把颜色信息与预设信息进行比较,根据比较结果对单元格是否为行走区域进行识别。具体的方法如下:由于每个单元格实际包含了很多个像素单元,而像素单元显示的颜色是唯一的。因此颜色提取单元13的作用是提取单元格中各个像素单元的颜色,特别地,提取的是三原色(RGB)分量。而预设信息是指预设的起参考比较对象作用的信息。在本实施例中,预设信息是指存有预定颜色的三原色分量的数值范围。本实施例中,预定颜色是指绿色。比较一个像素的三原色分量与预定颜色的三原色分量,若一个像素的三原色分量分别落入预定颜色的三原色分量的数值范围,则判断该像素的颜色为预定颜色。说明如果没有落入该数值范围,则判断该像素的颜色为非预定颜色。在另外的实施例中,存储单元16具有预定颜色的预设色调值(Hue)范围,在提取一个像素三原色分量后,将得到的RGB分量进一步转换为HSV(色调Hue,饱和度Saturation,亮度Value)值,并比较其色调值是否在预设色调值范围之内,是则判定该像素的颜色为预定颜色,否则判定该像素的颜色为非预定颜色。For this, the main control module 3 also includes a color extraction unit 13 , a calculation unit 14 , a comparison unit 15 and a storage unit 16 . The main control module 3 extracts the color information of the cell, then compares the color information with the preset information, and identifies whether the cell is a walking area according to the comparison result. The specific method is as follows: Since each cell actually contains many pixel units, the color displayed by the pixel unit is unique. Therefore, the function of the color extracting unit 13 is to extract the color of each pixel unit in the cell, in particular, three primary colors (RGB) components are extracted. The preset information refers to preset information that functions as a reference comparison object. In this embodiment, the preset information refers to the numerical ranges of the three primary color components of the predetermined color. In this embodiment, the predetermined color refers to green. Comparing the three primary color components of a pixel with the three primary color components of a predetermined color, if the three primary color components of a pixel respectively fall within the value range of the three primary color components of the predetermined color, then it is judged that the color of the pixel is the predetermined color. Note that if it does not fall within the value range, the color of the pixel is judged to be an unpredetermined color. In another embodiment, the storage unit 16 has a preset hue value (Hue) range of a predetermined color, and after extracting the three primary color components of a pixel, the RGB components obtained are further converted into HSV (hue Hue, saturation, brightness Value ) value, and compare whether its tone value is within the preset tone value range, if yes, it is determined that the color of the pixel is a predetermined color, otherwise, it is determined that the color of this pixel is a non-predetermined color.

然后计算单元14计算具有预定颜色的像素数量占一个单元格中总的像素数量的比例(以下简称占比)。比较单元15再把占比与一第一预设值比较,若该占比超过或达到第一预设值,认定该单元格的颜色显示是预定颜色。第一预设值可以是50%、60%或者其他数值。另外第一预设值可以存储在存储单元16中。Then the calculation unit 14 calculates the ratio of the number of pixels with a predetermined color to the total number of pixels in a cell (hereinafter referred to as proportion). The comparison unit 15 then compares the ratio with a first preset value, and if the ratio exceeds or reaches the first preset value, it is determined that the color display of the cell is a predetermined color. The first preset value can be 50%, 60% or other values. In addition, the first preset value can be stored in the storage unit 16 .

再结合单元格的其他一些信息可以识别出该单元格属于工作区域或非工作区域。在本实施例中指的是单元格的纹理信息。主控模块3还包括纹理提取单元17、纹理比较单元18。纹理提取单元17提取该单元格的纹理特征值。单元格中所有像素的至少一个参数的离散度可以体现该参数的各个取值之间的差异程度。若目标区域为绿色的油漆,则其图像中一个参数的离散度很小,甚至为0。由于草地的纹理不规则,单元格的所有像素的一个参数的差分值的离散度会大于或等于一个预设离散度,从而体现了该单元格的纹理的不规则性。因此,本实施方式中,所述纹理特征值为参数离散度,如颜色离散度、灰度离散度、亮度离散度等。Combined with some other information of the cell, it can be identified that the cell belongs to the working area or the non-working area. In this embodiment, it refers to the texture information of the cell. The main control module 3 also includes a texture extraction unit 17 and a texture comparison unit 18 . The texture extracting unit 17 extracts the texture feature value of the cell. The degree of dispersion of at least one parameter of all pixels in the cell may reflect the degree of difference between values of the parameter. If the target area is green paint, the dispersion of a parameter in the image is very small, even 0. Due to the irregular texture of the grass, the dispersion of a parameter difference value of all pixels of the cell will be greater than or equal to a preset dispersion, thus reflecting the irregularity of the texture of the cell. Therefore, in this embodiment, the texture feature value is parameter dispersion, such as color dispersion, grayscale dispersion, brightness dispersion, and the like.

纹理比较单元18比较该单元格的纹理特征值与第二预设值以判断纹理特征值是否达到第二预设值。本实施方式中,所述第二预设值为预设离散度。纹理比较单元18可以独立的存在,也可以集成到比较单元15。而第二预设值也可以预先存储在存储单元16中。The texture comparison unit 18 compares the texture feature value of the cell with a second preset value to determine whether the texture feature value reaches the second preset value. In this embodiment, the second preset value is a preset dispersion. The texture comparison unit 18 can exist independently, or can be integrated into the comparison unit 15 . The second preset value can also be pre-stored in the storage unit 16 .

主控模块3还包括识别单元19。其中颜色提取单元13、计算单元14、比较单元15以及存储单元16在一个实施例中可以构成识别单元19的一部分,或者说整合入识别单元19形成整体。也可以在另一个实施例中作为与识别单元19并列的单元组件。当识别单元19识别出该单元格中的具有预定颜色的像素占比达到或超过第一预设值且单元格的纹理特征值达到或超过第二预设值时,判断该单元格对应的目标区域为行走区域;若占比未达到第一预设值或纹理特征值未达到第二预设值,判断该单元格对应的目标区域为非行走区域。因此控制自动行走设备的方法还包括了步骤S30,即读取每个单元格所包含的识别信息并对其进行识别,从而获得单元格对应的目标区域是否为工作区域的识别结果。The main control module 3 also includes an identification unit 19 . The color extraction unit 13 , the calculation unit 14 , the comparison unit 15 and the storage unit 16 may constitute a part of the recognition unit 19 in one embodiment, or be integrated into the recognition unit 19 to form a whole. It can also be used as a unit component juxtaposed with the recognition unit 19 in another embodiment. When the recognition unit 19 recognizes that the proportion of pixels with a predetermined color in the cell reaches or exceeds the first preset value and the texture feature value of the cell reaches or exceeds the second preset value, it determines the target corresponding to the cell The area is a walking area; if the ratio does not reach the first preset value or the texture feature value does not reach the second preset value, it is determined that the target area corresponding to the cell is a non-walking area. Therefore, the method for controlling the automatic walking device further includes step S30, that is, reading the identification information contained in each cell and identifying it, so as to obtain the identification result of whether the target area corresponding to the cell is a working area.

主控模块3的识别单元19对图像内的所有单元格都分别进行识别,从而获得所有单元格的识别结果。在优选地的实施例中,主控模块3还包括修正单元32,修正单元32基于马尔可夫随机模型对单元格的识别结果进行修正。因此在该实施例中,因此控制方法还包括了步骤S60,即基于平滑处理的方式修正单元格中的异识别结果。这是因为在实际工况中,通过步骤S30获得的识别结果会有一定的误差,即产生异常的识别结果。修正过程可以可以把该异常的识别结果进行修正,从而提升识别的准确性。具体来说,对于图像内的每一个单元格来说,必然存在与其相邻的单元格。利用其相邻的单元格的识别结果以及对单元格自身的识别结果进行综合考虑可以达到修正的目的。修正单元32包括了信息提取单元20和信息改变单元21。The recognition unit 19 of the main control module 3 respectively recognizes all cells in the image, so as to obtain recognition results of all cells. In a preferred embodiment, the main control module 3 further includes a correction unit 32, and the correction unit 32 corrects the identification result of the cell based on the Markov stochastic model. Therefore, in this embodiment, the control method further includes step S60, that is, correcting the different recognition results in the cells based on the smoothing process. This is because in actual working conditions, the recognition result obtained through step S30 may have certain errors, that is, an abnormal recognition result will be generated. The correction process can correct the abnormal recognition result, thereby improving the recognition accuracy. Specifically, for each cell in the image, there must be adjacent cells. The purpose of correction can be achieved by comprehensively considering the recognition results of its adjacent cells and the recognition results of the cell itself. The modification unit 32 includes the information extraction unit 20 and the information modification unit 21 .

在一个实施例中,修正的方法如下:步骤S60包括了步骤S61、S62、S63和S64。其中步骤S61是指对于每个单元格而言,信息提取单元20提取所有与该单元格的相邻的单元格的识别结果;步骤S62是指计算单元14统计与该单元格的识别结果相同的相邻单元格的数量,以及该数量占到相邻的单元格总数量的占比。举例来说,若该单元格的识别结果为工作区域,则计算单元14统计与其相邻的单元格中识别结果也为工作区域的数量,并且计算该数量占到整个相邻的单元格总数量的占比。步骤S63是指比较单元15比较该占比与第四预设值的大小,若该占比大于或等于一第四预设值,(通常情况下第四预设值不少于50%,可以是50%,75%等),说明该识别结果的相邻单元格占据所有相邻单元格的大多数,因此通过单元格信息改变单元21使该单元格的识别结果保持不变。若该占比小于第四预设值,则单元格信息改变单元21使该单元格的识别结果变更为另一识别结果,例如该单元格的原本识别结果为工作区域,变更后即识别结果即变为非工作区域。整个过程举例来说,对于一个单元格来说,原来的识别结果为非工作区域。但是与其相邻的4个单元格中有3个单元格的识别结果为工作区域,该比例(3/4=75%)已经大于第四预设值(假设第四预设值为50%),则根据该相邻单元格的结果认定该单元格原来的识别结果与邻近的单元格的识别结果相同,因此该单元格的识别结果保持不变,仍然为工作区域。若与其相邻的4个单元格中只有1个单元格的识别结果为工作区域,该比例(1/4=25%)小于第四预设值,则认定该单元格的识别结果与其相邻单元格的识别结果不符合,可能对该单元格的识别结果是由于误差造成的,因此把该单元格的识别结果修正为工作区域。当然,再次强调此处的相邻并不是限定上下左右4个方向的相邻,还可以不限于是上左、上右、下左、下右等共8个方向。同样单元格原先的识别结果不限为工作区域,也可以是非工作区域。最后步骤S64是指以此方法适用到所有单元格上,即完成整个图像的结果修正,也就是说,对所有单元格执行上述S61~S63步骤,修正所有单元格的识别结果。In one embodiment, the correction method is as follows: step S60 includes steps S61, S62, S63 and S64. Wherein step S61 means that for each cell, the information extraction unit 20 extracts the recognition results of all adjacent cells with the cell; The number of adjacent cells, and the proportion of this number to the total number of adjacent cells. For example, if the recognition result of the cell is a working area, the calculation unit 14 counts the number of the recognition results in its adjacent cells that are also working areas, and calculates that the number accounts for the total number of adjacent cells. proportion. Step S63 means that the comparison unit 15 compares the ratio with the fourth preset value, if the ratio is greater than or equal to a fourth preset value (usually the fourth preset value is not less than 50%, it can be is 50%, 75%, etc.), indicating that the adjacent cells of the recognition result occupy the majority of all adjacent cells, so the cell information change unit 21 keeps the recognition result of this cell unchanged. If the proportion is less than the fourth preset value, the cell information changing unit 21 changes the recognition result of the cell to another recognition result, for example, the original recognition result of the cell is the working area, and the recognition result is becomes a non-working area. In the whole process, for example, for a cell, the original recognition result is a non-working area. However, the recognition results of 3 cells in the 4 adjacent cells are working areas, and this ratio (3/4=75%) is greater than the fourth preset value (assuming that the fourth preset value is 50%) , then according to the result of the adjacent cell, it is determined that the original recognition result of this cell is the same as the recognition result of the adjacent cell, so the recognition result of this cell remains unchanged, and it is still the working area. If the recognition result of only one of the 4 adjacent cells is the working area, and the ratio (1/4=25%) is less than the fourth preset value, then the recognition result of the cell is determined to be adjacent to it The recognition result of the cell is inconsistent, and the recognition result of the cell may be caused by an error, so the recognition result of the cell is corrected as the working area. Of course, it is emphasized again that the adjacency here is not limited to the adjacency in the four directions of up, down, left, and right, and may not be limited to a total of eight directions such as up-left, up-right, down-left, and down-right. Similarly, the original identification result of the cell is not limited to the working area, and may also be the non-working area. The final step S64 is to apply this method to all cells, that is, complete the result correction of the entire image, that is to say, perform the above steps S61-S63 on all cells to correct the recognition results of all cells.

在另外的一个实施例中,步骤S60包括了步骤S66、S67、S68、S69、S70、S71和S72。步骤S66先获取单元格的识别结果的可靠度。可靠度通常为0~100%之间的一个数值。当然,可靠度还可以是其他形式的数值。步骤S67中把可靠度记为Y1,不可靠度记为N1,其中N1=1-Y1。Y1也可以称之为相似的可靠度。N1可以称之为不相似的可靠度。Y1和N1可以存储在存储单元16中。然后再通过步骤S68获取计算与该单元格相邻的单元格的可靠度。可靠度通常为0~100%之间的一个数值。假如该单元格具有8个与其相邻的单元格的话,通过步骤S69与步骤S67类似的获取8个相似的可靠度以及不相似的可靠度。具体地,把该8个相邻的单元格的可靠度记为相似的可靠度Ya、Yb、Yc…,以及把不相似的可靠度记为Na、Nb、Nc…。然后通过步骤S70把这8个相似的可靠度进行加权求和处理得到Y2。在本实施例中,权重系数大小一致,优选地均为1/8。当然,权重系数也可以采用互不相同的值。同理,把那8个不相似的可靠度进行加权求和处理得到N2。该8个不相似的可靠度的权重系数可以是一样的,并且可以与相似的可靠度的权重系数一致。然后通过步骤S71比较Y1+αN1与Y2+αN2的大小并采取相应措施。具体地,α这里为权重系数,并且和前面几个步骤的权重值可以不一样,也可以一样。进一步地,比较的过程可以在比较单元15中进行,也可以在其他元件中进行。关于比较的结果,若Y1+αN1的结果大于或等于Y2+αN2的结果,则信息改变单元21维持该单元格的识别结果不变,若Y1+αN1的结果小于Y2+αN2的结果,则信息改变单元21改变该单元格的识别结果。然后通过步骤S72对图像内的所有单元格全部执行上述过程,每个单元格都会参与迭代循环,直到所有的单元格的识别结果不再产生改变。In another embodiment, step S60 includes steps S66, S67, S68, S69, S70, S71 and S72. Step S66 first obtains the reliability of the recognition result of the cell. Reliability is usually a value between 0 and 100%. Certainly, the reliability may also be a numerical value in other forms. In step S67, the degree of reliability is marked as Y1, and the degree of unreliability is marked as N1, where N1=1-Y1. Y1 can also be called similar reliability. N1 can be called dissimilar reliability. Y1 and N1 may be stored in the storage unit 16 . Then step S68 is used to obtain and calculate the reliability of the cells adjacent to the cell. Reliability is usually a value between 0 and 100%. If the cell has 8 adjacent cells, obtain 8 similar reliability and dissimilar reliability through step S69 and step S67 similarly. Specifically, the reliabilities of the eight adjacent cells are denoted as similar reliabilities Ya, Yb, Yc . . . , and the dissimilar reliabilities are denoted as Na, Nb, Nc . . . Then, through step S70, the eight similar reliability levels are weighted and summed to obtain Y2. In this embodiment, the weight coefficients are consistent in size, preferably 1/8. Of course, the weight coefficients may also take different values. Similarly, the eight dissimilar reliability levels are weighted and summed to obtain N2. The weight coefficients of the eight dissimilar reliability degrees may be the same, and may be consistent with the weight coefficients of the similar reliability degrees. Then, through step S71, compare the sizes of Y1+αN1 and Y2+αN2 and take corresponding measures. Specifically, α here is a weight coefficient, and it may be different from or the same as the weight value of the previous steps. Further, the comparison process can be performed in the comparison unit 15 or in other components. Regarding the result of the comparison, if the result of Y1+αN1 is greater than or equal to the result of Y2+αN2, the information changing unit 21 maintains the identification result of the cell unchanged, if the result of Y1+αN1 is less than the result of Y2+αN2, the information The changing unit 21 changes the recognition result of the cell. Then, through step S72, the above-mentioned process is performed on all the cells in the image, and each cell will participate in an iterative cycle until the recognition results of all cells do not change any more.

因此控制自动行走设备的方法还包括了步骤S40,步骤S40用于判断包含了若干个单元格的子图像块对应的目标区域是否为行走区域。自动行走设备1包括用来执行该步骤的判断单元22。判断单元22包括了子图像块划分单元23,子图像块划分单元23用于把图像划分成若干个子图像块。其中的一个实施例中,具体划分的方式如下:步骤S40包括了步骤S41、S42、S43。首先,通过步骤S41根据自动行走设备的行走方向子图像块划分单元23选择地将图像划分成若干个子图像块。每个子图像块对应不同的行走方向。在其中的一个实施例中,子图像块划分单元23把图像划分成中部、左部和右部三个子图像块,分别对应于目标区域中的子区域。如图3所示,中部对应于自动行走设备1的前方正中、与自动行走设备1等宽的中间区域a;左部对应于自动行走设备1的前方、位于中间区域a左侧的左侧区域b;右部对应于自动行走设备1的前方、位于中间区域a右侧的右侧区域c。该三个子图像块分别各自包含了多个单元格。在另外的一个实施例中,子图像块划分单元23还可以把图像划分成正前方、左前方、左方、右前方、右方等5个不同的子图像块。由于每个子图像块都包含了若干单元格,判断单元22通过子图像块中的所有单元格的识别结果来判断该子图像块对应的目标区域是行走区域还是非行走区域。具体地,假设以位于图像前端的三行单元格共60个单元格作为中部子图像块。在该实施例中,自动行走设备1的信息提取单元20提取该中部子图像块中所有单元格的识别结果,计算单元14计算识别结果为工作区域区域的单元格的数量,并把该数量标记为A。当然在其他实施例中也可以统计识别结果为非工作区域的单元格的数量。比较单元15比较识别结果为行走区域的单元格的数量与第三预设值的大小。当数量A或者A占到该子图像块中所有单元格的比例大于或等于一第三预设值时,则判断单元22可认定该子图像块为行走区域。当然也可以设置成当识别结果为非行走区域的单元格的数量小于一第三预设值时,可判断该子图像块为行走区域。本实施例中的第三预设值预存在存储单元16中,并且可以是30、40、50等数值。在其他实施例中,自动行走设备1也可以把识别结果为行走区域或非行走区域的单元格占到该子图像块的所有单元格的比例作为参数,与另一第三预设值进行比较,本实施例中的第三预设值大于或等于50%,可以是50%、60%、90%等。Therefore, the method for controlling the automatic walking device further includes step S40. Step S40 is used to determine whether the target area corresponding to the sub-image block including several cells is a walking area. The self-propelled device 1 includes a judging unit 22 for performing this step. The judging unit 22 includes a sub-image block dividing unit 23, and the sub-image block dividing unit 23 is used to divide the image into several sub-image blocks. In one of the embodiments, the specific manner of division is as follows: step S40 includes steps S41, S42, and S43. First, the sub-image block dividing unit 23 selectively divides the image into several sub-image blocks according to the walking direction of the automatic walking device through step S41. Each sub-image block corresponds to a different walking direction. In one of the embodiments, the sub-image block dividing unit 23 divides the image into three sub-image blocks in the middle, left, and right, corresponding to the sub-areas in the target area, respectively. As shown in Figure 3, the middle part corresponds to the middle area a in the middle of the front of the self-propelled device 1 and is as wide as the self-propelled device 1; Area b; the right part corresponds to the front of the automatic walking device 1 and the right area c on the right side of the middle area a. Each of the three sub-image blocks contains a plurality of cells. In another embodiment, the sub-image block division unit 23 may further divide the image into five different sub-image blocks, namely front, left front, left, right front, and right. Since each sub-image block contains several cells, the judging unit 22 judges whether the target area corresponding to the sub-image block is a walking area or a non-walking area based on the identification results of all the cells in the sub-image block. Specifically, it is assumed that a total of 60 cells in three rows of cells located at the front end of the image are used as the middle sub-image block. In this embodiment, the information extraction unit 20 of the automatic walking device 1 extracts the recognition results of all cells in the middle sub-image block, and the calculation unit 14 calculates the number of cells whose recognition result is the working area area, and marks the number for A. Of course, in other embodiments, the number of cells identified as non-working areas can also be counted. The comparison unit 15 compares the number of cells whose recognition result is the walking area with the size of the third preset value. When the quantity A or the ratio of A to all cells in the sub-image block is greater than or equal to a third preset value, the judging unit 22 may determine that the sub-image block is a walking area. Of course, it can also be set such that when the number of cells in the non-walking area is less than a third preset value as a recognition result, it can be determined that the sub-image block is a walking area. The third preset value in this embodiment is pre-stored in the storage unit 16 and may be 30, 40, 50 and other values. In other embodiments, the automatic walking device 1 can also use the ratio of the recognition result that the cells in the walking area or non-walking area to all the cells in the sub-image block as a parameter, and compare it with another third preset value , the third preset value in this embodiment is greater than or equal to 50%, and may be 50%, 60%, 90% and so on.

当判断子图像块对应的目标区域为行走区域或非行走区域后,自动行走设备1通过步骤S50,根据判断结果控制自动行走设备前进、后退、左转或右转。根据判断单元22的判断结果,自动行走设备1会执行具体的响应动作。行走模块4控制自动行走设备1响应的动作有包括:前进(F)、后退(B)、左转(L)、右转(R)和不变化(N)。在把图像划分为左中右三块子图像块的实施例中,由于每个子图像块的识别结果分别有行走区域和非行走区域。所以总共八种不同的情况:分别是1.左中右均为行走区域;2.左中为行走区域,右为非行走区域;3.左右为行走区域,中为非行走区域;4.左为行走区域,中右为非行走区域;5.左为非行走区域,中右为行走区域;6.左右为非行走区域,中为行走区域;7.左中为非行走区域,右为行走区域;8.左中右均为非行走区域。After judging that the target area corresponding to the sub-image block is a walking area or a non-walking area, the automatic walking device 1 controls the automatic walking device to move forward, backward, turn left or turn right according to the judgment result through step S50. According to the judging result of the judging unit 22, the self-propelled device 1 will execute a specific response action. The actions that the walking module 4 controls the automatic walking device 1 to respond to include: forward (F), backward (B), left turn (L), right turn (R) and no change (N). In the embodiment in which the image is divided into three sub-image blocks, left, middle, and right, each sub-image block has a walking area and a non-walking area respectively in the recognition result. So there are a total of eight different situations: 1. The left, middle and right are walking areas; 2. The left middle is the walking area, and the right is the non-walking area; 3. The left and right are walking areas, and the middle is the non-walking area; 4. Left 5. The left is the non-walking area, and the middle and right is the walking area; 6. The left and right are non-walking areas, and the middle is the walking area; 7. The middle left is the non-walking area, and the right is the walking area 8. The left, middle and right are non-walking areas.

在第1种情况下,主控模块3使行走模块4执行不变化(N)的动作;In the first case, the main control module 3 makes the walking module 4 perform an action that does not change (N);

在第2种情况下,主控模块3使行走模块4执行左转并前进(LF)的动作;In the second case, the main control module 3 makes the walking module 4 perform the action of turning left and moving forward (LF);

在第3种情况下,主控模块3使行走模块4执行后退左转并前进(BLF)的动作;In the third case, the main control module 3 makes the walking module 4 perform the action of turning backward and turning left and moving forward (BLF);

在第4种情况下,主控模块3使行走模块4执行后退左转并前进(BLF)的动作;In the fourth case, the main control module 3 makes the walking module 4 perform the action of turning backwards and turning left and moving forward (BLF);

在第5种情况下,主控模块3使行走模块4执行右转并前进(RF)的动作;In the fifth case, the main control module 3 makes the walking module 4 perform the action of turning right and advancing (RF);

在第6种情况下,主控模块3使行走模块4执行后退右转并前进(BRF)的动作;In the 6th case, the main control module 3 makes the walking module 4 perform the action of going back and turning right and moving forward (BRF);

在第7种情况下,主控模块3使行走模块4执行后退右转并前进(BRF)的动作;In the 7th case, the main control module 3 makes the walking module 4 perform the action of retreating and turning right and moving forward (BRF);

在第8种情况下,主控模块3使行走模块4执行后退右转并前进(BRF)或者后退左转并前进(BLF)二选一的动作。In the eighth case, the main control module 3 makes the walking module 4 perform an action of turning backward and turning right and forward (BRF) or turning backward and turning left and forward (BLF).

进一步地说明,当判断出当前目标区域为行走区域时,自动行走设备1可能会继续执行原先的行走策略,例如保持原来的行走状态;当认定当前目标区域为非行走区域时,自动行走设备1则会改变行走方向,进一步地可以选择地向远离该子图像块的方向行走。由于图像存在多个子图像块,自动行走设备1需要对该多个子图像块分别进行行走区域或非行走区域的认定,进而采取对应的策略。在优选的实施例中,自动行走设备可以同时对该多个子图像块进行认定。举例来说,对于中部、左部、右部等三个子图像块来说,若检测到该三个子图像块均为行走区域,自动行走设备保持继续向前移动的状态;若检测到该三个子图像块均为非行走区域,自动行走设备会转向180度,向后方移动;若检测到中部、左部的子图像块均为非行走区域,右部为行走区域,则自动行走设备就会向远离中部和左部的方向即向右下方移动,当然可以先后退再右转或者先右转再后退等多种具体的方式。Further illustrate, when judging that the current target area is a walking area, the automatic walking device 1 may continue to execute the original walking strategy, such as maintaining the original walking state; Then the walking direction will be changed, and further, the walking direction can be selectively walked away from the sub-image block. Since there are multiple sub-image blocks in the image, the automatic walking device 1 needs to identify the walking area or the non-walking area for the multiple sub-image blocks, and then adopt corresponding strategies. In a preferred embodiment, the automatic walking device can identify the multiple sub-image blocks at the same time. For example, for the three sub-image blocks such as the middle part, the left part, and the right part, if it is detected that the three sub-image blocks are all walking areas, the automatic walking device keeps moving forward; if the three sub-image blocks are detected The image blocks are all non-walking areas, and the automatic walking equipment will turn 180 degrees and move backward; if it detects that the sub-image blocks in the middle and left are all non-walking areas, and the right part is a walking area, the automatic walking equipment will move towards The direction away from the middle and the left is to move to the lower right. Of course, you can go back and then turn right, or turn right first and then go back.

当然在优选的实施例中,自动行走设备1的子图像块划分单元23还可以包括多次划分子图像块,然后进行综合判断的过程。每次划分的子图像块对应的区域可以是不相同的。这样对不同区域的判断结果综合考虑,避免单一区域的判断结果的不准确性而带来的策略制定的错误,提升了自动行走设备1行走的准确性。具体地仍然举位于图像前端的三行单元格共60个单元格作为中部子图像块为例,在一次判断该子图像块的对象是该60个单元格,在另外一次识别的过程中,可以把图像前端的四行单元格共80个单元格作为中部子图像块,在该次判断该子图像块的对象是该80个单元格。并且两次判断时用到的第三预设值也不相同,此处可以但不限制为60个。把这两次识别结合起来作为全新的判断依据,例如当判断条件为构成三行的60个单元格中有40个单元格识别为行走区域,且在构成四行的80个单元格中有60个单元格识别为行走区域时,可认定中部为行走区域。若该两个判断条件不能同时满足,则认定中部为非行走区域。当然,对于左部和右部也可以采用同样的方式进行判断。Of course, in a preferred embodiment, the sub-image block division unit 23 of the automatic walking device 1 may also include a process of dividing the sub-image blocks multiple times and then performing comprehensive judgment. The regions corresponding to the sub-image blocks divided each time may be different. In this way, the judgment results of different areas are comprehensively considered, avoiding errors in strategy formulation caused by inaccurate judgment results in a single area, and improving the walking accuracy of the automatic walking device 1 . Specifically still take the three rows of cells located at the front end of the image as an example of the middle sub-image block. In one judgment, the object of the sub-image block is the 60 cells. In another recognition process, it can be A total of 80 cells in the four rows of cells at the front end of the image are used as the middle sub-image block, and the object of the sub-image block is judged to be the 80 cells. In addition, the third preset values used in the two judgments are also different, here may be but not limited to 60. Combine these two recognitions as a new basis for judgment. For example, when the judgment condition is that 40 of the 60 cells forming three rows are identified as walking areas, and 60 of the 80 cells forming four rows When a cell is identified as a walking area, the middle part can be identified as a walking area. If the two judging conditions cannot be satisfied at the same time, the middle part is determined to be a non-walking area. Of course, the same way can also be used to judge the left part and the right part.

在另一优选的实施例中,由于单张的图像仍然有可能对目标区域的信息采集有存在失真的情况,例如,在某一瞬间快速掠过的物体会对目标区域产生阴影,从而影响自动行走设备对该目标区域的判断过程。因此在本实施例中,自动行走设备还包括在上述步骤S40与步骤S50之间设置步骤S80。通过步骤S80根据多张图像中的子图像块进行综合过滤,获得所述子图像块是否为行走区域的最终判断结果。可以在一定的时间周期内对目标区域多次拍摄,从而形成多帧的图像。然后对每一帧图像包含的判断信息进行综合过滤获得最终的判断结果。In another preferred embodiment, because a single image may still have distortions in the information collection of the target area, for example, objects that pass quickly at a certain moment will cast shadows on the target area, thereby affecting the automatic The process of judging the target area by the walking equipment. Therefore, in this embodiment, the self-propelled device further includes a step S80 between the above step S40 and step S50. Through step S80, comprehensive filtering is performed according to the sub-image blocks in the multiple images to obtain the final judgment result of whether the sub-image blocks are walking areas. The target area can be photographed multiple times within a certain period of time, thereby forming a multi-frame image. Then, the judgment information contained in each frame of image is comprehensively filtered to obtain the final judgment result.

方法步骤S80至少包括了步骤S81、S82和步骤S84。在优选的实施例中,步骤S80还包括了位于S82和S84之间的步骤S83。具体方法如下:通过步骤S81,图像采集装置2对同一块目标区域多次拍摄形成多帧图像,每一帧图像分别称之为第一帧图像、第二帧图像…第N帧图像。自动行走设备1还包括记录单元33,记录单元33通过步骤S82用于根据对子图像块的判断结果进行对权重值进行处理。具体来说,当判断单元22判断出第一帧图像为行走区域时,记录单元33会对初始的权重值加上一第五预设值。初始的权重值为了方便说明,可以标记为0,当然也可以标记为其他数值。而第五预设值可以是预设的固定常数,也是变化的函数。在本实施例中,第五预设值可以为但不限定为3。当第一帧图像的识别结果行走区域时,记录单元就使对应的权重值就变为3。然后在对第二帧图像的识别结果进行处理。若第二帧图像的识别结果也为行走区域时,自动行走设备1的记录单元33对当前的权重值再加上一第五预设值。此时对应的权重值就变为6。如果第二帧图像的识别结果不为行走区域时,记录单元33对当前权重值不做变化。然后再对第三帧图像的识别结果进行处理。若第三帧图像的识别结果也为行走区域时,则当前权重值变为9。如此继续直到第N帧图像。另再通过步骤S84,比较单元15还对当前的权重值与一第七预设值进行比较。当前的权重值大于或等于第七预设值时,就认定判断结果是正确的,即确实当前目标区域为行走区域。其中第七预设值例如可以设为8。通过这种方式对多帧图像的识别结果综合考虑,从而避免单帧图像的可能存在的错误结果带来的不良影响。进一步地,对每一帧图像的识别可以分解成对图像的每个子图像块的识别。例如,每一帧图像可以分解成左中右三个子图像块,记录单元可以分别对该三个子图像块进行记录,分别对应三个权重值。Method step S80 includes at least steps S81, S82 and step S84. In a preferred embodiment, step S80 further includes step S83 between S82 and S84. The specific method is as follows: through step S81, the image acquisition device 2 shoots the same target area multiple times to form multiple frames of images, and each frame of images is respectively referred to as the first frame image, the second frame image...the Nth frame image. The self-propelled device 1 further includes a recording unit 33, and the recording unit 33 is used to process the weight value according to the judgment result of the sub-image block through step S82. Specifically, when the judging unit 22 judges that the first frame of image is a walking area, the recording unit 33 will add a fifth preset value to the initial weight value. For the convenience of description, the initial weight value can be marked as 0, and of course it can also be marked as other values. The fifth preset value may be a preset fixed constant, which is also a function of variation. In this embodiment, the fifth preset value may be but not limited to 3. When the recognition result of the first frame image walks in the area, the recording unit changes the corresponding weight value to 3. Then the recognition result of the second frame image is processed. If the recognition result of the second frame of image is also a walking area, the recording unit 33 of the automatic walking device 1 adds a fifth preset value to the current weight value. At this time, the corresponding weight value becomes 6. If the recognition result of the second frame of image is not a walking area, the recording unit 33 does not change the current weight value. Then, the recognition result of the third frame image is processed. If the recognition result of the third frame image is also a walking area, the current weight value becomes 9. And so on until the Nth frame image. In addition, through step S84, the comparison unit 15 also compares the current weight value with a seventh preset value. When the current weight value is greater than or equal to the seventh preset value, it is determined that the judgment result is correct, that is, the current target area is indeed a walking area. The seventh preset value can be set to 8, for example. In this way, the recognition results of multiple frames of images are comprehensively considered, thereby avoiding adverse effects caused by possible erroneous results of a single frame of images. Further, the identification of each frame of image can be decomposed into the identification of each sub-image block of the image. For example, each frame of image can be decomposed into three sub-image blocks, left, middle, and right, and the recording unit can record the three sub-image blocks respectively, corresponding to three weight values.

另外在优选的实施例中,步骤S83还包括在帧与帧的图像切换过程中,记录单元33还会对当前的权重值减去一第六预设值,从而使当前权重值达到或超过第七预设值得时间变长,使得更多帧数的图像进行综合考虑,进一步提升了准确性。本实施例中,第六预设值可以但不限定为是1。例如第一帧图像识别结果为行走区域,则当前权重值变为3。当第二帧图像识别结果为非行走区域时,当前权重值变为2。当第三帧图像识别结果为行走区域时,当前权重值就变为4。当第四帧图像识别结果为行走区域时,当前权重值就变为6。如此直到权重值达到或超过第七预设值时,认定当前目标区域为行走区域。如果权重值始终未达到第七预设值时,认定当前目标区域为非行走区域。当然,本领域技术人员可以想到的是通过一些变化,可以使得权重值达到或超过第七预设值时,认定当前目标区域为非行走区域,而权重值始终未达到第七预设值时,认定当前目标区域为行走区域。即把行走区域和非行走区域的认定条件互换一下。而且对权重值的计算规则进一步细化,例如可以设置当权重值在任何条件下若减至最小值,例如当权重值减少到0时,就不会再持续减少。In addition, in a preferred embodiment, step S83 also includes that during the frame-to-frame image switching process, the recording unit 33 also subtracts a sixth preset value from the current weight value, so that the current weight value reaches or exceeds the sixth preset value. The seven presets are worth a longer time, allowing more frames of images to be considered comprehensively, further improving accuracy. In this embodiment, the sixth preset value may be, but not limited to, 1. For example, the first frame image recognition result is a walking area, and the current weight value becomes 3. When the recognition result of the second frame image is a non-walking area, the current weight value becomes 2. When the recognition result of the third frame image is the walking area, the current weight value becomes 4. When the recognition result of the fourth frame image is the walking area, the current weight value becomes 6. In this way, until the weight value reaches or exceeds the seventh preset value, the current target area is determined to be the walking area. If the weight value has not reached the seventh preset value, it is determined that the current target area is a non-walking area. Of course, those skilled in the art can imagine that through some changes, when the weight value reaches or exceeds the seventh preset value, it is determined that the current target area is a non-walking area, and when the weight value has not reached the seventh preset value, The current target area is identified as the walking area. That is, exchange the recognition conditions of the walking area and the non-walking area. Moreover, the calculation rules for the weight value are further refined. For example, it can be set that if the weight value is reduced to the minimum value under any conditions, for example, when the weight value is reduced to 0, it will not continue to decrease.

本发明不局限于所举的具体实施例结构,基于本发明构思的结构均属于本发明保护范围。The present invention is not limited to the structures of the specific embodiments cited, and the structures based on the concept of the present invention all belong to the protection scope of the present invention.

Claims (8)

1.一种关于自动行走设备行走的目标区域的识别方法,其特征在于,所述识别方法包括以下步骤:1. a kind of identification method about the target zone of self-propelled equipment walking, it is characterized in that, described identification method comprises the following steps: S10、获取关于所述自动行走设备行走目标区域的图像;S10. Acquiring an image of the walking target area of the automatic walking device; S20、把图像划分成若干个单元格,每个单元格具有至少一个相邻单元格;S20. Divide the image into several cells, each cell has at least one adjacent cell; S30、根据所述单元格中的指定像素的颜色信息以及所述单元格的纹理特征值识别所述单元格对应的目标区域是否为工作区域,并获得识别结果;S30. Identify whether the target area corresponding to the cell is a working area according to the color information of the specified pixel in the cell and the texture feature value of the cell, and obtain an identification result; S60、针对每个单元格,根据相邻单元格的识别结果,改变或者维持通过步骤S30获得的识别结果。S60. For each cell, change or maintain the recognition result obtained in step S30 according to the recognition result of adjacent cells. 2.根据权利要求1所述的识别方法,其特征在于:所述S60步骤进一步包括以下步骤:2. The identification method according to claim 1, characterized in that: said S60 step further comprises the following steps: S61、指定一个单元格,并获取其识别结果;S61. Designate a cell and obtain its recognition result; S62、统计具有与步骤S61中相同识别结果的相邻单元格的数量;S62, counting the number of adjacent cells having the same recognition result as in step S61; S63、计算步骤S62中的数量在总的相邻单元格数量的比例;S63, calculating the ratio of the quantity in step S62 to the total number of adjacent cells; S64、若该比例超过或达到第四预设值,则维持步骤S61指定的单元格的识别结果不变;若该比例小于第四预设值,则改变步骤S61指定的单元格的识别结果,其中所述第四预设值大于或等于50%;S64. If the ratio exceeds or reaches the fourth preset value, then maintain the recognition result of the cell specified in step S61 unchanged; if the ratio is smaller than the fourth preset value, then change the recognition result of the cell specified in step S61, Wherein the fourth preset value is greater than or equal to 50%; S65、对所有单元格执行上述S61~S64步骤。S65. Execute the above steps S61-S64 for all the cells. 3.根据权利要求2所述的识别方法,其特征在于:所述相邻单元格包括横向及纵向上与所述单元格相邻的单元格。3. The identification method according to claim 2, wherein the adjacent cells include cells adjacent to the cell horizontally and vertically. 4.根据权利要求3所述的识别方法,其特征在于:所述相邻单元格还包括与所述横向及纵向呈45度夹角的方向上与所述单元格相邻的单元格。4. The identification method according to claim 3, wherein the adjacent cells further include cells adjacent to the cells in a direction forming an angle of 45 degrees with the horizontal direction and the vertical direction. 5.根据权利要求1所述的识别方法,其特征在于:所述S60步骤进一步包括以下步骤:5. The identification method according to claim 1, characterized in that: said S60 step further comprises the following steps: S66、指定一个单元格,获取所述单元格对于其识别结果的可靠度Y1,可靠度Y1为0~100%之间的一个数值;S66. Designate a cell, and acquire the reliability Y1 of the cell for its recognition result, where the reliability Y1 is a value between 0% and 100%; S67、计算1-Y1,并将结果标记为N1;S67. Calculate 1-Y1, and mark the result as N1; S68、获取该指定单元格的所有相邻单元格对于其识别结果的可靠度Ya、Yb…,可靠度Ya、Yb…为0~100%之间的一个数值;S68. Obtain the reliability Ya, Yb... of all adjacent cells of the specified cell for the recognition result thereof, where the reliability Ya, Yb... is a value between 0% and 100%; S69、计算1-Ya,1-Yb…,并把结果标记为Na、Nb…;S69, calculate 1-Ya, 1-Yb..., and mark the result as Na, Nb...; S70、把Ya、Yb…加权求和获得加权和Y2,把Nb、Nc…的加权求和获得加权和N2,其中,这里的加权系数均相同;S70. The weighted sum of Ya, Yb... to obtain the weighted sum Y2, and the weighted sum of Nb, Nc... to obtain the weighted sum N2, wherein the weighted coefficients here are all the same; S71、分别计算Y1+αN1和Y2+αN2的结果并比较其大小,其中α为系数;S71. Calculate and compare the results of Y1+αN1 and Y2+αN2 respectively, where α is a coefficient; 若Y1+αN1大于或等于Y2+αN2,则维持所述指定的单元格的识别结果不变,若Y1+αN1的结果小于Y2+αN2的结果,则改变所述指定的单元格的识别结果;If Y1+αN1 is greater than or equal to Y2+αN2, then maintain the recognition result of the specified cell unchanged, if the result of Y1+αN1 is less than the result of Y2+αN2, then change the recognition result of the specified cell; S72、对所有单元格执行上述S66~S71步骤,直到所有单元格的识别结果不再变化。S72. Perform the above steps S66-S71 for all the cells until the identification results of all the cells do not change any more. 6.一种自动行走设备,其特征在于:包括壳体、位于壳体上的图像采集装置,所述图像采集装置用于拍摄目标区域并生成图像,驱动所述自动行走设备行走的行走模块,连接所述图像采集装置和行走模块以控制自动行走设备工作的主控模块,其中,所述主控模块划分单元、识别单元和修正单元,所述划分单元把所述图像划分成若干个单元格,所述识别单元识别所述单元格对应的目标区域是否为工作区域,并把识别结果传递给修正单元,所述修正单元针对每个单元格,根据相邻单元格的识别结果,改变或者维持通过识别单元获得的识别结果。6. An automatic walking device, characterized in that: comprising a housing, an image acquisition device positioned on the housing, the image acquisition device is used to photograph the target area and generate an image, and drives the walking module of the automatic walking device to walk, Connect the image acquisition device and the walking module to control the main control module of the automatic walking equipment, wherein the main control module divides the unit, the identification unit and the correction unit, and the division unit divides the image into several cells , the identification unit identifies whether the target area corresponding to the cell is a working area, and transmits the identification result to the correction unit, and the correction unit changes or maintains each cell according to the identification results of adjacent cells The recognition result obtained by the recognition unit. 7.根据权利要求6所述的自动行走设备,其特征在于:与所述单元格相邻的单元格包括横向及纵向上与所述单元格相邻的单元格。7. The self-propelled device according to claim 6, wherein the cells adjacent to the cell include cells adjacent to the cell horizontally and vertically. 8.根据权利要求7所述的自动行走设备,其特征在于:与所述单元格相邻的单元格还包括与所述横向及纵向呈45度夹角的方向上与所述单元格相邻的单元格。8. The self-propelled device according to claim 7, characterized in that: the cells adjacent to the cell also include a direction adjacent to the cell in a direction at an angle of 45 degrees to the horizontal and vertical directions. of cells.
CN201610389564.8A 2016-06-03 2016-06-03 Automatic walking equipment and target area identification method Active CN107463167B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202110518427.0A CN113311830A (en) 2016-06-03 2016-06-03 Automatic walking equipment and target area identification method
CN201610389564.8A CN107463167B (en) 2016-06-03 2016-06-03 Automatic walking equipment and target area identification method
PCT/CN2017/087021 WO2017206950A1 (en) 2016-06-03 2017-06-02 Automatic walking device and method for controlling the walking thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610389564.8A CN107463167B (en) 2016-06-03 2016-06-03 Automatic walking equipment and target area identification method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202110518427.0A Division CN113311830A (en) 2016-06-03 2016-06-03 Automatic walking equipment and target area identification method

Publications (2)

Publication Number Publication Date
CN107463167A true CN107463167A (en) 2017-12-12
CN107463167B CN107463167B (en) 2021-05-14

Family

ID=60545520

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202110518427.0A Pending CN113311830A (en) 2016-06-03 2016-06-03 Automatic walking equipment and target area identification method
CN201610389564.8A Active CN107463167B (en) 2016-06-03 2016-06-03 Automatic walking equipment and target area identification method

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202110518427.0A Pending CN113311830A (en) 2016-06-03 2016-06-03 Automatic walking equipment and target area identification method

Country Status (1)

Country Link
CN (2) CN113311830A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109947111A (en) * 2019-04-04 2019-06-28 肖卫国 A kind of automatic transporting trolley control method for movement, device and automatic transporting trolley
CN110852662A (en) * 2018-08-21 2020-02-28 北京京东尚科信息技术有限公司 Flow control method and device
CN112163631A (en) * 2020-10-14 2021-01-01 山东黄金矿业(莱州)有限公司三山岛金矿 Gold ore mineral analysis method based on video analysis for orepass
WO2021184665A1 (en) * 2020-03-19 2021-09-23 苏州科瓴精密机械科技有限公司 Automatic working system, automatic walking device and method for controlling same, and computer-readable storage medium

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12296694B2 (en) 2021-03-10 2025-05-13 Techtronic Cordless Gp Lawnmowers
CA3181601A1 (en) 2021-11-10 2023-05-10 Techtronic Cordless Gp Robotic lawn mowers
EP4270138A1 (en) 2022-04-28 2023-11-01 Techtronic Cordless GP Creation of a virtual boundary for a robotic garden tool
US12472611B2 (en) 2022-05-31 2025-11-18 Techtronic Cordless Gp Peg driver
EP4310621B1 (en) 2022-07-19 2025-02-12 Techtronic Cordless GP Display for controlling robotic tool
EP4340296B1 (en) 2022-07-29 2025-04-09 Techtronic Cordless GP Generation of a cryptography key for a robotic garden tool
CN117678412B (en) * 2022-09-07 2025-12-19 苏州宝时得电动工具有限公司 Automatic mower, control method of automatic mower and mowing control device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102281390A (en) * 2010-06-11 2011-12-14 索尼公司 Image processing apparatus and image processing method
CN103034866A (en) * 2011-09-29 2013-04-10 无锡物联网产业研究院 Target identification method, device and system
CN104111651A (en) * 2013-04-22 2014-10-22 苏州宝时得电动工具有限公司 Automatic walking equipment and method for automatic walking equipment to return to stop station
CN104111653A (en) * 2013-04-22 2014-10-22 苏州宝时得电动工具有限公司 Automatic walking equipment and working region judgment method thereof
CN105512689A (en) * 2014-09-23 2016-04-20 苏州宝时得电动工具有限公司 Lawn identification method based on images, and lawn maintenance robot

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009001510A1 (en) * 2007-06-28 2008-12-31 Panasonic Corporation Image processing device, image processing method, and program
CN101572804B (en) * 2009-03-30 2012-03-21 浙江大学 Multi-camera intelligent control method and device
RU2012122469A (en) * 2009-11-06 2013-12-20 Эволюшн Роботикс, Инк. METHODS AND SYSTEMS FOR COMPLETE SURFACE CREATION WITH AN AUTONOMOUS ROBOT
CN104345734A (en) * 2013-08-07 2015-02-11 苏州宝时得电动工具有限公司 Automatic working system, automatic walking equipment and control method thereof
CN103679740B (en) * 2013-12-30 2017-02-08 中国科学院自动化研究所 ROI (Region of Interest) extraction method of ground target of unmanned aerial vehicle
CN104778432B (en) * 2014-01-10 2018-10-12 上海携程商务有限公司 Image-recognizing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102281390A (en) * 2010-06-11 2011-12-14 索尼公司 Image processing apparatus and image processing method
CN103034866A (en) * 2011-09-29 2013-04-10 无锡物联网产业研究院 Target identification method, device and system
CN104111651A (en) * 2013-04-22 2014-10-22 苏州宝时得电动工具有限公司 Automatic walking equipment and method for automatic walking equipment to return to stop station
CN104111653A (en) * 2013-04-22 2014-10-22 苏州宝时得电动工具有限公司 Automatic walking equipment and working region judgment method thereof
CN105512689A (en) * 2014-09-23 2016-04-20 苏州宝时得电动工具有限公司 Lawn identification method based on images, and lawn maintenance robot

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110852662A (en) * 2018-08-21 2020-02-28 北京京东尚科信息技术有限公司 Flow control method and device
CN110852662B (en) * 2018-08-21 2024-05-24 北京京东尚科信息技术有限公司 Flow control method and device
CN109947111A (en) * 2019-04-04 2019-06-28 肖卫国 A kind of automatic transporting trolley control method for movement, device and automatic transporting trolley
WO2021184665A1 (en) * 2020-03-19 2021-09-23 苏州科瓴精密机械科技有限公司 Automatic working system, automatic walking device and method for controlling same, and computer-readable storage medium
US12265395B2 (en) 2020-03-19 2025-04-01 Suzhou Cleva Precision Machinery & Technology Co., Ltd. Automatic working system, automatic walking device, and method for controlling same, and computer-readable storage medium
CN112163631A (en) * 2020-10-14 2021-01-01 山东黄金矿业(莱州)有限公司三山岛金矿 Gold ore mineral analysis method based on video analysis for orepass

Also Published As

Publication number Publication date
CN113311830A (en) 2021-08-27
CN107463167B (en) 2021-05-14

Similar Documents

Publication Publication Date Title
CN107463167A (en) Automatic walking equipment and target area recognition method
WO2017206950A1 (en) Automatic walking device and method for controlling the walking thereof
CN107463166A (en) Automatic running device and its control traveling method
CN104111653A (en) Automatic walking equipment and working region judgment method thereof
US10609862B2 (en) Self-moving robot
US8185275B2 (en) System for vehicular guidance with respect to harvested crop
CN111324122B (en) Automatic work system, automatic walking device, control method thereof, and computer-readable storage medium
WO2021169193A1 (en) Automatic working system, automatic locomotion device and control method therefor, and computer readable storage medium
WO2022021630A1 (en) Autonomous walking device and control method and system therefor, and readable storage medium
CN105785986A (en) Automatic working equipment
CN103488991B (en) A kind of leading line extraction method for crop field weed control equipment
CN107564071A (en) A kind of image recognition meadow method and device
KR20210059839A (en) Robotic lawn mower using image processing of lawn boundary and Method for Controlling the same
CN114092822B (en) Image processing method, movement control method, and movement control system
CN105557175B (en) Intelligent grass-removing and its control method
CN204143255U (en) Automatic running device
CN114489083A (en) Working area construction method and related device
US20250291355A1 (en) Obstacle traversal method and apparatus, mowing robot, and storage medium
WO2021169192A1 (en) Automatic working system, automatic walking device and control method therefor, and computer-readable storage medium
WO2021042487A1 (en) Automatic working system, automatic travelling device and control method therefor, and computer readable storage medium
WO2021184663A1 (en) Automatic working system, automatic walking device and control method therefor, and computer-readable storage medium
US20240238995A1 (en) Robot system and method for creating visual record of task performed in working area
US12265395B2 (en) Automatic working system, automatic walking device, and method for controlling same, and computer-readable storage medium
CN118859921A (en) Lawn mowing robot positioning method, device, terminal, medium and lawn mowing robot
WO2021031406A1 (en) Automatic working system, and automatic walking device and control method therefor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant