Pet positioning method and system and electronic equipment
By integrating cameras and processors into pet robots, automatic positioning and following and accompanying users is achieved, the safety problems of users when going out in the existing technology are solved, and the intelligence level of pet robots is improved.
Patent Information
- Application Number
- CN202510016659.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-06
- Publication Date
- 2025-05-06
AI Technical Summary
The existing pet robots need to be improved in terms of intelligence, especially in terms of automatic positioning and follow-up care when users go out.
By integrating the camera and processor in the pet robot, it realizes the acquisition and comparison of the user's current image information and the surrounding real-time images, locks the user's position, and controls the pet robot to perform follow-up operations.
It improves the intelligence of pet robots, realizes automatic positioning and following and accompanying users, and enhances the user's sense of security and convenience.
Smart Images

Figure CN119937555A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of pet robot technology, and in particular to a pet positioning method, system and electronic equipment. Background Art
[0002] Pet robots are products that combine artificial intelligence and robotics technologies to provide users with companionship and interactive experiences. These robots usually have the ability to simulate pet behavior and can interact with their owners through voice, movement, and even emotional responses. Pet robots are widely used in the fields of home, elderly care, and children's education.
[0003] The intelligence level of pet robots in related technologies still needs to be improved. Summary of the invention
[0004] The present application aims to solve at least one of the technical problems existing in the related art. To this end, the present application proposes a pet positioning method, system and electronic device.
[0005] According to the pet positioning method of the first aspect of the present application, which is applied to a pet robot, the method includes:
[0006] Upon receiving an exit instruction, obtaining the user's current image information;
[0007] Acquire real-time images around the pet robot;
[0008] Based on the real-time image and the current image information, locking the user;
[0009] The pet robot is controlled to perform a following operation.
[0010] According to one embodiment of the present application, after the step of controlling the pet robot to perform the following operation, the following steps are included:
[0011] When receiving a guide instruction, determine the route according to the destination;
[0012] The pet robot is controlled to move according to the travel route.
[0013] According to one embodiment of the present application, the step of determining a travel route according to a destination includes:
[0014] The travel route is determined according to the destination and the user's mobility, wherein the user's mobility includes whether the user can walk and whether the user can go up and down stairs.
[0015] According to one embodiment of the present application, after the step of controlling the movement of the pet robot according to the travel route, the following steps are included:
[0016] When the distance between the pet robot and the user exceeds a preset value, the pet robot is controlled to reduce the moving speed or stop moving.
[0017] According to one embodiment of the present application, after the step of controlling the movement of the pet robot according to the travel route, the following steps are included:
[0018] determining a standard travel direction according to the travel route;
[0019] When the deviation between the user's traveling direction and the standard traveling direction is greater than a threshold, the pet robot is controlled to issue a prompt message to remind the user to adjust the traveling direction.
[0020] According to one embodiment of the present application, after the step of controlling the movement of the pet robot according to the travel route, the following steps are included:
[0021] When traveling to a traffic light intersection, obtain the traffic light status;
[0022] Determining a travel strategy based on the traffic light status;
[0023] Based on the movement strategy, the movement of the pet robot is controlled.
[0024] A pet positioning device according to an embodiment of the second aspect of the present application includes:
[0025] A receiving module, used to obtain the user's current image information when receiving an exit instruction;
[0026] An acquisition module, used to acquire real-time images around the pet robot;
[0027] A determination module, used for locking a user based on the real-time image and the current image information;
[0028] The control module is used to control the pet robot to perform a following operation.
[0029] According to the electronic device of the third aspect of the present application, the electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the pet positioning method described above is implemented.
[0030] According to the non-transitory computer-readable storage medium of the fourth aspect embodiment of the present application, the non-transitory computer-readable storage medium includes a computer program, and when the computer program is executed by the processor, the above-mentioned pet positioning method is implemented.
[0031] According to the computer program product of the fifth aspect of the present application, the computer program product includes a computer program, and when the computer program is executed by the processor, the above-mentioned pet positioning method is implemented.
[0032] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0034] Figure 1 It is a schematic diagram of the process of the pet positioning method of the present invention;
[0035] Figure 2 is a structural schematic diagram of a pet positioning device provided by the present invention;
[0036] Figure 3 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0038] The embodiments of the present application provide embodiments of a pet positioning method. It should be noted that although a logical order is shown in the flow chart, under certain data, the steps shown or described may be completed in an order different from that shown here.
[0039] Before introducing the pet positioning method of the embodiment of the present application, the application scenario of the pet positioning method is first explained. The pet positioning method of the present application can be applied to smart terminals such as smart phones, tablets and computers, and can also be applied to servers. The present application does not make any special limitations here, as long as it can carry and implement the pet positioning method of the present application.
[0040] The following description will be given by applying the pet positioning method to the server side, but it should be understood that the pet positioning method is not limited to being applied only to the server side.
[0041] Elderly people and children often need special people to accompany them when they go out. This application improves the intelligence of pet robots so that pet robots can automatically locate and lock users, thus achieving follow-up and accompanying of users.
[0042] Combine the following Figures 1 to 3 The pet positioning method, system and electronic device of the present application are described.
[0043] According to the embodiment of the first aspect of the present application, Figure 1 As shown, the pet positioning method is applied to a pet robot, and the pet positioning method includes:
[0044] Step 101: upon receiving an exit instruction, obtaining the user's current image information;
[0045] It can be understood that when an out-of-door instruction is received, it means that the user is about to go out, and the pet robot is controlled to take a picture of the user to obtain the user's current image information, so as to facilitate the subsequent identification of the user based on the current image information.
[0046] It can be understood that obtaining the current image information of the user when receiving the exit instruction ensures that the obtained image information is consistent with the image information after the user exits the door, which is beneficial to improving the accuracy of subsequent identification of the user.
[0047] Step 102: Acquire real-time images of the surroundings of the pet robot.
[0048] It is understandable that the pet robot is controlled to obtain real-time images of the surroundings so as to locate and lock the user according to the real-time images of the surroundings. Specifically, the real-time images of the pet robot can be obtained by a camera installed on the pet robot.
[0049] Step 103: Lock the user based on the real-time image and the current image information.
[0050] It is understandable that by comparing the real-time image with the current image information and capturing features similar or identical to the current image information from the real-time image, the user's position can be determined and the user's positioning can be achieved.
[0051] Step 104: Control the pet robot to perform a following operation.
[0052] According to the pet positioning method of the present application, when an exit command is received, the user's current image information and real-time images of the pet robot's surroundings are obtained, and then the user's current image information and the real-time images of the surroundings are compared, the user is identified from the real-time images, and the user's positioning is locked, that is, the user's position can be determined, and then the pet robot is controlled to perform a following operation, so that the pet robot moves with the user, realizing following and accompanying the user, thereby improving the intelligence level of the pet robot.
[0053] In some embodiments, after the step of controlling the pet robot to perform the following operation, the following steps are included:
[0054] When receiving a guide instruction, determine the route according to the destination;
[0055] The pet robot is controlled to move according to the travel route.
[0056] It can be understood that when the pet robot receives a lead instruction, it means that the user needs the pet robot to lead the way, so the route is determined according to the destination, and the pet robot is controlled to move according to the route.
[0057] It is understandable that the guide instruction can carry destination information, and the destination information can also be sent to the pet robot separately.
[0058] It is understandable that when a user who is unfamiliar with the road conditions or has visual impairments needs to go out, he or she can send a lead instruction to the pet robot and use the pet robot to lead the way, ensuring that the user can travel smoothly.
[0059] In one embodiment of the present application, the step of determining the travel route according to the destination includes:
[0060] The travel route is determined according to the destination and the user's mobility, wherein the user's mobility includes whether the user can walk and whether the user can go up and down stairs.
[0061] It is understandable that when determining a route based on a destination, the route is determined based on the destination and the user's mobility to ensure that the route is acceptable to the user.
[0062] For example, when the user is unable to go up and down stairs, the route that requires taking the stairs will be excluded when determining the route, to ensure that the user can smoothly reach the destination along the route.
[0063] It will be appreciated that the user's mobility capabilities may be pre-set.
[0064] In one embodiment of the present application, after the step of controlling the movement of the pet robot according to the travel route, the following steps are included:
[0065] When the distance between the pet robot and the user exceeds a preset value, the pet robot is controlled to reduce the moving speed or stop moving.
[0066] It can be understood that when it is determined that the distance between the pet robot and the user exceeds the preset value, it means that the distance between the pet robot and the user is too far, and then the pet robot is controlled to reduce the moving speed or stop moving to shorten the distance between the user and the pet robot, avoiding the user from losing the pet robot, and ensuring that the pet robot can continue to play the role of leading the way.
[0067] In one embodiment of the present application, after the step of controlling the movement of the pet robot according to the travel route, the following steps are included:
[0068] determining a standard travel direction according to the travel route;
[0069] When the deviation between the user's traveling direction and the standard traveling direction is greater than a threshold, the pet robot is controlled to issue a prompt message to remind the user to adjust the traveling direction.
[0070] It is understandable that the standard travel direction can be determined based on the travel route, and the user's travel direction can be compared with the standard travel direction to determine whether the deviation between the user's travel direction and the standard travel direction is greater than a threshold. When it is determined that the deviation between the user's travel direction and the standard travel direction is greater than the threshold, it means that the user's travel direction has deviated at this time, and the pet robot is controlled to issue a prompt message to remind the user to adjust the travel direction, thereby ensuring that the user can travel in the correct direction.
[0071] Specifically, according to the travel route and the current position, the standard travel direction of the current position can be determined, and then it can be judged whether the user's travel direction is correct.
[0072] In one embodiment of the present application, after the step of controlling the movement of the pet robot according to the travel route, the following steps are included:
[0073] When traveling to a traffic light intersection, obtain the traffic light status;
[0074] Determining a travel strategy based on the traffic light status;
[0075] Based on the movement strategy, the movement of the pet robot is controlled.
[0076] It is understandable that, based on the captured images of the pet robot, it can be determined whether the pet robot has reached a traffic light intersection. When it is determined that the pet robot has reached a traffic light intersection, the traffic light status is obtained to determine whether the traffic light is in a passable state. According to the traffic light status, the travel strategy is determined: if the traffic light is in a passable state, the pet robot is controlled to continue moving; if the traffic light is in an impassable state, the pet robot is controlled to stop moving until the traffic light switches to a passable state. This allows the user to safely pass through the traffic light intersection with the pet robot, ensuring the user's safety.
[0077] In some examples, the traffic light status can be obtained by controlling the pet robot to take a photo of the traffic light, and the traffic light status can be determined by analyzing the photo. When the traffic light is a networked traffic light, the status of the traffic light can also be directly determined by obtaining the networked data of the traffic light.
[0078] In some embodiments, the pet robot includes a main body and a lifting plate, and the lifting plate can move up and down relative to the main body; after the step of controlling the pet robot to perform the following operation, the method includes:
[0079] When receiving a user instruction, the pet robot is controlled to stop moving, and the lifting plate is controlled to move upward relative to the main body.
[0080] It is understandable that when a user instruction is received, it means that the user needs to use the lifting platform at this time, so the pet robot is controlled to stop moving, and the lifting platform is controlled to move upward relative to the main body to facilitate user use.
[0081] It is understandable that the user can use the lifting flat panel as a desktop or as a stool, which improves the convenience of the user when going out.
[0082] Exemplarily, when the user needs to use the lifting platform as a tabletop, a first user instruction is sent to the pet robot. After receiving the first user instruction, the pet robot controls the lifting platform to move upward a distance A. When the user needs to use the lifting platform as a stool, a second user instruction is sent to the pet robot. After receiving the second user instruction, the pet robot controls the lifting platform to move upward a distance B, wherein distance A is greater than distance B.
[0083] In some embodiments, when it is determined that the pet robot has lost its user, the pet robot is controlled to obtain image data of people sitting around it;
[0084] Based on the current image information, determine image data of the user in a sitting position;
[0085] The user is locked based on the image data of the surrounding people in a sitting position and the image data of the user in a sitting position.
[0086] It is understandable that when the user cannot be recognized in the captured image of the pet robot, it is determined that the pet robot has lost the user.
[0087] The current image information of the user obtained by the pet robot is generally in a standing posture, and the user is basically in a standing posture when going out. Therefore, the pet robot mainly locates the user by identifying standing people to improve the locking speed.
[0088] At this time, the pet robot is controlled to obtain image data of people sitting around it, and determine image data of the user sitting based on current image information, and then compare the image data of people sitting around it with the image data of the user sitting, and then lock the user.
[0089] In one embodiment of the present application, before the step of locking the user based on the real-time image and the current image information, the step includes:
[0090] Get the user's facial image;
[0091] The step of locking the user based on the real-time image and the current image information comprises:
[0092] The user is locked based on the real-time image and the user's facial image.
[0093] It is understandable that the user's facial image is first obtained and stored in the pet robot or server. When the user is out of the house and needs to be located and locked, the user is identified and locked based on the real-time images around the pet robot and the user's facial image, so that the pet robot can perform a following operation.
[0094] It is understandable that by comparing the user's facial image with the real-time image, it is possible to determine whether the user appears in the real-time image and the specific position of the user in the real-time image, thereby achieving positioning lock of the user.
[0095] In one embodiment of the present application, before the step of locking the user based on the real-time image and the current image information, the step includes:
[0096] Get an image of the clothes the user is wearing;
[0097] The step of locking the user based on the real-time image and the current image information comprises:
[0098] Based on the real-time image and the image of the clothes worn by the user, the user is locked.
[0099] It is understandable that the image of the clothes worn by the user is first obtained, and the image of the clothes worn by the user can be stored in the pet robot or the server. When the user is out of the house and needs to be located and locked, the user is identified and locked based on the real-time images around the pet robot and the image of the clothes worn by the user, so that the pet robot can perform a following operation.
[0100] It is understandable that comparing the image of the clothes worn by the user with the real-time image can help determine whether the user appears in the real-time image and the specific position of the user in the real-time image, thereby improving the accuracy of positioning the user.
[0101] It can be understood that the clothes worn by the user refer to the clothes worn on the upper body of the user, the clothes worn on the lower body of the user, the socks worn by the user, the hat worn by the user, and the like.
[0102] In some embodiments, before the step of locking the user based on the real-time image and the current image information, the step includes:
[0103] Acquire physical data of the user, wherein the physical data includes at least one of the user's height, the user's skin color, and the user's hair color;
[0104] The step of locking the user based on the real-time image and the current image information comprises:
[0105] The user is locked based on the real-time image and the user's physical data.
[0106] It is understandable that the user's height, skin color, hair color and other physical data are first obtained and stored in the pet robot or server. When the user is out of the house and needs to be located and locked, the user is identified and locked based on the real-time images around the pet robot and the user's height, skin color, hair color and other physical data, so that the pet robot can perform the following operation.
[0107] It is understandable that comparing the user's height, skin color, hair color and other physical data with the real-time image can help determine whether the user appears in the real-time image and the specific location in the real-time image, thereby improving the accuracy of the user's positioning lock.
[0108] In one embodiment of the present application, after the step of controlling the pet robot to perform the following operation, the following steps are included:
[0109] Determining that the distance between the pet robot and the user exceeds a preset value;
[0110] The pet robot is controlled to send out a warning message.
[0111] It is understandable that when the distance between the pet robot and the user exceeds a preset value, it means that the distance between the pet robot and the user is too far, and the pet robot may be at risk of losing the user, so the pet robot is controlled to send a warning message to remind the user.
[0112] It is understandable that the warning information can be issued in the form of voice broadcast or sent to a terminal carried by the user.
[0113] In one embodiment of the present application, after the step of controlling the pet robot to perform the following operation, the following steps are included:
[0114] When the user cannot be locked within the preset time, a prompt message is issued to remind the user to stop moving or move towards the pet robot.
[0115] It is understandable that when the pet robot fails to lock the user within the preset time, that is, the user is not recognized in the real-time images around the pet robot within the preset time, it means that the user has left the pet robot's sight. Then the pet robot is controlled to send a prompt message to prompt the user to stop moving or move towards the pet robot to prevent the pet robot from losing the user.
[0116] It is understandable that when the pet robot fails to lock onto the user within the preset time, it can send a prompt message to remind the user to stop moving. Then the pet robot determines the search direction based on the user's movement direction when the user was last locked. The pet robot moves according to the search direction until it locks onto the user again.
[0117] In one embodiment of the present application, after the step of issuing the prompt information, the method further includes: obtaining a picture taken by a body-worn camera, wherein the body-worn camera is installed on the user;
[0118] Determine the user's location based on the image captured by the body-worn camera;
[0119] Based on the user's position, the pet robot is controlled to move.
[0120] It is understandable that when the pet robot fails to lock the user within the preset time, that is, loses the user, it can obtain the shooting picture of the body camera on the user to determine the user's location based on the shooting picture of the body camera, and then control the pet robot to move towards the user based on the user's location, so that the pet robot locks the user again. For example, a landmark building can be determined from the shooting picture of the body camera, and then combined with map information, the user's location can be determined.
[0121] Specifically, the step of determining the user's location based on the image captured by the body-worn camera includes:
[0122] Acquire an image of the surroundings of the pet robot;
[0123] The user's location is determined based on the images captured by the portable camera and the images around the pet robot.
[0124] It can be understood that when determining the user's position based on the footage captured by the body-mounted camera, images around the pet robot are obtained, and then the footage captured by the body-mounted camera and the images around the pet robot are compared to determine the user's position.
[0125] When the pet robot just loses its user, the distance between the pet robot and the user will not be too far, so the images around the pet robot and the images taken by the portable camera will overlap, and the approximate location of the user can be determined based on the overlapping parts.
[0126] For example, the images captured by the body camera and the images around the pet robot are compared to obtain overlapping buildings, and then based on the overlapping buildings, the approximate location of the user can be determined.
[0127] For example, when the user and the pet robot are in a place with a large space and a large flow of people, such as a square or a station, the pet robot is likely to lose the user. In this case, the overlapping images can be determined based on the images around the pet robot and the images taken by the body-carrying camera, and then the position between the user and the pet robot can be determined. Furthermore, landmark buildings, such as shop names, can be determined from the overlapping images. Based on the images taken by the body-carrying camera, the angle or direction at which the body-carrying camera took the shop name can be determined, and then the user's position can be accurately determined.
[0128] In one embodiment of the present application, after the step of controlling the movement of the pet robot according to the travel route, the following steps are included:
[0129] When you reach the intersection,
[0130] Controlling the pet robot to send directions information to passers-by;
[0131] Determine the route based on the response information of passers-by;
[0132] Based on the travel route, the pet robot is controlled to continue moving.
[0133] It is understandable that when at an intersection, in addition to determining the route based on landmark objects, you can also determine the route by asking passers-by for help.
[0134] Specifically, when at an intersection, the pet robot is controlled to send a message asking for directions to passers-by, and the route is determined based on the passers-by's reply, and then the pet robot is controlled to continue moving according to the route.
[0135] In some examples, the information about asking for directions can be sent to passers-by through voice broadcast or displayed to passers-by through the display screen of the pet robot.
[0136] In some examples, the reply information of the passerby can be delivered by speaking to the pet robot, or by input components (such as buttons, touch screen) on the pet robot.
[0137] In one embodiment of the present application, the step of controlling the pet robot to send a direction-asking message to a passerby comprises:
[0138] The pet robot is controlled to send destination information to passers-by.
[0139] It is understandable that the destination information is directly sent to passers-by so that the passers-by can give directions based on the destination information.
[0140] In one embodiment of the present application, the step of controlling the pet robot to send a direction-asking message to a passerby comprises:
[0141] When the distance between the destination and the current position of the pet robot exceeds a first preset distance, a landmark building between the destination and the current position of the pet robot is determined as a target location, wherein the distance between the target location and the current position of the pet robot is less than a third preset distance;
[0142] The pet robot is controlled to send target location information to passers-by.
[0143] It is understandable that when the distance between the destination and the current position of the pet robot exceeds the first preset distance, it means that the distance between the pet robot and the destination is far, and passers-by may not know how to get to the destination. Then, a landmark building is selected between the destination and the current position of the pet robot as the destination, and the distance between the destination and the current position of the pet robot is less than the third preset distance, so as to maximize the possibility that passers-by know how to get to the destination. Then the pet robot is controlled to send the destination information to the passers-by.
[0144] In one embodiment of the present application, the step of determining the travel route based on the reply information of the passerby includes:
[0145] Determine the route based on the gestures of passers-by.
[0146] It can be understood that by acquiring the gesture image of the passerby, the gesture of the passerby is recognized, the direction of the gesture of the passerby is determined, and then the travel route is determined.
[0147] In one embodiment of the present application, the step of determining the travel route based on the reply information of the passerby includes:
[0148] Determine the route based on the responses of passers-by.
[0149] It is understandable that keywords, such as forward, right, left, etc., are identified from the reply utterances of passers-by to determine the travel route according to the keywords.
[0150] In one embodiment of the present application, the step of controlling the pet robot to send a direction-asking message to a passerby comprises:
[0151] The pet robot is controlled to send a direction-asking message to a target passerby, wherein the moving speed of the target passerby is lower than a preset speed, and the distance between the target passerby and the pet robot is less than a second preset distance.
[0152] It is understandable that choosing a passerby whose moving speed is less than a preset speed to ask for directions can improve the success rate of asking for directions. Choosing a passerby whose distance is less than a second preset distance to ask for directions can improve the success rate of asking for directions.
[0153] In one embodiment of the present application, when there is an obstacle in the direction of travel of the pet robot, the control replans the route;
[0154] Based on the replanned route, the movement of the pet robot is controlled.
[0155] It is understandable that when there is an obstacle in the direction of travel of the pet robot, the route will be replanned to avoid the obstacle.
[0156] According to an embodiment of the second aspect of the present application, Figure 2 As shown, the pet positioning device and the pet positioning method correspond to each other. The pet positioning device includes:
[0157] The receiving module 201 is used to obtain the current image information of the user when receiving the exit instruction;
[0158] An acquisition module 202 is used to acquire real-time images around the pet robot;
[0159] A determination module 203, configured to lock a user based on the real-time image and the current image information;
[0160] The control module 204 is used to control the pet robot to perform a following operation.
[0161] According to an embodiment of the third aspect of the present application, Figure 3 As shown, the electronic device may include: a processor 310, a communications interface 320, a memory 330 and a communication bus 340, wherein the processor 310, the communications interface 320 and the memory 330 communicate with each other via the communication bus 340. The processor 310 may call the logic instructions in the memory 330 to execute the pet positioning method, which includes:
[0162] Upon receiving an exit instruction, obtaining the user's current image information;
[0163] Acquire real-time images around the pet robot;
[0164] Based on the real-time image and the current image information, locking the user;
[0165] The pet robot is controlled to perform a following operation.
[0166] In addition, the logic instructions in the above-mentioned memory 330 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0167] On the other hand, the present application also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the pet positioning method provided by the above methods, and the method includes:
[0168] Upon receiving an exit instruction, obtaining the user's current image information;
[0169] Acquire real-time images around the pet robot;
[0170] Based on the real-time image and the current image information, locking the user;
[0171] The pet robot is controlled to perform a following operation.
[0172] According to an embodiment of the fifth aspect of the present application, the present application also includes a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the pet positioning method provided above is implemented, and the method includes:
[0173] Upon receiving an exit instruction, obtaining the user's current image information;
[0174] Acquire real-time images around the pet robot;
[0175] Based on the real-time image and the current image information, locking the user;
[0176] The pet robot is controlled to perform a following operation.
[0177] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.
[0178] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment or some parts of the embodiment.
[0179] Finally, it should be noted that the above implementation modes are only used to illustrate the present application, rather than to limit the present application. Although the present application is described in detail with reference to the embodiments, a person skilled in the art should understand that various combinations, modifications or equivalent substitutions of the technical solutions of the present application do not depart from the spirit and scope of the technical solutions of the present application, and should be included in the scope of the claims of the present application.
Claims
1. A pet positioning method, applied to a pet robot, characterized in that: The method comprises: Upon receiving an exit instruction, obtaining the user's current image information; Acquire real-time images around the pet robot; Based on the real-time image and the current image information, locking the user; The pet robot is controlled to perform a following operation.
2. The pet positioning method according to claim 1, characterized in that: After the step of controlling the pet robot to perform the following operation, the method further comprises: When receiving a guide instruction, determine the route according to the destination; The pet robot is controlled to move according to the travel route.
3. The pet positioning method according to claim 2, characterized in that: The step of determining the route according to the destination comprises: The travel route is determined according to the destination and the user's mobility, wherein the user's mobility includes whether the user can walk and whether the user can go up and down stairs.
4. The pet positioning method according to claim 2, characterized in that: After the step of controlling the movement of the pet robot according to the travel route, the method further comprises: When the distance between the pet robot and the user exceeds a preset value, the pet robot is controlled to reduce the moving speed or stop moving.
5. The pet positioning method according to claim 2, characterized in that: After the step of controlling the movement of the pet robot according to the travel route, the method further comprises: determining a standard travel direction according to the travel route; When the deviation between the user's traveling direction and the standard traveling direction is greater than a threshold, the pet robot is controlled to issue a prompt message to remind the user to adjust the traveling direction.
6. The pet positioning method according to claim 2, characterized in that: After the step of controlling the movement of the pet robot according to the travel route, the method further comprises: When traveling to a traffic light intersection, obtain the traffic light status; Determining a travel strategy based on the traffic light status; Based on the movement strategy, the movement of the pet robot is controlled.
7. A pet positioning device, characterized in that: include: A receiving module, used to obtain the user's current image information when receiving an exit instruction; An acquisition module, used to acquire real-time images around the pet robot; A determination module, used for locking a user based on the real-time image and the current image information; The control module is used to control the pet robot to perform a following operation.
8. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the pet positioning method according to any one of claims 1 to 6 is implemented.
9. A non-transitory computer-readable storage medium, the non-transitory computer-readable storage medium comprising a computer program, characterized in that: When the computer program is executed by a processor, the pet positioning method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Intelligent sweeper with bench function
CN107296567A
Safe and reliable robot easy to use for foodservice industry
CN109955267A
Traffic guidance method, traffic guidance terminal and robot
CN111089581A
Robot on-site help-seeking following or gesture guidance driving method and system
CN113741458A
Pet robot cultivation method and system and storage medium
CN113934295A