CN116369227A - Automatic pet feeding and management system - Google Patents
Automatic pet feeding and management system Download PDFInfo
- Publication number
- CN116369227A CN116369227A CN202310216001.9A CN202310216001A CN116369227A CN 116369227 A CN116369227 A CN 116369227A CN 202310216001 A CN202310216001 A CN 202310216001A CN 116369227 A CN116369227 A CN 116369227A
- Authority
- CN
- China
- Prior art keywords
- feeding
- pet
- target
- image
- amount
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000012545 processing Methods 0.000 claims abstract description 9
- 238000007781 pre-processing Methods 0.000 claims description 16
- 238000013459 approach Methods 0.000 claims description 6
- 238000000034 method Methods 0.000 abstract description 7
- 235000003166 Opuntia robusta Nutrition 0.000 description 2
- 244000218514 Opuntia robusta Species 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000008451 emotion Effects 0.000 description 2
- 230000037308 hair color Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 230000037213 diet Effects 0.000 description 1
- 235000005911 diet Nutrition 0.000 description 1
- 235000021045 dietary change Nutrition 0.000 description 1
- 210000005069 ears Anatomy 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000012840 feeding operation Methods 0.000 description 1
- 235000013305 food Nutrition 0.000 description 1
- 239000010794 food waste Substances 0.000 description 1
- 230000003741 hair volume Effects 0.000 description 1
- 230000003340 mental effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 210000004906 toe nail Anatomy 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
-
- A—HUMAN NECESSITIES
- A01—AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
- A01K—ANIMAL HUSBANDRY; CARE OF BIRDS, FISHES, INSECTS; FISHING; REARING OR BREEDING ANIMALS, NOT OTHERWISE PROVIDED FOR; NEW BREEDS OF ANIMALS
- A01K29/00—Other apparatus for animal husbandry
-
- A—HUMAN NECESSITIES
- A01—AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
- A01K—ANIMAL HUSBANDRY; CARE OF BIRDS, FISHES, INSECTS; FISHING; REARING OR BREEDING ANIMALS, NOT OTHERWISE PROVIDED FOR; NEW BREEDS OF ANIMALS
- A01K5/00—Feeding devices for stock or game ; Feeding wagons; Feeding stacks
- A01K5/02—Automatic devices
Landscapes
- Life Sciences & Earth Sciences (AREA)
- Environmental Sciences (AREA)
- Engineering & Computer Science (AREA)
- Animal Husbandry (AREA)
- Biodiversity & Conservation Biology (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Birds (AREA)
- Feeding And Watering For Cattle Raising And Animal Husbandry (AREA)
Abstract
The invention discloses an automatic pet feeding management system, which relates to the technical neighborhood of pet feeding, and comprises: the device comprises an acquisition module, an identification module, a processing module and a feeding module. According to the pet feeding method, based on the image recognition model, the pet category and the pet characteristics are determined according to the pet image, the target pet is further determined, the current feeding amount and the feeding height of the target pet are adjusted in real time by considering the historical feeding condition and the standard feeding data of the target pet, the accurate control of the feeding amount and the feeding height of the pet is improved, the health of the pet is ensured, the automation of feeding of the pet is realized, and the user experience is improved.
Description
Technical Field
The invention relates to the technical field of pet feeding, in particular to an automatic pet feeding and management system.
Background
With the rapid development of economy and the continuous improvement of living standard, the psychological pressure and the mental pressure born by people are greatly increased compared with the prior art, so that some entertainment, leisure and emotion hosting modes are urgently needed, pet raising becomes one of the main emotion hosting modes of people, and people even start to take the pets as a part of families. However, due to the busyness of life and work, people have to leave the pet in an unmanned home, so how to feed the pet when it is alone at home becomes a concern.
At present, there are two ways to feed pets: one is a traditional pet feeding dinner plate adopted by people, a pet owner needs to feed a pet at a specific time, but when the pet owner is not at home, the pet dinner plate can not solve the problem of continuously providing food for the pet for many times; on the other hand, people have begun to employ some automatic feeding devices to ensure that pets can be fed multiple times when not at home, for example: the video is adopted to remotely monitor the condition of the pet to carry out corresponding feeding operation, or the feeding condition is determined according to the detected movement condition of the pet,
however, the methods only realize automatic feeding of the pet, the feeding amount of each time is fixed, the diet change rule of the pet is not considered, and the methods still need the pet owner to consume a certain energy to obtain the real-time state of the pet and feed the pet to a certain extent.
Accordingly, there is a need in the art to provide an automated feeding management system that addresses the above-described problems.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides an automatic pet feeding management system, which aims at solving the problems that the conventional feeding cannot take the change of diet rules of pets into consideration, the feeding height cannot be adjusted and the like.
The technical scheme of the invention is as follows: an automatic pet feeding management system comprising:
the acquisition module is used for acquiring the pet image;
the identification module is used for preprocessing the image of the pet, inputting the preprocessed image into the pet identification model to obtain the pet type and the pet characteristics, and determining a target pet from a pet database according to the pet type and the pet characteristics, wherein the pet characteristics at least comprise height;
the processing module is used for determining a target feeding amount and a target feeding height according to the feeding standard and the historical feeding data of the target pet;
and the feeding module is used for controlling the grain output of the feeder according to the target feeding quantity and controlling the height of the feeding basin according to the target feeding height so as to realize automatic feeding of the target pet.
Preferably, the acquisition module is specifically configured to:
detecting whether a pet approaches, starting a camera when the pet approaches and stays for a preset period of time, and collecting a pet image through the camera.
Preferably, the identification module is specifically configured to:
carrying out graying treatment on the pet image to obtain a graying image, carrying out edge treatment on the graying image based on a Sobel operator to obtain an edge contour image of a pet foreground object, carrying out edge contour image treatment to obtain a maximum circumscribed rectangle, and digging out the foreground object from the original image based on the maximum circumscribed rectangle to obtain a first preprocessing image, wherein the first preprocessing image is at least three groups;
and dividing the first preprocessed image according to a preset dividing algorithm to obtain a second preprocessed image.
Preferably, the identification module is specifically configured to:
inputting the first preprocessing image into a first pet identification model to obtain a pet category;
inputting the second preprocessed image into a second pet identification model to obtain original local pet characteristics, and fusing the original local characteristics to obtain local pet characteristics;
inputting the first preprocessing image into a third pet identification model to obtain integral pet characteristics;
and correcting the overall pet characteristics based on the local pet characteristics to obtain pet characteristics.
Preferably, the processing module is specifically configured to:
determining an estimated interval time according to the feeding standard and the historical feeding data of the target pet, and determining whether the current time is feeding time according to the difference value between the current interval time and the estimated interval time;
and when the current time is the feeding time, determining a feeding interval of the current feeding time, and determining a target feeding amount and a target feeding height according to the interval section, the feeding standard of the target pet and the historical feeding data.
Preferably, the feeding standard comprises a standard feeding amount, and the historical feeding data comprises a feeding amount of last feeding, a residual amount of last feeding, a feeding time of last feeding, a feeding height of last feeding and a historical height.
Preferably, the formula for determining the estimated interval time based on the feeding criteria and the historical feeding data for the target pet is:
wherein f amount The standard feeding amount of the ith feeding interval is represented by f, the feeding amount of the last feeding is represented by Δt, the standard interval time of the ith feeding interval is represented by Δt, and the estimated interval time of the last feeding and the current feeding is represented by Δt.
Preferably, the formula for determining the target feeding amount according to the interval section, the feeding standard and the historical feeding data of the target pet is as follows:
f g-amount =rf j-amount +f 0
wherein r represents the feeding rate, f g-amount Indicating the target feeding amount, f j-amount Standard feeding quantity, f, representing the j-th feeding interval 0 Indicating the remaining amount of the last feeding.
The beneficial effects of the invention are as follows: according to the pet feeding method, based on the image recognition model, the pet category and the pet characteristics are determined according to the pet image, the target pet is further determined, the current feeding amount and the feeding height of the target pet are adjusted in real time by considering the historical feeding condition and the standard feeding data of the target pet, the accurate control of the feeding amount and the feeding height of the pet is improved, the health of the pet is ensured, the automation of feeding of the pet is realized, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. Like elements or portions are generally identified by like reference numerals throughout the several figures. In the drawings, elements or portions thereof are not necessarily drawn to scale.
Fig. 1 is a schematic structural diagram of an automatic pet feeding management system according to an embodiment of the present invention.
Detailed Description
Embodiments of the technical scheme of the present invention will be described in detail below with reference to the accompanying drawings. The following examples are only for more clearly illustrating the technical aspects of the present invention, and thus are merely examples, and are not intended to limit the scope of the present invention.
It is noted that unless otherwise indicated, technical or scientific terms used herein should be given the ordinary meaning as understood by one of ordinary skill in the art to which this invention pertains.
As shown in fig. 1, fig. 1 is a schematic structural diagram of an automatic pet feeding management system according to an embodiment of the present invention, where the system includes:
the acquisition module is used for acquiring the pet image;
specifically, whether the pet approaches is detected through the sensing device arranged on the feeder, the sensing device comprises, but is not limited to, any one of an infrared sensor and a distance sensor, when the pet is detected to approach and stay for a preset period of time, the camera is started, and the image of the pet is acquired through the camera.
The preset duration is set according to the residence habit of the pet of the user, and is not limited in the embodiment of the invention.
In addition, the pet image that the camera gathered is 3 at least, specifically, the pet image that the camera gathered is 3, just three images all need include the whole profile of pet, and too much can increase the recognition quantity, and too little can lead to pet category and pet characteristic recognition inaccuracy, even discernment mistake.
The identification module is used for preprocessing the image of the pet, inputting the preprocessed image into the pet identification model to obtain the pet category and the pet characteristic, and determining a target pet from a pet database according to the pet category and the pet characteristic;
wherein the pet characteristics include height, and may further include one or more of weight, hair color, hair curl, and hair volume, without limitation in embodiments of the present invention.
In an embodiment of the present invention, the identification module is specifically configured to: carrying out graying treatment on the pet image to obtain a graying image, carrying out edge treatment on the graying image based on a Sobel operator to obtain an edge contour image of a pet foreground object, carrying out edge contour image treatment to obtain a maximum circumscribed rectangle, and digging out the foreground object from the original image based on the maximum circumscribed rectangle to obtain a first preprocessing image, wherein the first preprocessing image is at least three groups; and dividing the first preprocessed image according to a preset dividing algorithm to obtain a second preprocessed image.
According to the embodiment of the invention, the pet image is preprocessed, so that the image recognition efficiency and accuracy are improved, specifically, the edge extraction is carried out on the pet image through the Sobel operator, the foreground significant target is extracted, the interference of background information is filtered out for extracting local features for subsequent image recognition, and the accuracy of pet classification is improved; in addition, the pet image is segmented through a preset segmentation algorithm, so that a partial image containing eyes, nose, ears, mouth, teeth, back, tail, sole, toenails and other parts is obtained, and the accuracy of feature recognition of the pet is improved.
It should be further noted that after the first preprocessed image and the second preprocessed image are obtained, the method further includes: and uniformly adjusting the size of the preprocessed image by using a bilinear interpolation method, so that the size of the preprocessed image meets the input requirement of the pet identification model.
In an embodiment of the present invention, the identification module is specifically configured to: inputting the first preprocessing image into a first pet identification model to obtain a pet category; inputting the second preprocessed image into a second pet identification model to obtain original local pet characteristics, and fusing the original local characteristics to obtain local pet characteristics; inputting the first preprocessing image into a third pet identification model to obtain integral pet characteristics; and correcting the overall pet characteristics based on the local pet characteristics to obtain pet characteristics.
Since the number of the pet images collected at the beginning is multiple, a plurality of second preprocessed images can be obtained after the processing of the multiple pet images, which is equivalent to obtaining a plurality of local images representing the same part, inputting the images into the second pet identification model, obtaining a plurality of pet features of the same part, fusing the features to obtain local pet features, and providing data support for the correction of the overall pet features. And because the initially acquired pet image is a dynamic image of the pet, deviation can occur, so the embodiment of the invention corrects the whole number by local data so as to ensure the accuracy of feature identification.
The processing module is used for determining a target feeding amount and a target feeding height according to the feeding standard and the historical feeding data of the target pet;
in an embodiment of the present invention, the processing module is specifically configured to: determining an estimated interval time according to the feeding standard and the historical feeding data of the target pet, and determining whether the current time is feeding time according to the difference value between the current interval time and the estimated interval time; and when the current time is the feeding time, determining a feeding interval of the current feeding time, and determining a target feeding amount and a target feeding height according to the interval section, the feeding standard of the target pet and the historical feeding data.
Specifically, the feeding criteria include a standard feeding amount, and the historical feeding data includes a last feeding amount, a last feeding remaining amount, a last feeding time, a last feeding height, a historical height, and of course, in some embodiments, the historical feeding data may further include historical hair color, historical Mao Fajuan degrees, and the like.
Specifically, the formula for determining the estimated interval time according to the feeding standard and the historical feeding data of the target pet is as follows:
wherein f amount The standard feeding amount of the ith feeding interval is represented by f, the feeding amount of the last feeding is represented by Δt, the standard interval time of the ith feeding interval is represented by Δt, and the estimated interval time of the last feeding and the current feeding is represented by Δt.
Specifically, the formula for determining the target feeding amount according to the interval section, the feeding standard and the historical feeding data of the target pet is as follows:
f g-amount =rf j-amount +f 0
wherein r represents the feeding rate, f g-amount Indicating the target feeding amount, f j-amount Standard feeding quantity, f, representing the j-th feeding interval 0 Indicating the remaining amount of the last feeding.
The embodiment of the invention considers the recent feeding rate, the feeding residual quantity and the standard feeding quantity in different stages of the pet, and specifically customizes the feeding quantity for the pet, thereby avoiding food waste and ensuring the health of the pet.
And the feeding module is used for controlling the grain output of the feeder according to the target feeding quantity and controlling the height of the feeding basin according to the target feeding height so as to realize automatic feeding of the target pet.
In summary, an embodiment of the present invention provides an automatic pet feeding management system, including: the acquisition module is used for acquiring the pet image; the identification module is used for preprocessing the image of the pet, inputting the preprocessed image into the pet identification model to obtain the pet category and the pet characteristic, and determining a target pet from a pet database according to the pet category and the pet characteristic; the processing module is used for determining a target feeding amount and a target feeding height according to the feeding standard and the historical feeding data of the target pet; and the feeding module is used for controlling the grain output of the feeder according to the target feeding quantity and controlling the height of the feeding basin according to the target feeding height so as to realize automatic feeding of the target pet. According to the pet feeding method, based on the image recognition model, the pet category and the pet characteristics are determined according to the pet image, the target pet is further determined, the current feeding amount and the feeding height of the target pet are adjusted in real time by considering the historical feeding condition and the standard feeding data of the target pet, the accurate control of the feeding amount and the feeding height of the pet is improved, the health of the pet is ensured, the automation of feeding of the pet is realized, and the user experience is improved.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention, and are intended to be included within the scope of the appended claims and description.
Claims (8)
1. An automatic pet feeding management system, comprising:
the acquisition module is used for acquiring the pet image;
the identification module is used for preprocessing the image of the pet, inputting the preprocessed image into the pet identification model to obtain the pet type and the pet characteristics, and determining a target pet from a pet database according to the pet type and the pet characteristics, wherein the pet characteristics at least comprise height;
the processing module is used for determining a target feeding amount and a target feeding height according to the feeding standard and the historical feeding data of the target pet;
and the feeding module is used for controlling the grain output of the feeder according to the target feeding quantity and controlling the height of the feeding basin according to the target feeding height so as to realize automatic feeding of the target pet.
2. The pet feeding automatic management system of claim 1, wherein the acquisition module is specifically configured to:
detecting whether a pet approaches, starting a camera when the pet approaches and stays for a preset period of time, and collecting a pet image through the camera.
3. The pet feeding automatic management system of claim 1, wherein the identification module is specifically configured to:
carrying out graying treatment on the pet image to obtain a graying image, carrying out edge treatment on the graying image based on a Sobel operator to obtain an edge contour image of a pet foreground object, carrying out edge contour image treatment to obtain a maximum circumscribed rectangle, and digging out the foreground object from the original image based on the maximum circumscribed rectangle to obtain a first preprocessing image, wherein the first preprocessing image is at least three groups;
and dividing the first preprocessed image according to a preset dividing algorithm to obtain a second preprocessed image.
4. A pet feeding automatic management system according to claim 3, wherein said identification module is specifically configured to:
inputting the first preprocessing image into a first pet identification model to obtain a pet category;
inputting the second preprocessed image into a second pet identification model to obtain original local pet characteristics, and fusing the original local characteristics to obtain local pet characteristics;
inputting the first preprocessing image into a third pet identification model to obtain integral pet characteristics;
and correcting the overall pet characteristics based on the local pet characteristics to obtain pet characteristics.
5. The pet feeding automatic management system of claim 1, wherein the processing module is specifically configured to:
determining an estimated interval time according to the feeding standard and the historical feeding data of the target pet, and determining whether the current time is feeding time according to the difference value between the current interval time and the estimated interval time;
and when the current time is the feeding time, determining a feeding interval of the current feeding time, and determining a target feeding amount and a target feeding height according to the interval section, the feeding standard of the target pet and the historical feeding data.
6. The automatic pet feeding management system of claim 5, wherein the feeding criteria comprises a standard feeding amount, and the historical feeding data comprises a last feeding amount, a last feeding remaining amount, a last feeding time, a last feeding height, and a historical height.
7. The automatic pet feeding management system of claim 6, wherein the formula for determining the estimated interval time based on the feeding criteria and the historical feeding data of the target pet is:
wherein f amount The standard feeding amount of the ith feeding interval is represented by f, the feeding amount of the last feeding is represented by Δt, the standard interval time of the ith feeding interval is represented by Δt, and the estimated interval time of the last feeding and the current feeding is represented by Δt.
8. The automatic pet feeding management system of claim 7, wherein the formula for determining the target feeding amount based on the block and the target pet feeding criteria and historical feeding data is:
f g-amount =rf j-amount +f 0
wherein r represents the feeding rate, f g-amount Indicating the target feeding amount, f j-amount Standard feeding quantity, f, representing the j-th feeding interval 0 Indicating the remaining amount of the last feeding.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310216001.9A CN116369227A (en) | 2023-03-02 | 2023-03-02 | Automatic pet feeding and management system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310216001.9A CN116369227A (en) | 2023-03-02 | 2023-03-02 | Automatic pet feeding and management system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116369227A true CN116369227A (en) | 2023-07-04 |
Family
ID=86972171
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310216001.9A Pending CN116369227A (en) | 2023-03-02 | 2023-03-02 | Automatic pet feeding and management system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116369227A (en) |
-
2023
- 2023-03-02 CN CN202310216001.9A patent/CN116369227A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109389161B (en) | Garbage identification evolutionary learning method, device, system and medium based on deep learning | |
CN106778902B (en) | Dairy cow individual identification method based on deep convolutional neural network | |
CN110598658B (en) | Convolutional network identification method for sow lactation behaviors | |
EP3606041B1 (en) | Method and system for assisting a user in producing and selecting images | |
Lu et al. | An automatic splitting method for the adhesive piglets’ gray scale image based on the ellipse shape feature | |
CN112861734A (en) | Trough food residue monitoring method and system | |
CN116912025A (en) | Livestock breeding information comprehensive management method and system based on cloud edge cooperation | |
CN111353416A (en) | Posture detection method, system and storage medium based on livestock three-dimensional measurement | |
CN114419321B (en) | CT image heart segmentation method and system based on artificial intelligence | |
KR20200071597A (en) | Prediction method and the apparatus for onset time of sow farrowing by image analysis | |
Kuan et al. | An imaging system based on deep learning for monitoring the feeding behavior of dairy cows | |
CN116369227A (en) | Automatic pet feeding and management system | |
CN111914792A (en) | Video monitoring and processing method and device, electronic equipment and storage medium | |
CN111414811A (en) | Pig drinking water monitoring system and method | |
Kotian et al. | Cotton leaf disease detection using machine learning | |
CN115619823A (en) | Object putting method, device, terminal and computer readable storage medium | |
KR102355681B1 (en) | Method for providing management guidline based on feeding standard | |
Yang et al. | Automated Recognition and Classification of Cat Pain Through Deep Learning | |
CN111567427A (en) | Automatic feeder, system and method based on pig face recognition technology | |
CN109242219B (en) | Prediction method and prediction device for layer feeding behavior | |
KR20210058396A (en) | Electronic apparatus and method for controlling thereof | |
KR102655958B1 (en) | System for feeding multiple dogs using machine learning and method therefor | |
Jeyabharathi et al. | Smart Fish Feeding System based on Fish Feeding Intensity | |
CN115984145B (en) | Precise fish-passing identification method for fishway | |
US20220284698A1 (en) | System and method for identifying lengths of particles |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |