Behavior recognition method, device and electronic device for infants and young children

Through frame-skipping object recognition and feature extraction methods, infant behavior information is generated, which solves the problem that infants and toddlers' activity areas cannot be identified beyond the outside of the car, and achieves accurate abnormal behavior warning and complex behavior processing.

CN118097788BActive Publication Date: 2024-09-06ADDX (BEIJING) TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410320573.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-20
Publication Date
2024-09-06
Estimated Expiration
2044-03-20

AI Technical Summary

Technical Problem

Existing infant behavior recognition technology cannot effectively identify infants and toddlers when their activity areas exceed the infant stroller, resulting in the inability to provide accurate abnormal behavior warnings, and the feature extraction of multi-modal data is not accurate enough to handle complex infant and toddler behaviors.

Method used

The frame skipping object recognition and feature extraction method is used to perform frame skipping object recognition on the surveillance image sequence, generate a set of object information, and combine the audio signals for feature extraction to generate image features and audio features. Through these features, infant behavior information is generated, including Behavior trends and risk probabilities to provide early warning of abnormal behavior.

Benefits of technology

It achieves accurate abnormal behavior warning in large activity areas, reduces computing pressure, improves the accuracy of recognition results, and can effectively handle complex infant and young child behaviors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118097788B
    Figure CN118097788B
Patent Text Reader

Abstract

The embodiments of the present disclosure disclose a method, device and electronic device for behavior recognition for infants and young children. A specific implementation of the method includes: performing frame skipping object recognition on a monitoring image sequence to generate an object information set; in response to the presence of target object information in the object information set, taking the image number included in the target object information as the interception position, performing sequence interception on the monitoring image sequence to obtain an intercepted image sequence; performing feature extraction on the monitoring image sequence and audio signal to generate image features and audio features; generating infant and young child behavior information based on the image features and audio features; and providing abnormal behavior warning based on the behavior trend information and behavior risk probability included in the infant and young child behavior information. This implementation achieves accurate abnormal behavior warning for infants and young children.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of computer technology, and in particular to a method, device, and electronic device for behavior recognition applied to infants and young children. Background Art

[0002] Due to the incomplete development of infants and young children, in the absence of real-time care from guardians, it is very easy for them to be in danger due to their abnormal behavior. At present, when performing infant and young child behavior recognition, the commonly used method is: for example, using an infant stroller with behavior signal collection to monitor the behavior.

[0003] However, when the above method is adopted, the following technical problems often occur:

[0004] First, when the activity area of ​​infants and young children exceeds the infant stroller, it is impossible to effectively identify the behavior of infants and young children, making it impossible to warn of abnormal behavior of infants and young children;

[0005] Second, for multimodal data, it is often impossible to effectively extract features, making the subsequent recognition results inaccurate;

[0006] Third, the actual behavior of infants and young children is relatively complex, and a single method of predicting risk probability is difficult to provide abnormal behavior warnings for complex infant and young children.

[0007] The above information disclosed in this Background section is only for enhancement of understanding of the background of the inventive concept and therefore it may contain information that does not form the prior art that is already known to a person of ordinary skill in the art. Summary of the invention

[0008] The content of this disclosure is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this disclosure is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.

[0009] Some embodiments of the present disclosure propose a behavior recognition method, device, and electronic device for infants and young children to solve one or more of the technical problems mentioned in the above background technology section.

[0010] In a first aspect, some embodiments of the present disclosure provide a behavior recognition method for infants and young children, the method comprising: performing frame skipping object recognition on a surveillance image sequence to generate an object information set, wherein the surveillance image sequence is an image sequence acquired in real time by a surveillance camera within a preset time length, the object information in the object information set comprises: object type and image number, the object type comprises: a first object type and a second object type, the first object type represents an infant object type, the second object type represents a non-infant type, the image number represents a frame number of the surveillance image corresponding to the object information in the surveillance image sequence; in response to the presence of target object information in the object information set, performing sequence interception on the surveillance image sequence with the image number included in the target object information as the interception position, to obtain to the captured image sequence, wherein the target object information is the target position in the object information set, and the object type included is the object information of the first object type; feature extraction is performed on the monitoring image sequence and the audio signal to generate image features and audio features, wherein the audio signal and the monitoring image sequence are synchronously collected, and the audio signal is collected by a directional sound pickup device, and the directional sound pickup device is consistent with the direction of the monitoring camera; infant behavior information is generated according to the image features and the audio features, wherein the infant behavior information includes: behavior trend information and behavior risk probability, and the behavior trend information includes: current behavior state and predicted behavior state; abnormal behavior warning is performed according to the behavior trend information and behavior risk probability included in the infant behavior information.

[0011] In a second aspect, some embodiments of the present disclosure provide a behavior recognition device for infants and young children, the device comprising: a frame skipping object recognition unit, configured to perform frame skipping object recognition on a surveillance image sequence to generate an object information set, wherein the surveillance image sequence is an image sequence acquired in real time by a surveillance camera within a preset time length, and the object information in the object information set comprises: an object type and an image number, the object type comprises: a first object type and a second object type, the first object type represents an infant object type, the second object type represents a non-infant type, and the image number represents a frame number of the surveillance image corresponding to the object information in the surveillance image sequence; a sequence interception unit, configured to, in response to the presence of target object information in the object information set, perform sequence interception on the surveillance image sequence with the image number included in the target object information as the interception position to obtain an intercepted image image sequence, wherein the target object information is the target position in the object information set, and the object type included is the object information of the first object type; a feature extraction unit is configured to perform feature extraction on the monitoring image sequence and the audio signal to generate image features and audio features, wherein the audio signal and the monitoring image sequence are synchronously collected, and the audio signal is collected by a directional sound pickup device, and the directional sound pickup device is consistent with the direction of the monitoring camera; a generation unit is configured to generate infant behavior information according to the image features and the audio features, wherein the infant behavior information includes: behavior trend information and behavior risk probability, and the behavior trend information includes: current behavior state and predicted behavior state; an abnormal behavior warning unit is configured to perform abnormal behavior warning according to the behavior trend information and behavior risk probability included in the infant behavior information.

[0012] In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation manner of the above-mentioned first aspect.

[0013] In a fourth aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method described in any implementation manner of the above-mentioned first aspect is implemented.

[0014] The above-mentioned embodiments of the present disclosure have the following beneficial effects: through the behavior recognition method applied to infants and young children in some embodiments of the present disclosure, accurate abnormal behavior warning of infants and young children is realized. Specifically, the reason for the inability to accurately warn of abnormal behavior of infants and young children is that when the activity area of ​​the infant and young children exceeds the baby stroller, the behavior of the infant and young children cannot be effectively recognized, so that the abnormal behavior of the infant and young children cannot be warned. In practice, the signal acquisition device is often installed on the baby stroller, and the activity area corresponding to the baby stroller is small. When the activity area of ​​the infant and young children exceeds the baby stroller, it is impossible to monitor the behavior of the infant and young children. Based on this, the behavior recognition method applied to infants and young children in some embodiments of the present disclosure, first, skip frame object recognition is performed on the monitoring image sequence to generate an object information set, wherein the above-mentioned monitoring image sequence is an image sequence collected in real time by the monitoring camera within a preset time length, and the object information in the above-mentioned object information set includes: object type and image number, the object type includes: a first object type and a second object type, the first object type represents the infant object type, the second object type represents the non-infant type, and the image number represents the frame number of the monitoring image corresponding to the object information in the above-mentioned monitoring image sequence. In practice, surveillance cameras are often in a state of real-time image acquisition, and the behavior of the monitored object is often continuous, which is reflected in the surveillance video as follows: the monitored object appears in multiple consecutive frames of surveillance images. Therefore, performing all object recognition for multiple consecutive frames of images will increase additional computing pressure. Therefore, the present disclosure reduces the amount of image processing and reduces computing pressure by skipping frames to recognize objects. Secondly, in response to the presence of target object information in the above-mentioned object information set, the above-mentioned surveillance image sequence is sequence-cut with the image number included in the above-mentioned target object information as the interception position to obtain a sequence of intercepted images, wherein the above-mentioned target object information is the target position in the above-mentioned object information set, and the object type included is object information of the first object type. By taking the image number included in the target object information as the interception position and performing sequence-cutting on the above-mentioned surveillance image sequence, the number of surveillance images in the surveillance image sequence is further removed, thereby reducing subsequent computing pressure. Next, feature extraction is performed on the monitoring image sequence and audio signal to generate image features and audio features, wherein the audio signal and the monitoring image sequence are collected synchronously, and the audio signal is collected by a directional sound pickup device, and the directional sound pickup device is in the same direction as the monitoring camera. In this way, audio features and video features are obtained. In addition, infant behavior information is generated based on the image features and the audio features, wherein the infant behavior information includes: behavior trend information and behavior risk probability, and the behavior trend information includes: current behavior state and predicted behavior state. In this way, the current behavior state and predicted behavior state from the behavior perspective, as well as the behavior risk probability from the probability statistics perspective are obtained.Finally, according to the behavior trend information and behavior risk probability included in the above infant behavior information, abnormal behavior warning is carried out. In this way, accurate abnormal behavior warning of infants and young children in a large activity area is achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.

[0016] Figure 1 is a flow chart of some embodiments of the method for behavior recognition applied to infants and young children according to the present disclosure;

[0017] Figure 2 is a schematic diagram of the structure of some embodiments of the behavior recognition device applied to infants and young children according to the present disclosure;

[0018] Figure 3 It is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION

[0019] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0020] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure can be combined with each other.

[0021] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0022] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0023] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0024] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.

[0025] refer to Figure 1 , shows a process 100 of some embodiments of the method for identifying behavior of infants and young children according to the present disclosure. The method for identifying behavior of infants and young children comprises the following steps:

[0026] Step 101: perform frame skipping object recognition on a surveillance image sequence to generate an object information set.

[0027] In some embodiments, the execution subject (e.g., a computing device) of the behavior recognition method applied to infants and young children may perform frame skipping object recognition on a surveillance image sequence to generate an object information set. The surveillance image sequence is an image sequence captured in real time by a surveillance camera within a preset time length. The surveillance camera may be a camera facing the activity area of ​​the infant. In practice, as the activity area of ​​the infant changes, the direction of the surveillance camera may also change with the infant. The preset time length may be 3 minutes. For example, the surveillance camera may use the captured surveillance images as a surveillance image sequence every 3 minutes. The object information represents the object identified from the surveillance image. The object information in the object information set includes: object type and image number. The object type includes: a first object type and a second object type. The first object type represents an infant object type. The second object type represents a non-infant type. The image number represents the frame number of the surveillance image corresponding to the object information in the surveillance image sequence.

[0028] As an example, for the above-mentioned surveillance image sequence, the above-mentioned execution subject can set a preset interval, perform object recognition on the surveillance image to generate object information, and obtain an object information set. For example, the surveillance image sequence can be [surveillance image A, surveillance image B, surveillance image C, surveillance image D, surveillance image E, surveillance image F, surveillance image G, surveillance image H, surveillance image I, surveillance image J, surveillance image K, surveillance image L, surveillance image M]. The preset interval can be 5 frames of images. Therefore, the above-mentioned execution subject can perform object recognition on surveillance image A, surveillance image G and surveillance image M respectively to obtain the above-mentioned object information set. Specifically, the above-mentioned execution subject can perform object recognition through the SSDLite model.

[0029] It should be noted that the above-mentioned computing device can be hardware or software. When the computing device is hardware, it can be implemented as a distributed cluster consisting of multiple servers or terminal devices, or it can be implemented as a single server or a single terminal device. When the computing device is embodied as software, it can be installed in the hardware devices listed above. It can be implemented as multiple software or software modules for providing distributed services, for example, or it can be implemented as a single software or software module. No specific limitation is made here. It should be understood that the number of computing devices can be any number according to the implementation needs.

[0030] In some optional implementations of some embodiments, the execution subject performs frame skipping object recognition on the surveillance image sequence to generate an object information set, which may include the following steps:

[0031] The first step is to determine the average frame rate of the surveillance camera within the preset time period.

[0032] Among them, the camera frame rate of the surveillance camera changes dynamically according to the surveillance. The camera frame rate represents the number of surveillance images collected by the surveillance camera within 1 second. In practice, when the image collected by the surveillance camera changes slightly, the camera frame rate can be reduced, and when the image collected by the surveillance camera changes greatly, the camera frame rate can be increased. Specifically, the surveillance camera can automatically adjust the camera frame rate based on the difference between at least two consecutive frames of surveillance images. The above-mentioned execution entity can determine at least one camera frame rate of the surveillance camera within a preset time length as the average frame rate of the camera.

[0033] In the second step, the product of the average frame rate of the camera and the preset time length is determined as the number of monitored images.

[0034] The third step is to perform sampling coefficient mapping on the number of monitoring images to obtain the sampling coefficient.

[0035] In practice, the above-mentioned execution subject can map the sampling coefficient according to a preset mapping table between the number of monitoring images and the sampling coefficient.

[0036] As an example, the mapping table between the number of monitoring images and the sampling coefficient can be: {(number of monitoring images∈interval A, sampling coefficient A), (number of monitoring images∈interval B, sampling coefficient B), (number of monitoring images∈interval C, sampling coefficient C)…}.

[0037] The fourth step is to determine the sampling window.

[0038] The monitoring image corresponding to the window boundary of the sampling window is used for frame skipping object recognition. The window size of the sampling window is equal to the product value of the number of the monitoring images and the sampling coefficient.

[0039] The fifth step is to sample the monitoring images in the monitoring image sequence through the sampling window to obtain a sampled monitoring image sequence.

[0040] As an example, the window size of the sampling window is 4. The monitoring image sequence may be [monitoring image A, monitoring image B, monitoring image C, monitoring image D, monitoring image E, monitoring image F, monitoring image G, monitoring image H, monitoring image I, monitoring image J, monitoring image K, monitoring image L, monitoring image M]. The monitoring image sequence after sampling may be [monitoring image A, monitoring image F, monitoring image K].

[0041] In the sixth step, the object type corresponding to each sampled monitoring image in the above sampled monitoring image sequence is determined through the object type classification model.

[0042] Among them, the object type classification model includes: a first image feature extraction model and a binary classifier. The first image feature extraction model adopts a feature pyramid network structure. Specifically, the first image feature extraction model includes: convolution layer A, convolution layer B, convolution layer C, convolution layer D and convolution layer E. Among them, the receptive field of convolution layer A> the receptive field of convolution layer B> the receptive field of convolution layer C> the receptive field of convolution layer D> the receptive field of convolution layer E. Convolution layer A, convolution layer B, convolution layer C, convolution layer D and convolution layer E are connected in series. At the same time, there is a jump connection between convolution layer A and convolution layer C. There is a jump connection between convolution layer C and convolution layer E. That is, the input of convolution layer C includes the output of convolution layer A and the output of convolution layer B. The input of convolution layer E includes the output of convolution layer C and the output of convolution layer D.

[0043] The seventh step is to determine the frame number of each sampled monitoring image in the sampled monitoring image sequence as the image number.

[0044] In practice, the execution subject may record the frame offset of the sampled monitoring image when executing the fifth step. The execution subject may calculate the frame number as the image number according to the frame offset corresponding to the sampled monitoring image when executing the seventh step.

[0045] In the eighth step, the image number and object type corresponding to each sampled monitoring image in the sampled monitoring image sequence are combined to generate object information, thereby obtaining an object information set.

[0046] Step 102 , in response to the existence of target object information in the object information set, the monitoring image sequence is sequentially intercepted with the image number included in the target object information as the interception position to obtain a intercepted image sequence.

[0047] In some embodiments, the execution subject may, in response to the existence of target object information in the object information set, use the image number included in the target object information as the interception position to perform sequence interception on the surveillance image sequence to obtain an intercepted image sequence. The target object information is the object information of the target position in the object information set, and the object type included is the first object type. The target position is the frame number of the first surveillance image in the surveillance image sequence whose corresponding object type is the first object type.

[0048] As an example, the surveillance image sequence may be [surveillance image A, surveillance image B, surveillance image C, surveillance image D, surveillance image E, surveillance image F, surveillance image G, surveillance image H, surveillance image I, surveillance image J, surveillance image K, surveillance image L, surveillance image M]. The object type corresponding to surveillance image E, surveillance image F, and surveillance image G may be the first object type. Therefore, the target position is the frame number of surveillance image E. The resulting intercepted image sequence may be [surveillance image E, surveillance image F, surveillance image G, surveillance image H, surveillance image I, surveillance image J, surveillance image K, surveillance image L, surveillance image M].

[0049] Step 103: extract features from the monitoring image sequence and the audio signal to generate image features and audio features.

[0050] In some embodiments, the execution entity may perform feature extraction on the monitoring image sequence and the audio signal to generate image features and audio features.

[0051] In some optional implementations of the following embodiments, the execution subject extracts features from the monitoring image sequence and the audio signal to generate image features and audio features, which may include the following steps:

[0052] In the first step, global features are extracted from the monitoring image sequence using a first global feature extraction model to generate a first global image feature.

[0053] Among them, the above-mentioned first global feature extraction model, the above-mentioned first local feature extraction model, the above-mentioned first feature fusion model, the above-mentioned second global feature extraction model, the above-mentioned second global feature extraction model and the above-mentioned second feature fusion model are included in the second image feature model.

[0054] In the second step, local features are extracted from the monitoring image sequence using a first local feature extraction model to generate first local image features.

[0055] Among them, the first global feature extraction model and the second local feature extraction model are both temporal feature extraction models. Specifically, the first global feature extraction model includes: 15 convolutional layers and 1 maximum pooling layer. The first local feature extraction model includes: 15 convolutional layers and 1 maximum pooling layer. The receptive field of the convolutional layer in the first global feature extraction model is larger than the receptive field of the corresponding convolutional layer in the first local feature extraction model. There is a jump connection between every 3 convolutional layers of the 15 convolutional layers included in the first global feature extraction model. There is a jump connection between every 3 convolutional layers of the 15 convolutional layers included in the first local feature extraction model.

[0056] As an example, the first global feature extraction model includes: convolution layer A1, convolution layer A2, convolution layer A3, convolution layer A4, convolution layer A5, convolution layer A6, convolution layer A7, convolution layer A8, convolution layer A9, convolution layer A 10 , convolutional layer A 11 , convolutional layer A 12 , convolutional layer A 13 , convolutional layer A 14 , convolutional layer A 15 And the maximum pooling layer P1. Among them, the input of convolution layer A1 is input to convolution layer A5 through a skip connection. The input of convolution layer A5 is input to convolution layer A9 through a skip connection. The input of convolution layer A9 is input to convolution layer A through a skip connection. 12 Convolutional layer A 12 The input is fed into the convolutional layer A through a skip connection 15 That is, the input of convolutional layer A5 is the output of convolutional layer A1 and the output of convolutional layer A4. The input of convolutional layer A9 is the output of convolutional layer A5 and the output of convolutional layer A8. 12 The input is the convolution layer A9 output and the convolution layer A 11 The output of the convolutional layer A 15 The input of the convolutional layer A is 12 Output and convolutional layer A 14 Output. In practice, due to the small image difference between adjacent monitoring images, when the span of the jump connection is small, the output feature difference of the convolution layer corresponding to the skip connection is small. For example, when there is a jump connection between convolution layer A1 and convolution layer A3, that is, the input of convolution layer A3 is the output of convolution layer A1 and the output of convolution layer A2, since the monitoring image corresponding to convolution layer A1 and the monitoring image corresponding to convolution layer A3 are slightly different, the feature of the convolution layer A3 input using the jump connection is not much different from the feature of the convolution layer A3 input without the jump connection. Therefore, the present application adopts a method of having a jump connection between every 3 convolution layers to eliminate the problem of feature forgetting corresponding to long sequences.

[0057] As another example, the first global feature extraction model includes: convolutional layer A1...convolutional layer A15 And the maximum pooling layer P1. The first local feature extraction model includes: convolution layer B1...convolution layer B 15 and the maximum pooling layer P1. The receptive field of the convolutional layer in the first global feature extraction model is larger than the receptive field of the corresponding convolutional layer in the first local feature extraction model.

[0058] In the third step, the first global image feature and the first local image feature are fused through a first feature fusion model to obtain a first fused image feature.

[0059] Among them, the first feature fusion model adopts a feature pyramid network model to realize feature superposition of the first global image features and the first local image features of different receptive fields to obtain the above-mentioned first fused image features.

[0060] The fourth step is to generate a second global image feature based on the second global feature extraction model and the first fused image feature.

[0061] The fifth step is to generate a second local image feature based on the second local feature extraction model and the first fused image feature.

[0062] Among them, the second global feature extraction model and the second local feature extraction model are both temporal feature extraction models. Specifically, the second global feature extraction model includes: 6 convolutional layers and 1 maximum pooling layer. The second local feature extraction model includes: 6 convolutional layers and 1 maximum pooling layer. The receptive field of the convolutional layer in the second global feature extraction model is larger than the receptive field of the corresponding convolutional layer in the second local feature extraction model. There is a jump connection between every 3 convolutional layers of the 6 convolutional layers included in the second global feature extraction model. There is a jump connection between every 3 convolutional layers of the 6 convolutional layers included in the second local feature extraction model. Among them, the model structure of the second global feature extraction model can refer to the model structure of the first global feature extraction model, which will not be repeated here. The model structure of the second local feature extraction model can refer to the model structure of the first local feature extraction model, which will not be repeated here.

[0063] In the sixth step, the second global image feature and the second local image feature are fused according to the second feature fusion model to obtain the image feature.

[0064] Among them, the second feature fusion model includes: feature fusion model A and feature fusion model B. Feature fusion model A and feature fusion model B are twin models. Feature fusion model A and feature fusion model B both adopt feature pyramid network model. Specifically, feature fusion model A includes 3 downsampling layers. Feature fusion model B includes 3 downsampling layers. The downsampling layer is implemented by a convolution layer. Specifically, feature fusion model A includes: downsampling layer A1, downsampling layer A2 and downsampling layer A3. Feature fusion model B includes: downsampling layer B1, downsampling layer B2 and downsampling layer B3. A feature overlay layer C1 is provided between downsampling layer A1 and downsampling layer B1. A feature overlay layer C2 is provided between downsampling layer A2 and downsampling layer B2. A feature overlay layer C3 is provided between downsampling layer A3 and downsampling layer B3.

[0065] As an example, downsampling layer A1 downsamples the second global image feature to obtain downsampled feature A1. Downsampling layer A2 downsamples downsampled feature A1 to obtain downsampled feature A2. Downsampling layer A3 downsamples downsampled feature A2 to obtain downsampled feature A3. Downsampling layer B1 downsamples the second local image feature to obtain downsampled feature B1. Downsampling layer B2 downsamples downsampled feature B1 to obtain downsampled feature B2. Downsampling layer B3 downsamples downsampled feature B2 to obtain downsampled feature B3. Downsampled feature A1 and downsampled feature B1 are feature superimposed through feature superposition layer C1 to obtain superimposed feature C1. Downsampled feature A2 and downsampled feature B2 are feature superimposed through feature superposition layer C2 to obtain superimposed feature C2. Downsampled feature A3 and downsampled feature B3 are feature superimposed through feature superposition layer C3 to obtain superimposed feature C3. Superimposed feature C1, superimposed feature C2 and superimposed feature C3 are superimposed to obtain image feature.

[0066] In the seventh step, the audio feature extraction model is used to extract the audio feature of the audio signal to obtain the first audio feature.

[0067] The first audio feature extraction model is an audio feature extraction model using short-time Fourier transform. The first audio feature extraction model, the ambient noise stripping model, the second audio feature extraction model, the third audio feature extraction model and the audio feature fusion model are included in the audio feature extraction model.

[0068] In the eighth step, the environmental noise is removed from the first audio feature through an environmental noise removal model to generate a second audio feature.

[0069] The environmental noise stripping model is used to reduce the noise of the audio signal. In practice, the environmental noise stripping model adopts a DNN (Deep Neural Networks) model.

[0070] In the ninth step, a third audio feature is generated based on the second audio feature extraction model and the second audio feature.

[0071] Among them, the above-mentioned second audio feature extraction model is used for frequency domain feature extraction.

[0072] In the tenth step, a fourth audio feature is generated based on the third audio feature extraction model and the second audio feature.

[0073] The third audio feature extraction model is used for time domain feature extraction. In practice, the model structure of the second audio feature extraction model is consistent with the model structure of the third audio feature extraction model. The difference between the second audio feature extraction model and the third audio feature extraction model is that the second audio feature extraction model is used for audio feature extraction in the frequency domain. The third audio feature extraction model is used for audio feature extraction in the time domain.

[0074] As an example, the second audio feature extraction model includes: an encoder, an audio feature extractor and a decoder. The input of the encoder is feature superimposed with the output of the decoder through a jump connection to obtain a third audio feature. The output of the encoder is feature superimposed with the output of the audio feature extractor through a jump connection as the input of the decoder. The audio feature extractor includes: a feature extraction block A and a feature extraction block B. The model structures of feature extraction block A and feature extraction block B are consistent. Specifically, feature extraction block A includes: a Bi-LSTM model, an FC layer and an LN layer. The input of the Bi-LSTM model is feature superimposed with the output of the LN layer through a jump connection as the output of feature extraction block A. The model structure of the third audio feature extraction model is the same as the second audio feature extraction model, which will not be repeated here.

[0075] In the eleventh step, the third audio feature and the fourth audio feature are fused through an audio feature fusion model to generate the audio feature.

[0076] The audio feature fusion model is an inverse short-time Fourier transform model. Specifically, for example, the audio feature fusion model can convert the third audio feature from the frequency domain to the time domain, and then superimpose it with the fourth audio feature to obtain the above audio feature. For another example, the audio feature fusion model can convert the fourth audio feature from the time domain to the frequency domain, and then superimpose it with the third audio feature to obtain the above audio feature.

[0077] The above-mentioned content of "in some optional implementation methods of some embodiments", as an inventive point of the present disclosure, solves the second technical problem mentioned in the background technology, namely, "for multimodal data, it is often impossible to effectively extract features, making the subsequent recognition results inaccurate". For monitoring images: First, the present disclosure designs a first global feature extraction model and a first local feature extraction model, which respectively include 15 convolutional layers and 1 maximum pooling layer, to achieve feature extraction under different receptive fields for monitoring images. At the same time, the feature forgetting problem existing in the long dependency problem is taken into account. The first global feature extraction model and the second local feature extraction model are both temporal feature extraction models. In addition, considering that the feature difference between adjacent monitoring images after feature extraction by the convolution layer is small, the feature difference corresponding to the shorter jump connection is small. Therefore, the present disclosure adopts a jump connection between every 3 convolutional layers, which not only eliminates the feature forgetting problem, but also tries to avoid the problem of features superimposed by jump connections and the small feature difference between adjacent monitoring images after feature extraction by convolution. Secondly, in order to further overcome the feature forgetting problem of long-term dependency, the present disclosure uses a first feature fusion model to fuse the first global image feature and the first local image feature, and then further extracts features through a second global feature extraction model and a second local feature extraction model. Then, when generating image features, considering that the feature scales of the second global image feature and the second local image feature are different, the present disclosure sets a second feature fusion model, and downsamples and fuses the second global image feature and the second local image feature respectively through a twin feature fusion model A and a feature fusion model B, and finally obtains the image feature. In this way, effective image feature extraction is achieved. For audio signals: First, preliminary feature extraction is performed through the first audio feature extraction. Secondly, noise stripping of the ambient noise is performed through the ambient noise stripping model to improve the quality of the audio signal. Then, the audio signal feature extraction in the frequency domain and time domain is realized through the second audio feature extraction model and the third audio feature extraction model respectively. Finally, the third audio feature and the fourth audio feature are feature fused through the audio feature fusion model to obtain the audio feature. In this way, effective audio feature extraction is achieved.

[0078] Step 104: Generate infant behavior information based on the image features and audio features.

[0079] In some embodiments, the execution subject may generate infant behavior information based on image features and audio features, wherein the infant behavior information includes: behavior trend information and behavior risk probability, and the behavior trend information includes: current behavior state and predicted behavior state.

[0080] As an example, when an infant is crawling beside a bed, the corresponding behavior trend information may be {current behavior state: crawling state; predicted behavior state: falling behavior state}.

[0081] In some optional implementations of some embodiments, the execution subject generates infant behavior information according to the image features and the audio features, which may include the following steps:

[0082] The first step is to generate the above-mentioned behavior danger probability based on the behavior danger probability prediction model, the above-mentioned image features and the above-mentioned audio features.

[0083] The danger probability prediction model is a multimodal model. In practice, the danger probability prediction model can adopt the ImageBind model.

[0084] In the second step, the current behavior state is generated according to the behavior recognition blocks included in the behavior recognition model and the image features.

[0085] The third step is to generate the predicted behavior state according to the behavior prediction block included in the behavior recognition model and the image features.

[0086] The behavior recognition block is a CNN-LSTM model. The behavior prediction block is an LSTM model. Since behavior recognition is to identify the infant's behavior at the current moment, and behavior prediction is to predict the infant's behavior at the next moment, the behavior recognition block and the behavior prediction block can share the LSTM model.

[0087] The above-mentioned content of "in some optional implementation methods of some embodiments", as an inventive point of the present disclosure, solves the third technical problem mentioned in the background technology, namely, "the actual behavior of infants and young children is relatively complex, and a single method of predicting risk probability is difficult to issue abnormal behavior warnings for complex infant and young children behaviors". Based on this, firstly, the present disclosure realizes the prediction of danger probability through a danger probability prediction model. At the same time, from the behavioral dimension, the behavior of infants and young children at the current moment and the behavior at the next moment are respectively identified through the behavior recognition module and the behavior prediction module. By combining the behavior danger probability, the current behavior state and the predicted behavior state, abnormal behavior warnings are issued from the probability dimension and the behavior dimension respectively, thereby improving the accuracy of the warning. Step 105, issue an abnormal behavior warning based on the behavior trend information and behavior danger probability included in the infant and young child behavior information.

[0088] In some embodiments, the above-mentioned execution entity can issue an abnormal behavior warning based on the behavior trend information and behavior risk probability included in the infant behavior information.

[0089] In practice, when the current behavior state and the predicted behavior state included in the behavior trend information contain an abnormal behavior state or the probability of behavior danger is greater than a preset probability, the above-mentioned execution entity may issue an abnormal behavior warning.

[0090] In some optional implementations of some embodiments, the execution subject performs abnormal behavior warning according to the behavior trend information and behavior risk probability included in the infant behavior information, which may include the following steps:

[0091] The first step is to initiate an abnormal behavior warning to a pre-associated warning terminal in response to the current behavior state being different from the predicted behavior state and the predicted behavior state being an abnormal behavior state.

[0092] Among them, the early warning terminal can be a mobile terminal that is pre-associated with an account and can communicate. For example, the early warning terminal can be a mobile phone. In practice, the current behavior state and the predicted behavior state are different representations of infants and young children in a state of behavioral change. When the predicted behavior state is an abnormal behavior state, it can be understood that the infant and young children are changing from safe behavior to abnormal behavior, so an abnormal behavior warning is required. For example, the current behavior state is a crawling state, and the predicted behavior state is a climbing state, at this time an abnormal behavior warning is required.

[0093] In the second step, in response to the current behavior state being the same as the predicted behavior state and the current behavior state being an abnormal behavior state, an abnormal behavior warning is initiated to the warning terminal.

[0094] In practice, if the current behavior state is the same as the predicted behavior state, it indicates that the infant's behavior has not changed. If the current behavior state is an abnormal behavior state, it indicates that the infant is in a state of continuous abnormal behavior, and therefore, an abnormal behavior warning is required.

[0095] The third step is to initiate an abnormal behavior warning to the warning terminal in response to the above-mentioned behavior danger probability being greater than or equal to a preset probability.

[0096] In some optional implementations of some embodiments, the above method further includes:

[0097] The first step is to create a socket communication link between the monitoring camera and the early warning terminal in response to receiving a voice communication request initiated by the early warning terminal.

[0098] The socket communication link may be a short-term communication link based on Socket.

[0099] The second step is to send real-time voice content to the above-mentioned surveillance camera through the above-mentioned socket communication link.

[0100] Among them, the above-mentioned real-time voice content is initiated through the above-mentioned early warning terminal.

[0101] The third step is to play the above-mentioned real-time voice content through the audio output device included in the above-mentioned monitoring camera.

[0102] The above-mentioned embodiments of the present disclosure have the following beneficial effects: through the behavior recognition method applied to infants and young children in some embodiments of the present disclosure, accurate abnormal behavior warning of infants and young children is realized. Specifically, the reason for the inability to accurately warn of abnormal behavior of infants and young children is that when the activity area of ​​the infant and young children exceeds the baby stroller, the behavior of the infant and young children cannot be effectively recognized, so that the abnormal behavior of the infant and young children cannot be warned. In practice, the signal acquisition device is often installed on the baby stroller, and the activity area corresponding to the baby stroller is small. When the activity area of ​​the infant and young children exceeds the baby stroller, it is impossible to monitor the behavior of the infant and young children. Based on this, the behavior recognition method applied to infants and young children in some embodiments of the present disclosure, first, skip frame object recognition is performed on the monitoring image sequence to generate an object information set, wherein the above-mentioned monitoring image sequence is an image sequence collected in real time by the monitoring camera within a preset time length, and the object information in the above-mentioned object information set includes: object type and image number, the object type includes: a first object type and a second object type, the first object type represents the infant object type, the second object type represents the non-infant type, and the image number represents the frame number of the monitoring image corresponding to the object information in the above-mentioned monitoring image sequence. In practice, surveillance cameras are often in a state of real-time image acquisition, and the behavior of the monitored object is often continuous, which is reflected in the surveillance video as follows: the monitored object appears in multiple consecutive frames of surveillance images. Therefore, performing all object recognition for multiple consecutive frames of images will increase additional computing pressure. Therefore, the present disclosure reduces the amount of image processing and reduces computing pressure by skipping frames to recognize objects. Secondly, in response to the presence of target object information in the above-mentioned object information set, the above-mentioned surveillance image sequence is sequence-cut with the image number included in the above-mentioned target object information as the interception position to obtain a sequence of intercepted images, wherein the above-mentioned target object information is the target position in the above-mentioned object information set, and the object type included is object information of the first object type. By taking the image number included in the target object information as the interception position and performing sequence-cutting on the above-mentioned surveillance image sequence, the number of surveillance images in the surveillance image sequence is further removed, thereby reducing subsequent computing pressure. Next, feature extraction is performed on the monitoring image sequence and audio signal to generate image features and audio features, wherein the audio signal and the monitoring image sequence are collected synchronously, and the audio signal is collected by a directional sound pickup device, and the directional sound pickup device is in the same direction as the monitoring camera. In this way, audio features and video features are obtained. In addition, infant behavior information is generated based on the image features and the audio features, wherein the infant behavior information includes: behavior trend information and behavior risk probability, and the behavior trend information includes: current behavior state and predicted behavior state. In this way, the current behavior state and predicted behavior state from the behavior perspective, as well as the behavior risk probability from the probability statistics perspective are obtained.Finally, according to the behavior trend information and behavior risk probability included in the above infant behavior information, abnormal behavior warning is carried out. In this way, accurate abnormal behavior warning of infants and young children in a large activity area is achieved.

[0103] Further references Figure 2 As an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a behavior recognition device for infants and young children. These device embodiments are similar to Figure 1 Corresponding to the method embodiments shown, the behavior recognition device applied to infants and young children can be specifically applied to various electronic devices.

[0104] like Figure 2 As shown, in some embodiments, the behavior recognition device 200 applied to infants and young children includes: a frame skipping object recognition unit 201, a sequence interception unit 202, a feature extraction unit 203, a generation unit 204 and an abnormal behavior warning unit 205. The frame skipping object recognition unit 201 is configured to perform frame skipping object recognition on a surveillance image sequence to generate an object information set, wherein the surveillance image sequence is an image sequence collected in real time by a surveillance camera within a preset time length, and the object information in the object information set includes: object type and image number, the object type includes: a first object type and a second object type, the first object type represents an infant object type, the second object type represents a non-infant type, and the image number represents the frame number of the surveillance image corresponding to the object information in the surveillance image sequence; the sequence interception unit 202 is configured to respond to the existence of target object information in the object information set, take the image number included in the target object information as the interception position, perform sequence interception on the surveillance image sequence, and obtain an intercepted image sequence, wherein the target object information is the target object information of the target object information. The target position in the image information set and the object type included is the object information of the first object type; the feature extraction unit 203 is configured to extract features from the above-mentioned monitoring image sequence and audio signal to generate image features and audio features, wherein the above-mentioned audio signal and the above-mentioned monitoring image sequence are synchronously collected, and the above-mentioned audio signal is collected by a directional sound pickup device, and the above-mentioned directional sound pickup device is consistent with the direction of the above-mentioned monitoring camera; the generation unit 204 is configured to generate infant behavior information according to the above-mentioned image features and the above-mentioned audio features, wherein the above-mentioned infant behavior information includes: behavior trend information and behavior risk probability, and the above-mentioned behavior trend information includes: current behavior state and predicted behavior state; the abnormal behavior warning unit 205 is configured to issue an abnormal behavior warning according to the behavior trend information and behavior risk probability included in the above-mentioned infant behavior information.

[0105] It is understandable that the units described in the behavior recognition device 200 for infants and young children are similar to those described in the reference Figure 1Therefore, the operations, features and beneficial effects described above for the method are also applicable to the behavior recognition device 200 for infants and young children and the units contained therein, and will not be described in detail here.

[0106] Reference below Figure 3 , which shows a structural schematic diagram of an electronic device (eg, a computing device) 300 suitable for implementing some embodiments of the present disclosure. Figure 3 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0107] like Figure 3 As shown, the electronic device 300 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory 302 or a program loaded from a storage device 308 into a random access memory 303. Various programs and data required for the operation of the electronic device 300 are also stored in the random access memory 303. The processing device 301, the read-only memory 302, and the random access memory 303 are connected to each other via a bus 304. An input / output interface 305 is also connected to the bus 304.

[0108] Typically, the following devices may be connected to the I / O interface 305: input devices 306 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 307 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 308 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 309. The communication devices 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 3 The electronic device 300 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 3 Each block shown in the figure may represent one device, or may represent multiple devices as required.

[0109] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the network through the communication device 309, or installed from the storage device 308, or installed from the read-only memory 302. When the computer program is executed by the processing device 301, the above-mentioned functions defined in the method of some embodiments of the present disclosure are executed.

[0110] It should be noted that the computer-readable medium recorded in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In some embodiments of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In some embodiments of the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0111] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (Hyper Text Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0112] The computer-readable medium may be included in the electronic device; or it may exist independently without being assembled into the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: performs frame skipping object recognition on the surveillance image sequence to generate an object information set, wherein the surveillance image sequence is an image sequence acquired in real time by a surveillance camera within a preset time length, and the object information in the object information set includes: object type and image number, and the object type includes: a first object type and a second object type, the first object type represents an infant object type, and the second object type represents a non-infant type, and the image number represents the frame number of the surveillance image corresponding to the object information in the surveillance image sequence; in response to the presence of target object information in the object information set, the surveillance image sequence is sequenced with the image number included in the target object information as the interception position. The method comprises: performing feature extraction on the monitoring image sequence and the audio signal to generate image features and audio features, wherein the audio signal and the monitoring image sequence are synchronously collected, and the audio signal is collected by a directional sound pickup device, and the directional sound pickup device is consistent with the direction of the monitoring camera; generating infant behavior information based on the image features and the audio features, wherein the infant behavior information includes: behavior trend information and behavior risk probability, and the behavior trend information includes: current behavior state and predicted behavior state; and performing abnormal behavior warning based on the behavior trend information and behavior risk probability included in the infant behavior information.

[0113] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0114] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0115] The units described in some embodiments of the present disclosure may be implemented by software or by hardware. The described units may also be provided in a processor, for example, may be described as: a processor including a frame skipping object recognition unit, a sequence interception unit, a feature extraction unit, a generation unit, and an abnormal behavior warning unit. Among them, the names of these units do not constitute a limitation on the units themselves in certain circumstances. For example, the abnormal behavior warning unit may also be described as "a unit for performing abnormal behavior warning based on the behavior trend information and behavior risk probability included in the above-mentioned infant behavior information."

[0116] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0117] The above descriptions are only some preferred embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) and the technical solutions formed.

Claims

1. A behavior recognition method for infants and young children, comprising: Performing frame skipping object recognition on a surveillance image sequence to generate an object information set, wherein the surveillance image sequence is an image sequence collected in real time by a surveillance camera within a preset time length, and the object information in the object information set includes: an object type and an image number, the object type includes: a first object type and a second object type, the first object type represents an infant object type, the second object type represents a non-infant type, and the image number represents a frame number of the surveillance image corresponding to the object information in the surveillance image sequence; In response to the existence of target object information in the object information set, taking the image number included in the target object information as the interception position, performing sequence interception on the surveillance image sequence to obtain an intercepted image sequence, wherein the target object information is the object information of the target position in the object information set and the object type included is the object information of the first object type; Performing feature extraction on the surveillance image sequence and the audio signal to generate image features and audio features, wherein the audio signal and the surveillance image sequence are collected synchronously, and the audio signal is collected by a directional sound pickup device, and the directional sound pickup device is in the same direction as the surveillance camera; Generate infant behavior information according to the image features and the audio features, wherein the infant behavior information includes: behavior trend information and behavior risk probability, and the behavior trend information includes: current behavior state and predicted behavior state; According to the behavior trend information and behavior risk probability included in the infant behavior information, an abnormal behavior warning is performed, wherein the frame skipping object recognition is performed on the monitoring image sequence to generate an object information set, including: Determine an average frame rate of the surveillance camera within the preset time period, wherein the frame rate of the surveillance camera changes dynamically according to the surveillance camera; The product value of the average frame rate of the camera and the preset time length is determined as the number of monitored images; Performing sampling coefficient mapping on the number of monitoring images to obtain a sampling coefficient; Determine a sampling window, wherein the window size of the sampling window is equal to the product value of the number of monitoring images and the sampling coefficient; Sampling the monitoring images in the monitoring image sequence through the sampling window to obtain a sampled monitoring image sequence; Determining the object type corresponding to each sampled monitoring image in the sampled monitoring image sequence through an object type classification model, wherein the object type classification model includes: a first image feature extraction model and a binary classifier; Determine a frame number of each sampled monitoring image in the sampled monitoring image sequence in the monitoring image sequence as an image number; The image number and the object type corresponding to each post-sampling monitoring image in the post-sampling monitoring image sequence are combined to generate object information to obtain an object information set, wherein the generating the infant behavior information according to the image feature and the audio feature includes: generating the behavior risk probability according to the behavior risk probability prediction model, the image feature and the audio feature; Generate the current behavior state according to the behavior recognition block included in the behavior recognition model and the image feature; The predicted behavior state is generated according to the behavior prediction block included in the behavior recognition model and the image feature.

2. The method according to claim 1, wherein: The abnormal behavior warning is performed according to the behavior trend information and behavior risk probability included in the infant behavior information, including: In response to the current behavior state being different from the predicted behavior state, and the predicted behavior state being an abnormal behavior state, initiating an abnormal behavior warning to a pre-associated warning terminal; In response to the current behavior state being the same as the predicted behavior state, and the current behavior state being an abnormal behavior state, initiating an abnormal behavior warning to the warning terminal; In response to the behavior risk probability being greater than or equal to a preset probability, an abnormal behavior warning is initiated to the warning terminal.

3. The method according to claim 2, wherein: The method further comprises: In response to receiving a voice communication request initiated by the early warning terminal, establishing a socket communication link between the surveillance camera and the early warning terminal; Sending real-time voice content to the surveillance camera via the socket communication link, wherein the real-time voice content is initiated by the early warning terminal; The real-time voice content is played through the audio output device included in the monitoring camera.

4. A behavior recognition device for infants and young children, comprising: a frame skipping object recognition unit, configured to perform frame skipping object recognition on a surveillance image sequence to generate an object information set, wherein the surveillance image sequence is an image sequence collected in real time by a surveillance camera within a preset time length, and the object information in the object information set includes: an object type and an image number, the object type includes: a first object type and a second object type, the first object type represents an infant object type, the second object type represents a non-infant type, and the image number represents a frame number of the surveillance image corresponding to the object information in the surveillance image sequence; a sequence interception unit, configured to, in response to the existence of target object information in the object information set, intercept the surveillance image sequence with the image number included in the target object information as the interception position, to obtain an intercepted image sequence, wherein the target object information is the object information of the target position in the object information set and the object type included is the object information of the first object type; a feature extraction unit configured to extract features from the surveillance image sequence and the audio signal to generate image features and audio features, wherein the audio signal and the surveillance image sequence are collected synchronously, and the audio signal is collected by a directional sound pickup device, and the directional sound pickup device is in the same direction as the surveillance camera; A generating unit is configured to generate infant behavior information according to the image features and the audio features, wherein the infant behavior information includes: behavior trend information and behavior risk probability, and the behavior trend information includes: current behavior state and predicted behavior state; The abnormal behavior warning unit is configured to provide an abnormal behavior warning based on the behavior trend information and behavior risk probability included in the infant behavior information, wherein the frame skipping object recognition is performed on the monitoring image sequence to generate an object information set, including: Determine an average frame rate of the surveillance camera within the preset time period, wherein the frame rate of the surveillance camera changes dynamically according to the surveillance camera; The product value of the average frame rate of the camera and the preset time length is determined as the number of monitored images; Performing sampling coefficient mapping on the number of monitoring images to obtain a sampling coefficient; Determine a sampling window, wherein the window size of the sampling window is equal to the product value of the number of monitoring images and the sampling coefficient; Sampling the monitoring images in the monitoring image sequence through the sampling window to obtain a sampled monitoring image sequence; Determining the object type corresponding to each sampled monitoring image in the sampled monitoring image sequence through an object type classification model, wherein the object type classification model includes: a first image feature extraction model and a binary classifier; Determine a frame number of each sampled monitoring image in the sampled monitoring image sequence in the monitoring image sequence as an image number; The image number and the object type corresponding to each post-sampling monitoring image in the post-sampling monitoring image sequence are combined to generate object information to obtain an object information set, wherein the generating the infant behavior information according to the image feature and the audio feature includes: generating the behavior risk probability according to the behavior risk probability prediction model, the image feature and the audio feature; Generate the current behavior state according to the behavior recognition block included in the behavior recognition model and the image feature; The predicted behavior state is generated according to the behavior prediction block included in the behavior recognition model and the image feature.

5. An electronic device comprising: one or more processors; a storage device having one or more programs stored thereon; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 3.

6. A computer readable medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, the method according to any one of claims 1 to 3 is implemented.