Monitoring video-based care method, device, equipment and storage medium
By combining multimodal fusion technology of video and audio streams, multiple states of the person being cared for are identified and care suggestions are generated, solving the problems of high false negative rate and cumbersome operation in existing technologies, and realizing efficient and safe intelligent care.
Patent Information
- Application Number
- CN202611242971.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-14
- Publication Date
- 2026-11-20
AI Technical Summary
Existing technologies for security monitoring based on video data cannot comprehensively assess the monitored object from multiple dimensions, resulting in a high false negative rate and requiring users to manually draw the monitoring perimeter, which is a cumbersome operation.
By acquiring video and audio streams, the system identifies the facial expressions, postures, heart rate, respiratory rate, and intrusion detection results of the person being cared for. Combined with the crying recognition results, it generates a comprehensive status and care suggestions, using multimodal fusion to reduce misjudgments. At the same time, it generates activity trajectory heatmaps through cross-frame identity association and tracking, automatically identifying dangerous areas and local actions.
It enables multi-dimensional intelligent monitoring, reduces false alarm rates, improves security, reduces hardware costs, simplifies operation, and enhances user experience.
Smart Images

Figure CN123142109A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of intelligent care technology, and in particular to a care method, device, equipment and storage medium based on surveillance video. Background Technology
[0002] In security monitoring scenarios, to ensure the safety of infants, children, and other caregivers, security monitoring can be conducted based on video data from monitoring equipment.
[0003] Existing technologies for security monitoring based on video data primarily rely on cameras to capture video footage, using target detection algorithms to identify the location of the monitored object, and triggering alarms when an object crosses boundaries or enters a preset danger zone. While this approach can ensure the location safety of the monitored object to a certain extent, video analysis only outputs events related to the monitored object's current location within a danger zone. This results in a limited range of information output by the monitoring system, failing to provide a comprehensive assessment of the monitored object's actual status from multiple dimensions, and making it prone to missed detections.
[0004] Therefore, how to improve the care effectiveness of those being cared for, enhance the security of video surveillance, and reduce the false negative rate are problems that need to be solved by those skilled in the art. Summary of the Invention
[0005] This application provides a monitoring method, apparatus, device, and storage medium based on surveillance video to improve the monitoring effect of the monitored object, enhance the security of video monitoring, and reduce the false alarm rate.
[0006] Firstly, this application provides a monitoring method based on surveillance video, including: Acquire video and audio streams; Identify the target object being monitored from the video stream and determine the current detection result of the target object; the current detection result includes at least one of the following: the target object's facial expression recognition result, final posture, target heart rate, target respiratory rate, and intrusion detection result; The crying sound recognition result of the target object is determined using the audio stream; Based on the current detection results and the crying recognition results, a comprehensive status and / or care recommendations for the target object are generated.
[0007] Optionally, the process of determining the final pose of the target object includes: Extract human skeleton key points from the detection bounding box of the target object in the video frame; The pose geometry features are calculated using the key points of the human skeleton, and the pose geometry features are matched with the target geometry features of different poses to determine the initial pose of the target object in each video frame of the video stream. The initial pose of each video frame is subjected to temporal smoothing to obtain the final pose of the target object in each video frame.
[0008] Optionally, the process of determining the target heart rate and target respiratory rate of the target object includes: The face regions of each video frame are preprocessed, and the preprocessed face regions are stacked in time to form an input tensor. The input tensor is subjected to temporal ROI segmentation to obtain each ROI region corresponding to each video frame, and different ROI regions correspond to different face parts; The spatiotemporal features of each ROI region in each video frame are extracted and input into a feedforward network to obtain the initial heart rate and initial respiratory rate. The initial heart rate and initial respiratory rate are then post-processed to obtain the target heart rate and target respiratory rate.
[0009] Optionally, after acquiring the video stream, the process may also include: Cross-frame identity association and tracking are performed on target objects in different video frames of the video stream to generate trajectory data for each target object; Generate a time-series trajectory point set based on the trajectory data of each target object, and generate an activity trajectory heatmap for each target object based on the time-series trajectory point set; The activity trajectory heatmap is displayed on a display device; wherein, the activity trajectory heatmap distinguishes the activity trajectories of different target objects through different display formats.
[0010] Optionally, the process of determining the expression recognition result of the target object includes: The face region of the target object in the video stream is detected and tracked, and the face region of each video frame in the video stream is output. Facial expression recognition is performed on the facial region to obtain the facial expression recognition result of the target object.
[0011] Optionally, after obtaining the expression recognition result of the target object, the method further includes: If the expression recognition result is the target expression type, then the image and video corresponding to the target expression type are extracted from the video stream, and the expression type tag and timestamp are added to the extracted image and video; The images and videos are clustered based on their expression type tags and timestamps to generate smart albums. The images and videos in the smart albums are then stitched together to form summary videos according to a predetermined period and displayed on a display device.
[0012] Optionally, the process of determining the intrusion detection result of the target object includes: Identify dangerous objects from the video stream and determine the dangerous area corresponding to the dangerous object based on the area occupied by the dangerous object in the video stream; If there is a target object being monitored in the video stream, then the target key points of the target object are detected, and the target key points are the skeletal key points of the detected body parts of the target object; Based on the positional relationship between the target key point and the dangerous area, an intrusion detection result is generated; the intrusion detection result includes at least one of the following: intrusion status, intrusion level, location of the target key point that triggered the intrusion, and type of dangerous area.
[0013] Secondly, this application provides a monitoring device based on surveillance video, comprising: The data acquisition module is used to acquire video and audio streams; The target object detection module is used to identify the monitored target object from the video stream and determine the current detection result of the target object; the current detection result includes at least one of the following: the target object's facial expression recognition result, final posture, target heart rate, target respiratory rate, and intrusion detection result; A crying sound recognition module is used to determine the crying sound recognition result of the target object using the audio stream; The fusion module is used to generate a comprehensive status and / or care recommendations for the target object based on the current detection results and the crying recognition results.
[0014] Thirdly, this application provides an electronic device, comprising: Memory, used to store computer programs; A processor for implementing the steps of the above-described care method when executing the computer program.
[0015] Optionally, the electronic device is any one of a monitoring device, a display device, and a cloud processing device.
[0016] Optionally, the display device is a mobile terminal or a monitoring terminal with a display screen.
[0017] Fourthly, this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the above-described care method.
[0018] Fifthly, this application provides a computer program product containing instructions that, when executed by a cluster of computer devices, cause the cluster of computer devices to perform the steps of the above-described care method.
[0019] Compared with the prior art, the technical solutions provided in this application have the following advantages: This application provides a care method, device, equipment, and storage medium based on surveillance video. In this application, the current detection result of the video modality of the target object can be determined according to the video stream, including at least one of facial expression, posture, heart rate, respiratory rate, and intrusion detection; and the crying recognition result of the audio modality can be determined according to the audio stream. Based on the current detection result and the crying recognition result, a comprehensive status of the target object and / or care suggestions are generated. Through this method, this application realizes multi-dimensional status perception of visual and audio modalities, effectively reducing misjudgments caused by environmental noise or light interference in a single modality. Through care suggestions, this application enables caregivers to obtain clear intervention guidance in a timely manner, improving the practicality of intelligent care. Based on security protection, health monitoring, and emotion analysis, this application provides multi-dimensional intelligent care, enabling guardians to obtain comprehensive care services without deploying multiple independent devices, improving the security of video care and reducing the false negative rate.
[0020] Furthermore, this application extracts key points of the human skeleton from the target object detection box and matches them with the geometric features of the target in different postures. It can set specific judgment rules based on the physiological characteristics of the infant's head-to-body ratio, accurately distinguishing four infant-specific postures: falling, crawling, standing, and prone sleeping. This application can achieve non-contact, low-cost monitoring of infant vital signs using ordinary cameras, avoiding the hardware costs and constraints associated with using millimeter-wave radar or contact sensors, and automatically alarms when the heart rate or respiratory rate is abnormal. This application can generate activity trajectory heatmaps by performing cross-frame identity association and tracking of target objects in different video frames, which are then overlaid on the video screen for display, allowing caregivers to intuitively understand the activity intensity of the target object in different areas of the room. In multi-infant scenarios, the activity trajectories of different target objects are distinguished through different display formats, solving the problem of difficulty in distinguishing the activity distribution of twins and other multi-infant scenarios, making it easier for caregivers to grasp the activity patterns of each infant.
[0021] Furthermore, this application detects and tracks facial regions, identifies facial expression types, and achieves continuous tracking and accurate expression recognition. It can automatically extract images and video clips based on target expression types, add expression tags and timestamps, and then cluster them by expression category and timeline to generate a smart album. This automatically captures moments of the target individual's growth, enhancing the user's emotional experience. Simultaneously, it periodically stitches together highlight moments into summary videos and pushes them to the caregiver's terminal, allowing caregivers to easily review the target individual's memorable moments. This application automatically identifies dangerous objects from the video stream and maps them to danger zones, eliminating the need for users to manually mark the care perimeter, lowering the operational threshold. Moreover, it can dynamically update danger zones when the home environment changes, preventing safety omissions due to users' failure to redraw in a timely manner. Meanwhile, by detecting key skeletal points of the target object and determining its positional relationship with the danger zone, the detection granularity can be refined from the overall detection frame to individual key points. In this way, even if the infant's body does not cross the boundary as a whole, but only performs local dangerous actions such as reaching out to touch the socket, it can be accurately detected and graded alarms can be triggered, solving the problem of missed alarms caused by the torso not crossing the boundary in traditional solutions. Attached Figure Description
[0022] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0023] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0024] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.
[0025] Figure 1 A schematic diagram of a care method based on surveillance video provided in an embodiment of this application; Figure 2 This is a schematic diagram of the multimodal fusion rules provided in the embodiments of this application; Figure 3 A flowchart illustrating the intelligent album generation and push process provided in this application embodiment; Figure 4 This is a schematic diagram of the vital signs detection process provided in the embodiments of this application; Figure 5 This is a schematic diagram of the activity trajectory heatmap generation process provided in the embodiments of this application; Figure 6 A flowchart of attitude detection provided for embodiments of this application; Figure 7 A flowchart for hazardous area identification and detection provided in this application embodiment; Figure 8 This is a schematic diagram of the system architecture provided for an embodiment of this application; Figure 9 A schematic diagram of a monitoring device based on surveillance video provided in an embodiment of this application; Figure 10 This is a schematic diagram of an electronic device structure provided in an embodiment of this application. Detailed Implementation
[0026] This specific embodiment is merely an explanation of this application and is not intended to limit it. After reading this specification, those skilled in the art can make modifications to this embodiment without contributing any inventive step, but such modifications are protected by patent law as long as they are within the scope of this application.
[0027] It should be noted that, in the optional embodiments of this application, the data related to object information, when applied to specific products or technologies, requires the permission or consent of the object. Furthermore, the collection, use, and processing of this data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. In other words, if the embodiments of this application involve data related to an object, it must be obtained with the object's authorization and consent, the authorization and consent of relevant departments, and in accordance with the relevant laws, regulations, and standards of the country and region. If the embodiments involve personal information, the acquisition of all personal information requires the individual's consent. If sensitive information is involved, the separate consent of the information subject is required. The embodiments also need to be implemented with the object's authorization and consent.
[0028] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0029] Furthermore, the term "and / or" in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article, unless otherwise specified, generally indicates that the preceding and following related objects have an "or" relationship.
[0030] When using existing video-based infant care technology, users need to draw the care perimeter in the camera view. This care perimeter is a polygonal safety area, and then intelligent care is achieved through a dual alarm mechanism of overall motion alarm and boundary crossing alarm.
[0031] The specific steps of this solution are as follows: Based on the real-time image captured by the camera, the system sequentially marks the vertices of the care perimeter. The system then connects these vertices in sequence, forming a closed polygonal area that constitutes the care perimeter. The system calculates the number *i* of vertices of the baby's moving rectangle that are within the care perimeter. When *i* > 3: 4 vertices of the baby's moving rectangle are inside the perimeter, indicating that the baby is mostly or completely within the safe area. At this point, the first level of judgment is triggered: distance detection. The minimum distance *d_min* between the moving rectangle and the perimeter boundary is calculated, along with the shortest side length *lmin* of the perimeter boundary. By comparing these two values, the system determines whether the baby is approaching the boundary and whether to trigger an alarm. When *i* ≤ 3: 0-3 vertices of the baby's moving rectangle are inside the perimeter. The system then calculates the intersection area of the moving rectangle and the perimeter boundary, and the area of the moving rectangle. By comparing these two values, the system determines whether the baby is approaching the boundary and whether to trigger an alarm.
[0032] It is evident that existing solutions primarily address the issue of infants crawling out of safe areas. Their functionality is relatively limited, focusing on location-based safety alarms without considering vital sign monitoring or behavioral status analysis. This makes it difficult to effectively determine the infant's overall condition. Furthermore, this single-modal care solution is susceptible to misjudgments and missed detections due to environmental noise or lighting interference. Additionally, this method requires users to pre-define the care perimeter, necessitating timely redrawing of the perimeter when the home environment changes. This cumbersome process increases the risk of missed detections due to delayed perimeter delineation. Moreover, this method only determines whether the infant's overall detection frame has crossed the boundary; for localized dangerous actions such as reaching for electrical outlets, the solution may miss detections if the torso remains within the boundary.
[0033] Therefore, in order to solve the above-mentioned technical problems existing in the prior art, this application provides a monitoring method, device, equipment and storage medium based on surveillance video, so as to improve the monitoring effect of the monitored object, improve the security of video monitoring and reduce the false alarm rate.
[0034] See Figure 1 The above is a schematic diagram of a care method based on surveillance video provided in an embodiment of this application, including: S101. Obtain the video stream and audio stream.
[0035] In this application, multimodal fusion decision-making can be achieved based on video streams and audio streams. Therefore, it is necessary to obtain video streams and audio streams from monitoring equipment in order to perform subsequent identification, detection and multimodal fusion analysis operations on target objects.
[0036] The monitoring device in this application can be an intelligent device integrating a camera and a microphone. The camera is used to capture video streams, and the microphone is used to capture audio streams. Examples include intelligent network cameras and baby monitors. Alternatively, it can be a combined device consisting of a separate camera and a separate microphone. The monitoring scenario can be a nursery, living room, or other scenarios requiring video monitoring. The video stream is a continuous sequence of images captured in real time by the monitoring device, comprising multiple video frames arranged in chronological order. The audio stream is a continuous sound signal captured in real time by the monitoring device.
[0037] S102. Identify the target object being monitored from the video stream and determine the current detection result of the target object; the current detection result includes at least one of the following: the target object's facial expression recognition result, final posture, target heart rate, target respiratory rate, and intrusion detection result.
[0038] In this application, a target object being cared for can be identified from a video stream, and the current detection result of the target object in the visual modality can be determined. The current detection result includes at least one of the following: facial expression recognition result, final posture, target heart rate, target respiratory rate, and intrusion detection result, so as to improve the care effect based on the multi-dimensional detection results.
[0039] Specifically, the target objects in this application are infants, children, and other individuals requiring care. This application identifies the target objects from a video stream using an object detection network. This network can be the YOLO (You Only Look Once, a real-time object detection algorithm) series or NanoDet (a lightweight real-time object detection network). Specifically, by processing each video frame in the video stream using the object detection network, the detection bounding boxes and confidence scores of the target objects in each frame can be obtained. If a detection bounding box with a confidence score higher than a set threshold exists, the presence of a target object in the current video frame is determined. This threshold can be set according to the actual application scenario; for example, a threshold of 0.7 can be set in scenarios requiring high detection accuracy, and a threshold of 0.5 can be set in scenarios requiring high recall. To reduce false detections, the presence of a target object can be confirmed only when the target object is detected in multiple consecutive frames. The number of consecutive frames can be set according to the actual situation, for example, 3 frames.
[0040] After identifying the target object, the current detection result for that target object is determined. This current detection result includes at least one of the following: facial expression recognition result, final posture, target heart rate, target respiratory rate, and intrusion detection result. The facial expression recognition result indicates the target object's current facial expression category, which can be obtained by performing facial expression recognition on the target object's face region in the video frame. This facial expression recognition result can include categories such as happy, calm, painful, drowsy, and crying. The final posture indicates the target object's current body posture category, which can be obtained by extracting human skeletal key points from the target object's detection box and performing posture recognition based on these key points. This final posture can include categories such as standing, crawling, falling, and lying prone. The target heart rate and target respiratory rate indicate the target object's current heart rate and respiratory rate values, which can be obtained by extracting rPPG (remote photoplethysmography) signals from the target object's face region in the video frame. The intrusion detection result indicates whether the target object is about to enter or has already entered a danger zone. This can be obtained by detecting the target object's skeletal key points and determining the positional relationship between these key points and the danger zone.
[0041] S103. Use the audio stream to determine the crying sound recognition result of the target object.
[0042] This application also requires utilizing the audio stream to determine the crying recognition result of the target object in the audio modality. Specifically, this application utilizes the audio stream to determine the crying recognition result of the target object, which can be achieved in the following way: The audio stream is subjected to VAD (Voice Activity Detection) to extract audio segments containing valid sounds. Valid sounds refer to human voices or infant vocalizations after excluding silence and pure environmental noise. Then, the extracted valid audio segments are input into a crying detection model for crying recognition. This crying detection model can be a deep learning-based binary classification model used to determine whether the input audio segment contains crying. When crying is detected, the audio segment containing crying is input into a crying classification model, which outputs a crying recognition result. The crying recognition result includes the type of crying, which can include crying due to pain, hunger, drowsiness, boredom, etc.
[0043] S104. Based on the current detection results and crying recognition results, generate a comprehensive status and / or care recommendations for the target object.
[0044] In this application, based on the current detection results and the crying recognition results, a comprehensive state of the target object and / or care suggestions can be generated to achieve multimodal state perception of the target object and output of care suggestions.
[0045] Specifically, after obtaining the current detection result and the cry recognition result, this application comprehensively judges the current detection result and the cry recognition result according to a preset fusion rule to generate a comprehensive status and / or care suggestion for the target object. The current detection result belongs to the visual modality and includes at least one of the following: facial expression recognition result, final posture, target heart rate, target respiratory rate, and intrusion detection result. The cry recognition result belongs to the audio modality. The fusion rule is used to jointly analyze the visual modality detection result and the audio modality detection result to determine the comprehensive status of the target object, or to determine the care suggestion for the target object, or both the comprehensive status and the care suggestion.
[0046] See Figure 2 This is a schematic diagram of the multimodal fusion rule provided in an embodiment of this application. As shown in the figure, the multimodal fusion rule can jointly analyze the detection results of different audio modal crying types, as well as facial expressions, posture, heart rate, and respiration under the visual modality. For different combinations such as crying in pain, crying out of hunger, crying out of drowsiness, crying out of boredom, and no crying, it outputs corresponding comprehensive states, such as colic, hunger, and drowsiness. It also provides corresponding care suggestions, such as checking body temperature, massaging the abdomen, and playing nursery rhymes, which improves the accuracy of infant state recognition and provides specific and actionable suggestions. For example, the fusion rule may include: when the crying recognition result is crying in pain, the facial expression recognition result is painful, the final posture is curled up, and the target heart rate is greater than 160 beats per minute, the comprehensive state is determined to be colic or physical discomfort, and the care suggestion is: it is recommended to check body temperature, check for abdominal bloating, and gently massage the abdomen.
[0047] After generating a comprehensive status and / or care recommendations, this application can send the comprehensive status and / or care recommendations to the caregiver's terminal. The caregiver's terminal can be a mobile phone, tablet, personal computer, or other similar device, and the sending method can be an app push notification, email, SMS, etc.
[0048] It should be noted that when fusing audio and visual modalities, this application can employ decision-level fusion to obtain a multimodal fusion result: a comprehensive state and / or care recommendations. This decision-level fusion strategy can be weighted voting, perceptron, adaptive weighting, etc. Here, only weighted voting is used as an example: Taking the determination of whether an infant is experiencing colic or discomfort as an example, suppose that at a certain moment, the audio modal's cry recognition result is a cry of pain with a confidence level of 80%, the video modal's facial expression recognition result is a cry of pain with a confidence level of 70%, and the target heart rate obtained after rPPG vital sign detection is greater than 160 beats per minute with a confidence level of 90%. The weights of each modality are allocated as follows: the weight of the audio modality is 0.4, the weight of facial expression is 0.3, the weight of heart rate is 0.3, and the sum of all weights is 1. The weighted voting is calculated by multiplying the confidence level of each modality by its corresponding weight and then summing the results: 80% × 0.4 + 70% × 0.3 + 90% × 0.3 = 80%. If the fusion threshold is 75%, since 80% is greater than 75%, the infant's current overall condition is determined to be colic or physical discomfort, and corresponding care suggestions are output.
[0049] In addition, feature-level, model-level, or Bayesian fusion methods can be selected for fusion. Decision-level fusion refers to each modality / model independently completing inference, obtaining class probabilities or scores, and then fusing them for the final decision. Feature-level fusion involves splicing or interacting at the feature extraction layers (not the final decision layer) of different modalities, and then classifying them using a model. Model-level fusion establishes bidirectional connections between different layers of multiple models, such as fusing different networks. Bayesian fusion treats the outputs of various sensors / models as observations, uses Bayes' theorem to calculate posterior probabilities, and thus fuses prior knowledge with new observations. The specific fusion method can be chosen based on the actual situation.
[0050] In summary, this application achieves multi-dimensional state perception of both visual and audio modalities, effectively reducing misjudgments caused by environmental noise or lighting interference in a single modality. Through caregiving suggestions, this application enables caregivers to receive timely and clear intervention guidance, enhancing the practicality of intelligent care. Based on security protection, health monitoring, and emotion analysis, this application provides multi-dimensional intelligent care, allowing guardians to obtain comprehensive care services without deploying multiple independent devices, improving the security of video care and reducing the false negative rate.
[0051] In another embodiment of this application, the process of determining the expression recognition result of the target object includes: The face region of the target object in the video stream is detected and tracked, and the face region of each video frame in the video stream is output. Facial expression recognition is performed on the facial region to obtain the facial expression recognition result of the target object.
[0052] In this application, a target tracking algorithm is used to detect and track the face region, and then to perform expression recognition on the face region to obtain the expression recognition result of the target object. This target tracking algorithm is a face detection and tracking implementation based on a target tracking architecture, such as Deepsort (real-time tracking algorithm) or ByteTrack (byte tracking algorithm). Through this algorithm, the face region of the target object can be detected in real time from each video frame of the video stream; this face region can be the face region of an infant. After identifying the face region of the target object, inter-frame tracking is required. Inter-frame tracking refers to establishing a correspondence between the same target object in different frames across consecutive video frames. If there are two target objects in the current video frame, tracking can predict and match each target object in subsequent frames. This application can also assign a unique tracking identifier to each face region to avoid identity jumps caused by independent detection in each frame. For each video frame, the position information of the face region of the target object in that frame is output, and this position information can be represented in the form of a rectangular bounding box.
[0053] After obtaining the face regions of each video frame, this application performs expression recognition on the face regions to obtain the expression recognition result of the target object. Specifically, the face region image is input into a facial expression classification model, which can be a classifier based on a convolutional neural network. The model outputs probability values for various expressions, and the expression category with the highest probability is taken as the expression recognition result for that frame. The expression categories in the expression recognition result can include happiness, calmness, pain, drowsiness, and crying, etc.
[0054] As can be seen, in this embodiment, by detecting and tracking the face region through a target tracking algorithm and combining it with a facial expression classification model to identify the expression type of the face region, continuous tracking of the face region and accurate recognition of expressions can be achieved.
[0055] In another embodiment of this application, after obtaining the expression recognition result of the target object, the method further includes: If the expression recognition result is the target expression type, then the image and video corresponding to the target expression type are extracted from the video stream, and the expression type tag and timestamp are added to the extracted image and video; The images and videos are clustered based on their expression type tags and timestamps to generate smart albums. The images and videos in the smart albums are then stitched together to form summary videos according to a predetermined period and displayed on a display device.
[0056] Specifically, this application allows for the pre-setting of target expression types. If the expression recognition result matches the target expression type, images and videos corresponding to that type can be automatically extracted from the video stream. Image extraction refers to saving the image of the current video frame, while video extraction refers to recording a video segment of a specified duration before and after the current frame. This specified duration can be set according to actual conditions, for example, 5 seconds before and 5 seconds after the current frame. Expression type tags and timestamps are added to the extracted images and videos. The expression type tag identifies the expression category corresponding to the image or video, and the timestamp records the moment of extraction. If the expression recognition result is not the target expression type, no extraction is performed, and expression recognition and judgment continue for subsequent video frames.
[0057] This application adds corresponding emoji tags and timestamps to each image and video. Then, it performs offline clustering of images and videos according to their emoji type and timestamp, chronologically, to generate a smart album. If the target object is an infant, the smart album will be a dataset recording moments of the infant's growth. The offline clustering to generate the smart album refers to the process where, after the number of unprocessed images and videos reaches a predetermined amount, offline computing resources are used to automatically group, merge, and sort them according to time sequence and emoji category based on the emoji tags and timestamps attached to each image or video segment. This forms a searchable smart album. Based on this smart album, users can filter by emoji type to obtain all images and videos corresponding to that emoji type, or directly filter by date to obtain all images and videos for that date.
[0058] Furthermore, in this application, users can pre-set a scheduled period. The actual period value can be customized according to actual needs, such as setting the scheduled period to be every 7 days or every month. Then, at each scheduled period, images and videos from the smart album can be stitched together chronologically to create a summary video. This summary video is a short video with controllable duration, composed of representative images or video clips selected from the smart album. Transition effects and background music can be added between different images or videos. Subsequently, the summary video can be pushed to the caregiver's mobile app or email.
[0059] See Figure 3The flowchart for intelligent album generation and push provided in this application embodiment is shown in the figure. The process includes: performing face detection and tracking on the input video stream, setting different IDs for different faces, and supporting continuous tracking of multiple IDs; then extracting the face ROI (Region of Interest) regions and outputting the expression category through an expression classification model. When the target expression type is identified, the image of the current frame is captured in real time and the corresponding video is recorded, expression tags are added, offline clustering is performed through expression category and timeline, intelligent album is automatically generated, and the highlights are stitched together into summary videos according to weekly / monthly cycles, and pushed to the caregiver's terminal APP or email.
[0060] As can be seen, in this embodiment, based on face detection and tracking, the facial expression classification model is used to identify the expression type of the face region. Then, images and video clips are automatically extracted for the target expression type, and expression tags and timestamps are added. The system then generates a smart album by clustering expression categories and timelines. This can automatically capture the growth moments of the target object and enhance the user's emotional experience. At the same time, the highlights are periodically stitched into summary videos and pushed to the caregiver's terminal, making it convenient for the caregiver to review the wonderful moments of the target object.
[0061] In another embodiment of this application, the process of determining the target heart rate and target respiratory rate of the target object includes: The face regions of each video frame are preprocessed, and the preprocessed face regions are stacked in time to form an input tensor. The input tensor is subjected to temporal ROI segmentation to obtain each ROI region corresponding to each video frame, and different ROI regions correspond to different face parts; The spatiotemporal features of each ROI region in each video frame are extracted and input into a feedforward network to obtain the initial heart rate and initial respiratory rate. The initial heart rate and initial respiratory rate are then post-processed to obtain the target heart rate and target respiratory rate.
[0062] In this application, after obtaining the face region of each video frame, the target heart rate and target respiratory rate of the target object can also be determined through the face region so as to trigger an alarm when there is an abnormality.
[0063] Specifically, this application first acquires a video sequence, which consists of the face regions of each video frame. Then, it preprocesses each face region, including: performing face alignment on the face regions of each frame. Face alignment refers to aligning the facial key points to a standard template pose by rotating, scaling, and translating the face image based on the position of the facial key points, thereby reducing the interference of head pose changes on subsequent signal extraction. After face alignment, ROI cropping is performed on the aligned face regions. ROI cropping involves cropping the region of interest from the aligned face image. This region of interest can include the forehead and cheek regions, and the cropped face region is scaled to a uniform size. Finally, the frame sequence is stacked to form an input tensor, i.e., the processed face regions of T consecutive frames are stacked sequentially to form the input tensor [B,T,H,W,3], where B (Batch Size) represents the batch size, with T frames per batch; T represents the number of frames; H represents the height of each frame; W represents the width of each frame; and 3 represents the number of color channels.
[0064] Model inference is performed based on the input tensor. The model can be based on a 3D-CNN (3-Dimensional Convolutional Neural Network) as the backbone network. The network architecture can be PhysFormer (a rPPG network based on Transformer), 3D-CNN+LSTM (3D Convolutional Neural Network with Lengthened Short-Term Memory Network), or a lightweight Encoder-Decoder structure, etc. It synchronously learns the spatiotemporal patterns of facial micro-color changes from a spatiotemporal dimension and outputs an end-to-end estimate of rPPG (remote photoplethysmography) pulse wave signal or heart rate / respiratory rate.
[0065] See Figure 4 This is a schematic diagram of the vital sign detection process provided in this application embodiment. As shown in the figure, after face alignment, ROI cropping, and frame sequence stacking of the face data stream, the generated input tensor is used for model inference. During model inference, the input tensor needs to be temporally segmented into ROIs to obtain each ROI region corresponding to each video frame. Different ROI regions correspond to different face parts, such as... Figure 4 Frame1~Frame t , representing consecutive facial image frames, ROI1~ROI n This represents multiple local regions within each frame, such as the forehead and cheeks. Then, the spatiotemporal features of each ROI region in each video frame are extracted, and the initial heart rate and initial respiratory rate are output through a feed-forward neural network (FFN).
[0066] This application requires post-processing to obtain the final target heart rate or respiratory rate, based on the initial heart rate and respiratory rate. Post-processing includes Kalman filtering, sliding window filtering, and temporal consistency verification. Kalman filtering dynamically optimizes the current heart rate / respiratory rate by combining the estimated heart rate / respiratory value from the previous moment with the currently observed initial heart rate and respiratory rate. This method effectively suppresses transient jumps, especially suitable for smoothing signals during slight infant movement. Sliding window filtering maintains a fixed-length queue, storing the heart rate / respiratory values from the most recent frames, and then calculates the median or average of the queue as the current output. Temporal consistency verification verifies whether the changes in heart rate / respiratory rate estimated from T consecutive frames are physiologically reasonable, thereby eliminating abnormal jumps caused by noise, motion artifacts, or model misjudgments.
[0067] After obtaining the target heart rate and target respiratory rate, this application requires anomaly detection based on these parameters. If an abnormality is detected in either the target heart rate or target respiratory rate, a vital signs alarm is triggered, and the alarm information is pushed to the caregiver's terminal. Furthermore, when performing rPPG vital signs detection, this application can use deep learning-based methods, such as PhysFormer, or traditional signal processing methods, such as chromaticity-based / skin orthogonal plane methods.
[0068] In summary, this application preprocesses the face region, outputs the initial rPPG heart rate and respiratory rate, and then performs Kalman filtering, sliding window filtering, and time consistency verification to obtain the target heart rate and target respiratory rate. This method can achieve non-contact, low-cost monitoring of infant vital signs using ordinary cameras, avoiding the hardware costs and constraints associated with using millimeter-wave radar or contact sensors. It also automatically alarms when the heart rate or respiratory rate is abnormal, providing health data support for infant care.
[0069] In another embodiment of this application, after acquiring the video stream from the monitoring device, the method further includes: Cross-frame identity association and tracking are performed on target objects in different video frames of the video stream to generate trajectory data for each target object; Generate a time-series trajectory point set based on the trajectory data of each target object, and generate an activity trajectory heatmap for each target object based on the time-series trajectory point set; The activity trajectory heatmap is displayed on a display device; wherein, the activity trajectory heatmap distinguishes the activity trajectories of different target objects through different display formats.
[0070] In this application, if a monitored target object exists in the video stream, cross-frame identity association and tracking of the target object across different video frames are required to generate trajectory data for each target object. This application can achieve cross-frame identity association and continuous tracking using Deepsort or ByteTrack algorithms, assigning a unique tracking ID to each target object. Then, based on the trajectory data of each target object, a corresponding temporal trajectory point set is generated. This temporal trajectory point set refers to the collection of position coordinates of the target object in each frame, recorded in chronological order. Each trajectory point includes a horizontal coordinate, a vertical coordinate, and a timestamp. Finally, the temporal trajectory point set is used to generate a heatmap of the activity trajectory of each target object.
[0071] Simultaneously, the activity trajectory heatmap is displayed on a display device, which can be a mobile terminal or a caregiver terminal with a display screen. For example, on the caregiver's terminal APP display interface, if a user-triggered heatmap display command is received, the activity trajectory heatmap can be overlaid on the video stream for display. That is, in addition to displaying the real-time location frame of the target object through the video screen, the APP also needs to overlay and display the activity trajectory heatmap. The activity trajectory heatmap uses color intensity to represent the activity intensity of the target object in different areas of the room. Furthermore, when displaying the activity trajectory heatmap, this application can distinguish the activity trajectories of different target objects through different display formats. For example, in scenarios involving twins or other infants, different colored trajectory lines or independent heatmap layers can be assigned to different tracking IDs to achieve differentiated visualization of the activity distribution of multiple infants. The activity trajectory heatmap can be generated using kernel density estimation methods and time-series trajectory point sets, or it can be generated based on GMM (Gaussian Mixture Model), grid counting, trajectory line overlay, etc., without specific limitations.
[0072] See Figure 5 The figure illustrates the process of generating an activity trajectory heatmap according to an embodiment of this application. As shown, the input video stream is detected and tracked, identifying each target object in each video frame and assigning a unique tracking ID to each target object to achieve continuous multi-ID tracking. Subsequently, the center coordinates of each target object in each video frame are extracted and recorded in chronological order to form the trajectory data of each target object, resulting in a temporal trajectory point set for each target object. Then, a kernel density estimation method is used to convert the discrete point distribution into a continuous activity frequency density distribution, and an activity trajectory heatmap is generated through color mapping, such as low-density blue and high-density red. Finally, in the visualization interface of the APP, the real-time detection and the activity trajectory heatmap are overlaid and displayed synchronously through two layers.
[0073] In summary, this application generates a time-series trajectory point set by performing cross-frame identity association and tracking of target objects in different video frames, and generates an activity trajectory heatmap based on kernel density estimation, which is then overlaid on the video screen for display. This allows caregivers to intuitively understand the activity intensity of the target object in different areas of the room. For multi-infant scenarios, the activity trajectories of different target objects are distinguished by different display formats, solving the problem of difficulty in distinguishing the activity distribution of twins and other multi-infant scenarios, making it easier for caregivers to grasp the activity patterns of each infant.
[0074] In another embodiment of this application, the process of determining the final pose of the target object includes: Extract human skeleton key points from the detection bounding box of the target object in the video frame; The pose geometry features are calculated using the key points of the human skeleton, and the pose geometry features are matched with the target geometry features of different poses to determine the initial pose of the target object in each video frame of the video stream. The initial pose of each video frame is subjected to temporal smoothing to obtain the final pose of the target object in each video frame.
[0075] In this application, if a monitored object exists in the video stream, the object's posture can be identified to trigger a posture hazard warning. Specifically, this application uses a lightweight posture estimation network to extract multiple human skeletal keypoints from the object's detection bounding box. These keypoints include skeletal keypoints for different body parts of the object, such as the head, shoulders, elbows, wrists, hips, knees, and ankles. Then, the detected skeletal keypoints are used to calculate posture geometric features. These features, based on the coordinates of the keypoints, describe the relative positions, angles, distances, and proportions of various body parts, including joint angles, keypoint distances, keypoint heights, and body tilt. The posture geometric features are then compared with the target's geometric features for different postures to achieve initial posture identification and obtain the initial posture.
[0076] Furthermore, this application also requires temporal smoothing of the initial pose classification results for multiple consecutive frames to obtain the final pose of the target object in each video frame. Specifically, the smoothing process in this application employs a sliding window majority voting mechanism, which can eliminate false detections in a single frame. The sliding window majority voting mechanism works as follows: a fixed-length sliding window is maintained, storing the initial pose classification results for each frame. When a new initial pose is generated, it is added to the window, and the oldest frame is removed. The frequency of each pose category within the window is counted, and the pose category with the most occurrences is output as the final pose of the current frame. This pose type includes falling, crawling, standing, and prone sleeping. This application also requires pre-setting a target pose, which is a relatively dangerous pose, such as falling or prone sleeping. If the final pose is detected as the target pose, and the duration of the target pose exceeds a duration threshold, a pose danger alarm is issued. The duration threshold can be customized according to the actual situation. For example, if the duration threshold is set to 2 seconds, that is, if the target object is detected to be in the target posture of falling and it lasts for more than 2 seconds, an alarm will be triggered and the alarm information can be pushed to the caregiver's terminal. The alarm information includes posture category, occurrence time, screenshot and short video clip, etc., which are not specifically limited here.
[0077] See Figure 6 The figure shows a flowchart of the posture detection process provided in this application embodiment. After obtaining the skeletal key point data, this application needs to extract the coordinates of key points in different parts, calculate the posture geometric features based on the coordinates of each key point, and match the calculated geometric features with the target geometric features of different pre-set postures. This application mainly realizes standing detection, crawling detection, fall detection, and prone detection through posture matching. That is: the calculated geometric features are matched with the target geometric features of the standing posture to realize standing detection; if they match, the initial posture is determined to be a standing posture; if they do not match, the calculated geometric features are matched with the target geometric features of the crawling posture to realize crawling detection; if they match, the initial posture is determined to be a crawling posture; if they do not match, the calculated geometric features are matched with the target geometric features of the fall posture to realize fall detection; if they match, the initial posture is determined to be a fall posture; if they do not match, the calculated geometric features are matched with the target geometric features of the prone posture to realize prone detection; if they match, the initial posture is determined to be a prone posture; after identifying the initial posture, temporal smoothing processing is performed to output the final posture. Determine whether the final posture is a falling posture or a prone sleeping posture. If it is determined to be a falling posture or a prone sleeping posture and the duration exceeds the duration threshold, then report an alarm; otherwise, continue monitoring.
[0078] In summary, this application extracts key points of the human skeleton from the target object detection box and matches the pose geometry features with the target geometry features of different poses. It can set up special judgment rules based on the physiological characteristics of the infant's head-to-body ratio, accurately distinguishing four types of infant-specific poses: falling, crawling, standing, and prone sleeping. Furthermore, it uses a sliding window majority voting mechanism for temporal smoothing to eliminate single-frame false detections and effectively reduce the false alarm rate. When dangerous poses such as falling are detected, timely alarms are issued, realizing the recognition of infant poses and safety protection.
[0079] In another embodiment of this application, the process of determining the intrusion detection result of the target object includes: Identify dangerous objects from the video stream and determine the dangerous area corresponding to the dangerous object based on the area occupied by the dangerous object in the video stream; If there is a target object being monitored in the video stream, then the target key points of the target object are detected, and the target key points are the skeletal key points of the detected body parts of the target object; Based on the positional relationship between the target key point and the dangerous area, an intrusion detection result is generated; the intrusion detection result includes at least one of the following: intrusion status, intrusion level, location of the target key point that triggered the intrusion, and type of dangerous area.
[0080] This application requires the identification of hazardous objects from a video stream. These hazardous objects are items that can cause personal injury to a monitored target, such as infants or children. Hazardous objects include water dispensers, fire sources, electrical outlets, windows, and sharp objects in a home environment. This application can identify hazardous objects from the video stream using an object detection network, such as YOLO26 (YouOnlyLookOnce26, a real-time object detection network) or RT-DETR (Real-Time Detection Transformer, a real-time object detector based on the Transformer architecture). After identifying the hazardous object in the video stream, this application needs to determine the corresponding hazardous area based on the area occupied by the hazardous object in the video stream. The hazardous area can be directly formed by the area occupied by the hazardous object, or by extending the boundary of the area occupied by the hazardous object outward by a predetermined number of pixels. Furthermore, this application also supports users manually drawing and supplementing user-defined hazardous areas through a mobile terminal's APP interface.
[0081] After detecting a target object in the video stream, if the target object being monitored exists in the video stream, it is necessary to detect the target key points of the target object. Specifically, this application can extract several human skeletal key points from the detection box of the target object through a lightweight pose estimation network. The lightweight pose estimation network can be BlazePose (lightweight convolutional neural network) or MoveNet (ultra-lightweight pose detection model), etc. The several human skeletal key points can be skeletal key points of 17 or 33 human body parts, including the head, shoulders, elbows, wrists, hips, knees, ankles, etc.
[0082] This application, for the purpose of safety inspection of key parts of a target object, selects skeletal key points of the body parts requiring focused inspection from various skeletal key points as target key points. The number of these target key points can be one or more, such as any one or more of the following: wrist key points, foot key points, elbow key points, and head key points. Specifically, the position of each target key point can be represented by its two-dimensional coordinates in the video stream, so that subsequent processes can determine the positional relationship between the target key points and the danger zone.
[0083] This application, after identifying at least one target key point and at least one danger zone, determines the positional relationship between the target key point and the danger zone based on the two-dimensional coordinates of each target key point and the coordinate range of each danger zone. Then, it generates intrusion detection results based on this positional relationship. This positional relationship includes whether the target key point is located inside the danger zone and the shortest distance between the target key point and the boundary of the danger zone. If the target key point is located inside the danger zone, it is determined to have been intruded upon; if the target key point is not located inside the danger zone but the distance to the boundary of the danger zone is less than a predetermined threshold, it is determined to be approaching; if the distance between the target key point and the boundary of the danger zone is greater than or equal to the predetermined threshold, it is determined to be safe. This predetermined threshold can be set according to the actual application scenario.
[0084] The intrusion detection result includes at least one of the following: intrusion status, intrusion severity level, target critical point location that triggered the intrusion, and intrusion hazard area type. Intrusion status indicates whether the target critical point is currently located within a hazard area and can include any of the following: intruded, approaching, or safe. Intrusion severity level indicates the current alarm level and can include a proximity warning level and an intrusion alarm level, where the intrusion alarm level is more alarming than the proximity warning level. Target critical point location that triggered the intrusion indicates the body part corresponding to the critical point that triggered the intrusion, such as the left or right wrist. Hazard area type indicates the category of hazardous objects to which the intruded or approached hazard area belongs, such as an electrical outlet or a source of ignition.
[0085] If the intrusion detection result indicates that the target key point has intruded into the dangerous area, an intrusion alarm can be triggered; if it indicates that the target key point is close to the dangerous area but has not yet intruded, a proximity warning can be triggered. The intrusion detection result is sent to the caregiver's terminal to remind the caregiver to intervene in a timely manner. This application can define the proximity warning as a level one alarm, and the warning information can be prompted in ways such as controlling the caregiver's terminal to light up / text reminders; the intrusion alarm is a higher-level level two alarm, and the warning information can be prompted in ways such as sending images, sounds, and videos to the caregiver's terminal.
[0086] See Figure 7 The following is a flowchart of a dangerous area identification and detection process provided in this application embodiment, as shown in the figure. The process includes: inputting a home video stream; automatically identifying dangerous object areas through a target detection algorithm; mapping the detection boxes of dangerous object areas to dangerous areas; this application also supports manually setting dangerous areas through an APP, thereby generating a dangerous area set based on these two types of dangerous areas; obtaining key point data of the target object, which is the location data of the target key points; determining whether each target key point has intruded into the dangerous area one by one to obtain the intrusion detection result; and performing graded alarms according to the degree of intrusion of the intrusion detection result. A level 1 alarm requires triggering screen lighting and text prompts, while a level 2 alarm requires pushing image, sound, and video prompts.
[0087] This application enables the triggering of tiered alarms when any target key point is about to enter or has already entered a dangerous area. This method can effectively detect local dangerous actions. For example, when an infant reaches out to touch an outlet, even if the body does not enter, the alarm will be triggered if the key point of the hand enters the dangerous area of the outlet. This achieves precise danger intervention with an alarm as soon as the hand is reached, solving the technical problem that traditional solutions can only detect overall boundary crossings but cannot identify local dangerous actions.
[0088] In summary, this application automatically identifies dangerous objects from video streams and maps them to dangerous areas, eliminating the need for users to manually mark the perimeter of their care, thus lowering the operational threshold. Furthermore, it dynamically updates dangerous areas when the home environment changes, preventing safety misses due to users' failure to redraw in a timely manner. Simultaneously, by detecting the skeletal key points of the target object and determining its positional relationship with the dangerous area, the detection granularity can be refined from the overall detection frame to individual key points. For example, a proximity warning is triggered when a key point is less than a threshold from the dangerous area, and an intrusion alarm is triggered when a key point enters the dangerous area. In this way, even if an infant's entire body does not cross the boundary, but only performs localized dangerous actions such as reaching for an electrical outlet, it can be accurately detected and tiered alarms can be triggered, solving the problem of missed alarms caused by the torso not crossing the boundary in traditional solutions.
[0089] For a clear explanation of this plan, please refer to [link / reference]. Figure 8The figure shows a schematic diagram of the system architecture provided in this application embodiment. As shown, the system includes a data input layer, a video structured analysis layer, and a multimodal fusion decision layer. The video structured analysis layer includes five modules: module 1 is an intelligent album generation module, module 2 is an rPPG vital sign detection module, module 3 is an activity trajectory heatmap module, module 4 is a posture recognition module, and module 5 is a danger zone detection module. The output results of the video structured analysis layer and the multimodal fusion decision layer are output through the application layer. This system can realize intelligent care for infants and provide effective care suggestions.
[0090] The implementation process of this system is as follows: RGB cameras and microphones are used as data input layers, acquiring video streams from the RGB cameras and audio streams from the microphones. The video streams enter the video structured analysis layer, where the above five functional modules run in parallel. Module 1 performs infant face detection and tracking, facial expression recognition, real-time snapshot capture, short video recording, and intelligent album generation, adding growth records and push notifications. Module 2 extracts the face ROI, obtains respiration and heart rate through rPPG signal extraction, and performs abnormal detection alarms, realizing non-contact respiration and heart rate detection, achieving integrated health monitoring and safety care. Module 3 performs infant human figure detection and multi-target tracking, records trajectory data, and generates heatmaps using kernel density estimation. Module 4 performs posture classification based on key point detection and geometric feature calculation, and outputs posture danger alarms through temporal smoothing processing. Module 5, based on perimeter alarms, adds automatic identification of dangerous areas and judgment of local key point intrusion, and implements a hierarchical alarm strategy, providing finer detection granularity.
[0091] The visual modalities (expression, posture, heart rate) output from the five modules, along with the audio modalities (VAD + cry detection and classification), enter the multimodal fusion decision layer. This layer employs a decision-level fusion strategy for comprehensive state determination, reducing false alarm rates and improving accuracy by integrating multimodal data from visual, auditory, and physiological signals. Furthermore, by combining cry recognition, expression recognition, and multimodal fusion decision-making, it extends from location security to emotion analysis. The application layer outputs diverse features including a smart photo album, vital sign alarms, baby status and care suggestions, activity trajectory heatmaps, posture hazard alarms, and dangerous area intrusion alarms.
[0092] In summary, this application has the following advantages over the prior art: 1. The hazard detection method is optimized from passive perimeter detection to active semantic recognition and local key point intrusion detection: Existing technologies require users to manually draw virtual perimeters and can only detect whether the infant's entire body has crossed the boundary, failing to identify localized dangerous actions such as reaching for an outlet. This application introduces a target detection method to automatically identify semantic hazard sources, such as outlets, fire sources, and sharp objects, and map them as hazard areas. The system can proactively detect environmental hazards without user intervention. By refining the detection granularity from the overall detection box to individual skeletal key points, an alarm can be triggered even if the infant's body is not moving, as long as the hand key point enters the hazard area. Taking the scenario of reaching for an outlet as an example, existing technologies miss the alarm because the torso has not crossed the boundary, while this application achieves accurate early warning through hand key point detection.
[0093] 2. Utilizing a conventional camera combined with rPPG method for vital sign detection: Existing vital sign detection methods mostly employ millimeter-wave radar or contact sensors (smart socks, wristbands), which are costly in terms of hardware and can be restrictive for infants. This application employs a pure visual deep learning method to achieve low-cost, non-contact, and highly robust infant vital sign monitoring. This not only significantly reduces costs but also provides respiratory and heart rate data to support infant care.
[0094] 3. Infant-Specific Posture Recognition: Existing adult fall detection algorithms are designed based on the adult head-to-body ratio (approximately 1:8). Directly transferring these algorithms to infant scenarios with a head-to-body ratio of approximately 1:4 leads to a mismatch in judgment thresholds and fails to cover infant-specific postures such as crawling and prone sleeping. This application designs corresponding judgment rules based on infant physiological characteristics and introduces a sliding window majority voting mechanism. Because this application redesigns the judgment rules to suit infants, the system can accurately distinguish between four infant-specific postures: standing, crawling, falling, and prone sleeping. Combined with a temporal smoothing mechanism, it maintains a high detection rate while reducing the false alarm rate. This application's refined posture recognition based on infant physiological characteristics effectively covers infant-specific scenarios such as crawling and prone sleeping, while significantly reducing invalid alarms through temporal constraints.
[0095] 4. Crying recognition upgraded from single-modal binary classification to multi-class classification and multi-modal cross-validation: Most existing solutions only determine whether crying occurs, failing to distinguish the underlying needs such as hunger, pain, drowsiness, and boredom. Furthermore, single-audio modality is susceptible to environmental noise interference, resulting in a high false alarm rate. This application extends crying recognition to multi-class classification, enabling the system to output more meaningful needs information. Due to the introduction of multi-modal cross-validation, taking pain assessment as an example: simple audio might misjudge high-frequency noise as a painful cry. This application requires three conditions to be met simultaneously: a painful cry, a distressed expression, and a heart rate >160 bpm before outputting colic. These three conditions have physiological consistency (increased heart rate and distressed expression during pain). In addition, the rules for no crying, distressed expression, and abnormal heart rate also cover silent discomfort scenarios. This not only improves the accuracy of crying recognition but also provides care suggestions.
[0096] 5. A system integrating baby safety, health, and emotional support: Most existing solutions focus on only a single function; this application integrates five functional modules: intelligent photo album, rPPG vital signs, activity trajectory heatmap, posture recognition, danger zone detection, and a multimodal fusion decision layer, with each module working collaboratively. Because this application integrates safety protection, health monitoring, and emotional analysis into a single system, guardians can obtain comprehensive care services without deploying multiple independent devices. The modules work synergistically: danger zone detection utilizes key point outputs from the posture recognition module to achieve precise intrusion judgment; multimodal fusion uses facial expressions, posture, and heart rate to verify crying judgment; the intelligent photo album uses facial expression recognition to automatically capture highlight moments. This achieves integrated intelligent infant care encompassing safety protection, health monitoring, and emotional support, and all functions are implemented using a common RGB camera, resulting in low hardware costs and suitability for widespread home adoption.
[0097] The following describes the monitoring device based on surveillance video provided in the embodiments of this application. The device described below and the method described above can be referred to in correspondence.
[0098] See Figure 9 , Figure 9 This application provides a schematic diagram of a monitoring device based on surveillance video, which specifically includes: Data acquisition module 11 is used to acquire video streams and audio streams; The target object detection module 12 is used to identify the monitored target object from the video stream and determine the current detection result of the target object; the current detection result includes at least one of the following: the target object's facial expression recognition result, final posture, target heart rate, target respiratory rate, and intrusion detection result; The crying sound recognition module 13 is used to determine the crying sound recognition result of the target object using the audio stream; The fusion module 14 is used to generate a comprehensive status and / or care recommendations for the target object based on the current detection results and the crying recognition results.
[0099] In another embodiment of this application, the target object detection module 12 includes a pose detection unit, which is used for: The process of determining the final pose of the target object includes: extracting human skeleton key points from the detection box of the target object in the video frame; calculating pose geometric features using the human skeleton key points; matching the pose geometric features with target geometric features of different poses to determine the initial pose of the target object in each video frame of the video stream; and performing temporal smoothing processing on the initial pose of each video frame to obtain the final pose of the target object in each video frame.
[0100] In another embodiment of this application, the target object detection module 12 includes a heart rate and respiratory rate detection unit, which is used for: The face regions of each video frame are preprocessed, and the preprocessed face regions are temporally stacked to form an input tensor. The input tensor is then temporally segmented into Regions of Interest (ROIs) to obtain ROI regions corresponding to each video frame, with different ROI regions corresponding to different face parts. The spatiotemporal features of each ROI region in each video frame are extracted and input into a feedforward network to obtain the initial heart rate and initial respiratory rate. The initial heart rate and initial respiratory rate are then post-processed to obtain the target heart rate and target respiratory rate.
[0101] In another embodiment of this application, the device further includes: The trajectory heatmap generation module is used to perform cross-frame identity association and tracking of target objects in different video frames of the video stream, generate trajectory data for each target object, generate a time-series trajectory point set based on the trajectory data of each target object, and generate an activity trajectory heatmap for each target object based on the time-series trajectory point set. The trajectory heatmap display module is used to display the activity trajectory heatmap on a display device; wherein, the activity trajectory heatmap distinguishes the activity trajectories of different target objects through different display formats.
[0102] In another embodiment of this application, the target object detection module 12 includes an expression recognition unit, which is used for: The face region of the target object in the video stream is detected and tracked, and the face region of each video frame in the video stream is output; the face region is used for expression recognition to obtain the expression recognition result of the target object.
[0103] In another embodiment of this application, the target object detection module 12 further includes: The video stream interception unit is used to, if the expression recognition result is a target expression type, intercept an image and video corresponding to the target expression type from the video stream, and add an expression type tag and a timestamp to the intercepted image and video; The intelligent album generation unit is used to cluster images and videos based on their expression type tags and timestamps, generate intelligent albums, and stitch together images and videos from the intelligent albums into summary videos according to a predetermined period, which are then displayed on a display device.
[0104] In another embodiment of this application, the target object detection module 12 includes an intrusion detection unit, which is used for: Dangerous objects are identified from the video stream, and the corresponding danger zone is determined based on the area occupied by the dangerous object in the video stream. If there is a target object being monitored in the video stream, the target key points of the target object are detected, and the target key points are the skeletal key points of the detected body parts of the target object. An intrusion detection result is generated based on the positional relationship between the target key points and the danger zone. The intrusion detection result includes at least one of the following: intrusion status, intrusion level, target key point location that triggered the intrusion, and danger zone type.
[0105] Figure 10 A structural diagram of an electronic device provided in this application embodiment includes: Memory 20 is used to store computer programs; Processor 21 is used to execute computer programs to implement the steps described in any of the above embodiments. Processor 21 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 21 may be implemented using at least one hardware form selected from Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). Processor 21 may also include a main processor and a coprocessor. The main processor is a processor used to process data in the wake-up state, also known as a central processing unit (CPU); the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 21 may integrate a Graphics Processing Unit (GPU), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 21 may also include an Artificial Intelligence (AI) processor, which is used to handle computational operations related to machine learning.
[0106] The memory 20 may include one or more computer-readable storage media, which may be non-transitory. The memory 20 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In this embodiment, the memory 20 is used to store at least the following computer program 201, which, after being loaded and executed by the processor 21, is capable of implementing the relevant steps of the method disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202 and data 203, and the storage method may be temporary storage or permanent storage. The operating system 202 may include Windows, Unix, Linux, etc.
[0107] In some embodiments, the electronic device may further include a display screen 22, an input / output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.
[0108] Those skilled in the art will understand that Figure 10 The structures shown do not constitute a limitation on electronic devices and may include more or fewer components than those shown.
[0109] In another exemplary embodiment, a computer storage medium is also provided, wherein the program instructions, when executed by a processor, implement the steps of the methods described in any of the above method embodiments. It is understood that if the methods in the above embodiments are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and executes all or part of the steps of the methods in the various embodiments of this application. The aforementioned storage medium includes: USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), electrically erasable programmable ROM, registers, hard disks, removable disks, CD-ROMs, magnetic disks, or optical disks, and various other media capable of storing program code.
[0110] In another embodiment of this application, the electronic device may be any one of a monitoring device, a display device, and a cloud processing device.
[0111] The monitoring equipment refers to devices installed in the care scenario that have cameras and microphones, such as smart network cameras and baby monitors. The monitoring equipment can directly analyze and process the collected video and audio streams in real time using the aforementioned care methods, generating a comprehensive status and / or care suggestions, which are then pushed to the caregiver's terminal. The display device refers to a device with a display screen capable of running care applications, such as smartphones, tablets, and personal computers. The display device can acquire the video and audio streams collected by the monitoring equipment via a network, execute the aforementioned care methods locally to generate a comprehensive status and / or care suggestions, and then display them on the display device. The cloud processing device refers to a server or server cluster deployed in the cloud, which communicates with the monitoring equipment via a network, acquires the video and audio streams collected by the monitoring equipment, executes the aforementioned care methods, and pushes the generated comprehensive status and / or care suggestions to the caregiver's terminal.
[0112] It should be noted that the subject executing the above-mentioned care method in this application can be any one of the monitoring device, display device, and cloud processing device. However, in another embodiment, it can also be executed by multiple of the three in a coordinated manner. For example, after the monitoring device completes the preliminary analysis, it uploads the intermediate results to the cloud processing device for fusion processing, and then the cloud processing device pushes the final results to the display device. This application does not make specific limitations on this.
[0113] In another embodiment of this application, the display device is a mobile terminal or a care terminal with a display screen.
[0114] Specifically, the display device in this application can be a mobile terminal or a care terminal with a display screen. A mobile terminal refers to a portable smart electronic device, such as a smartphone or tablet. Caregivers can view the care results in real time through an application installed on the mobile terminal, which includes a comprehensive status and / or care suggestions. A care terminal with a display screen refers to a fixed or desktop device specifically designed for care scenarios, integrating a display screen and a communication module, such as a dedicated baby monitor or a desktop care device equipped with a display screen. This care terminal can be placed in a fixed location for extended periods, continuously displaying monitoring footage and care information on the display screen for convenient viewing by the caregiver at any time.
[0115] In another exemplary embodiment, a computer program product containing instructions is also provided, which, when executed by a cluster of computer devices, causes the cluster of computer devices to perform the steps of the above-described care method.
[0116] In this application, a computer device cluster may include one or more electronic devices. Exemplarily, the computer device cluster may be a cluster composed of multiple cloud processing devices, or a cluster composed of any one or more of monitoring devices, display devices, and cloud processing devices. When the computer device cluster includes multiple electronic devices, the steps of the above-described monitoring method can be executed distributedly by the multiple electronic devices. For example, the monitoring device performs data acquisition and preprocessing, the cloud processing device performs multimodal fusion processing, and the display device displays the results. The computer program product may be stored in a computer-readable storage medium or embedded in the electronic device in the form of firmware or hardware instructions; this application does not specifically limit its use.
[0117] The various embodiments described in this specification are presented in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. It should be understood that the terminology used herein is for the purpose of describing particular exemplary embodiments only and is not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms “a,” “an,” and “described” used herein may also mean the plural forms. The terms “comprising,” “including,” “containing,” and “having” are inclusive and therefore indicate the presence of the stated features, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, elements, components, and / or combinations thereof. The method steps, processes, and operations described herein are not construed as requiring them to be performed in a specific order described or illustrated, unless the order of performance is explicitly indicated. It should also be understood that additional or alternative steps may be used.
[0118] It should be understood that although the steps in the flowcharts of the accompanying figures are shown sequentially as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the accompanying figures may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.
[0119] The above are only some embodiments of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A monitoring method based on surveillance video, characterized in that, include: Acquire video and audio streams; Identify the target object being monitored from the video stream and determine the current detection result of the target object; The current detection results include at least one of the following: the target object's facial expression recognition result, final posture, target heart rate, target respiratory rate, and intrusion detection result; The crying sound recognition result of the target object is determined using the audio stream; Based on the current detection results and the crying recognition results, a comprehensive status and / or care recommendations for the target object are generated.
2. The care method according to claim 1, characterized in that, The process of determining the final pose of the target object includes: Extract human skeleton key points from the detection bounding box of the target object in the video frame; The pose geometry features are calculated using the key points of the human skeleton, and the pose geometry features are matched with the target geometry features of different poses to determine the initial pose of the target object in each video frame of the video stream. The initial pose of each video frame is subjected to temporal smoothing to obtain the final pose of the target object in each video frame.
3. The care method according to claim 1, characterized in that, The process of determining the target heart rate and target respiratory rate of the target object includes: The face regions of each video frame are preprocessed, and the preprocessed face regions are stacked in time to form an input tensor. The input tensor is subjected to temporal ROI segmentation to obtain each ROI region corresponding to each video frame, and different ROI regions correspond to different face parts; The spatiotemporal features of each ROI region in each video frame are extracted and input into a feedforward network to obtain the initial heart rate and initial respiratory rate. The initial heart rate and initial respiratory rate are then post-processed to obtain the target heart rate and target respiratory rate.
4. The care method according to claim 1, characterized in that, After acquiring the video stream, the following is also included: Cross-frame identity association and tracking are performed on target objects in different video frames of the video stream to generate trajectory data for each target object; Generate a time-series trajectory point set based on the trajectory data of each target object, and generate an activity trajectory heatmap for each target object based on the time-series trajectory point set; The activity trajectory heatmap is displayed on a display device; wherein, the activity trajectory heatmap distinguishes the activity trajectories of different target objects through different display formats.
5. The care method according to claim 1, characterized in that, The process of determining the expression recognition result of the target object includes: The face region of the target object in the video stream is detected and tracked, and the face region of each video frame in the video stream is output. Facial expression recognition is performed on the facial region to obtain the facial expression recognition result of the target object.
6. The care method according to claim 5, characterized in that, After obtaining the expression recognition result of the target object, the method further includes: If the expression recognition result is the target expression type, then the image and video corresponding to the target expression type are extracted from the video stream, and the expression type tag and timestamp are added to the extracted image and video; The images and videos are clustered based on their expression type tags and timestamps to generate smart albums. The images and videos in the smart albums are then stitched together to form summary videos according to a predetermined period and displayed on a display device.
7. The care method according to any one of claims 1 to 6, characterized in that, The process of determining the intrusion detection result of the target object includes: Identify dangerous objects from the video stream and determine the dangerous area corresponding to the dangerous object based on the area occupied by the dangerous object in the video stream; If there is a target object being monitored in the video stream, then the target key points of the target object are detected, and the target key points are the skeletal key points of the detected body parts of the target object; Based on the positional relationship between the target key point and the dangerous area, an intrusion detection result is generated; the intrusion detection result includes at least one of the following: intrusion status, intrusion level, location of the target key point that triggered the intrusion, and type of dangerous area.
8. A monitoring device based on surveillance video, characterized in that, include: The data acquisition module is used to acquire video and audio streams; The target object detection module is used to identify the monitored target object from the video stream and determine the current detection result of the target object; The current detection results include at least one of the following: the target object's facial expression recognition result, final posture, target heart rate, target respiratory rate, and intrusion detection result; A crying sound recognition module is used to determine the crying sound recognition result of the target object using the audio stream; The fusion module is used to generate a comprehensive status and / or care recommendations for the target object based on the current detection results and the crying recognition results.
9. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor for executing the computer program to implement the steps of the care method as described in any one of claims 1 to 7.
10. The electronic device according to claim 9, characterized in that, The electronic device is any one of a monitoring device, a display device, and a cloud processing device.
11. The electronic device according to claim 10, characterized in that, The display device is a mobile terminal or a monitoring terminal with a display screen.
12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the care method as described in any one of claims 1 to 7.
13. A computer program product containing instructions, characterized in that, When the instructions are executed by a cluster of computer devices, the cluster of computer devices causes the cluster of computer devices to perform the steps of the care method as described in any one of claims 1 to 7.
