Infant abnormal condition detection method, infant bed, electronic equipment and storage medium

Collect temperature arrays and build a two -value diagram through the infrared somatosensory sensor to solve the inaccurate detection and blind spots of the traditional temperature measurement sensor, and achieve more accurate and detailed infant temperature monitoring and abnormal judgments.

CN119374731APending Publication Date: 2025-01-28QINGDAO GUOCHUANG INTELLIGENT HOME APPLIANCES RES INSTITU
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310896159.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-20
Publication Date
2025-01-28

AI Technical Summary

Technical Problem

Existing infant monitoring products use traditional temperature measurement sensors, which have problems with inaccurate temperature detection and blind spots, making it difficult to achieve detailed and accurate baby temperature monitoring.

Method used

Use the infrared overall sensor to collect temperature arrays. By constructing a two -value diagram of the temperature array to determine whether the baby is abnormal, covering the blind area caused by the baby's turn over and other behaviors.

Benefits of technology

A wider range of monitoring scope and more accurate judgment can be achieved, which can detect the abnormal conditions of the baby in time, and improve the meticulous and safety of baby care.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119374731A_ABST
    Figure CN119374731A_ABST
Patent Text Reader

Abstract

The invention relates to the field of monitoring equipment, and particularly provides a baby abnormal condition detection method, which comprises the following steps: acquiring a temperature array acquired by an infrared array sensor; constructing a temperature array binary image based on the temperature array; and determining whether the infant has an abnormal condition based on the temperature array binary image. According to the method, firstly, the temperature array is collected through the infrared array sensor, then the temperature array binary image is constructed based on the temperature array, and whether an abnormal condition exists in a baby currently or not is known through the temperature array binary image. Temperature collection covers a detection blind area caused by behaviors such as infant turning over, the monitoring range is wide, judgment is more accurate, the abnormal condition of an infant can be perceived in time, and a more detailed and safer nursing function is achieved when the infant sleeps at night or a nurse is not around.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of monitoring equipment, and specifically provides a method for detecting abnormal conditions of infants, a baby crib, an electronic device and a storage medium. Background Art

[0002] At present, the temperature measurement baby monitoring products on the market use traditional temperature measurement sensors, and the temperature detection can only detect the temperature within a point range; at the same time, due to the installation location, the detected temperature value reflects the temperature around the baby, rather than the temperature of the measured target, and there is a temperature difference of 2 to 4 degrees, which sometimes leads to incorrect judgment of the baby's body temperature, false detection or missed detection. In addition, since the baby may turn over when sleeping, the baby will appear in the blind area of ​​the temperature measurement sensor, resulting in the temperature measurement sensor being unable to detect the baby's body temperature in time, and it is difficult to achieve detailed and accurate temperature detection during the baby care process.

[0003] Accordingly, the art needs a new solution for detecting abnormal conditions of infants to solve the above problems. Summary of the invention

[0004] In order to overcome the above defects, the present invention is proposed to provide a solution or at least partially solve the above technical problems.

[0005] In a first aspect, the present invention provides a method for detecting abnormal conditions of infants, the method comprising:

[0006] Obtain a temperature array collected by an infrared array sensor;

[0007] Constructing a temperature array binary image based on the temperature array;

[0008] It is determined whether the baby has an abnormal condition based on the temperature array binary image.

[0009] In one technical solution, constructing a temperature array binary map based on the temperature array includes:

[0010] Binarizing the temperature array based on a preset temperature threshold to obtain a first preset value and a second preset value;

[0011] Using the first preset value as a foreground pixel and using the second preset value as a background pixel;

[0012] A temperature array binary image is constructed based on the foreground pixels and the background pixels.

[0013] In one technical solution, determining whether the baby has an abnormal condition based on the temperature array binary image includes:

[0014] Acquire the connected area of ​​the exposed body parts of the infant based on the temperature array binary map;

[0015] Calculating the area of ​​the connected region;

[0016] It is determined whether the infant has an abnormal condition based on the area of ​​the connected region.

[0017] In one technical solution, the abnormal condition includes a kicking quilt condition;

[0018] The determining whether the infant has an abnormal condition based on the area of ​​the connected region includes:

[0019] Identify the baby's exposed body parts;

[0020] Acquire a corresponding first preset threshold value based on the exposed body part of the infant;

[0021] Determining whether the area of ​​the connected region is greater than a first preset threshold;

[0022] If so, it is determined that the baby is kicking the quilt.

[0023] In one technical solution, the method further includes:

[0024] Determining whether the exposure time of the body part is greater than a second preset threshold;

[0025] If so, it is determined that the baby is kicking the quilt.

[0026] In one technical solution, the abnormal condition includes a condition where the head is covered;

[0027] The determining whether the infant has an abnormal condition based on the area of ​​the connected region includes:

[0028] Identify the baby's exposed body parts;

[0029] When the body parts do not include the head, obtain the duration of time when the head is not exposed;

[0030] Determining whether the head is not exposed for a period of time that exceeds a third preset threshold;

[0031] If yes, it is determined that the baby's head is covered. In one technical solution, the step of determining the exposed body parts of the baby includes:

[0032] Calculating the perimeter of the connected area;

[0033] determining a circularity of the connected region based on the area and the perimeter of the connected region;

[0034] The exposed body part of the infant is determined based on the area and circularity of the connected region.

[0035] In a second aspect, the present invention provides a crib, comprising a crib body, the crib further comprising:

[0036] Infrared array sensor, used to collect temperature array;

[0037] The controller is used to obtain a temperature array collected by an infrared array sensor; construct a temperature array binary map based on the temperature array; and determine whether the baby has an abnormal condition based on the temperature array binary map.

[0038] In a third aspect, a control device is provided, which includes a processor and a storage device, wherein the storage device is suitable for storing multiple program codes, and the program codes are suitable for being loaded and run by the processor to execute the infant abnormal condition detection method described in any one of the technical solutions of the above-mentioned infant abnormal condition detection method.

[0039] In a fourth aspect, a computer-readable storage medium is provided, wherein a plurality of program codes are stored therein, wherein the program codes are suitable for being loaded and run by a processor to execute the method for detecting an abnormal condition of an infant as described in any one of the technical solutions of the above-mentioned method for detecting an abnormal condition of an infant.

[0040] The above one or more technical solutions of the present invention have at least one or more of the following beneficial effects:

[0041] The present invention provides a method for detecting abnormal conditions of infants, the method comprising: obtaining a temperature array collected by an infrared array sensor; constructing a temperature array binary map based on the temperature array; and determining whether the infant is in an abnormal condition based on the temperature array binary map. The present invention first collects the temperature array through an infrared array sensor, and then constructs a temperature array binary map based on the temperature array, and obtains information on whether the infant is currently in an abnormal condition through the temperature array binary map. The temperature collection of the present invention covers the detection blind spots caused by the infant's turning over and other behaviors, has a wide monitoring range, and makes more accurate judgments. It can detect the infant's abnormal condition in time, and achieve a more detailed and safe care function when the infant is sleeping at night or when the caregiver is not around. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The disclosure of the present invention will become more easily understood with reference to the accompanying drawings. It is easy for those skilled in the art to understand that these drawings are only for illustrative purposes and are not intended to limit the scope of protection of the present invention. In addition, similar numbers in the figures are used to represent similar components, among which:

[0043] Figure 1 is a flow chart of main steps of a method for detecting abnormal conditions of infants according to an embodiment of the present invention;

[0044] Figure 2is a schematic diagram of the complete steps of a method for detecting abnormal conditions of infants according to an embodiment of the present invention;

[0045] Figure 3 is a schematic diagram of the main structure of a baby crib according to an embodiment of the present invention;

[0046] Figure 4 is a schematic structural block diagram of a baby crib according to another embodiment of the present invention;

[0047] Figure 5 It is a schematic diagram of the structure of an electronic device in one embodiment of the present invention.

[0048] Reference numerals list :

[0049] 11: crib body; 12: infrared array sensor; 13: controller. DETAILED DESCRIPTION

[0050] Some embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.

[0051] In the description of the present invention, "module" and "processor" may include hardware, software or a combination of the two. A module may include hardware circuits, various suitable sensors, communication ports, and memories, and may also include software parts, such as program codes, or a combination of software and hardware. The processor may be a central processing unit, a microprocessor, an image processor, a digital signal processor, or any other suitable processor. The processor has data and / or signal processing functions. The processor may be implemented in software, hardware, or a combination of the two. Non-temporary computer-readable storage media include any suitable medium that can store program codes, such as a magnetic disk, a hard disk, an optical disk, a flash memory, a read-only memory, a random access memory, and the like. The term "A and / or B" means all possible combinations of A and B, such as only A, only B, or A and B. The term "at least one A or B" or "at least one of A and B" has a similar meaning to "A and / or B", and may include only A, only B, or A and B. The singular terms "one" and "the" may also include plural forms.

[0052] At present, the temperature measurement baby monitoring products on the market use traditional temperature measurement sensors, and the temperature detection can only detect the temperature within a point range; at the same time, due to the installation location, the detected temperature value reflects the temperature around the baby, rather than the temperature of the measured target, and there is a temperature difference of 2 to 4 degrees, which sometimes leads to incorrect judgment of the baby's body temperature, false detection or missed detection. In addition, since the baby may turn over when sleeping, the baby will appear in the blind area of ​​the temperature measurement sensor, resulting in the temperature measurement sensor being unable to detect the baby's body temperature in time, and it is difficult to achieve detailed and accurate temperature detection during the baby care process.

[0053] To this end, the present invention provides a method for detecting abnormal conditions of infants, the method comprising: obtaining a temperature array collected by an infrared array sensor; constructing a temperature array binary map based on the temperature array; and determining whether the infant is in an abnormal condition based on the temperature array binary map. The present invention first collects the temperature array through an infrared array sensor, and then constructs a temperature array binary map based on the temperature array, and obtains information through the temperature array binary map whether the infant is currently in an abnormal condition. The temperature collection of the present invention covers the detection blind spots caused by the infant's turning over and other behaviors, has a wide monitoring range, and makes more accurate judgments. It can detect the infant's abnormal behavior in a timely manner, and achieve a more detailed and safe care function when the infant is sleeping at night or the caregiver is not around.

[0054] See attached Figure 1 , Figure 1 1 is a flow chart of main steps of a method for detecting abnormal conditions of infants according to an embodiment of the present invention.

[0055] like Figure 1 As shown, the method for detecting abnormal conditions of infants in the embodiment of the present invention mainly includes the following steps S100 to S300.

[0056] Step S100: Acquire a temperature array collected by an infrared array sensor.

[0057] In this embodiment, the temperature array is first collected by using an infrared array sensor. The infrared array sensor can be a thermopile infrared array sensor. The temperature distribution of the crib can be collected by the thermopile infrared array sensor. Each temperature corresponds to the temperature of the area projected by a pixel. The temperature collected by the crib is changed from the temperature value of the detection point to the temperature value of the detection area. The detection content is more substantial and the amount of data is larger.

[0058] Step S200: constructing a temperature array binary image based on the temperature array.

[0059] In this embodiment, a temperature array binary map is constructed based on the collected temperature array, and data matching the human body temperature and the ambient temperature in the temperature array are distinguished to construct the temperature array binary map.

[0060] Step S300: determining whether the baby has an abnormal condition based on the temperature array binary image.

[0061] In this embodiment, whether the baby is currently in an abnormal condition is analyzed based on the obtained temperature array binary image, and further processing is performed on the abnormal condition.

[0062] Based on the above steps S100 to S300, by collecting the temperature array and constructing a temperature array binary map according to the temperature array, and then judging whether the baby is in an abnormal condition based on the temperature array binary map, the baby's abnormal behavior can be detected in time, and a more detailed and safe care function can be achieved when the baby is sleeping at night or the caregiver is not around. In addition, the use of infrared array sensors for temperature collection can cover the detection blind spots caused by the baby's turning over and other behaviors, with a wide monitoring range and more accurate judgment.

[0063] The above steps S100 to S300 are further explained below.

[0064] In one embodiment, for step S100, a temperature array collected by an infrared array sensor is obtained. Specifically, the temperature distribution of the crib can be collected by the thermopile infrared array sensor, and each temperature corresponds to the temperature of the area projected by a pixel, thereby avoiding the problem that a traditional temperature measurement crib usually uses a single temperature measurement sensor to monitor the temperature of the crib, and when the baby appears in the blind area of ​​the temperature measurement sensor due to rolling over or other behaviors, the temperature measurement sensor cannot detect the baby's body temperature change in time.

[0065] For step S200, in one embodiment, constructing a temperature array binary image based on the temperature array includes: binarizing the temperature array based on a preset temperature threshold to obtain a first preset value and a second preset value; using the first preset value as a foreground pixel and the second preset value as a background pixel; and constructing a temperature array binary image based on the foreground pixels and the background pixels.

[0066] Specifically, the collected temperature array T is processed according to the preset temperature threshold. ij Binarization is performed. In this embodiment, the preset temperature threshold is set to 35°, and 35° is used to distinguish the temperature array T ij The human body temperature and the ambient temperature in the temperature array are greater than 35°T ij The value of is set to the first preset value, the first preset value is 1, and the T values ​​less than 35° in the temperature array are ij The value of is set to a second preset value, the second preset value is 0, and then the pixels of the first preset value are used as foreground pixels, and the pixels of the second preset value are used as background pixels. It can be understood that the pixel color of the first preset value is white, and the pixel color of the second preset value is black, and then a temperature array binary image is constructed based on the foreground pixels and the background pixels.

[0067] The above is the description of step S100 and step S200 , and the following will further describe step S300 .

[0068] With respect to step S300, in one embodiment, determining whether the infant has an abnormal condition based on the temperature array binary image includes: obtaining a connected area of ​​the infant's exposed body parts based on the temperature array binary image; calculating the area of ​​the connected area; and judging whether the infant has an abnormal condition based on the area of ​​the connected area.

[0069] Specifically, the obtained temperature array binary image is first marked by a one-step marking method to obtain the connected area of ​​the exposed body parts of the infant, and then the area of ​​the connected area of ​​the exposed body parts of the infant is calculated, and based on the area of ​​the connected area, it is determined whether the infant has an abnormal condition.

[0070] The one-step labeling method specifically includes the following steps:

[0071] (1) Starting from the first pixel in the temperature array binary image, set the label of the current pixel to 1 and execute step (2).

[0072] (2) If this pixel is a foreground pixel but has not been labeled, label it with the current label and add it as the first element in the queue, then perform step (3). If it is a background pixel or has been labeled, repeat step (2) for the next pixel in the image.

[0073] (3) Pop an element from the queue and check its neighborhood. If the neighborhood is a foreground pixel and has not been labeled, give it the current label and add it to the queue. Repeat step (3) until there are no more elements in the queue.

[0074] (4) Return to step (2) to obtain the next pixel in the image and increase the current label by 1. Calculate the area S of the connected region based on the labeled temperature array binary map:

[0075] S = ∫∫b(x,y)dxdy

[0076] Among them, b(x,y) represents the value of each coordinate pixel of the temperature array binary image, which is 1 or 0. 1 represents the exposed body part of the baby, and 0 represents the baby's no exposed body part. dx,dy represent the width and length of the pixel.

[0077] In one embodiment, the abnormal condition includes a kicking-off condition; the judging whether the infant has an abnormal condition based on the area of ​​the connected region includes: determining the exposed body parts of the infant; obtaining a corresponding first preset threshold based on the exposed body parts of the infant; judging whether the area of ​​the connected region is greater than the first preset threshold; and if so, determining that the infant has kicked-off the quilt.

[0078] In one embodiment, the method further includes: determining the exposed body part of the infant; judging whether the exposure time of the body part is greater than a second preset threshold; and if so, determining that the infant is kicking off the quilt.

[0079] Specifically, multiple first preset thresholds are preset according to different exposed body parts. For example, when the exposed parts are arms or legs except the baby's head, the first preset threshold is appropriately increased; when the exposed parts are the trunk, the first preset threshold is appropriately reduced. The trunk includes the abdomen, chest, and pelvis. When the arms or legs are exposed, the impact on the baby's sleep is small. The exposure of the abdomen, chest, pelvis and other trunk parts will cause diarrhea, waist pain and other conditions in the baby. Therefore, each body part corresponds to a second preset threshold. When it is determined that the exposed body part of the baby is the arms or legs, the corresponding second preset threshold should be appropriately increased; when it is determined that the exposed body part of the baby is the trunk, the corresponding second preset threshold should be appropriately reduced.

[0080] The connected area of ​​the baby's exposed body parts is obtained through the temperature array binary map, and then the area of ​​the baby's exposed body parts is calculated through the connected area. Finally, it is determined whether the baby is in a kicking-off state based on the area of ​​the exposed body parts. The baby's kicking-off behavior can be detected in time, and it is judged whether the exposed body parts will affect the baby's health, thereby achieving more meticulous care functions.

[0081] After the exposed body parts of the baby are determined, the exposure time of the exposed body parts of the baby is obtained to determine whether the exposure time exceeds a second preset threshold corresponding to the exposed body parts. If so, it is determined that the baby has kicked off the quilt.

[0082] The connected area of ​​the baby's exposed body parts is obtained through the temperature array binary map, and then the area of ​​the baby's exposed body parts is calculated through the connected area. The baby's exposed body parts are determined according to the area and circularity of the exposed body parts, and combined with the exposure time of the exposed body parts, it is judged whether the baby is in a kicking quilt state. The kicking quilt detection accuracy is improved, the baby's kicking quilt behavior can be detected in time, and it can be judged whether the exposed body parts will affect the baby's health, realizing more meticulous care functions.

[0083] In one embodiment, the abnormal condition includes a condition where the head is covered; the judging whether the infant is in an abnormal condition based on the area of ​​the connected region includes: determining the exposed body parts of the infant; when the body parts do not include the head, obtaining the length of time the head is not exposed; judging whether the length of time the head is not exposed exceeds a third preset threshold; if so, determining that the infant's head is covered.

[0084] Specifically, first determine the exposed body parts of the baby. If the exposed body parts of the baby do not include the head, obtain the length of time the baby's head is not exposed. When the length of time the baby's head is not exposed exceeds a third preset threshold for the head being covered, determine that the baby is in a head-covered condition.

[0085] By determining whether the exposed body parts of the infant include the head, and obtaining the length of time the head is not exposed when the head is not exposed, when the length of time the head is not exposed exceeds the preset length of time, it is determined that the infant is currently in a state of having its head covered, and further reminder operations are taken. This can promptly remind the guardian of the infant's abnormal condition and avoid dangers such as suffocation caused by the infant's head being covered.

[0086] In one embodiment, determining the exposed body part of the infant includes: calculating the perimeter of the connected area; determining the circularity of the connected area based on the area and the perimeter of the connected area; and determining the exposed body part of the infant based on the area and the circularity of the connected area.

[0087] Specifically, the area S of the connected area is first used to calculate the perimeter of the connected area of ​​the exposed body part. The perimeter of the connected area is the total length of the outer boundary pixels of the area S of the connected area, which is defined as P. Then, the circularity C of the connected area is calculated using the area S and the perimeter P of the connected area through the circularity calculation formula. The circularity is an indicator to measure the circularity of the connected area, which is between 0 and 1. The calculation formula of the circularity is:

[0088] C=4π·S / P 2

[0089] When C is 1, the connected area is a circle; the smaller C is, the greater the difference between the connected area and the circle. The circularity C of the connected area can be used to distinguish whether the exposed body part is an arm, a leg or a torso. The circularity of the arm is the smallest, followed by the leg and the torso, and the circularity of the head is the largest. The exposed body part of the baby is determined based on the area of ​​the connected area and the first preset threshold of the preset multiple exposed body parts, as well as the circularity of the connected area and the circularity range of the corresponding body part.

[0090] For example, set the roundness thresholds of the head, arms, legs, and torso to σ respectively. 头部 , σ 手臂 , σ 腿部, σ 躯干 , the body part area threshold is γ 手臂 , γ 腿部 , γ 躯干 , γ 头部 .

[0091] When σ 躯干 < C < σ 头部 , and S > γ 躯干 , determine that the exposed body part is the torso.

[0092] When σ 腿部 < C < σ 躯干 , and S > γ 腿部 , determine that the exposed body part is the leg.

[0093] When σ 手臂 < C < σ 腿部 , and S > γ 手臂 , determine that the exposed body part is the arm.

[0094] When σ 头部 < C < 1, and S > γ 头部 , determine that the exposed body part is the head.

[0095] In one embodiment, the abnormal condition further includes a fever condition; the method further includes: determining whether the temperature array is greater than a preset temperature threshold; if so, determining that the infant has a fever condition.

[0096] In this embodiment, the preset temperature threshold is 37°. When the collected temperature array T ij is greater than 37°, it is determined that the infant has a fever condition, and the guardian needs to take further care, for example, cooling the infant in time or sending the infant to the hospital, etc., to avoid greater harm to the infant's physical health due to delayed illness.

[0097] In one embodiment, after determining that the infant has an abnormal condition, the method further includes: sending body temperature information, real-time video information, and / or alarm information to the user's mobile terminal.

[0098] Specifically, when it is determined that the infant is in an abnormal condition of kicking the quilt, covering the head, or having a fever, the state information of the infant, such as body temperature information, real-time video information, and alarm information, is sent to the guardian's mobile phone through the wireless communication module preset in the crib and an alarm is issued to prompt the caregiver to pay attention. It can remind the guardian in time when an abnormal condition occurs when the infant is sleeping at night or the caregiver is not around, realizing more meticulous and safe care.

[0099] Refer to the appendix Figure 2 , Figure 2It is a schematic diagram of the detailed step process of the baby abnormal condition detection method according to an embodiment of the present invention.

[0100] As Figure 2 shown, the baby abnormal condition detection method in this embodiment specifically includes the following steps:

[0101] Step S01: Obtain the temperature array T collected by the thermopile infrared array sensor ij .

[0102] Step S02: Judge whether T ij is greater than 37. If so, execute step S13; if not, execute step S03.

[0103] Step S03: Based on the temperature array T ij construct a binary image of the temperature array.

[0104] Specifically, judge whether T ij is greater than 35. If so, T ij is the first preset value, and the first preset value is 1; if not, then T ij is the second preset value, and the second preset value is 0; take the pixels of the first preset value as foreground pixels and the pixels of the second preset value as background pixels. It can be understood that the pixel color of the first preset value is white and the pixel color of the second preset value is black, and then construct a binary image of the temperature array according to the foreground pixels and background pixels.

[0105] Step S04: Based on the binary image of the temperature array and the one-step labeling method, calculate the area S, perimeter P, and circularity C of the connected region of the baby's exposed body parts respectively.

[0106] Step S05: Based on the area S and circularity C of the connected region of the baby's exposed body parts, judge whether the baby's exposed body parts include the head. If not, record the duration of the baby's head not being exposed and execute step S06; if so, execute step S07.

[0107] Specifically, judge through the preset head circularity threshold σ 头部 and the head area threshold γ 头部 . When σ 头部 <C<1 and S>γ 头部 , judge that the exposed body is the head.

[0108] Step S06: Judge whether the duration of the baby's head not being exposed exceeds the preset duration τ 头部 of the head being covered. If so, execute step S13; if not, execute step S07.

[0109] Step S07: Based on the area S and circularity C of the connected region of the baby's exposed body parts, determine whether the exposed part is the trunk. If so, record the duration of the trunk exposure and execute step S08; if not, execute step S09.

[0110] Specifically, the roundness threshold σ of the head and torso is preset 头部 , σ 躯干 , kicking range threshold γ 躯干 Judgment, when σ 躯干 <C<σ 头部 When S>γ 躯干 , the exposed part is judged to be the torso.

[0111] Step S08: Determine whether the duration of the baby's trunk exposure exceeds a preset trunk exposure time threshold τ 躯干 If yes, execute step S13; if no, execute step S09.

[0112] Step S09: Based on the area S and circularity C of the connected area of ​​the baby's exposed body parts, determine whether the exposed parts are legs. If so, record the length of time the legs are exposed and execute step S10; if not, execute step S11.

[0113] Specifically, the roundness threshold σ of the legs and torso is preset 腿部 , σ 躯干 , kicking range threshold γ 腿部 Judgment, when σ 腿部 <C<σ 躯干 When S>γ 腿部 , the exposed part is judged to be the leg.

[0114] Step S10: Determine whether the duration of the baby's legs being exposed exceeds a preset leg exposure time threshold τ 腿部 If yes, execute step S13; if no, execute step S11.

[0115] Step S11: Based on the area S and circularity C of the connected area of ​​the baby's exposed body parts, determine whether the exposed part is an arm. If so, record the length of time the arm is exposed and execute step S12; if not, execute step S14.

[0116] Specifically, the roundness threshold σ of the legs and torso is preset 腿部 , σ 手臂 , kicking range threshold γ 手臂 Judgment, when σ 手臂 <C<σ 腿部 When S>γ 手臂 , it is judged that the exposed part is the arm.

[0117] Step S12: Determine whether the duration of the baby's arm exposure exceeds a preset arm exposure time threshold τ 手臂 If yes, execute step S13; if no, execute step S14.

[0118] Step S13: Send alarm information to the guardian's mobile terminal through the wireless communication module, the alarm information includes the baby's body temperature, real-time image, baby's abnormal state, etc.

[0119] Step S14: Send the baby's body temperature and real-time images to the guardian's mobile terminal through the wireless communication module.

[0120] It should be pointed out that although the various steps in the above embodiments are described in a specific order, those skilled in the art can understand that in order to achieve the effects of the present invention, different steps do not have to be performed in such an order. They can be performed simultaneously (in parallel) or in other orders. These changes are within the scope of protection of the present invention.

[0121] Furthermore, the present invention also provides a baby crib.

[0122] See attached Figure 3 , Figure 3 1 is a main structural block diagram of a baby crib according to an embodiment of the present invention.

[0123] like Figure 3 As shown, the crib in the embodiment of the present invention mainly includes a crib body 11, an infrared array sensor 12 and a controller 13. In some embodiments, one or more of the crib body 11, the infrared array sensor 12 and the controller 13 can be combined into a module. The infrared array sensor 12 can be set on the top of the crib body to collect the temperature array. The controller 13 can be configured to obtain the temperature array collected by the infrared array sensor; construct a temperature array binary map based on the temperature array; and determine whether the baby has an abnormal condition based on the temperature array binary map. In one embodiment, the description of the specific implementation function can be found in steps S100-S300.

[0124] The above-mentioned crib is used for carrying out Figure 1 The embodiment of the method for detecting abnormal conditions of infants shown in the figure has similar technical principles, technical problems solved and technical effects produced. Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working process and related instructions of the crib can refer to the contents described in the embodiment of the method for detecting abnormal conditions of infants, which will not be repeated here.

[0125] It is understood by those skilled in the art that the present invention implements all or part of the processes in the method of the above embodiment, and can also be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable storage medium may include: any entity or device, medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory, random access memory, electric carrier signal, telecommunication signal and software distribution medium that can carry the computer program code. It should be noted that the content contained in the computer-readable storage medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable storage media do not include electric carrier signals and telecommunication signals.

[0126] See attached Figure 4 , Figure 4 1 is a schematic diagram of a structural block diagram of a baby crib according to another embodiment of the present invention.

[0127] like Figure 4 As shown, the baby crib in the embodiment of the present invention mainly includes a thermopile infrared array sensor, a baby kicking quilt detection module, a baby being covered detection module, a baby fever detection module and a wireless communication alarm module; wherein the thermopile infrared array sensor is used to collect temperature arrays; the baby kicking quilt detection module is used to detect whether the baby is in a kicking quilt condition based on the temperature array; the baby being covered detection module is used to detect whether the baby is in a head being covered condition based on the temperature array; the baby fever detection module is used to detect whether the baby is in a fever condition based on the temperature array; the wireless communication alarm module is used to send reminder information to the guardian's mobile terminal when the baby is in a kicking quilt condition, a head being covered condition or a fever condition.

[0128] Furthermore, the present invention also provides an electronic device.

[0129] Figure 5 : is a schematic diagram of the structure of an electronic device in one embodiment of the present invention. Figure 5As shown, in an electronic device embodiment according to the present invention, the electronic device includes at least one processor 51 and at least one storage device 52, the storage device 52 can be configured to store a program for executing the method for detecting abnormal conditions of infants in the above method embodiment, and the processor 51 can be configured to execute the program in the storage device 52, which includes but is not limited to the program for executing the method for detecting abnormal conditions of infants in the above method embodiment. For ease of explanation, only the parts related to the embodiment of the present invention are shown, and for specific technical details not disclosed, please refer to the method part of the embodiment of the present invention. The electronic device can be a device formed by various electronic devices.

[0130] Furthermore, the present invention also provides a computer-readable storage medium. In a computer-readable storage medium embodiment according to the present invention, the computer-readable storage medium can be configured to store a program for executing the abnormal condition detection method for infants of the above method embodiment, and the program can be loaded and run by the processor to implement the above abnormal condition detection method for infants. For ease of explanation, only the parts related to the embodiment of the present invention are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present invention. The computer-readable storage medium can be a storage device formed by various electronic devices. Optionally, the computer-readable storage medium in the embodiment of the present invention is a non-temporary computer-readable storage medium.

[0131] Further, it should be understood that since the setting of each module is only for illustrating the functional units of the device of the present invention, the physical devices corresponding to these modules may be the processor itself, or a part of the software in the processor, a part of the hardware, or a part of the combination of software and hardware. Therefore, the number of each module in the figure is only schematic.

[0132] It is understood by those skilled in the art that the modules in the device can be adaptively split or merged. Such splitting or merging of specific modules will not cause the technical solution to deviate from the principle of the present invention, and therefore, the technical solutions after splitting or merging will fall within the protection scope of the present invention.

[0133] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.

Claims

1. A method for detecting abnormal conditions of infants, characterized in that: The method comprises: Obtain a temperature array collected by an infrared array sensor; Constructing a temperature array binary image based on the temperature array; It is determined whether the baby has an abnormal condition based on the temperature array binary image.

2. The method for detecting abnormal conditions of infants according to claim 1, characterized in that: The step of constructing a temperature array binary map based on the temperature array comprises: Binarizing the temperature array based on a preset temperature threshold to obtain a first preset value and a second preset value; Using the first preset value as a foreground pixel and using the second preset value as a background pixel; A temperature array binary image is constructed based on the foreground pixels and the background pixels.

3. The method for detecting abnormal conditions of infants according to claim 1, characterized in that: The determining whether the baby has an abnormal condition based on the temperature array binary image comprises: Acquire the connected area of ​​the exposed body parts of the infant based on the temperature array binary map; Calculating the area of ​​the connected region; It is determined whether the infant has an abnormal condition based on the area of ​​the connected region.

4. The method for detecting abnormal conditions of infants according to claim 3, characterized in that: The abnormal condition includes a kicking quilt condition; The determining whether the infant has an abnormal condition based on the area of ​​the connected region includes: Identify the baby's exposed body parts; Acquire a corresponding first preset threshold value based on the exposed body part of the infant; Determining whether the area of ​​the connected region is greater than a first preset threshold; If so, it is determined that the baby is kicking the quilt.

5. The method for detecting abnormal conditions of infants according to claim 4, characterized in that: The method further comprises: Determining whether the exposure time of the body part is greater than a second preset threshold; If so, it is determined that the baby is kicking the quilt.

6. The method for detecting abnormal conditions of infants according to claim 3, characterized in that: The abnormal condition includes a condition where the head is covered; The determining whether the infant has an abnormal condition based on the area of ​​the connected region includes: Identify the baby's exposed body parts; When the body parts do not include the head, obtain the duration of time when the head is not exposed; Determining whether the head is not exposed for a period of time that exceeds a third preset threshold; If so, it is determined that the baby's head is covered.

7. The method for detecting abnormal conditions of infants according to claim 4 or 6, characterized in that: The exposed body parts of the baby include: Calculating the perimeter of the connected area; determining a circularity of the connected region based on the area and the perimeter of the connected region; The exposed body part of the infant is determined based on the area and circularity of the connected region.

8. A baby crib, comprising a baby crib body, characterized in that: The crib also includes: Infrared array sensor, used to collect temperature array; The controller is used to obtain a temperature array collected by an infrared array sensor; construct a temperature array binary map based on the temperature array; and determine whether the baby has an abnormal condition based on the temperature array binary map.

9. An electronic device comprising at least one processor and at least one storage device, wherein the storage device is suitable for storing a plurality of program codes, characterized in that: The program code is suitable for being loaded and run by the processor to execute the method for detecting abnormal conditions of infants according to any one of claims 1 to 7.

10. A computer-readable storage medium storing a plurality of program codes, characterized in that: The program code is suitable for being loaded and run by a processor to execute the method for detecting abnormal conditions of infants according to any one of claims 1 to 7.