Pet health management method, apparatus and pet companion robot

The pet companion robot acquires physiological information and video images, identifies the pet status, and scientifically manages pet feeding. It solves the problem that existing technology cannot feed pets reasonably, realizes personalized healthy feeding plans and appropriate activity management, and improves user experience and food intake. Pot management efficiency.

WO2024198278A1PCT designated stage expired Publication Date: 2024-10-03HHO (HANGZHOU) DIGITAL TECH CO LTD

Patent Information

Application Number
PCT/CN2023/121113
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-30
Filing Date
2023-09-25
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

Existing pet feeders cannot scientifically manage the health of pets, especially how to properly feed pets in different states (such as obesity, weight loss, pregnancy or lactation), and cannot track the eating status of multiple pets in real time.

Method used

The pet companion robot obtains the pet's physiological information and video images, identifies the pet's status, and determines personalized feeding and amusing methods based on its amount of exercise and food nutrients, including calling the pet to eat at a preset time point, recording the amount of food eaten, and detecting The status of remaining food in the food bowl and adjusting the petting mode according to the amount of activity.

Benefits of technology

It realizes the personalized generation of healthy feeding plans based on the pet's physiological information and food information, ensuring that the pet has a reasonable diet and appropriate activities, improves the user experience, and avoids the accumulation of leftover food in the food bowl to keep it fresh.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023121113_03102024_PF_FP_ABST
    Figure CN2023121113_03102024_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present application are a pet health management method, an apparatus and a pet companion robot. The method comprises: acquiring physiological information corresponding to one or more pets; according to video or image information corresponding to the one or more pets and shot by a pet companion robot, identifying one or more pets; and, according to the physiological information of the one or more pets, the amount of exercise of the one or more pets, nutritional contents of pet food and preset relationships with the identified pets, determining a feeding method and an amusement method for the identified pets. The present invention improves user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Pet health management method, device and pet companion robot Technical Field

[0001] The present invention relates to the field of electronics, and in particular to a pet health management method and device, and a pet companion robot. Background Art

[0002] Against the backdrop of China's national economic consumption upgrade, the pet economy is also experiencing a consumption upgrade. Keeping pets has become a form of emotional sustenance for people, providing them with warmth and companionship, which has further promoted the rapid development of my country's pet industry.

[0003] The pet economy is booming, with the market size projected to reach nearly 600 billion yuan in 2023. With changes in social structure and socioeconomic development, the number of people living alone and with empty nesters is steadily increasing. Consequently, pets are becoming a source of emotional comfort, and attitudes about pet ownership are shifting significantly. Survey data shows that 37.1% of respondents consider their pets their friends, and over 40% consider their pets family members.

[0004] At present, the feeding plans of feeders on the market are all timed and quantitative feeding plans set by users based on their subjective experience. The feeder equipment feeds at the preset time point according to the user's settings, and waits for the next feeding after completing the feeding.

[0005] Users cannot rationally manage the health of their pets. For example, under normal circumstances, users cannot tell how much food they should feed their pets, or how they should feed their pets in different states (obese, thin, pregnant, or lactating). Users cannot know whether their pets have actually eaten, and in the case of multiple pets, they cannot track the eating habits of multiple pets.

[0006] In the related art, pet feeders cannot scientifically manage the health of pets.

[0007] Summary of the Invention

[0008] The present invention provides a pet health management method, device and pet companion robot, which are used to solve the problem that pet feeders in related technologies cannot scientifically manage the health of pets.

[0009] According to one aspect of the present invention, a method for managing pet health is provided, comprising: obtaining physiological information corresponding to one or more pets; identifying the one or more pets based on video or image information corresponding to the one or more pets captured by a pet companion robot; and determining a feeding method and an entertaining method for the identified pet based on the physiological information of the one or more pets, the amount of exercise of the one or more pets, the nutritional components of the pet food, and a preset relationship with the identified pet.

[0010] Preferably, determining a feeding method for the identified pet based on physiological information of the one or more pets, the amount of exercise of the one or more pets, the nutritional components of the pet food, and a preset relationship with the identified pet includes:

[0011] At a first preset time point, controlling the pet companion robot to emit a first preset sound, wherein the first preset sound is used to call the pet to eat;

[0012] Determining that the food intake of one of the one or more pets is greater than or equal to a preset food intake, controlling the food bowl of the pet companion robot to retract, and refusing the pet to eat; or

[0013] It is determined that the food intake of one of the one or more pets is less than the preset food intake. After the pet finishes eating, the difference between the food bowl before and after eating is recorded as the food intake of the pet.

[0014] Preferably, at a first preset time point, after controlling the pet companion robot to emit a preset sound, it also includes: determining the remaining food status of the food bowl by the following method: cropping and marking each food bowl food picture in the food bowl image data set to obtain a food bowl area picture to form a food bowl area data set; grayscale processing the food bowl area picture to obtain a food bowl area grayscale picture, extracting the grayscale features of the food bowl area grayscale picture to form a grayscale feature data set; obtaining the maximum area, median area and minimum area corresponding to the grayscale features in the food bowl area grayscale picture, wherein the maximum area corresponds to a full food state picture of the food bowl, the median area corresponds to a median state picture of the food bowl, and the minimum area corresponds to a food bowl no food state picture; identifying the food bowl food picture to be detected based on a food bowl remaining food detection model to obtain the position and corresponding area of ​​the remaining food in the food bowl, wherein the food bowl remaining food detection model is trained based on the grayscale feature data set; comparing the corresponding area with the maximum area, median area and minimum area respectively to determine the state of the food in the food bowl, and if it is close to the minimum area or is the minimum area, it is determined that there is no food.

[0015] Preferably, based on the physiological information of the one or more pets, the amount of exercise of the one or more pets, the nutritional components of the pet food and the preset relationship with the identified pet, the entertaining method corresponding to the one or more pets is determined, including: when the identified pets meet the preset relationship, at a second preset time point, the pet companion robot is controlled to emit a second preset sound, and the second preset sound is used to attract the pet to approach the pet companion robot; when one of the one or more pets approaches the pet companion robot, the pet companion robot is controlled to start a preset pet entertaining mode; wherein the duration of the pet entertaining is determined according to the amount of activity of the pet.

[0016] Preferably, identifying the one or more pets based on obtaining the video or image information corresponding to the one or more pets taken by the pet companion robot includes: obtaining the video or image information corresponding to the one or more pets, wherein the image information includes the pet's front face photo, left face photo, right face photo, left-view full-body photo, right-view full-body photo, and top-view full-body photo; according to a preset image algorithm, comparing the video or image information corresponding to the one or more pets with multiple feature points of the one or more pets collected in advance to identify the one or more pets; wherein the feature points include: the pet's facial features, the pet's coat color, the pet's facial features, and the pet's limb features.

[0017] Preferably, based on obtaining the video or image information corresponding to the one or more pets photographed by the pet companion robot, identifying the one or more pets includes: extracting the key points of the limb positions of the one or more pets in the video obtained of the one or more pets; and determining the action behaviors of the one or more pets based on the key points.

[0018] Preferably, the method further comprises: determining that one of the following situations occurs in the environment where the one or more pets are located, and issuing a reminder:

[0019] Through the preset image algorithm, the emission changes of objects at the preset position are determined;

[0020] Through the sound recognition algorithm, it is determined that a preset abnormal situation has occurred and a sound or alarm sound is emitted;

[0021] The one or more pets are not detected within a first preset time period using a preset image algorithm;

[0022] It is determined that the one or more pets have not eaten within a second preset time period.

[0023] According to another aspect of the present invention, a pet health management device is also provided, including: a first acquisition module for acquiring physiological information corresponding to one or more pets; an identification module for identifying the one or more pets based on the video or image information corresponding to the one or more pets captured by the pet companion robot; a first determination module for determining the feeding method and amusing method of the identified pet based on the physiological information of the one or more pets, the amount of exercise of the one or more pets, the nutritional components of the pet food, and the preset relationship with the identified pet.

[0024] Preferably, the first determination module includes: a first control module, used to control the pet companion robot to emit a first preset sound at a first preset time point, and the first preset sound is used to call the pet to eat; a second control module, used to determine that the food intake of one of the one or more pets is greater than or equal to the preset food intake, and control the food bowl of the pet companion robot to shrink, refusing the pet to eat; or, a recording module, used to determine that the food intake of one of the one or more pets is less than the preset food intake, and after the pet finishes eating, record the difference between the food bowl before and after eating as the food intake of the pet.

[0025] Preferably, the first determination module includes: a third control module, which is used to control the pet companion robot to emit a second preset sound at a second preset time point when the identified pet satisfies a preset relationship, and the second preset sound is used to attract the pet to approach the pet companion robot; a fourth control module, which is used to control the pet companion robot to start a preset pet-amusing mode when one of the one or more pets approaches the pet companion robot; wherein the duration of the pet-amusing mode is determined according to the activity level of the pet.

[0026] Preferably, the recognition module includes: a second acquisition module for acquiring video or image information corresponding to the one or more pets, wherein the image information includes a frontal face photo, a left face photo, a right face photo, a left-view full-body photo, a right-view full-body photo, and a top-view full-body photo of the pet;

[0027] The comparison module is used to compare the video or image information corresponding to the one or more pets with a plurality of feature points of the one or more pets collected in advance according to a preset image algorithm, so as to identify the one or more pets; wherein the feature points include: facial features of the pet, coat color of the pet, facial features of the pet, and limb features of the pet.

[0028] Preferably, the recognition module includes: an extraction module for extracting key points of the limb positions of the one or more pets in the video of the one or more pets; and a second determination module for determining the action behaviors of the one or more pets based on the key points.

[0029] Preferably, the above device further comprises:

[0030] The first judgment module is configured to determine that one of the following situations occurs in the environment where the one or more pets are located, and issue a reminder:

[0031] The second judgment module uses a preset image algorithm to determine whether the object at the preset position has changed;

[0032] The third judgment module is used to determine through a sound recognition algorithm that a preset abnormal situation has occurred and emit a sound or an alarm sound;

[0033] a detection module, configured to detect, using a preset image algorithm, that the one or more pets are not present within a first preset time period;

[0034] The fourth determination module is configured to determine whether the one or more pets have not eaten within a second preset time period.

[0035] This embodiment also provides a pet companion robot, including the above-mentioned pet health management device.

[0036] According to yet another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the above method.

[0037] According to yet another aspect of the present invention, a computer program product is provided. When the computer program product is run on a computer, the computer is enabled to execute the above method.

[0038] The present invention can determine the feeding method and entertaining method of the identified pet based on the pet's physiological information, the identified pet's exercise volume, the nutritional components of the pet's food, and the preset relationship with the identified pet. It realizes the personalized generation of a healthy feeding plan for the pet based on the pet's physiological information and pet food information, and takes care of the pet's diet and activities, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0040] FIG1 is a flow chart of a pet health management method according to an embodiment of the present invention;

[0041] FIG2 is a schematic diagram of a first process according to an embodiment of the present invention;

[0042] FIG3 is a schematic diagram of a second process according to an embodiment of the present invention;

[0043] 4 is a block diagram of a pet health management device according to an embodiment of the present invention;

[0044] FIG5 is a block diagram of a preferred structure of a pet health management device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0045] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in this application can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0046] This embodiment provides a pet health management method, as shown in FIG1 , which includes the following steps S102 to S108 .

[0047] Step S102: Acquire physiological information corresponding to one or more pets.

[0048] Step S104: Identify one or more pets based on the video or image information corresponding to the one or more pets captured by the pet companion robot.

[0049] Step S106 , determining a feeding method and an amusing method for the identified pet based on the physiological information of the one or more pets, the amount of exercise of the one or more pets, the nutritional components of the pet food, and the preset relationship with the identified pet.

[0050] Through the above steps, the feeding method and entertaining method of the identified pet can be determined based on the pet's physiological information and the identified pet's exercise volume, the nutritional components of the pet food, and the preset relationship with the identified pet. This realizes the personalized generation of a healthy feeding plan for the pet based on the pet's physiological information and pet food information, and takes care of the pet's diet and activities, thereby improving the user experience.

[0051] In practice, the daily energy requirement of a pet may be: daily energy requirement of a pet: 70*body weight (kg) ^ 0.75*life stage factor, where the life stage factor may adopt parameters in related technologies.

[0052] As a preferred embodiment, the feeding method in step S106 includes: controlling the pet companion robot to emit a first preset sound at a first preset time, the first preset sound being used to call the pet to eat; determining that the food intake of one of the one or more pets is greater than or equal to the preset food intake, controlling the pet companion robot's food bowl to retract, denying the pet food; or determining that the food intake of one of the one or more pets is less than the preset food intake, after the pet finishes eating, recording the difference in the food bowl before and after eating as the food intake of the pet. In this embodiment, each time a pet comes to eat, the camera automatically detects and tracks the pet, identifies the pet, and coordinates the food bowl to retract and expand according to a healthy feeding plan, precisely controlling the food intake of each pet. If the current pet has exceeded the daily food intake limit, the food bowl is automatically retracted; otherwise, the pet is allowed to eat normally.

[0053] In practice, the pet's physiological information includes the pet's photo, breed, gender, weight, age, etc. The nutritional composition of pet food includes the crude protein, crude fat, crude fiber, water content, etc.

[0054] Preferably, each pet wears a smart collar to record the pet's daily exercise volume.

[0055] In implementation, the status of the remaining food can be judged, and preferably, it can be determined in the following way: each food bowl food picture in the food bowl image dataset is cropped and marked to obtain a food bowl area picture to form a food bowl area dataset; the food bowl area picture is grayscale processed to obtain a food bowl area grayscale picture, and the grayscale features of the food bowl area grayscale picture are extracted to form a grayscale feature dataset; the maximum area, median area and minimum area corresponding to the grayscale features in the food bowl area grayscale picture are obtained, wherein the maximum area corresponds to the food bowl full food state picture, the median area corresponds to the food bowl median state picture, and the minimum area corresponds to the food bowl no food state picture; based on the food bowl remaining food detection model, the food bowl food picture to be detected is identified to obtain the position and corresponding area of ​​the remaining food in the food bowl, wherein the food bowl remaining food detection model is trained based on the grayscale feature dataset; the corresponding area is compared with the maximum area, median area and minimum area respectively to judge the status of the food bowl food, and if it is close to the minimum area or is the minimum area, it is judged that there is no food. In this preferred embodiment, before each serving of food, the pet health management device (pet companion robot) will use a camera to detect the remaining food in the food bowl, and will only serve food when there is less food left in the food bowl, ensuring that the remaining food in the food bowl does not accumulate and remains fresh.

[0056] As another preferred embodiment, the entertaining method of step S106 includes: recognizing that the pet satisfies a preset relationship, at a second preset time point, controlling the pet companion robot to emit a second preset sound, and the second preset sound is used to attract the pet to approach the pet companion robot; when one of the one or more pets approaches the pet companion robot, controlling the pet companion robot to start a preset pet entertaining mode; wherein, the duration of the pet entertaining is determined according to the activity level of a pet.

[0057] For example: at preset time points, such as 10 a.m. and 2 p.m., the pet health management device (pet companion robot) will determine to start automatic pet teasing based on the pet's activity on that day. When the pet's activity level is low, the pet health management device (pet companion robot) can play more than a dozen built-in pet-calling sounds to attract the pet (kitten sounds, mouse sounds, bird sounds, can sounds, plastic bag sounds, water sounds, bubble sounds, etc.). When a low-activity pet approaches and is detected by the camera, the pet health management device (pet companion robot) randomly starts the laser pet teasing and cat teasing stick teasing, and the duration of the pet teasing is dynamically adapted according to the required activity level. Preferably, the pet teasing ends when the pet activity level recorded by the pet's collar reaches the standard.

[0058] As another preferred embodiment, pets can be identified in the following manner: obtaining video or image information corresponding to one or more pets, wherein the image information includes a frontal face photo, a left face photo, a right face photo, a left-view full-body photo, a right-view full-body photo, and a top-view full-body photo of the pet; according to a preset image algorithm, comparing the video or image information corresponding to one or more pets with multiple feature points of one or more pets collected in advance to identify the one or more pets; wherein the feature points include: the pet's facial features, the pet's coat color, the pet's facial features, and the pet's limb features.

[0059] In a preferred embodiment, pet action recognition can also be performed by extracting key points of the limb positions of one or more pets in a video of one or more pets; and determining the actions of one or more pets based on these key points. For example, when a pet is detected, a 15-second video of the pet's activities is captured; then, by analyzing the key points of the pet's limb positions in each frame, the following pet behaviors can be determined: eating / drinking, defecating, sleeping, licking, walking, chasing and playing, and taking a selfie with a large face.

[0060] During implementation, prompts or alarms can also be issued according to preset situations. For example, in the following situations:

[0061] (1) Using a preset image algorithm, the system determines changes in the emission of objects at preset locations. For example, based on fixed points set by the owner (such as windows, doorways, fragile items on the desktop, etc.), the system conducts a round every hour to detect changes before and after, thereby determining whether there are any abnormalities in the home.

[0062] (2) Through the sound recognition algorithm, it determines that a preset abnormal situation has occurred and emits a sound or alarm. For example, the built-in sound recognition algorithm can detect glass breaking, vase / heavy object falling, fire alarm, and gas leak alarm in real time.

[0063] (3) The preset image algorithm fails to detect the presence of one or more pets within a first preset time period. For example, the camera automatically detects and tracks pets. When no pets are in the image, the camera rotates the pan / tilt every hour to perform a 360° panoramic tour to search for pets.

[0064] (4) Determine that one or more pets have not eaten within a second preset time period. For example, when a pet has not eaten for a long time or has not appeared in the screen for a long time, prompt it immediately.

[0065] It should be noted that in the above embodiment and its preferred implementation, the energy value of pet food can be calculated as follows:

[0066] (1) Gross energy (kcal) = 5.7 * crude protein grams + 9.4 * crude fat grams + 4.1 * (ammonia-free extract grams + crude fiber grams)

[0067] (2) Energy digestibility (%) = 87.9-0.88*percentage of crude fiber in dry matter.

[0068] (3) Digestible energy = (total energy) * energy digestibility.

[0069] (4) Metabolizable energy (Kcal) = digestible energy - 0.77 * grams of crude protein.

[0070] The above units are converted to: 1Kcal=4.186KJ.

[0071] This embodiment provides a pet health management method, which includes the following steps:

[0072] In step 1, the user enters the pet's physiological information, including the pet's photo, breed, gender, weight, age, etc., as shown in FIG2 (steps S201 to S210).

[0073] In step 2, the user enters the nutritional ingredients of the pet food, including crude protein, crude fat, crude fiber, water content, etc., as shown in FIG3 (steps S301 to S309).

[0074] Step 3: Each pet wears a smart collar to record the pet's daily activities.

[0075] Step 4: Based on the basic pet physiological information, nutritional components of pet food and the collected daily exercise volume of the pet, a daily healthy feeding plan exclusive to each pet is dynamically generated, including: feeding plan and play plan.

[0076] As a preferred embodiment, in step 4, the feeding plan may include the following steps:

[0077] (1) At every hour of the day (e.g., 12:00, 13:00), a sound is emitted to call the pet to come and eat. After the pet-calling process is completed, the pet health management device (pet companion robot) is ready to dispense food.

[0078] (2) Before each serving of food, the pet health management device (pet companion robot) will use a camera to detect the remaining food in the food bowl. Food will be served only when there is less food in the food bowl, ensuring that the remaining food in the food bowl does not accumulate and remains fresh.

[0079] (3) Every time a pet comes to eat, the camera automatically detects and tracks it, identifies the pet, and coordinates the expansion and contraction of the food bowl according to the healthy feeding plan, accurately controlling the amount of food each pet eats. If the current pet has exceeded the daily food intake limit, the food bowl is automatically retracted; if it has not exceeded the limit, the pet is allowed to eat normally.

[0080] (4) After the pet finishes eating, the weight sensor at the bottom of the food bowl is used to calculate the difference between the before and after values ​​and record the amount of food consumed by the pet.

[0081] As another preferred implementation, the playful scheme in step 4 may include:

[0082] (1) At a preset time point, such as 10 a.m. or 2 p.m., the pet health management device (pet companion robot) will determine whether to start automatic pet entertainment based on the pet's daily activities.

[0083] (2) When the pet's activity level is low, the pet health management device (pet companion robot) can play more than a dozen built-in pet-calling sounds to attract the pet (kitten sounds, mouse sounds, bird sounds, can sounds, plastic bag sounds, water sounds, bubble sounds, etc.).

[0084] (3) When a low-activity pet approaches and is detected by the camera, the pet health management device (pet companion robot) randomly activates the laser pet teasing and cat teasing stick teasing, and the teasing duration is dynamically adapted according to the required activity level. Preferably, the teasing ends when the pet's activity level recorded by the pet's collar reaches the standard.

[0085] As another preferred implementation, the following steps can be used to detect remaining food in the feeding bowl during a feeding plan. For example, grayscale processing is performed on the captured image; color features of the image are extracted using a clustering algorithm; statistical analysis of color intensity, such as variance, is performed; and the likelihood of food being present is calculated based on the variance.

[0086] As another preferred embodiment, the system may further include: detecting abnormalities in the pet's state and providing an alarm. Preferably, the following method may be used:

[0087] The device patrols fixed locations set by the owner (such as windows, doorways, and fragile items on desktops) every hour to detect changes and determine if there are any unusual situations in the home. A built-in sound recognition algorithm provides real-time detection of broken glass, dropped vases or heavy objects, fire alarms, and gas leaks. The device also integrates a pet detection algorithm for automatic pet detection and tracking. If no pet is in view, the device rotates the pan / tilt every hour to perform a 360-degree panoramic patrol to search for the pet. If a pet has not eaten or has been out of view for an extended period of time, the user will be notified immediately.

[0088] As another preferred embodiment, in the above process, the following method is used to individually identify the pet: the pet can be digitally archived, and then the detected pet information is compared with the archived data to identify the pet.

[0089] Preferably, in the step of creating a digital file for the pet, six photos of the pet's front face, left face, right face, left-view full-body photo, right-view full-body photo, and top-down full-body photo can be taken to collect the pet image; the pet's face and fur color in the image can be automatically detected; the key points of the pet's facial features and fur color can be located; and the digital file of the pet can be completed.

[0090] As another preferred method, in the pet identification step, the following steps can be performed:

[0091] The pet health management device (pet companion robot) automatically detects whether there is a pet in the picture. When it detects a pet, it takes three consecutive photos, extracts key points such as the pet's face, limb position, and fur color, and compares them with the database to find the one with the highest similarity;

[0092] In the above embodiment and preferred embodiment, pet behavior detection is also involved, which can be achieved through the following steps:

[0093] The pet health management device (pet companion robot) automatically detects whether there is a pet in the picture. When a pet is detected, it records a 15-second video of the pet's activities; then, by analyzing the key points of the pet's limb positions in each frame, it determines the following pet behaviors: pet eating / drinking water, pet pooping, pet sleeping, pet licking fur, pet walking, pet chasing and playing, and pet taking a big face selfie.

[0094] As a preferred embodiment, the SAM (Segment Anything Model) algorithm can be used in the animal recognition process. The SAM can be trained and then used to recognize animals. Specifically, the following steps can be adopted: (1) collecting multiple initial images of animals in a preset scene; (2) obtaining multiple cropped images from the initial images; (3) using the multiple cropped images to train the image encoder of the SAM algorithm; (4) obtaining real-time images of animals collected by the intelligent pet robot; using the image encoder to process the real-time images to obtain a mask and prompt of the real-time images; and recognizing the animals based on the mask and prompt.

[0095] Smart pet robots (pet companion robots) need to identify cats in videos in various home environments. Home environments are complex, often featuring sofas, murals, dining tables, and more. Each home's layout is unique. These environments also require night vision, bright and dim lighting, images of multiple cats coexisting, images of cats and dogs coexisting, images of cats and stuffed toys coexisting, images from different angles, and images of cats in various behaviors (eating, drinking, going to the toilet, running, jumping, etc.). Accurately identifying cats when coexisting with toys or murals increases the difficulty of cat recognition. Traditional deep learning methods typically require large amounts of labeled sample data for training to recognize and classify specific object categories. However, in small-scale applications, obtaining a sufficient number and diversity of pet image samples in complex home environments is a challenging task. Our current zero-shot autonomous deep learning capabilities for pet images, based on the SAM model, provide an efficient and scalable solution for intelligent recognition and classification of pet images.

[0096] In the aforementioned implementation, the SAM model, a large language model pre-trained on an online dataset, exhibits strong zero-shot and few-shot generalization capabilities. These "base models" can be generalized to tasks and data distributions beyond those used during training. This capability is achieved through "prompt engineering," specifically, where prompt input produces valid text output. After scaling and training using a large online text database, it was found that these zero-shot and few-shot trained models perform even better than fine-tuned models, and the larger the dataset, the more pronounced the effect. For example, when the model is fed an image and the prompt "cat with black ears," the smart pet robot can circle the cat within the blue box.

[0097] As an example, the following illustrates:

[0098] Step 1: Data collection and labeling: Using XiaoO, we collected pictures of cats in various environments at home. These included pictures of pets in various visual environments (night vision, strong light, weak light, etc.), pictures of pets from different angles and parts of the body (face, back, feet, tail, belly, etc.), and pictures of pets in various behaviors (eating, drinking water, going to the toilet, running, jumping, etc.). We also preprocessed the images (median filtering, mean filtering, Gaussian filtering, etc.), including removing noise, adjusting the image size (cropping to a uniform size), and formatting (pictures are uniformly stored in PNG format).

[0099] The second step is data set preprocessing: the image is scaled to 1024 by the long side, and if the short side is not enough, it is padded to 1024.

[0100] The third step, image encoding, involves computing an image embedding using the pre-trained visual Transformer model encoder using the Masked Autoencoder (MAE). The image encoder is run once per image. Points and boxes are then represented by summing the positional encoding with the learned embeddings for each cue type, while free-form text is represented using an off-the-shelf text encoder from CLIP. Dense cues (i.e., masks) are embedded using convolutions and summed element-wise with the image embedding.

[0101] Step 4, Mask Decoding: The mask decoder effectively maps the image embedding, hint embedding, and output token to the predicted mask. The decoder block uses hint self-attention and cross-attention in two directions (hint-image embedding and vice versa) to update all embeddings. After running both blocks, we upsample the image embedding, and the MLP maps the output token to a dynamic linear classifier, which then computes the mask foreground probability for each image location.

[0102] The fifth step resolves encoding ambiguity: the model outputs multiple predicted masks based on a single given prompt. During training, only the minimum loss of the mask is backpropagated. To rank the masks, the model predicts a confidence score for each mask.

[0103] Prompt: There are three forms of prompt

[0104] (1) Point & box (sparse): Encoded using positional encoding, with background / trainable embedding added.

[0105] (2) Text (sparse): The pre-trained CLIP model is used for embedding (mapping transformation).

[0106] (3) Mask (dense): Embedded using convolution and summed element-wise with the image embedding.

[0107] In the above embodiment, the prompt word prompt is in text form, for example, input cat.

[0108] Step 6, Loss and Training: During training, a linear combination of the Focal Loss and Dice Loss used in DETR is used to supervise mask prediction. The linear combination is as follows: Total Loss = λ1*Focal Loss + λ2*Dice Loss. λ1 and λ2 are weights in the loss function, controlling the relative importance of Focal Loss and Dice Loss in the total loss.

[0109] Focal Loss is a loss function used in target detection tasks that can help solve the problem of class imbalance. Its formula is:

[0110] Focal Loss = -∑(y*log(p)*(1-p)^γ+(1-y)*log(1-p)*p^γ); where y is the true label (whether the target exists or not), p is the predicted probability, and γ is a hyperparameter that adjusts the weight of difficult and easy samples.

[0111] Dice Loss is a loss function commonly used in image segmentation tasks to measure the similarity between the predicted mask and the true mask. Its formula is: Dice Loss = 1-(2*∑(p*y)+ε) / (∑p+∑y+ε); where p is the predicted mask, y is the true mask, and ε is a small constant used to prevent the denominator from being zero.

[0112] Preferably, during the training process, the relative weights of the focal loss and the dice loss can be controlled by adjusting the values ​​of λ1 and λ2, where λ1:λ2=20:1.

[0113] This embodiment provides a pet health management device. FIG4 is a structural block diagram of the pet health management device according to an embodiment of the present invention. As shown in FIG4 , the noise reduction device may include: a first acquisition module 42, an identification module 44, and a first determination module 46, which are described in detail below.

[0114] The first acquisition module 42 is used to obtain physiological information corresponding to one or more pets; the identification module 44 is used to identify one or more pets based on the video or image information corresponding to one or more pets captured by the pet companion robot; the first determination module 46 is used to determine the feeding method and the entertaining method of the identified pet based on the physiological information of one or more pets, the amount of exercise of one or more pets, the nutritional components of the pet food, and the preset relationship with the identified pet.

[0115] As a preferred embodiment, the first determining module 46 includes:

[0116] The first control module 461 is used to control the pet companion robot to emit a first preset sound at a first preset time point, where the first preset sound is used to call the pet to eat;

[0117] The second control module 462 is configured to determine that the food intake of one of the one or more pets is greater than or equal to a preset food intake, and control the food bowl of the pet companion robot to retract, thereby refusing the pet to eat; or

[0118] The recording module 463 is used to determine that the food intake of one of the one or more pets is less than the preset food intake. After a pet finishes eating, the difference between the food bowl before and after eating is recorded as the food intake of the pet.

[0119] As a preferred implementation, the first determining module 46 may further include:

[0120] The third control module 464 is configured to control the pet companion robot to emit a second preset sound at a second preset time point when the identified pet meets a preset relationship, and the second preset sound is configured to attract the pet to approach the pet companion robot;

[0121] The fourth control module 465 is used to control the pet companion robot to start a preset pet-amusing mode when one of the one or more pets approaches the pet companion robot; wherein the duration of the pet-amusing mode is determined according to the activity level of a pet.

[0122] As a preferred embodiment, the identification module 44 may further include:

[0123] The second acquisition module 441 is used to obtain video or image information corresponding to one or more pets, wherein the image information includes a frontal face photo, a left face photo, a right face photo, a left-view full-body photo, a right-view full-body photo, and a top-view full-body photo of the pet;

[0124] A comparison module 442 is configured to compare the video or image information corresponding to the one or more pets with a plurality of pre-collected feature points of the one or more pets according to a preset image algorithm, so as to identify the one or more pets;

[0125] Among them, the feature points include: pet's facial features, pet's fur color, pet's facial features, and pet's limb features.

[0126] As a preferred embodiment, the identification module 44 may further include:

[0127] An extraction module 443 is configured to extract key points of limb positions of one or more pets in a video of the one or more pets;

[0128] The second determining module 444 is configured to determine the action of one or more pets based on the key points.

[0129] As a preferred embodiment, the above device may further include:

[0130] The first judgment module 51 is used to judge that one of the following situations occurs in the environment where one or more pets are located, and issue a reminder:

[0131] The second judgment module 52 judges that the object at the preset position has changed through a preset image algorithm;

[0132] The third judgment module 53 is used to determine through a sound recognition algorithm that a preset abnormal situation has occurred and emit a sound or an alarm sound;

[0133] A detection module 54 is configured to detect, using a preset image algorithm, that one or more pets are not present within a first preset time period;

[0134] The fourth determination module 55 is configured to determine whether one or more pets have not eaten within a second preset time period.

[0135] This embodiment provides a pet companion robot, which includes the pet health management device in the above embodiment and its preferred implementation mode. Its structure is as described above and will not be repeated here.

[0136] An embodiment of the present application also provides a computer-readable storage medium, which stores computer program code. When the above-mentioned processor executes the computer program code, the electronic device executes the relevant method steps in Figure 1 to implement the method in the above-mentioned embodiment.

[0137] The pet health management method and device disclosed in the embodiments of the present invention enable a pet companion robot to automatically generate a healthy feeding plan based on the added pet and pet food information, and take care of the pet's diet and activities, thereby improving the user experience.

[0138] It will be understood by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0139] The present invention is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0140] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0141] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0142] The present application also provides a computer program product that, when executed on a computer, causes the computer to execute the relevant method steps in FIG1 to implement the method in the above-described embodiment. The terminal, computer-readable storage medium, or computer program product provided in the present application are all used to execute the corresponding method provided above. Therefore, the beneficial effects achieved by the terminal, computer-readable storage medium, or computer program product can refer to the beneficial effects of the corresponding method provided above and will not be further elaborated here.

[0143] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.

[0144] The foregoing description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Those skilled in the art will readily appreciate that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention are intended to be within the scope of protection of the present invention.

Claims

1. A method for managing pet health, characterized in that: include: Obtain physiological information corresponding to one or more pets; Identify the one or more pets according to the video or image information corresponding to the one or more pets taken by the pet companion robot; The feeding method and the amusing method of the identified pet are determined according to the physiological information of the one or more pets, the amount of exercise of the one or more pets, the nutritional components of the pet food, and the preset relationship with the identified pet.

2. The method according to claim 1, characterized in that Determining a feeding method for the identified pet according to the physiological information of the one or more pets, the amount of exercise of the one or more pets, the nutritional components of the pet food, and a preset relationship with the identified pet includes: At a first preset time point, controlling the pet companion robot to emit a first preset sound, wherein the first preset sound is used to call the pet to eat; Determining that the food intake of one of the one or more pets is greater than or equal to a preset food intake, controlling the food bowl of the pet companion robot to shrink, and refusing the pet to eat; or, It is determined that the food intake of one of the one or more pets is less than the preset food intake. After the pet finishes eating, the difference between the food bowl before and after eating is recorded as the food intake of the pet.

3. The method according to claim 2, characterized in that After controlling the pet companion robot to emit a preset sound at the first preset time point, the method further includes: determining the remaining food status of the food bowl by: Each food bowl grain image in the food bowl image dataset is cropped and marked to obtain a food bowl area image to form a food bowl area dataset; Performing grayscale processing on the food bowl area image to obtain a grayscale image of the food bowl area, extracting grayscale features of the grayscale image of the food bowl area to form a grayscale feature data set; Get the maximum area, median area and minimum area corresponding to the grayscale features in the grayscale image of the food bowl area. The maximum area corresponds to the full food bowl state image, and the median area corresponds to the median food bowl state image. The smallest area corresponds to the picture of the food bowl without food; Based on the food bowl remaining food detection model, the food bowl food image to be detected is identified to obtain the position and corresponding area of ​​the remaining food in the food bowl, wherein the food bowl remaining food detection model is trained based on the grayscale feature data set; The corresponding area is compared with the maximum area, the median area and the minimum area to determine the state of the food in the food bowl. If it is close to the minimum area or is the minimum area, it is determined that there is no food.

4. The method according to claim 1, characterized in that: Determining the entertaining method corresponding to the one or more pets according to the physiological information of the one or more pets, the amount of exercise of the one or more pets, the nutritional components of the pet food, and the preset relationship with the identified pets includes: When it is recognized that the pet satisfies a preset relationship, at a second preset time point, the pet companion robot is controlled to emit a second preset sound, and the second preset sound is used to attract the pet to approach the pet companion robot; when one of the one or more pets approaches the pet companion robot, the pet companion robot is controlled to start a preset pet teasing mode; wherein the duration of the pet teasing is determined according to the activity level of the pet.

5. The method according to claim 1, characterized in that According to obtaining the video or image information corresponding to the one or more pets photographed by the pet companion robot, identifying the one or more pets includes: Obtaining video or image information corresponding to the one or more pets, wherein the image information includes a frontal face photo, a left face photo, a right face photo, a left-view full-body photo, a right-view full-body photo, and a top-view full-body photo of the pet; According to a preset image algorithm, the video or image information corresponding to the one or more pets is compared with a plurality of feature points of the one or more pets collected in advance to identify the one or more pets; The feature points include: facial features of the pet, fur color of the pet, facial features of the pet, and limb features of the pet.

6. The method according to any one of claims 1 to 5, characterized in that According to obtaining the video or image information corresponding to the one or more pets photographed by the pet companion robot, identifying the one or more pets includes: Extracting key points of limb positions of the one or more pets in the video of the one or more pets; The action behaviors of the one or more pets are determined according to the key points.

7. The method according to any one of claims 1 to 5, characterized in that Also includes: It is determined that one of the following situations occurs in the environment where the one or more pets are located, and a reminder is issued: By using a preset image algorithm, the emission changes of objects at preset positions are determined; Through the sound recognition algorithm, it is determined that a preset abnormal situation has occurred and a sound or alarm sound is issued; By using a preset image algorithm, the one or more pets are not detected within a first preset time period; It is determined that within the second preset time period, the one or more pets are not eating.

8. A pet health management device, characterized in that: include: A first acquisition module is used to acquire physiological information corresponding to one or more pets; An identification module, configured to identify the one or more pets according to the video or image information corresponding to the one or more pets captured by the pet companion robot; The first determination module is used to determine the feeding method and the entertaining method of the identified pet based on the physiological information of the one or more pets, the amount of exercise of the one or more pets, the nutritional components of the pet food and the preset relationship with the identified pet.

9. The device according to claim 8, characterized in that The first determining module comprises: A first control module, used for controlling the pet companion robot to emit a first preset sound at a first preset time point, wherein the first preset sound is used for calling the pet to eat; The second control module is used to determine that the food intake of one of the one or more pets is greater than or equal to a preset food intake, and control the food bowl of the pet companion robot to shrink and refuse the pet to eat; or The recording module is used to determine that the food intake of one of the one or more pets is less than the preset food intake, and after the one pet finishes eating, record the difference between the food bowl before and after eating, As the food intake of this pet.

10. The device according to claim 8, characterized in that The first determination module includes: A third control module is used to control the pet companion robot to emit a second preset sound at a second preset time point when the identified pet meets a preset relationship, wherein the second preset sound is used to attract the pet to approach the pet companion robot; The fourth control module is used to control the pet companion robot to start a preset pet teasing mode when one of the one or more pets approaches the pet companion robot; wherein the duration of the pet teasing mode is determined according to the activity level of the pet.

11. The device according to claim 8, characterized in that The identification module comprises: A second acquisition module is used to acquire video or image information corresponding to the one or more pets, wherein the image information includes a frontal face photo, a left face photo, a right face photo, a left-view full-body photo, a right-view full-body photo, and a top-view full-body photo of the pet; A comparison module, configured to compare the video or image information corresponding to the one or more pets with a plurality of feature points of the one or more pets collected in advance according to a preset image algorithm, so as to identify the one or more pets; The feature points include: facial features of the pet, fur color of the pet, facial features of the pet, and limb features of the pet.

12. The device according to any one of claims 8 to 11, characterized in that The identification module comprises: An extraction module, used for extracting key points of the limb positions of the one or more pets in the video of the one or more pets; The second determination module is used to determine the action behaviors of the one or more pets according to the key points.

13. The device according to any one of claims 8 to 11, characterized in that Also includes: The first judgment module is used to judge that one of the following situations occurs in the environment where the one or more pets are located, and issue a reminder: The second judgment module judges that the object at the preset position has changed through a preset image algorithm; The third judgment module is used to determine through a sound recognition algorithm that a preset abnormal situation has occurred and emit a sound or an alarm sound; A detection module, configured to detect that the one or more pets are not present within a first preset time period by using a preset image algorithm; The fourth determination module is used to determine whether the one or more pets have not eaten within a second preset time period.

14. A pet companion robot, characterized in that: A pet health management device comprising the device according to any one of claims 8 to 13.

15. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes computer instructions, and when the computer instructions are executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 8.

16. A computer program product, characterized in that When the computer program product is run on a computer, the computer is caused to execute the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Control method of pet accompanying robot, pet accompanying robot and chip

    CN112775979A

  • Pet accompanying method and device and computer equipment

    CN113080094A

  • Pet care method and pet care robot based on pet recognition

    CN114051951A

  • Intelligent pet accompanying robot

    CN115648237A

  • In-home pet feeding and monitoring system

    US20150342143A1

Cited By

  • Pet state identification method and device, electronic equipment and computer readable medium

    CN119380417A