Directing point visual perception method for mowing robot
By integrating the RGB-D camera and voice positioning module on the lawn mowing robot, combined with openpose human posture recognition and Kalman filter technology, the three-dimensional coordinates pointed by the user are obtained, which solves the problem of existing lawn mowing robots being difficult to respond to user adjustment needs and improves Improve the intelligence and user experience of lawn mowing robots.
Patent Information
- Application Number
- CN202410664395.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-27
- Publication Date
- 2024-09-20
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
It is difficult for existing lawn mowing robots to adjust the mowing area according to the user's temporary adjustment or respond in time according to the growth conditions of different lawn areas, resulting in poor user experience.
It adopts pointing point visual perception method, detects user position and posture through RGB-D camera and voice positioning module, uses openpose human posture recognition technology and Kalman filter to optimize arm movement, and combines depth information and field of view angle to obtain three-dimensional coordinates to realize user pointing. Identification of areas and mowing operations.
It achieves rapid recognition and response of user pointing intentions, reduces the calculation amount and burden of hardware devices, and improves the intelligence and user experience of the lawn mowing robot.
Smart Images

Figure CN118672249A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent equipment for gardening operations, and in particular to a pointing point visual perception method for a lawn mowing robot, which facilitates a user to designate a lawn area for mowing at any time. Background Art
[0002] Due to the high per capita lawn area in foreign countries, the demand for robotic lawn mowers has been steadily increasing in recent years, and the market prospects for robotic lawn mowers are increasingly promising. However, during the mowing process, robotic lawn mowers inevitably miss areas or only need to mow certain areas. Current robotic lawn mowers often address this issue by pre-entering mowing boundaries and presetting mowing areas. However, this method lacks the ability to respond to user-specified mowing needs by temporarily adjusting mowing times or increasing mowing frequency based on user preferences, or by using different mowing methods for different lawn areas with faster growth, resulting in a poor user experience. Therefore, research on how robotic lawn mowers can quickly respond to user preferences is of practical value.
[0003] It's noted that using finger gestures to designate a mowing area is often the most intuitive and convenient method. Furthermore, computer vision technology, a key branch of artificial intelligence, can leverage image information to identify the state of objects in a scene in real time, providing robots with powerful perception capabilities. Summary of the Invention
[0004] To address the difficulties of existing lawn mowing robots in recognizing human intentions, the computationally intensive nature of three-dimensional human posture recognition, and the high hardware requirements, this invention aims to provide a method for visually perceiving the pointing point of a lawn mowing robot. First, human posture is recognized using two-dimensional images. A method combining the camera's field of view with depth information is proposed to obtain three-dimensional information about the user's pointing direction, thereby reducing the system hardware requirements. Second, to mitigate uncertainty caused by jitter during mowing, a Kalman filter is used to optimize the process of obtaining the pointing point. Finally, an estimate of the ground coordinates of the pointed area is obtained, and a command to proceed to the destination is then issued to achieve the mowing task in the pointed area.
[0005] The object of the present invention is achieved through the following technical solution: a pointing point visual perception method for a lawn mowing robot, comprising the following steps:
[0006] S1. Fix an RGB-D camera and a voice positioning module on the lawn mower robot and use the RGB-D camera and voice positioning module to detect that the user is in front of the lawn mower robot.
[0007] S2, obtain a human body image through an RGB-D camera, perform human posture recognition on it, and obtain two-dimensional posture information of the user's pointing direction;
[0008] S3. Construct an arm pointing kinematic model, perform Kalman filtering on the two-dimensional posture information between each frame of the human image obtained in step S2, calculate the posture of the arm at the highest point of raising using the images between frames, and obtain the final desired two-dimensional human pointing posture information through an optimization method. By comparing the current two-dimensional human pointing posture information with the preset posture, determine whether the user needs to mow the lawn at a specified point. If so, it is determined that the user will intentionally participate in the mowing behavior of the lawn mower robot; if not, the lawn mower robot will remain facing the user and continue waiting;
[0009] S4. Obtain depth information of the human body posture points through the perspective of the RGB-D camera, build a camera imaging model based on the depth camera's own field of view, and transform the coordinate system. Combined with the two-dimensional information of the human body pointing posture obtained in step S3, the world three-dimensional information of the human body posture is finally obtained;
[0010] S5. The current position of the mowing robot is established as a three-dimensional space, and the user's gesture is established as a spatial line. Based on the geometric relationship, the intersection of the lawn surface and the spatial line is obtained. The clutter level of the user's intended mowing area is identified through semantic segmentation of the lawn image, and the circle centered at the intersection is expanded or contracted to define the pointing area.
[0011] S6. According to the human-guided mowing intention identified in step S3, the mowing robot is controlled to move to the directed area to perform mowing operations through step S5.
[0012] Furthermore, step S1 is specifically as follows: an RGB-D camera and a voice positioning module are fixedly placed on the lawn mower robot, and the RGB-D camera and the voice positioning module are integrated as part of the lawn mower robot, and are connected to a control module on the lawn mower robot through a wireless communication interface to provide remote control and monitoring functions. The user controls the lawn mower robot through the voice positioning module to move in front of the user so that it can be recognized by the RGB-D camera.
[0013] Furthermore, step S2 is specifically as follows: obtaining a human body image through an RGB-D camera, using openpose human posture recognition technology to identify important joints of the human body, and obtaining two-dimensional posture information of the user's pointing direction under openpose human posture recognition, including three joints: right hand RWrist, right elbow RElbow, and right shoulder RShoulder.
[0014] Furthermore, step S3 specifically comprises: performing kinematic modeling on the three joint points on the arm identified by openpose human posture in step S2: the right hand RWrist, the right elbow RElbow, and the right shoulder RShoulder, and establishing the two-dimensional vector directions of the three posture points, that is, the right shoulder is the starting point and the right hand is the end point; wherein, the arm movement process is filtered by Kalman filtering to obtain smoothed arm position information and velocity information of the arm lifting process, obtain a state equation and a measurement equation, and use the Kalman filter state equation and the measurement equation to perform prediction and update respectively;
[0015] State update equation:
[0016]
[0017] P x =F k P k-1 F k T +Q k
[0018] Measurement update matrix:
[0019]
[0020] P k ′=P k -KH k P k
[0021] K=P k H k T (H k P k H k T -R k ) -1
[0022] in: Represents the state transfer matrix of the arm motion state model, H k =[1 0] represents the update matrix measured at time k, Δt represents the time interval between each frame, Represents the current right arm position and speed information, Represents the state information of the arm before the movement, P k represents the noise covariance matrix after iteration at the current k moment, P k-1 represents the state noise covariance matrix at time k-1, F k T represents the transpose of the state transfer matrix, Q krepresents the system error noise covariance matrix caused by the jitter when the mowing robot mows the lawn, Represents the state estimate at time k, K represents the Kalman gain matrix, Z k represents the measured value at time k, P k ′ represents the error covariance matrix between the estimated value and the true value, H k T represents the transpose of the observation matrix at time k, R k represents the noise covariance matrix at the time of measurement k;
[0023] Every time a new image frame is input, openpose is used to identify the human body posture joint points on each frame image to measure the latest corresponding pixel points. However, different frame images correspond to different joint point pixel positions in space, that is, by predicting the arm movement state, the movement process of the arm lifting is obtained. The key frame when the arm lifting speed is 0 and the position is at the highest point is taken as the final required human body pointing posture two-dimensional information. By comparing the current human body pointing posture two-dimensional information with the preset posture, it is determined whether the user needs to mow the designated point. If so, it is judged that the user will intentionally participate in the mowing behavior of the mowing robot. If not, the mowing robot will remain facing the user and continue waiting.
[0024] Furthermore, the step S4 is specifically as follows: constructing a camera imaging model using the field of view angle of the structural parameters of the RGB-D camera itself, with the field of view angle of the RGB-D camera as B ° ×R ° For example, the generated image pixel size is adjusted to (h×w). The image pixel coordinate system (u, v) is a two-dimensional rectangular coordinate system with the origin O located in the upper left corner of the image. The u and v coordinate axes coincide with the two edges of the image respectively. One pixel represents one unit. The midpoint of the v axis is the origin of the spherical coordinate system. The angular field of view of the RGB-D camera is specified in radians as
[0025]
[0026] That is, the pixel coordinate system (u, v) to the spherical coordinate system The coordinate transformations are:
[0027]
[0028] Among them: B ° represents the horizontal field of view of the RGBD camera, R ° Represents the vertical field of view of the camera, (h×w) represents the height and width of the generated image, (u,v) represents the horizontal and vertical coordinates of the pixel coordinate system, θ represents the azimuth and elevation angles in spherical coordinates,
[0029] Through step S3, the two-dimensional information of the right hand RWrist, right elbow RElbow, and right shoulder RShoulder posture points in human posture recognition can be obtained, and the (u, v) depth information can be measured using the RGB-D camera to obtain the distance γ between each joint point and the depth camera, which means the spherical coordinate system established with the camera as the origin is known. By converting the spherical coordinate system to the rectangular coordinate system (x, y, z) with the camera as the origin, we have:
[0030]
[0031] Where: γ represents the distance between the joint point and the depth camera, and (x, y, z) represents the rectangular coordinate system with the camera as the origin.
[0032] The three-dimensional rectangular coordinates (x1, y1, z1), (x2, y2, z2), and (x3, y3, z3) of the right hand RWrist, right elbow RElbow, and right shoulder RShoulder with the depth camera as the origin can be obtained. At the same time, according to step S1, the RGB-D camera is on the mowing robot. By performing a rotation and translation transformation on the three-dimensional rectangular coordinate system with the depth camera as the origin to the world coordinate system centered perpendicular to the ground, the following formula is obtained:
[0033]
[0034] Where: (X W ,Y W ,Z W ) represents a point in the world coordinate system, (X c ,Y C ,Z c ) represents a point in the three-dimensional rectangular coordinate system with the depth camera as the origin, R is the rotation matrix, t is the translation vector, and the world three-dimensional coordinate information of the required right hand RWrist, right elbow RElbow, and right shoulder RShoulder is obtained through the transformation of the coordinate system.
[0035] Furthermore, the step S5 is specifically as follows: the three-dimensional coordinates of the right hand RWrist, the right elbow RElbow, and the right shoulder RShoulder are obtained through step S4, and are (x w1 ,y w1 ,z w1 )、(x w2 ,y w2 ,z w2 )、(x w3 ,y w3 ,z w3 ), establish the intersection formula of the space line and the world coordinate system xoy plane:
[0036]
[0037] Among them, let z = 0 to get the intersection point of the lawn ground and the space line (x w0 ,y w0 ), through semantic segmentation of lawn images, the clutter level of the area where the user intends to mow is identified, and then the circle centered at the intersection is expanded or reduced to define the pointing area.
[0038] Furthermore, the step S6 is specifically as follows: through step S3, it is recognized that the user intends to participate in the mowing behavior of the mowing robot, and through step S5, the mowing area that the user intends to point to is recognized: the intersection point (x w0 ,y w0 ) as the center, and the distance between the target area and the mowing robot is obtained. And through step (S4) the coordinates (x w0 ,y w0 ) is at a specific position (u0, v0) in the pixel coordinate system. The depth information of this point is measured as d0. Through tests on actual applications, the accurate distance between the target area and the mowing robot is obtained as D = αd + (1-α)d0, where 0≤α≤1. The motion control module is used to control the mowing robot to move to the pointed area to perform mowing operations.
[0039] Compared with the existing technology, the beneficial effects of the present invention are as follows: a pointing point visual perception method for a lawn mowing robot is proposed, which utilizes OpenPose human posture recognition technology to identify the posture joint points of the user in front detected by the RGB-D camera; a Kalman filter is used to optimize the user's arm movement to obtain the final user pointing direction; 2D human posture recognition technology is used to obtain the depth information of each posture point through the RGB-D camera for measurement, and combined with the proposed method of using the field of view angle for coordinate transformation to obtain three-dimensional human posture information; the three-dimensional information of the user's posture is combined with the world space to obtain the target mowing area pointed by the user. The present invention uses the depth information and field of view angle of the RGB-D camera to perform three-dimensional measurement of the user's posture, greatly reducing the amount of calculation while ensuring that the required accuracy is achieved, reducing the burden on the hardware equipment, and thus realizing the recognition of the user's pointing intention on the lawn mowing robot. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0041] Figure 1 It is a schematic diagram of the process of the present invention;
[0042] Figure 2 The pixel coordinate system (u, v) in the present invention is converted to the spherical coordinate system Schematic diagram of coordinate transformation. DETAILED DESCRIPTION
[0043] Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. In the following description, when referring to the drawings, like numbers in different figures represent like or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present invention, as detailed in the appended claims.
[0044] The terms used in this invention are for the purpose of describing specific embodiments only and are not intended to limit the invention. The singular forms "a," "the," and "the" used in this invention and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and includes any or all possible combinations of one or more of the associated listed items.
[0045] It should be understood that although the terms "first," "second," "third," etc. may be used in the present invention to describe various information, such information should not be limited to these terms. These terms are merely used to distinguish information of the same type from one another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present invention. Depending on the context, the term "if" as used herein may be interpreted as "when," "when," or "in response to determining."
[0046] The present invention will be described in detail below with reference to the accompanying drawings. Unless there is any conflict, the features of the following embodiments and implementations may be combined with each other.
[0047] Reference Figure 1 As shown, the present invention proposes a pointing point visual perception method for a lawn mowing robot, the method comprising the following steps:
[0048] Step S1: An RGB-D camera and voice positioning module are fixedly placed on the mowing robot. These integrated components are connected to the robot's control module via a wireless communication interface for strong coupling, providing remote control and monitoring capabilities. The voice positioning module's microphone array uses a six-microphone array to identify the user's location within a ten-meter range. By specifying a specific response word, the user can call the robot to move in front of them, positioning the RGB-D camera directly in front of them for easy identification.
[0049] Step S2: Using OpenPose human pose recognition technology, the user's joints are identified in the human image captured by the RGB-D camera. OpenPose human pose recognition obtains two-dimensional information about the user's pointing direction, including three joints: the right hand (RWrist), the right elbow (RElbow), and the right shoulder (RShoulder).
[0050] Step S3: Constructing an arm pointing kinematic model, performing Kalman filtering on the human body posture between each frame, calculating the posture of the arm at its highest point using the inter-frame images, and obtaining the final, accurate two-dimensional information of the required human body pointing posture through optimization methods. By comparing the current two-dimensional information of the human body pointing posture with the preset posture, it is determined whether the user needs to mow the lawn at a specified point. If so, it is determined that the user intends to participate in the mowing behavior of the mowing robot. If not, the mowing robot will remain facing the user and continue waiting.
[0051] Specifically, kinematic modeling is performed on the three arm joints (RWrist, RElbow, and RShoulder) detected using OpenPose human posture recognition in step S2. The direction of a two-dimensional vector is determined using these three posture points, with the right shoulder as the starting point and the right hand as the endpoint. A Kalman filter is used to filter the arm motion, obtaining smoothed position and velocity information during the arm lift process. This state equation and measurement equation are then used for prediction and update, respectively.
[0052] State update equation:
[0053]
[0054] P x =F k P k-1 F k T +Q k
[0055] Measurement update matrix:
[0056]
[0057] P k ′=P k -KH k P k
[0058] K=P k H k T (H k P k H k T -R k ) -1
[0059] in: Represents the state transfer matrix of the arm motion state model, H k =[1 0] represents the update matrix measured at time k, Δt represents the time interval between each frame, Represents the current right arm position and speed information, Represents the state information of the arm before the movement, P k represents the noise covariance matrix after iteration at the current k moment, P k-1 represents the state noise covariance matrix at time k-1, F k T represents the transpose of the state transfer matrix, Q k represents the system error noise covariance matrix caused by the jitter when the mowing robot mows the lawn, Represents the state estimate at time k, K represents the Kalman gain matrix, Z k represents the measured value at time k, P k ′ represents the error covariance matrix between the estimated value and the true value, H k T represents the transpose of the observation matrix at time k, R k represents the noise covariance matrix at the time k measurement.
[0060] Each time a new image frame is input, OpenPose is used to identify the human body posture joints in each frame and determine their position in pixel space. Simultaneously, the incoming image information is predicted and observed, and Kalman filtering is used to enhance the consistency and accuracy of position measurement, as well as the precise position of the arm when its velocity is zero at its highest point. The resulting keyframe, where the arm is raised at zero velocity and at its highest point, provides the final two-dimensional information required about the human body's pointing posture. When the user directs the mowing robot, the user can be determined to intentionally participate in the mowing by setting the right hand (RWrist) above the right shoulder (RShoulder). If the user does not perform the preset action, the mowing robot will remain facing the user and wait, without making any further judgments or actions.
[0061] Step S4: Obtain the depth information of the human body posture points through the perspective of the RGB-D camera, build a camera imaging model based on the depth camera field of view, and transform the coordinate system. Combined with the two-dimensional information of the human body pointing posture obtained in step S3, the world three-dimensional information of the human body posture is finally obtained;
[0062] In particular, the camera imaging model is constructed using the field of view angle of the structural parameters of the RGB-D camera itself, with the field of view angle of the RGB-D camera as B ° ×R ° For example, the generated image pixel size is adjusted to (h×w), and the image pixel coordinate system is (u,v). The image pixel coordinate system is a two-dimensional rectangular coordinate system with its origin O located in the upper left corner of the image. The u and v coordinate axes coincide with the two edges of the image respectively. One pixel represents one unit. At the same time, the midpoint of the v axis is used as the origin of the spherical coordinate system to establish a spherical coordinate system. The angular field of view of the RGB-D camera is specified in radians as:
[0063]
[0064] like Figure 2 As shown, the pixel coordinate system (u, v) is converted to the spherical coordinate system The coordinate transformations are:
[0065]
[0066] Among them, B ° represents the horizontal field of view of the RGBD camera, R ° Represents the vertical field of view of the camera, (h×w) represents the height and width of the generated image, (u,v) represents the horizontal and vertical coordinates of the pixel coordinate system, θ,γ represent the azimuth, elevation and distance in spherical coordinates respectively,
[0067] Step S3 can obtain the two-dimensional information of the right hand RWrist, right elbow RElbow, and right shoulder RShoulder posture points in human posture recognition, and use the RGB-D camera to measure the (u, v) depth information, and the required three-dimensional information of the three posture points. By converting the spherical coordinate system to the rectangular coordinate system (x, y, z) with the camera as the origin, we have:
[0068]
[0069] Among them, γ represents the distance between the joint point and the depth camera, and (x, y, z) represents the rectangular coordinate system with the camera as the origin.
[0070] The three-dimensional rectangular coordinates of the right hand RWrist, right elbow RElbow, and right shoulder RShoulder with the depth camera as the origin are (x1, y1, z1), (x2, y2, z2), and (x3, y3, z3). At the same time, according to step S1, the RGB-D camera is installed on the lawn mower robot. The three-dimensional rectangular coordinate system with the depth camera as the origin is transformed into the world coordinate system with the center perpendicular to the ground by rotation and translation:
[0071]
[0072] Among them, (X W ,Y W ,Z W ) represents a point in the world coordinate system, (X C ,Y C ,Z C ) represents a point in the 3D rectangular coordinate system with the depth camera as the origin, R is the rotation matrix, and t is the translation vector. The world 3D coordinate information of the required right hand RWrist, right elbow RElbow, and right shoulder RShoulder can be obtained through the transformation of the coordinate system.
[0073] Step S5: The robot's current position is established as a three-dimensional space, and the user's gesture is established as a spatial line. Based on geometric relationships, the intersection of the lawn surface and the spatial line is determined. Semantic segmentation of the lawn image identifies the clutter level of the area the user intends to mow, and the circle centered at the intersection is expanded or contracted to define the targeted area.
[0074] In particular, the world three-dimensional coordinates of the right hand RWrist, right elbow RElbow, and right shoulder RShoulder obtained by step S4 are (x w1 ,y w1 ,z w1 )、(x w2 ,yw2 ,z w2 )、(x w3 ,y w3 ,z w3 ). Establish the formula for the intersection of a spatial line and the world coordinate system xoy plane:
[0075]
[0076] Among them, let z = 0 to get the intersection point of the lawn ground and the space line (x w0 ,y w0 ), which is the location of the user's intended pointing point. By semantically segmenting the lawn image to identify the clutter level of the area the user intends to mow, and then expanding or shrinking the circle centered on the intersection, the pointed area can be defined.
[0077] Step S6: First, through step S3, it is recognized that the user intends to participate in the mowing behavior of the mowing robot, and then through step S5, the mowing area that the user intends to point to is recognized: the intersection point of the lawn ground and the space straight line (x w0 ,y w0 ) as the center. At the same time, the distance between the target area and the mowing robot is obtained. And the coordinates (x w0 ,y w0 ) at the specific location (u0, v0) in the pixel coordinate system. The depth information of this point is measured as d0. Through practical application testing, the accurate distance between the target area and the mowing robot is obtained as D = αd + (1-α)d0, where 0≤α≤1 represents the distance weight coefficient. The motion control module controls the mowing robot to move to the specified area to mow the lawn.
[0078] This invention employs a pointing point visual perception method for a lawn mower robot, designed to facilitate users to designate lawn areas for mowing at any time. The method utilizes OpenPose human gesture recognition technology to identify the user's gesture joints detected by an RGB-D camera. Furthermore, the method utilizes Kalman filtering to optimize the user's arm motion and determine the final user pointing direction, thereby improving system robustness. Utilizing 2D human gesture recognition technology, the method uses an RGB-D camera to obtain depth information for each gesture point, combining this with a proposed coordinate transformation using the field of view angle to obtain three-dimensional human gesture information. Finally, the three-dimensional user gesture information is combined with world space to determine the target mowing area pointed by the user. By utilizing the depth information and field of view angle of the RGB-D camera to perform three-dimensional user gesture measurement, the method significantly reduces computational effort and hardware burden while ensuring satisfactory accuracy, thereby enabling user pointing point recognition on a lawn mower robot. The invention's innovation lies in the use of OpenPose to identify human gesture points, a geometric algorithm that uses the depth information of human gesture joints measured by the RGB-D camera to derive three-dimensional information from two-dimensional information, and a Kalman filtering method for user arm pointing. These innovations significantly improve the robustness and lightweight nature of the system, enabling the deployment of a pointing point visual perception method for a lawn mower robot with limited resources. Therefore, the method presented in this paper has significant practical application value, making lawn mower robots more intelligent and providing strong support for technological innovation and advancement in lawn mower robots.
Claims
1. A method for visual perception of pointing points of a lawn mowing robot. It is characterized in that The following steps are involved: (S1), fixing an RGB-D camera and a voice positioning module on the lawn mowing robot, and detecting that the user is in front of the lawn mowing robot through the RGB-D camera and the voice positioning module; (S2), obtaining a human body image through an RGB-D camera, performing human body posture recognition on the image, and obtaining two-dimensional posture information of the user's pointing direction; (S3), constructing an arm pointing kinematic model, performing Kalman filtering on the two-dimensional posture information between each frame of the human body image obtained in step (S2), using the images between frames to calculate the posture of the arm at the highest point, and obtaining the final required two-dimensional information of the human body pointing posture through an optimization method, and determining whether the user needs to mow the grass at a designated point by comparing the current two-dimensional information of the human body pointing posture with the preset posture. If necessary, it is determined that the user will intentionally participate in the mowing behavior of the mowing robot; if not, the mowing robot will remain facing the user and continue to wait; (S4), obtaining the depth information of the human body posture points through the perspective of the RGB-D camera, building a camera imaging model through the field of view of the depth camera itself, and transforming the coordinate system, and finally obtaining the world three-dimensional information of the human body posture by combining the two-dimensional information of the human body pointing posture obtained in step (S3); (S5), establishing the current position of the mowing robot as a three-dimensional space, establishing the user's gesture as a spatial straight line, obtaining the intersection of the lawn ground and the spatial straight line based on the geometric relationship, identifying the clutter degree of the user's intended mowing area through semantic segmentation of the lawn image, and then expanding or shrinking the circle centered on the intersection to define the pointing area; (S6) According to the human-guided mowing intention identified in step (S3), the mowing robot is controlled to move to the pointed area to perform mowing operations through step (S5).
2. A method for visually perceiving a pointing point of a lawn mowing robot according to claim 1, It is characterized in that The step (S1) specifically comprises: fixing an RGB-D camera and a voice positioning module on the lawn mower robot, wherein the RGB-D camera and the voice positioning module are integrated as a part of the lawn mower robot, and are connected to a control module on the lawn mower robot through a wireless communication interface to provide remote control and monitoring functions. The user controls the lawn mower robot to move in front of the user through the voice positioning module so that the lawn mower robot can be recognized by the RGB-D camera.
3. A method for visually perceiving a pointing point of a lawn mowing robot according to claim 1, It is characterized in that The step (S2) specifically comprises: obtaining a human body image through an RGB-D camera, using openpose human posture recognition technology to identify important joints of the human body, and obtaining two-dimensional posture information of the user's pointing direction under openpose human posture recognition, including three joints: right hand RWrist, right elbow RElbow, and right shoulder RShoulder.
4. A method for visually perceiving a pointing point of a lawn mowing robot according to claim 1, It is characterized in that The step (S3) is specifically as follows: kinematic modeling is performed on the three joint points on the arm identified by the openpose human posture in step (S2): the right hand RWrist, the right elbow RElbow, and the right shoulder RShoulder, and the two-dimensional vector directions of the three posture points are established, that is, the right shoulder is the initial point and the right hand is the end point; wherein, the arm movement process is filtered by the Kalman filter to obtain the smooth arm position information and speed information of the arm lifting process, and the state equation and the measurement equation are obtained, and the Kalman filter state equation and the measurement equation are used to perform prediction and update respectively; State update equation: P k =F k P k-1 F k T +Q k Measurement update matrix: P k ′=P k -KH k P k K=P k H k T (H k P k H k T -R k ) -1 in: represents the state transfer matrix of the arm motion state model, H k = [1 0], represents the update matrix measured at time k, Δt represents the time interval between each frame, Represents the current right arm position and speed information, Represents the state information of the arm before the movement, P k represents the noise covariance matrix after iteration at the current k moment, P k-1 represents the state noise covariance matrix at time k-1, F k T represents the transpose of the state transfer matrix, Q k represents the system error noise covariance matrix caused by the jitter of the lawn mowing robot, represents the state estimate at time k, K represents the Kalman gain matrix, Z k represents the measured value at time k, P k ′ represents the error covariance matrix between the estimated value and the true value, H k T represents the transpose of the observation matrix at time k, R k represents the noise covariance matrix at the time of measurement k; Every time a new image frame is passed in, openpose is used to identify the human body posture joints on each frame to measure the latest corresponding pixel points. The arm movement state is predicted to obtain the movement process of the arm raising. The key frame when the arm raising speed is 0 and the position is at the highest point is taken as the final required two-dimensional information of the human body pointing posture. By comparing the current two-dimensional information of the human body pointing posture with the preset posture, it is determined whether the user needs to mow the designated point. If necessary, it is judged that the user will intentionally participate in the mowing behavior of the mowing robot. If not, the mowing robot will remain facing the user and continue to wait.
5. A method for visually perceiving a pointing point of a lawn mowing robot according to claim 1, It is characterized in that The step (S4) is specifically as follows: constructing a camera imaging model using the field of view angle of the structural parameters of the RGB-D camera itself, where the field of view angle of the RGB-D camera is B ° ×R ° , adjust the generated image pixel size to (h×w), the image pixel coordinate system (u, v): is a two-dimensional rectangular coordinate system, whose origin O is located in the upper left corner of the image, the u and v coordinate axes coincide with the two edges of the image respectively, one pixel represents one unit, and the midpoint of the v axis is the origin of the spherical coordinate system. The angular field of view of the RGB-D camera is specified in radians as That is, the pixel coordinate system (u, v) to the spherical coordinate system The coordinate transformations are: Among them: B ° represents the horizontal field of view of the RGBD camera, R ° represents the vertical field of view of the camera, (h×w) represents the height and width of the generated image, (u,v) represents the horizontal and vertical coordinates of the pixel coordinate system, θ represents the azimuth and elevation in spherical coordinates, Through step (S3), the two-dimensional information of the right hand RWrist, right elbow RElbow, and right shoulder RShoulder posture points in human posture recognition is obtained, and the (u, v) depth information is measured using the RGB-D camera to obtain the distance γ between each joint point and the depth camera, and the spherical coordinate system established with the camera as the origin is known. By converting the spherical coordinate system to the rectangular coordinate system (x, y, z) with the camera as the origin, we have: Where: γ represents the distance between the joint point and the depth camera, (x, y, z) represents the rectangular coordinate system with the camera as the origin; The three-dimensional rectangular coordinates (x 1 ,y 1 ,z 1 ), (x 2 ,y 2 ,z 2 ), (x 3 ,y 3 ,z 3 ), at the same time, according to step (S1), the RGB-D camera is on the mowing robot, and the following formula is obtained by performing rotation and translation transformation on the three-dimensional space rectangular coordinate system with the depth camera as the origin to the world coordinate system centered perpendicular to the ground: Where: (X W ,Y W ,Z W ) represents a point in the real world coordinate system, (X C ,Y C ,Z C ) represents a point in the three-dimensional rectangular coordinate system with the depth camera as the origin, R is the rotation matrix, t is the translation vector, and the world three-dimensional coordinate information of the required right hand RWrist, right elbow RElbow, and right shoulder RShoulder is obtained through the transformation of the coordinate system.
6. A method for visually perceiving a pointing point of a lawn mowing robot according to claim 1, It is characterized in that The step (S5) is specifically as follows: the three-dimensional coordinates of the right hand RWrist, the right elbow RElbow, and the right shoulder RShoulder are obtained through the step (S4) and are (x w1 ,y w1 ,z w1 )、(x w2 ,y w2 ,z w2 )、(x w3 ,y w3 ,z w3 ), establish the intersection formula of the space line and the world coordinate system xoy plane: In which, let z = 0 to get the intersection point of the lawn ground and the space straight line (x w0 ,y w0 ), through semantic segmentation of lawn images, the clutter level of the area where the user intends to mow is identified, and then the circle centered at the intersection is expanded or reduced to define the pointing area.
7. A method for visually perceiving a pointing point of a lawn mowing robot according to claim 1, It is characterized in that The step (S6) is specifically as follows: through step (S3), it is recognized that the user intends to participate in the mowing behavior of the mowing robot, and through step (S5), the mowing area that the user intends to point to is recognized: the intersection point (x w0 ,y w0 ) as the center, and the distance between the target area and the mowing robot is obtained And through step (S4) the coordinates (x w0 ,y w0 ) in the pixel coordinate system (u 0 ,v 0 ), the depth information of the point is measured as d 0 , get the accurate distance between the target area and the mowing robot D = αd + (1-α)d 0 , where 0≤α≤1, the motion control module is used to control the mowing robot to move to the pointed area to perform mowing operations.
Citation Information
Cited By
Robot control method and device, related equipment and computer program product
CN119188750A
Robot control method, device, related equipment and computer program product
CN119188750B
Air-ground integrated RIS energy transmission system based on vision and gesture postures
CN122203624A
Target specimen handle pointing direction identification method and system of medical teaching robot
CN122658138A
Target specimen handle pointing recognition method and system for medical teaching robot
CN122658138B
