Human behavior detection method, teacher behavior detection method and related systems and devices

By combining the monitoring device and the deep learning network, preset key points are used to determine the behavior of the target human body, which solves the real-time and accuracy problems of target human behavior detection in the existing technology, and achieves effective supervision and evaluation of teachers' teaching behaviors.

CN111814587BActive Publication Date: 2024-09-03ZHEJIANG DAHUA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010561453.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-18
Publication Date
2024-09-03
Estimated Expiration
2040-06-18

AI Technical Summary

Technical Problem

It is difficult to perform real-time, effective and accurate behavior detection on the target human body appearing in the surveillance image with the existing technology. Especially during the teaching process, the teacher's back-to-back state and writing posture on the blackboard cannot be fully monitored, which affects the teaching evaluation.

Method used

Obtain monitoring images through the monitoring device, determine the target area, locate the target human body, determine its location information, and use the deep learning network classification model and preset key points to determine the orientation and action characteristics of the target human body, and then determine its current behavior to achieve real-time behavior detection.

Benefits of technology

It improves the accuracy of judgment on target human behavior, enables real-time monitoring and statistics of teachers' facing students and writing on the blackboard, and provides effective teaching evaluation data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111814587B
    Figure CN111814587B
Patent Text Reader

Abstract

The present application discloses a human behavior detection method, a teacher behavior detection method, and related systems and devices, wherein the human behavior detection method includes: a monitoring device acquires a monitoring image including a target human body, and determines a target area in the monitoring image; locates the target human body in the monitoring image, and determines the position information of the target human body; determines whether the target human body is within the target area based on the position information; if the target human body is within the target area, determines at least one characteristic information in the orientation and action of the target human body based on the monitoring image; and determines the action of the target human body using preset key points of the target human body; determines the current behavior of the target human body based on at least one characteristic information and the action of the target human body. Through the above-mentioned method, the present application can perform real-time behavior detection on the target human body appearing in the monitoring image, and can effectively improve the accuracy of the behavior judgment on the target human body.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of human behavior detection, and in particular to a human behavior detection method, a teacher behavior detection method, and related systems and devices. Background Art

[0002] Nowadays, in the field of video surveillance, it is becoming increasingly important to detect the behavior of the human body that appears in the surveillance image and to perform statistical analysis on the behavior of the human body. Among them, by judging and classifying the current behavior of the target human body in the surveillance image, the performance, teaching effect or movement posture of the target human body and other behavioral characteristics can be evaluated according to the corresponding behavior statistics. For example, in schools, especially in primary schools, junior high schools and high schools, the activities of teachers on the podium are very rich, such as explaining to PPT (Power Point, slides) or teaching by writing on the blackboard. In actual teaching, especially in the recording of teaching videos, the teacher's back-to-back state and the posture of writing on the blackboard will affect the students' learning state. At this time, the teaching supervision team cannot locate these problems in all directions, and thus cannot effectively supervise the teacher's behavior in the long term, which ultimately affects the evaluation of the teacher.

[0003] In recent years, with the development of the Internet, the application of automatically detecting the behavior of the target human body through monitoring devices and then conducting statistical evaluation has also been greatly developed. However, in the existing video monitoring methods, there is little real-time detection of the behavior of the target human body appearing in the monitoring area to judge and classify and conduct statistical analysis, and it is also impossible to perform effective and accurate human behavior detection. Summary of the invention

[0004] The main technical problem solved by the present application is to provide a human behavior detection method, a teacher behavior detection method and related systems and devices. The human behavior detection method can solve the problem in the prior art that it is impossible to perform real-time, effective and accurate human behavior detection on the target human body appearing in the monitoring image.

[0005] To solve the above technical problems, the first technical solution adopted in the present application is: to provide a human behavior detection method, wherein the human behavior detection method includes: a monitoring device obtains a monitoring image including a target human body, and determines a target area in the monitoring image; locates the target human body in the monitoring image, and determines the position information of the target human body; determines whether the target human body is within the target area based on the position information; if the target human body is within the target area, determines at least one characteristic information of the orientation and action of the target human body based on the monitoring image; and determines the action of the target human body using preset key points of the target human body; determines the current behavior of the target human body based on at least one characteristic information and the action of the target human body.

[0006] Among them, the step of determining at least one characteristic information of the orientation and action of the target body based on the monitoring image includes: using the classification model of the deep learning network to classify and predict the type of orientation and / or action of the target body in the monitoring image to obtain the orientation and / or action of the target body.

[0007] Among them, the step of determining the movement of the target body using the preset key points of the target body includes: using a deep learning network to detect the positions of the preset key points of the target body, and classifying the behavior types of the target body according to the positions of the preset key points to obtain the movement of the target body.

[0008] Among them, the step of determining the current behavior of the target body based on at least one characteristic information and the target body's action specifically includes: determining the current behavior of the target body based on at least one characteristic information, and correcting the result of the determined current behavior of the target body through the target body's action to obtain the classification result of the target body's current behavior.

[0009] Among them, before the step of using the classification model of the deep learning network to classify and predict the type of the orientation and / or action of the target human body in the monitoring image to obtain the orientation and / or action of the target human body, it also includes: performing target human body detection on the target area to obtain a feature image including a target human body detection frame; expanding the area of ​​the target human body detection frame in the feature image according to a preset proportional coefficient to capture the target image within the expanded target human body detection frame; using the classification model of the deep learning network to classify and predict the type of the orientation and / or action of the target human body in the monitoring image to obtain the orientation and / or action of the target human body includes: using the classification model of the deep learning network to classify and predict the type of the orientation and / or action of the target human body in the target image to obtain the orientation and / or action of the target human body.

[0010] Among them, the steps of the monitoring device acquiring a monitoring image including a target human body and determining a target area from the monitoring image specifically include: the monitoring device performs real-time monitoring on a set monitoring area, so as to acquire a monitoring image including the target human body when a target human body appears in the set monitoring area; and delineating the target area in the monitoring image according to the activity area of ​​the target human body.

[0011] Among them, the step of locating the target human body in the monitoring image and determining the position information of the target human body includes: using a trained detection network model to locate the target human body in the monitoring image to determine the position information of the target human body.

[0012] Among them, after the step of determining the current behavior of the target body according to at least one characteristic information and the action of the target body, it also includes: counting the number of occurrences, single duration and total duration of each current behavior of the target body within the set time, and displaying the statistical results.

[0013] To solve the above technical problems, the second technical solution adopted in this application is: to provide a teacher behavior detection method, wherein the teacher behavior detection method includes: a monitoring device obtains a monitoring image including a teacher, and determines a podium area in the monitoring image; locates the teacher in the monitoring image, and determines the teacher's position information; judges whether the teacher is in the podium area based on the position information; if the teacher is in the podium area, determines whether the teacher is facing the students and whether at least one feature information in writing on the blackboard based on the monitoring image; and determines the teacher's actions by using preset key points of the teacher's body; determines whether the teacher is currently in a writing on the blackboard state based on at least one feature information and the teacher's actions.

[0014] Among them, after the step of determining whether the teacher is currently in the state of writing on the blackboard based on at least one characteristic information and the teacher's actions, it also includes: counting the number of times, single duration, and total duration of the teacher facing students, not writing on the blackboard with his back to students, and writing on the blackboard with his back to students within the set time, and displaying the statistical results.

[0015] To solve the above technical problems, the third technical solution adopted in the present application is: to provide a human behavior detection system, wherein the human behavior detection system includes an intelligent terminal and a camera connected to the intelligent terminal; wherein the camera is used to obtain a monitoring image including a target human body; the intelligent terminal is used to receive the monitoring image sent by the camera, and determine the target area in the monitoring image to locate the target human body in the monitoring image, determine the position information of the target human body, and judge whether the target human body is in the target area based on the position information, so as to determine at least one characteristic information of the orientation and action of the target human body based on the monitoring image when determining that the target human body is in the target area, and determine the action of the target human body using preset key points of the target human body, so as to determine the current behavior of the target human body according to at least one characteristic information and the action of the target human body.

[0016] To solve the above technical problems, the fourth technical solution adopted in this application is: to provide a teacher behavior detection system, wherein the teacher behavior detection system includes a smart terminal and a camera connected to the smart terminal; wherein the camera is used to obtain a monitoring image including the teacher; the smart terminal is used to receive the monitoring image sent by the camera, and determine the podium area in the monitoring image to locate the teacher in the monitoring image, determine the teacher's position information, and judge whether the teacher is in the podium area, so as to determine whether the teacher is facing the students and whether at least one characteristic information of writing on the blackboard is determined when it is determined that the teacher is in the podium area, and use the teacher's body preset key points to determine the teacher's movements, so as to determine whether the teacher is currently in the state of writing on the blackboard based on at least one characteristic information and the teacher's movements.

[0017] To solve the above technical problems, the fifth technical solution adopted in this application is: to provide an intelligent terminal, wherein the intelligent terminal includes a memory and a processor coupled to each other; the memory stores program data; the processor is used to execute the program data to implement the detection method as described in any of the above items.

[0018] In order to solve the above technical problems, the sixth technical solution adopted in the present application is: to provide a computer-readable storage medium, wherein the computer-readable storage medium stores program data, and the program data can be executed by a processor to implement the detection method as described in any one of the above items.

[0019] The beneficial effect of the present application is as follows: Different from the prior art, the human behavior detection method in the present application obtains a monitoring image including a target human body through a monitoring device, and determines a target area in the monitoring image to locate the target human body in the monitoring image, determine the position information of the target human body, and judge whether the target human body is in the target area based on the position information; if the target human body is in the target area, determine at least one characteristic information of the orientation and action of the target human body based on the monitoring image, and determine the action of the target human body using preset key points of the target human body, so as to determine the current behavior of the target human body according to at least one characteristic information and the action of the target human body, thereby being able to perform real-time behavior detection on the target human body appearing in the target area of ​​the monitoring image, and by integrating two methods of behavior detection and judgment on the target human body, the accuracy of the final behavior judgment is effectively improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 It is a flow chart of the first embodiment of the human behavior detection method of the present application;

[0021] Figure 2 It is a flow chart of the second embodiment of the human behavior detection method of the present application;

[0022] Figure 3It is a flow chart of the third embodiment of the human behavior detection method of the present application;

[0023] Figure 4 It is a flowchart of the first embodiment of the teacher behavior detection method of the present application;

[0024] Figure 5 It is a flow chart of the second embodiment of the teacher behavior detection method of the present application;

[0025] Figure 6 It is a flowchart of a specific application scenario of the teacher behavior detection method of this application;

[0026] Figure 7 It is a structural schematic diagram of an embodiment of the human behavior detection system of the present application;

[0027] Figure 8 It is a structural diagram of an embodiment of the teacher behavior detection system of the present application;

[0028] Fig. 9 It is a structural diagram of an embodiment of a smart terminal of the present application;

[0029] Fig.10 It is a structural diagram of an embodiment of a computer-readable storage medium of the present application. DETAILED DESCRIPTION

[0030] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0031] See also Figure 1 , Figure 1 This is a flow chart of the first embodiment of the human behavior detection method of the present application. This embodiment includes the following steps:

[0032] S11: The monitoring device obtains a monitoring image including a target person, and determines a target area in the monitoring image.

[0033] Specifically, the monitoring device obtains a monitoring image in which a target human body appears in its monitoring area, and further delineates a target area in the acquired monitoring image. For example, a detection frame is generated corresponding to a set area in the monitoring image to determine the area within the detection frame as the target area.

[0034] Among them, the monitoring image can be a monitoring video, or it can be a monitoring picture obtained by extracting frames from the monitoring video, and this application does not limit this.

[0035] The target human body refers to the target object for human behavior detection by the monitoring device, and the target area refers to a specified area in the monitoring image, which can be specified by the user or recognized by the machine. For example, if the target human body is a teacher and the monitoring area of ​​the monitoring device is a classroom, the specified area, i.e., the target area, is mainly the podium area where the teacher conducts teaching activities.

[0036] Optionally, the monitoring device can be an intelligent electronic device with a video monitoring function, for example, a smart camera, a smart robot, a drone, or other intelligent electronic devices, or it can be a monitoring device composed of a camera and an intelligent terminal that establishes a wireless or wired communication connection with the camera, wherein the intelligent terminal can be a mobile phone, a tablet computer, a computer, a server, etc., and this application does not limit this.

[0037] S12: Positioning the target human body in the monitoring image to determine the position information of the target human body.

[0038] Specifically, the target human body in the monitoring image is detected and located to determine the position information of the target human body in the monitoring image. In a specific embodiment, the monitoring image is input into a trained detection network model integrated in the monitoring device to obtain the position information of the target human body in the monitoring image through the detection network model.

[0039] S13: Determine whether the target person is within the target area based on the position information.

[0040] Furthermore, the monitoring device determines whether the target human body is within the target area in the monitoring image based on the position information of the target human body in the monitoring image. For example, the monitoring device determines whether the position information of the target human body in the monitoring image matches the position information of the target area in the monitoring image, that is, determines whether the position information of the target area in the monitoring image includes the position information of the target human body in the monitoring image or the position information of the center point of the target human body, so as to further determine whether the target human body is within the target area.

[0041] In another embodiment, the monitoring device generates a detection frame and a human body detection frame corresponding to the target area in the monitoring image and the area enclosed by the joints of the target human body, respectively, so as to determine whether the target human body is in the target area by judging whether the human body detection frame is within the detection frame.

[0042] If the target human body is within the target area, S14 is executed; if the target human body is not within the target area, S17 is executed.

[0043] S14: Determine at least one characteristic information of the orientation and action of the target human body based on the monitoring image.

[0044] Specifically, when it is determined that the target human body is within the target area of ​​the surveillance image, at least one characteristic information of the orientation and behavior of the target human body is further determined based on the surveillance image. For example, the surveillance image is input into a trained deep network learning model to determine whether the target human body is facing or facing away from the surveillance camera or a specified direction, and the current behavior of the target human body is classified to determine whether the current behavior of the target human body belongs to one of the set actions, thereby determining at least one characteristic information of the orientation and action of the target human body.

[0045] S15: Determine the movement of the target body using the preset key points of the target body.

[0046] Specifically, when the current behavior of the target body is expressed as a set behavioral action, its corresponding joints generally have a specific relative position relationship. For example, its important joints such as the head, wrist, elbow, shoulder and ankle will express a specific relative position relationship corresponding to the current behavior of the target body, so that the current action of the target body can be determined by detecting the information of the preset key points of the target body, that is, the relative position relationship of the important joints of the target body.

[0047] Among them, the preset key points refer to the positions of 17 key points corresponding to the entire human skeleton, which are the head, neck, left shoulder joint, right shoulder joint, left elbow joint, right elbow joint, left wrist joint, right wrist joint, left chest, right chest, left hip, right hip, pelvis, left knee joint, right knee joint, left ankle, and right ankle.

[0048] S16: Determine the current behavior of the target person according to at least one feature information and the action of the target person.

[0049] Specifically, after determining at least one characteristic information of the orientation and action of the target body based on the monitoring image, the preset key points of the target body are further used to determine the action of the target body, so that when the current action of the target body determined by the preset key points of the target body is inconsistent with the action of the target body determined based on the monitoring image, the result with a low recall rate or confidence in the classification result given based on the monitoring image is deleted, so as to improve the accuracy of classifying the behavior type of the target body, and finally determine the current behavior of the target body. For example, when the current action of the target body is determined to be writing on the blackboard based on the monitoring image through the classification model of the trained deep learning network, the preset key points of the target body are further used to detect and classify the current action of the target body again, so that when it is determined that the current action of the target body is not writing on the blackboard, and the recall rate of the result of the current action given by the classification model of the deep learning network is low, the classification result of the current action given based on the monitoring image as writing on the blackboard is deleted, so as to continuously add and delete the classification results given based on the monitoring image, thereby improving the accuracy of classifying the behavior type of the target body.

[0050] S17: Continue to maintain real-time monitoring.

[0051] Specifically, when it is determined based on the position information of the target human body in the monitoring image that the target human body is not within the target area of ​​the monitoring image, real-time monitoring is continued without detecting and judging the behavior of the target human body.

[0052] Different from the prior art, the human behavior detection method in the present application obtains a monitoring image including a target human body through a monitoring device, and determines a target area in the monitoring image to locate the target human body in the monitoring image, determine the position information of the target human body, and judge whether the target human body is in the target area based on the position information. If the target human body is in the target area, at least one characteristic information of the orientation and action of the target human body is determined based on the monitoring image, and the action of the target human body is determined using preset key points of the target human body, so as to determine the current behavior of the target human body according to at least one characteristic information and the action of the target human body, so as to perform real-time behavior detection on the target human body appearing in the target area of ​​the monitoring image, and after detecting and classifying the current action of the target human body based on the monitoring image, further detect and classify the preset key points of the target human body, so as to delete the classification result with low recall rate or confidence in the classification result given based on the monitoring image when it is determined that it is inconsistent with the classification result given based on the monitoring image, so as to effectively improve the accuracy of the final behavior judgment of the target human body.

[0053] See also Figure 2 , Figure 21 is a flow chart of the second embodiment of the human behavior detection method of the present application. This embodiment includes the following steps:

[0054] S21: The monitoring device monitors the set monitoring area in real time, so as to obtain a monitoring image including the target person when the target person appears in the set monitoring area.

[0055] Specifically, the monitoring device monitors its set monitoring area in real time, and when it detects the presence of a target person in its set monitoring area, it obtains a monitoring image including the target person, for example, by intercepting a monitoring video including the target person, or extracting frames from the monitoring video to obtain a corresponding monitoring picture including the target person, and then sending it to the processing center of the monitoring device.

[0056] The set monitoring area refers to the maximum monitoring area that can be photographed after the monitoring device is installed in the designated area, and the designated area is determined by the user.

[0057] S22: Delineating a target area in the monitoring image according to the activity area of ​​the target human body.

[0058] Specifically, in order to detect the behavioral actions of the target person, the main activity area of ​​the target person in the monitoring area of ​​the monitoring device is first determined, or the main observation area of ​​the target person in the monitoring area of ​​the monitoring device is determined based on the behavioral action category of the behavior detection of the target person, so as to be determined as the target area, and then the target area is delineated in the corresponding monitoring image. For example, a detection frame is generated corresponding to the activity area of ​​the target person in the monitoring image to determine the area within the detection frame as the target area.

[0059] S23: Utilize the trained detection network model to locate the target human body in the monitoring image to determine the position information of the target human body.

[0060] Specifically, the acquired monitoring image is input into a trained detection network model integrated in the monitoring device, so as to obtain the position information of the target human body in the monitoring image through the detection network model.

[0061] S24: Determine whether the target person is within the target area based on the position information.

[0062] Furthermore, the monitoring device determines whether the target human body is within a target area in a determined monitoring image based on the position information of the target human body in the monitoring image. For example, the monitoring device determines whether the position information of the target human body in the monitoring image matches the position information of the target area in the monitoring image, that is, whether the position information of the target area in the monitoring image includes the position information of the target human body in the monitoring image or the position information of its center point, so as to further determine whether the target human body is within the target area.

[0063] In another embodiment, the monitoring device generates a detection frame and a human body detection frame at the target area in the monitoring image and the position where the target human body is located, respectively, so as to determine whether the target human body is in the target area by determining whether the human body detection frame is within the detection frame.

[0064] If the target human body is within the target area, S25 is executed; if the target human body is not within the target area, S29 is executed.

[0065] S25: Using a classification model of a deep learning network, classify and predict the orientation and / or action type of the target human body in the monitoring image to obtain the orientation and / or action of the target human body.

[0066] Specifically, when it is determined that the target human body is within the target area of ​​the surveillance image, the surveillance image is input into a classification model of a trained deep learning network to classify and predict the orientation of the target human body in the surveillance image through the classification model, for example, whether the target human body is facing or facing away from the surveillance camera or a specified direction. The classification model can also be used to classify and predict the type of the current behavior action of the target human body in the surveillance image to obtain the orientation and / or action of the target human body.

[0067] Among them, the classification prediction of the orientation of the target human body and the classification prediction of the action type of the target human body can use the classification model of the same deep learning network or the classification models of different deep learning networks, and this application does not limit this.

[0068] Among them, the training method for the classification model of the deep learning network includes: obtaining a surveillance image with annotated target human body orientation and movement, inputting the target image into a preset network model, giving a corresponding classification prediction result through the preset network model, and then training the preset network model through the classification prediction result and the annotation type of the target human body in the surveillance image, so as to obtain the classification model of the deep learning network.

[0069] S26: Using a deep learning network to detect the positions of preset key points of the target human body, and classifying the behavior type of the target human body according to the positions of the preset key points to obtain the actions of the target human body.

[0070] Furthermore, a surveillance image including a target human body within a target area of ​​the surveillance image is input into a deep learning network, so that the positions of preset key points of the target human body are detected through the deep learning network.

[0071] Among them, when the current behavior of the target body is manifested as a set type of behavioral action, its corresponding joints generally have a specific relative position relationship. For example, its important joints such as the head, wrist, elbow, shoulder and ankle will show a specific relative position relationship corresponding to the current behavior of the target body. For example, when the target body is writing on the blackboard, the position of its wrist joint in the standing direction of the target body is higher than the position of its shoulder or elbow joint, so that the current action of the target body can be determined by detecting the position of the preset key points of the target body, that is, by detecting the relative position relationship of the important joints of the target body.

[0072] The deep learning network can classify the target human behavior type according to the position of the detected preset key points. For example, the deep learning network can establish a plane coordinate system with the vertex in the upper left corner or the vertex in the lower left corner of the monitoring image as the origin, and detect the coordinate values ​​of the corresponding preset key points on the target human body in the plane coordinate system, and then can classify the target human behavior type according to the preset position correspondence and the coordinate values ​​of the preset key points, so as to determine the target human action. The preset key points can reasonably select important joints on the target human body as needed, such as any two or more of the important joints of the target human body such as the head, wrist, elbow, shoulder and ankle, etc., and this application does not limit this.

[0073] S27: Determine the current behavior of the target person according to at least one feature information, and modify the result of the determined current behavior of the target person through the action of the target person to obtain a classification result of the current behavior of the target person.

[0074] Specifically, the behavior type of the target human body in the surveillance image is first classified using the classification model of the deep learning network to determine the current behavior of the target human body according to at least one characteristic information in the orientation and action of the target human body, and further the behavior type of the target human body is classified by detecting the position of preset key points of the target human body using the deep learning network, and the classification result of the current behavior of the target human body determined according to at least one characteristic information is corrected based on the action of the target human body. For example, the classification results with low recall rate in the current behavior of the target human body determined according to at least one characteristic information are added or deleted to improve the accuracy of classifying the behavior type of the target human body, thereby obtaining the final classification result of the current behavior of the target human body.

[0075] S28: Count the number of occurrences, single duration, and total duration of each current behavior of the target human body within the set time, and display the statistical results.

[0076] Furthermore, the monitoring device counts the number of occurrences, single durations, and total durations of each behavioral action of the target human body within the set time, such as facing towards a specified direction, facing away from the specified direction, and performing a set action with the back towards the specified direction, and displays the statistical results on a display screen on the monitoring device, so that the target human body's behavior within the set time can be analyzed or scored based on the statistical results.

[0077] Among them, the set time can be any reasonable time length such as 45 minutes or 60 minutes, which can be reasonably set by the user according to needs, and this application does not limit it.

[0078] S29: Continue to maintain real-time monitoring.

[0079] Specifically, when it is determined based on the position information of the target human body in the monitoring image that the target human body is not within the target area of ​​the monitoring image, real-time monitoring is continued without detecting and judging the behavior of the target human body.

[0080] See also Figure 3 , Figure 3 This is a flow chart of the third embodiment of the human behavior detection method of the present application. The human behavior detection method of this embodiment is Figure 2 A flow chart of a detailed embodiment of the human behavior detection method in the embodiment of the present invention comprises the following steps:

[0081] S31: The monitoring device monitors the set monitoring area in real time, so as to obtain a monitoring image including the target person when the target person appears in the set monitoring area.

[0082] S32: Delineating a target area in the monitoring image according to the activity area of ​​the target human body.

[0083] S33: Utilize the trained detection network model to locate the target human body in the monitoring image to determine the position information of the target human body.

[0084] S34: Determine whether the target person is within the target area based on the position information.

[0085] Among them, S31, S32, S33 and S34 are respectively Figure 2 S21, S22, S23 and S24 are the same. Please refer to S21, S22, S23 and S24 and their related text descriptions for details, which will not be repeated here.

[0086] S35: Performing target human body detection on the target area to obtain a feature image including a target human body detection frame.

[0087] Specifically, when it is determined that the target human body is within the target area of ​​the monitoring image, target human body detection is performed on the target area to generate a detection frame corresponding to the area enclosed by the joints of the target human body, thereby obtaining a feature image including the target human body detection frame.

[0088] S36: enlarging the area of ​​the target human body detection frame in the feature image according to a preset proportionality coefficient to intercept the target image in the enlarged target human body detection frame.

[0089] Furthermore, the area of ​​the target human body detection frame in the feature image is enlarged according to a preset proportional coefficient. For example, the two ends of the target human body detection frame in the target human body standing direction are respectively extended and enlarged by 10%, and the two ends in the direction perpendicular to the target human body standing direction are respectively extended and enlarged by 25%, so as to capture the image within the enlarged target human body detection frame, thereby obtaining the corresponding target image.

[0090] It is understandable that the target body detection frame determined by the area enclosed by the current joints of the target body cannot completely cover every possible subsequent behavior of the target body, such as stretching arms or legs. However, if the area of ​​the target body detection frame is expanded and then a screenshot is taken, every behavior of the target body can be effectively displayed in the screenshot with a margin.

[0091] In other embodiments, the preset proportional coefficient for enlarging the target human body detection frame may also be other combinations, which may be set by the user as needed to effectively include every possible behavior of the target human body, and this application does not limit this.

[0092] S37: Using the classification model of the deep learning network, classify and predict the orientation and / or action type of the target human body in the target image to obtain the orientation and / or action of the target human body.

[0093] Furthermore, after acquiring the target image, the target image is input into a classification model of a trained deep learning network, so as to classify and predict the orientation of the target person in the target image through the classification model, for example, whether the target person is facing or facing away from the surveillance camera or a specified direction. The classification model can also be used to classify and predict the type of the current behavior action of the target person in the surveillance image to obtain the orientation and / or action of the target person.

[0094] Among them, the classification prediction of the orientation of the target human body and the classification prediction of the action type of the target human body can use the classification model of the same deep learning network or the classification models of different deep learning networks, and this application does not limit this.

[0095] Among them, the training method for the classification model of the deep learning network includes: obtaining a target image with annotated target human body orientation and action, inputting the target image into a preset network model, and giving a corresponding classification prediction result through the preset network model, and then training the preset network model through the classification prediction result and the annotation type of the target human body in the target image, so as to obtain the classification model of the deep learning network.

[0096] It is understandable that compared to using the classification model of the deep learning network to directly classify and predict the orientation and / or action type of the target body in the surveillance image, conducting corresponding model training through the target image and giving the classification result through the classification model can obviously better highlight the action characteristics of the target body in the target image, thereby effectively improving the accuracy of the classification results for the orientation and / or action type of the target body, and effectively reducing the computational complexity of the corresponding monitoring device.

[0097] S38: Using a deep learning network to detect the positions of preset key points of the target human body, and classifying the behavior type of the target human body according to the positions of the preset key points to obtain the actions of the target human body.

[0098] S39: Determine the current behavior of the target person according to at least one feature information, and modify the result of the determined current behavior of the target person through the action of the target person to obtain the classification result of the current behavior of the target person.

[0099] S310: Count the number of occurrences, single duration, and total duration of each current behavior of the target human body within the set time, and display the statistical results.

[0100] S311: Continue to maintain real-time monitoring.

[0101] Among them, S38, S39, S310 and S311 are respectively Figure 2 S26, S27, S28 and S29 are the same. Please refer to S26, S27, S28 and S29 and their related text descriptions for details, which will not be repeated here.

[0102] See also Figure 4 , Figure 4 1 is a flow chart of the first embodiment of the teacher behavior detection method of the present application. The teacher behavior detection method of this embodiment is a specific application of the above-mentioned human behavior detection method. This embodiment includes the following steps:

[0103] S41: The monitoring device obtains a monitoring image including the teacher, and determines the podium area in the monitoring image.

[0104] Specifically, the monitoring device obtains a monitoring image in which a teacher appears in its monitoring area, and further delineates the podium area in the obtained monitoring image. For example, a detection frame is generated corresponding to the podium area where the teacher conducts teaching activities in the monitoring image, and the area within the detection frame is determined as the podium area.

[0105] Among them, the monitoring image can be a monitoring video, or it can be a monitoring picture obtained by extracting frames from the monitoring video, and this application does not limit this.

[0106] Optionally, the monitoring device can be an intelligent electronic device with a video monitoring function, for example, a smart camera, a smart robot, a drone, or other intelligent electronic devices, or it can be a monitoring device composed of a camera and an intelligent terminal that establishes a wireless or wired communication connection with the camera, wherein the intelligent terminal can be a mobile phone, a tablet computer, a computer, a server, etc., and this application does not limit this.

[0107] S42: Locate the teacher in the monitoring image to determine the teacher's location information.

[0108] Specifically, the teacher in the monitoring image is detected and located to determine the position information of the teacher in the monitoring image. In a specific embodiment, the monitoring image is input into a trained detection network model integrated in the monitoring device to obtain the position information of the teacher in the monitoring image through the detection network model.

[0109] S43: Determine whether the teacher is in the podium area based on the location information.

[0110] Furthermore, the monitoring device determines whether the teacher is in the podium area in the monitoring image based on the teacher's position information in the monitoring image, for example, whether the teacher's position information in the monitoring image matches the position information of the podium area in the monitoring image, that is, whether the position information of the podium area in the monitoring image includes the teacher's position information in the monitoring image or the position information of the center point of the teacher's corresponding image, so as to further determine whether the target human body is in the podium area.

[0111] In another embodiment, the monitoring device generates a detection frame and a human body detection frame corresponding to the podium area and the area enclosed by the teacher's joints in the monitoring image, respectively, so as to determine whether the teacher is in the podium area by judging whether the human body detection frame is within the detection frame.

[0112] If the teacher is in the podium area, S44 is executed; if the teacher is not in the podium area, S47 is executed.

[0113] S44: Determine at least one characteristic information of whether the teacher is facing the students and whether the teacher is writing on the blackboard based on the monitoring image.

[0114] Specifically, when it is determined that the teacher is in the podium area of ​​the monitoring image, it is further determined whether the teacher is facing the students based on the monitoring image. For example, the monitoring image is input into a trained deep network learning model to determine whether the teacher is facing the students and whether the teacher is writing on the blackboard, thereby determining at least one characteristic information of whether the teacher is facing the students and whether the teacher is writing on the blackboard.

[0115] S45: Determine the teacher's movements using the teacher's preset key points.

[0116] Specifically, when a teacher is facing away from the students and writing on the blackboard, his or her corresponding important joints generally have a specific relative position relationship. For example, the position of the wrist joint of his or her left or right hand is higher than the position of the teacher's corresponding shoulder joint or elbow joint in the direction in which the teacher is standing. This enables the teacher's current action to be determined by detecting the positions of preset key points of the teacher's body, that is, by detecting the relative position relationship of the teacher's important joints.

[0117] S46: Determine whether the teacher is currently in a blackboard writing state based on at least one feature information and the teacher's actions.

[0118] Specifically, in actual teaching, especially in video recording of teaching, the teacher's back-to-back state and the posture of writing on the blackboard will affect the students' learning state. At this time, the teaching supervision team cannot locate these problems in an all-round way, and thus cannot effectively supervise the teacher's behavior in the long term, which ultimately affects the evaluation of the teacher. However, video recording education plays an important role in modern education. Among them, video recording education mainly records the teacher's teaching process through video to play the video to students for learning, but the teacher's back-to-back behavior and the posture of writing on the blackboard have a great impact on the teaching effect.

[0119] Therefore, it is particularly important to conduct real-time detection and behavioral statistical analysis of teachers' behaviors such as turning their backs and writing on the blackboard. In one embodiment, after determining at least one of the characteristic information of whether the teacher is facing the students and whether he is writing on the blackboard based on the monitoring image, the teacher's body preset key points are further used to determine the teacher's actions. When the teacher's current action determined by the teacher's body preset key points is inconsistent with the teacher's action determined based on the monitoring image, the results with low recall rate or confidence in the classification results given based on the monitoring image are deleted to improve the accuracy of classifying the teacher's behavior type and ultimately determine the teacher's current behavior.

[0120] S47: Continue to maintain real-time monitoring.

[0121] Specifically, when it is determined based on the teacher's position information in the monitoring image that the teacher is not in the podium area of ​​the monitoring image, real-time monitoring is continued without detecting and judging the teacher's behavior and actions.

[0122] See also Figure 5 , Figure 5 This is a flow chart of the second embodiment of the teacher behavior detection method of the present application. This embodiment includes the following steps:

[0123] S51: The monitoring device monitors the set monitoring area in real time, so as to obtain a monitoring image including the teacher when a teacher appears in the set monitoring area.

[0124] Specifically, the monitoring device monitors its set monitoring area in real time, and when it detects the presence of a teacher in its set monitoring area, it obtains a monitoring image including the teacher, for example, by intercepting a monitoring video including the teacher, or extracting frames from the monitoring video to obtain a corresponding monitoring picture including the teacher, and then sending it to the processing center of the monitoring device.

[0125] Here, setting the monitoring area means that the monitoring device is installed in a designated area, for example, the maximum monitoring area that can be captured behind a classroom, and the designated area is determined by the user.

[0126] S52: Delineating a podium area in the monitoring image according to the teacher's activity area.

[0127] Specifically, in order to detect the teacher's behavioral actions, the teacher's main activity area in the monitoring area of ​​the monitoring device is first determined to delineate the podium area in the monitoring image. For example, a detection frame is generated corresponding to the podium area where the teacher conducts teaching activities in the monitoring image to determine the area within the detection frame as the podium area.

[0128] S53: Using the trained detection network model to locate the teacher in the monitoring image to determine the teacher's position information.

[0129] Specifically, the acquired monitoring image is input into a trained detection network model integrated inside the monitoring device, so as to obtain the position information of the teacher in the monitoring image through the detection network model.

[0130] S54: Determine whether the teacher is in the podium area based on the location information.

[0131] Furthermore, the monitoring device determines whether the teacher is in the podium area in the monitoring image based on the teacher's position information in the monitoring image. For example, it determines whether the teacher's position information in the monitoring image matches the position information of the podium area in the monitoring image, that is, it determines whether the position information of the podium area in the monitoring image includes the teacher's position information in the monitoring image or the position information of the center point of the teacher's corresponding image, so as to further determine whether the teacher is in the podium area.

[0132] In another embodiment, the monitoring device generates a detection frame and a human body detection frame corresponding to the podium area and the area enclosed by the teacher's joints in the monitoring image, respectively, so as to determine whether the teacher is in the podium area by judging whether the human body detection frame is within the detection frame.

[0133] If the teacher is in the podium area, S55 is executed; if the teacher is not in the podium area, S59 is executed.

[0134] S55: Use the classification model of the deep learning network to classify and predict whether the teacher is facing the students and / or the type of the writing on the blackboard in the monitoring image, and obtain whether the teacher is facing the students and / or the writing on the blackboard.

[0135] Specifically, when it is determined that the teacher is in the podium area of ​​the monitoring image, the monitoring image is input into a classification model of a trained deep learning network to classify and predict whether the teacher in the monitoring image is facing the students through the classification model. Among them, the classification model can also be used to classify and predict whether the teacher in the monitoring image is writing on the blackboard to obtain whether the teacher is facing the students and / or writing on the blackboard.

[0136] Among them, the classification prediction of whether the teacher is facing the students and the classification prediction of whether the teacher is writing on the blackboard can be made using the same deep learning network classification model or different deep learning network classification models, and this application does not limit this.

[0137] Among them, the training method for the classification model of the deep learning network includes: obtaining surveillance images that have been marked with teachers facing students, teachers with their backs to students and not writing on the blackboard, and teachers with their backs to students writing on the blackboard, and inputting the surveillance images into a preset network model, and giving corresponding classification prediction results through the preset network model, and then training the preset network model through the given classification prediction results and the types of annotations made for teachers in the surveillance images, thereby obtaining a classification model of the deep learning network.

[0138] In another embodiment, before S55, it also includes: when determining that the teacher is in the podium area of ​​the monitoring image, human body detection is performed on the podium area to generate a detection frame corresponding to the area surrounded by the joints of the teacher, so as to obtain a feature image including the human body detection frame. The area of ​​the human body detection frame in the feature image is further enlarged according to a preset proportional coefficient, for example, the two ends of the human body detection frame in the teacher's standing direction are respectively extended and enlarged by 10%, and the two ends in the direction perpendicular to the teacher's standing direction are respectively extended and enlarged by 25%, so as to intercept the image in the enlarged human body detection frame, so as to obtain the corresponding target image.

[0139] Among them, after obtaining the target image, the target image is input into a classification model of a trained deep learning network, so as to classify and predict whether the teacher in the target image is facing the students and / or the type of writing on the blackboard through the classification model, so as to obtain whether the teacher is facing the students and / or the writing on the blackboard status.

[0140] S56: Using a deep learning network to detect the positions of the preset key points of the teacher, and classifying the teacher's behavior type according to the positions of the preset key points to obtain the teacher's actions.

[0141] Furthermore, a monitoring image including a teacher in a podium area in the monitoring image is input into a deep learning network, so that the positions of preset key points of the teacher are detected through the deep learning network.

[0142] Among them, when the teacher is writing on the blackboard with his back to the students, the corresponding joints generally have a specific relative position relationship. For example, the position of the wrist joint of his left or right hand is higher than the position of the corresponding shoulder joint or elbow joint of the teacher in the standing direction of the teacher, so that it is possible to determine whether the teacher is currently writing on the blackboard by detecting the position of the teacher's preset key points, that is, by detecting the relative position relationship of the teacher's important joints.

[0143] Among them, the deep learning network can classify the teacher's behavior type according to the detected position of the teacher's preset key points. For example, the deep learning network can establish a plane coordinate system with the upper left vertex or the lower left vertex of the monitoring image as the origin, and detect the coordinate values ​​of the teacher's corresponding preset key points in the plane coordinate system, and then can classify whether the teacher writes on the blackboard according to the corresponding relationship between the relative size of the corresponding coordinate values ​​and whether the teacher writes on the blackboard and the coordinate values ​​of the teacher's important joint points, thereby determining the teacher's actions.

[0144] Specifically, in one embodiment, when it is detected that the ordinate value of the teacher's right wrist joint is greater than the ordinate value of the teacher's right shoulder joint or right elbow joint, it is determined that the teacher is writing on the blackboard.

[0145] S57: Determine whether the teacher is currently in the writing blackboard state based on at least one feature information, and modify the classification result of whether the teacher is currently in the writing blackboard state through the teacher's actions to obtain the classification result of whether the teacher is currently in the writing blackboard state.

[0146] Specifically, firstly, the classification model of the deep learning network is used to classify whether the teacher in the monitoring image is in the state of writing on the blackboard, so as to obtain the classification result of whether the teacher is writing on the blackboard, and further, the classification result of whether the teacher is writing on the blackboard obtained through the monitoring image is corrected by detecting the position of the preset key points of the teacher. For example, the classification results with low recall rate of the teacher's current behavior determined according to the monitoring image as non-writing on the blackboard with the back to the students, such as explaining PPT with the back to the students, or writing on the blackboard with the back to the students, are deleted to improve the accuracy of classifying the teacher's behavior type, so as to obtain the final classification result of the teacher's current behavior.

[0147] S58: Count the number of times, the duration of each time, and the total duration of the teacher's blackboard writing facing students, non-writing blackboard writing with his back to students, and writing blackboard writing with his back to students within the set time, and display the statistical results.

[0148] Furthermore, when the monitoring device detects that the teacher is currently facing the students, or has his back to the students and is not writing on the blackboard, or has his back to the students and is writing on the blackboard, it times the teacher's current behavior and further counts the number of times each behavior of the teacher occurs within the set time, the duration of a single action, and the total duration, and displays the statistical results on the display screen on the monitoring device, so that it can be provided to the teaching supervision team for analysis and evaluation of the teacher's teaching activities.

[0149] Among them, the set time can be any reasonable time length such as 45 minutes or 60 minutes, which can be reasonably set by the user according to needs, and this application does not limit it.

[0150] S59: Continue to maintain real-time monitoring.

[0151] Specifically, when it is determined based on the teacher's position information in the monitoring image that the teacher is not in the podium area of ​​the monitoring image, real-time monitoring is continued without detecting and judging the teacher's behavior and actions.

[0152] In one specific embodiment, see Figure 6 , Figure 6 It is a flowchart of a specific application scenario of the teacher behavior detection method of this application. After the monitoring device is started to monitor the monitoring area, the monitoring device is turned on to enter the human behavior detection mode, such as Figure 6 As shown, S61 is executed in sequence to start; when a target human body is detected in the monitoring area, S62 is executed, wherein, taking the target human body as a teacher as an example, when the corresponding monitoring video including the teacher is obtained, the monitoring video is framed to obtain the corresponding monitoring image.

[0153] Further execute S63, input the monitoring image into a deep learning network model to perform body detection on the target human body through the deep learning network model, and delineate a podium rule area in the monitoring image, and generate a human body detection frame corresponding to the area enclosed by the joints of the target human body, and then execute S64 to determine whether the human body detection frame is within the podium rule area in the monitoring image.

[0154] Among them, when the monitoring device determines that the human body detection frame is in the regular area of ​​the podium in the monitoring image, S65 and S67 are performed respectively, and the human body detection frame is expanded and screenshots are taken according to the preset proportional coefficient. For example, the two ends of the human body detection frame are expanded by 10% in the direction in which the teacher is standing, and the two ends of the human body detection frame are expanded by 25% in the direction perpendicular to the direction in which the teacher is standing, so as to obtain the corresponding target image.

[0155] After expanding the human body detection frame and taking a screenshot, S66 and S68 are further executed respectively, wherein expanding the human body detection frame and taking a screenshot in S65 and S67 may be the same step, so that after obtaining the screenshot, the acquired target image is respectively input into the trained key point network model and the classification model of the deep learning network, so as to classify whether the teacher in the target image is facing the students and whether he is writing on the blackboard with his back to the students, and then S69 is executed to fuse the classification results given by the two network models to remove the classification results with low recall rate.

[0156] Further execute S610 to obtain the final classification result of the teacher's current behavior, and after statistically analyzing the number of times each classification result appears within the set time, the single duration and the total duration, the human behavior detection task is ended.

[0157] Based on the general inventive concept, the present application also provides a human behavior detection system, see Figure 7 , Figure 7 Schematic diagram of the structure of an embodiment of the human behavior detection system of the present application. The human behavior detection system 71 includes a smart terminal 711 and a camera 712 connected to the smart terminal 711.

[0158] Among them, the camera 712 is used to obtain monitoring images that at least include the target human body. Specifically, it can be that a camera 712 installed in a designated area performs real-time monitoring and shooting of its monitoring area, so that when the monitoring image including the target human body is obtained, it is input into the smart terminal 711.

[0159] The intelligent terminal 711 is used to receive the monitoring image sent by the camera 712, and determine the target area in the monitoring image to locate the target human body in the monitoring image and determine the position information of the target human body.

[0160] The intelligent terminal 711 further determines whether the target person is in the target area based on the location information, and when determining that the target person is in the target area, determines at least one characteristic information of the target person's orientation and movement based on the monitoring image, and determines the movement of the target person using preset key points of the target person, so as to ultimately determine the current behavior of the target person based on at least one characteristic information and the movement of the target person.

[0161] In another embodiment, the camera 712 can also be integrated into the smart terminal 711. For example, after a monitoring image at least including a target human body is acquired directly through the camera 712 on any smart terminal 711 such as a drone or a smart robot, the monitoring image is processed by the processor of the smart terminal 711.

[0162] Optionally, the intelligent terminal 711 counts the number of occurrences, single duration, and total duration of each current behavior of the target human body within a set time, and displays the statistical results on its display screen.

[0163] Optionally, the smart terminal 711 may be a mobile phone, a tablet computer, a computer, a server, etc., which is not limited in the present application.

[0164] Based on the general inventive concept, the present application also provides a teacher behavior detection system, please refer to Figure 8 , Figure 8 8 is a schematic diagram of the structure of an embodiment of the teacher behavior detection system of the present application. The teacher behavior detection system 81 includes an intelligent terminal 811 and a camera 812 connected to the intelligent terminal 811.

[0165] Among them, the camera 812 is used to obtain a surveillance image that at least includes a teacher. Specifically, it can be that the camera 812 installed at a set position in a classroom monitors and shoots the area in the classroom to obtain a surveillance image including the teacher, and inputs it into the smart terminal 811.

[0166] The intelligent terminal 811 is used to receive the surveillance image sent by the camera 812, and determine the corresponding podium area in the surveillance image to locate the teacher in the surveillance image, determine the teacher's position information, and judge whether the teacher is in the podium area. When it is determined that the teacher is in the podium area, it is further determined whether the teacher is facing the students and whether he is in at least one characteristic information of the writing blackboard state, and the teacher's body preset key points are used to determine the teacher's movements, so as to determine whether the teacher is currently in the writing blackboard state based on at least one characteristic information and the teacher's movements.

[0167] In another embodiment, the camera 812 can also be integrated into the smart terminal 811. For example, after a monitoring image at least including a teacher is acquired directly through the camera 812 on any smart terminal 811 such as a smart camera, a drone or a smart robot, the monitoring image is processed by the processor of the smart terminal 811.

[0168] Optionally, the intelligent terminal 811 counts the number of times, single durations, and total durations of the teacher facing students, writing on the blackboard with his back to students, and writing on the blackboard with his back to students within a set time, and displays the statistical results on its display screen.

[0169] Optionally, the smart terminal 811 may be a mobile phone, a tablet computer, a computer, a server, etc., which is not limited in the present application.

[0170] Based on the general inventive concept, the present application also provides a smart terminal, see Fig. 9 , Fig. 9 It is a structural diagram of an embodiment of a smart terminal of the present application.

[0171] The intelligent terminal 91 includes a memory 911 and a processor 912 coupled to each other, the memory 911 stores program data, and the processor 912 is used to execute the program data to implement any of the above detection methods.

[0172] Based on the general inventive concept, the present application also provides a computer-readable storage medium, see Fig.10 , Fig.10 1 is a schematic diagram of a computer-readable storage medium according to an embodiment of the present invention. The computer-readable storage medium 101 stores program data 1011, which can be executed to implement any of the above-mentioned detection methods.

[0173] In one embodiment, the computer-readable storage medium 101 may be a storage chip, a hard disk, or a mobile hard disk, a USB flash drive, an optical disk, or other readable and writable storage tools in a terminal, or may be a server, etc.

[0174] In the several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device implementation described above is only schematic. For example, the division of processors or memories is only a logical function division. There may be other division methods in actual implementation. For example, the functions implemented by multiple processors and memories can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or connection shown or discussed can be an indirect coupling or connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0175] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of this embodiment.

[0176] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0177] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially 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, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of each implementation method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.

[0178] Different from the prior art, the human behavior detection method in the present application obtains a monitoring image including a target human body through a monitoring device, and determines a target area in the monitoring image to locate the target human body in the monitoring image, determine the position information of the target human body, and judge whether the target human body is in the target area based on the position information. If the target human body is in the target area, at least one characteristic information of the orientation and action of the target human body is determined based on the monitoring image, and the action of the target human body is determined using preset key points of the target human body, so as to determine the current behavior of the target human body according to at least one characteristic information and the action of the target human body, so as to perform real-time behavior detection on the target human body appearing in the target area of ​​the monitoring image, and after detecting and classifying the current action of the target human body based on the monitoring image, further detect and classify the preset key points of the target human body, so as to delete the classification result with low recall rate or confidence in the classification result given based on the monitoring image when it is determined that it is inconsistent with the classification result given based on the monitoring image, so as to effectively improve the accuracy of the final behavior judgment of the target human body.

[0179] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A human behavior detection method, characterized in that: The human behavior detection comprises: The monitoring device acquires a monitoring image including the target human body, and determines a target area in the monitoring image; Positioning the target human body in the monitoring image to determine the position information of the target human body; Determine whether the target human body is within the target area based on the position information; If the target human body is within the target area, determining at least one characteristic information of the orientation and movement of the target human body based on the monitoring image; and Determining the movement of the target body using preset key points of the target body; Determining the current behavior of the target person according to the at least one feature information, and correcting the result of the current behavior of the target person according to the action of the target person, so as to obtain a classification result of the current behavior of the target person; Among them, the result of the current behavior of the target human body determined by the action of the target human body is corrected, including: adding and deleting classification results with low recall rate in the current behavior of the target human body determined according to the at least one feature information.

2. The human behavior detection method according to claim 1, characterized in that: The step of determining at least one characteristic information of the orientation and action of the target human body based on the monitoring image comprises: The classification model of the deep learning network is used to classify and predict the orientation and / or action type of the target human body in the monitoring image to obtain the orientation and / or action of the target human body.

3. The human behavior detection method according to claim 1, characterized in that: The step of determining the movement of the target body by using the preset key points of the target body comprises: The positions of preset key points of the target human body are detected by using a deep learning network, and the behavior types of the target human body are classified according to the positions of the preset key points to obtain the actions of the target human body.

4. The human behavior detection method according to claim 2, characterized in that: Before the step of using the classification model of the deep learning network to classify and predict the orientation and / or action type of the target human body in the monitoring image to obtain the orientation and / or action of the target human body, the step further includes: Performing target human body detection on the target area to obtain a feature image including a target human body detection frame; Enlarging the area of ​​the target human body detection frame in the feature image according to a preset proportionality coefficient to intercept the target image within the enlarged target human body detection frame; The step of using the classification model of the deep learning network to classify and predict the orientation and / or action type of the target human body in the monitoring image to obtain the orientation and / or action of the target human body includes: The classification model of the deep learning network is used to classify and predict the orientation and / or action type of the target human body in the target image to obtain the orientation and / or the action of the target human body.

5. The human behavior detection method according to any one of claims 1 to 3, characterized in that: The monitoring device acquires a monitoring image including a target human body, and the step of determining a target area in the monitoring image specifically includes: The monitoring device monitors the set monitoring area in real time, so as to obtain the monitoring image including the target human body when the target human body appears in the set monitoring area; The target area is delineated in the monitoring image according to the activity area of ​​the target human body.

6. The human behavior detection method according to any one of claims 1 to 3, characterized in that: The step of locating the target human body in the monitoring image and determining the position information of the target human body comprises: The trained detection network model is used to locate the target human body in the monitoring image to determine the position information of the target human body.

7. The human behavior detection method according to claim 1, characterized in that: After the step of determining the current behavior of the target body according to the at least one feature information and the action of the target body, the method further includes: The number of occurrences, single duration, and total duration of each current behavior of the target human body within the set time are counted respectively, and the statistical results are displayed.

8. A teacher behavior detection method, characterized in that: The teacher behavior detection method comprises: The monitoring device acquires a monitoring image including the teacher, and determines the podium area in the monitoring image; Positioning the teacher in the monitoring image to determine the teacher's location information; Determining whether the teacher is in the podium area based on the location information; If the teacher is in the platform area, determining whether the teacher is facing the students and whether the teacher is writing on the blackboard based on the monitoring image; and Determine the movements of the teacher using preset key points of the teacher's body; Determine whether the teacher is currently in the writing blackboard state based on at least one feature information, and correct the classification result of whether the teacher is currently in the writing blackboard state through the teacher's actions to obtain the classification result of whether the teacher is currently in the writing blackboard state.

9. The teacher behavior detection method according to claim 8, characterized in that: After the step of determining whether the teacher is currently in a blackboard writing state according to the at least one feature information and the teacher's action, the method further includes: The number of times the teacher faces students, writes on the blackboard with his back to students, and writes on the blackboard with his back to students within the set time, the duration of each time, and the total duration are counted, and the statistical results are displayed.

10. A human behavior detection system, characterized in that: The human behavior detection system includes a smart terminal and a camera connected to the smart terminal; Wherein, the camera is used to obtain a monitoring image including a target human body; The intelligent terminal is used to receive the monitoring image sent by the camera, and determine the target area in the monitoring image to locate the target human body in the monitoring image, determine the position information of the target human body, and judge whether the target human body is in the target area based on the position information, so as to determine at least one characteristic information of the orientation and action of the target human body based on the monitoring image when determining that the target human body is in the target area, and determine the action of the target human body using the preset key points of the target human body, so as to determine the current behavior of the target human body according to the at least one characteristic information, and correct the result of the current behavior of the target human body determined by the action of the target human body to obtain the classification result of the current behavior of the target human body; wherein, correcting the result of the current behavior of the target human body determined by the action of the target human body includes: adding and deleting the classification result with low recall rate in the current behavior of the target human body determined according to the at least one characteristic information.

11. A teacher behavior detection system, characterized in that: The teacher behavior detection system includes an intelligent terminal and a camera connected to the intelligent terminal; Wherein, the camera is used to obtain monitoring images including the teacher; The intelligent terminal is used to receive the monitoring image sent by the camera, and determine the podium area in the monitoring image to locate the teacher in the monitoring image, determine the teacher's position information, and judge whether the teacher is in the podium area, so as to determine whether the teacher is facing the students and whether the teacher is writing on the blackboard when determining that the teacher is in the podium area, and use the preset key points of the teacher's body to determine the teacher's movements, so as to determine whether the teacher is currently in the writing on the blackboard state according to at least one characteristic information, and correct the classification result of whether the teacher is currently in the writing on the blackboard state through the teacher's movements, so as to obtain the classification result of whether the teacher is currently in the writing on the blackboard state.

12. An intelligent terminal, characterized in that: The intelligent terminal includes a memory and a processor coupled to each other; The memory stores program data; The processor is used to execute the program data to implement the detection method as described in any one of claims 1-7 or 8-9.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program data, and the program data can be executed by a processor to implement the detection method according to any one of claims 1-7 or 8-9.