Intelligent hand washing evaluation method, system, storage medium and electronic device
Through intelligent hand washing evaluation method, video analysis and computer vision technology are used to evaluate students' hand washing steps and speed in real time, solving the problems of low evaluation efficiency and insufficient accuracy in medical teaching, realizing standardization and standardization of hand washing process, and improving the Evaluate efficiency and accuracy.
Patent Information
- Application Number
- CN202210395790.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-15
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2042-04-15
AI Technical Summary
In existing medical teaching, the evaluation efficiency of correct hand washing is low, and it is impossible to accurately quantify the standardization and standardization of the hand washing process of chemists. It relies on the teacher's subjective feelings, resulting in inaccurate evaluation results.
Using intelligent hand washing evaluation method, we can obtain the entire process of hand washing video in real time, distinguish the steps frame by frame, and count the length and speed of the steps. We use deep neural network and Lucas-Kanade optical flow method to perform gesture recognition and speed detection, calculate the stage and final evaluation scores. Combined with the effectiveness of the entire process sequence, automated and intelligent evaluation is achieved.
The objective, scientific and intelligent quantitative evaluation of the students' hand washing process has been achieved, the evaluation efficiency has been improved, the teacher's work intensity has been reduced, and the evaluation results have been ensured to the accuracy and traceability of the evaluation results.
Smart Images

Figure CN114973353B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of medical teaching evaluation, and in particular to an intelligent hand washing evaluation method, system, storage medium and electronic device. Background Art
[0002] With the continuous development of social economy and the improvement of living standards, people pay more and more attention to maintaining personal hygiene, and frequent hand washing is a good hygiene habit. Under the current situation where the epidemic is still serious, personal and public health have received unprecedented attention. Hand cleaning is one of the most direct, effective, economical and convenient ways to reduce the spread of bacteria and viruses on the hands. It is very necessary to enable people to wash their hands correctly according to standard procedures and standards and effectively remove bacteria and viruses on their hands.
[0003] At present, in medical schools, the teaching courses on correct hand washing are generally taught by teachers through on-site explanations and demonstrations, but there are still some defects: 1. Due to the large number of students and the small number of teaching teachers, the workload of teachers is increased, and the efficiency of this manual evaluation model is also relatively low; 2. Different students have different observation and comprehension abilities, and ultimately it is impossible to accurately quantify the degree of standardization and standardization of the students' hand washing process; 3. The degree of mastery of students depends entirely on the subjective feelings of the teaching teachers, and there is no scientific evaluation method and standard.
[0004] In view of this, it is necessary to provide an intelligent hand washing evaluation technology solution. Summary of the invention
[0005] 1. Technical issues to be resolved
[0006] In view of the deficiencies in the prior art, the present invention provides an intelligent hand washing evaluation method, system, storage medium and electronic device, which solve the technical problem that the evaluation results cannot be accurately quantified.
[0007] (II) Technical solution
[0008] To achieve the above objectives, the present invention is implemented through the following technical solutions:
[0009] An intelligent hand washing evaluation method, which is based on a seven-step hand washing method, including:
[0010] Obtain the whole hand washing process video in real time, and identify the current hand washing step frame by frame in real time;
[0011] According to the above real-time identification results, the effective duration of each hand washing step is counted;
[0012] According to the whole process video of hand washing, detecting the hand washing speed of each frame;
[0013] According to the effective duration and hand washing speed corresponding to each hand washing step, the stage evaluation score of each hand washing step is obtained, and combined with the effectiveness of the whole process hand washing sequence, the final evaluation score of the trainee is obtained and displayed in real time.
[0014] Preferably, before obtaining the full-process video of hand washing in real time, the evaluation method further includes: performing real-time face detection and capture on the trainee and automatically matching the face image in the database, and creating or entering a personal profile;
[0015] After obtaining and displaying the final evaluation score of the student in real time, the evaluation method also includes: automatically saving the effective duration and hand washing speed corresponding to each hand washing step, the stage evaluation score, and the final evaluation score in the personal file corresponding to the student.
[0016] Preferably, a deep neural network algorithm is used to perform gesture recognition on each frame of the image to determine the current hand washing step step_i to which each frame belongs; a majority voting method is used to determine the current step step_i of this stage within 1 second; and the total number of times num_i that the current step step_i appears is determined.
[0017] Preferably, the Lucas-Kanade optical flow method is used to detect the hand washing speed of each frame, and the speed v of the current step step_i in this stage within 1 second i =v t / num_i, where v t The sum of the hand washing speeds in each frame corresponding to the current step step_i;
[0018] The Lucas-Kanade optical flow method adopts a random sampling consistency parameter optimization method, which specifically includes:
[0019] Randomly select two points from the observation point set, calculate the parameters k and t of the line, and obtain a candidate line model;
[0020] Calculate the matching degree between the candidate line and the entire point set by counting the number of points on the line or whose distance to the line is less than the preset distance threshold. The more points, the higher the matching degree.
[0021] Keep the parameters of the line with the best match;
[0022] If the number of matching points in this attempt accounts for the majority of the entire point set and exceeds the expected threshold, the attempt is terminated early.
[0023] Preferably, obtaining the stage evaluation score of each hand washing step according to the effective duration and hand washing speed corresponding to each hand washing step includes:
[0024] score_i=α_i*β_i*100
[0025] Among them, score_i represents the stage evaluation score of the i-th step;
[0026] Speed weight α_i = num_i / num,
[0027]
[0028] num_i represents the cumulative number of occurrences of the current step step_i, and the initialization value is 0;
[0029] thread_1 and thread_2 are the minimum speed and maximum speed thresholds respectively;
[0030] v f Indicates the hand washing speed of the current frame;
[0031] num represents the total number of times all steps occur;
[0032]
[0033] t is the effective duration of the current step, thread t is the duration threshold.
[0034] Preferably, the method of combining the effectiveness of the whole-process hand washing sequence to obtain and display the final evaluation score of the trainee in real time includes:
[0035] Calculate the mean score_m of the stage evaluation scores score_i;
[0036] The effectiveness of the whole process hand washing sequence is counted, score_m is multiplied by the hand washing sequence weight coefficient Y to obtain the final evaluation score score_final, and it is displayed in real time, where:
[0037]
[0038]
[0039] The correct hand washing steps are the operating steps of the seven-step hand washing method, and ε is the number of incorrect hand washing sequences.
[0040] An intelligent hand washing evaluation system, which is based on the seven-step hand washing method, includes:
[0041] The gesture recognition module is used to obtain the whole hand washing process video in real time and identify the current hand washing step frame by frame in real time;
[0042] Step 1 duration statistics module, used to count the effective duration of each hand washing step according to the above real-time judgment results;
[0043] A speed detection module, used to detect the hand washing speed of each frame according to the whole process video of hand washing;
[0044] The intelligent evaluation module is used to obtain the stage evaluation score of each hand washing step according to the effective duration and hand washing speed corresponding to each hand washing step, and to obtain and display the final evaluation score of the student in real time in combination with the effectiveness of the whole process hand washing sequence.
[0045] Preferably, before the gesture recognition module executes real-time acquisition of the whole process video of hand washing, the evaluation system further comprises: a face recognition module for real-time face detection, interception and automatic matching with the face pictures in the database for the trainees, and creating or entering a personal profile;
[0046] After the intelligent evaluation module obtains and displays the final evaluation score of the student in real time, the evaluation system also includes: a data storage module, which is used to automatically save the effective duration and hand washing speed corresponding to each hand washing step, the stage evaluation score, and the final evaluation score in the personal file corresponding to the student.
[0047] A storage medium stores a computer program for intelligent hand washing evaluation, wherein the computer program enables a computer to execute the intelligent hand washing evaluation method as described above.
[0048] An electronic device, comprising:
[0049] one or more processors;
[0050] Memory; and
[0051] One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the programs including instructions for executing the intelligent hand washing evaluation method as described above.
[0052] (III) Beneficial effects
[0053] The present invention provides an intelligent hand washing evaluation method, system, storage medium and electronic device. Compared with the prior art, it has the following beneficial effects:
[0054] The present invention is based on the seven-step hand washing method, including real-time acquisition of a full-process video of hand washing, and real-time identification of the current hand washing step frame by frame of the video; based on the above real-time identification results, the effective duration of each hand washing step is counted; based on the full-process video of hand washing, the hand washing speed of each frame is detected; based on the effective duration and hand washing speed corresponding to each hand washing step, the stage evaluation score of each hand washing step is obtained, and combined with the effectiveness of the full-process hand washing sequence, the final evaluation score of the student is obtained and displayed in real time. The standardization, normalization and effectiveness of the student's hand washing process can be objectively, scientifically and intelligently quantitatively evaluated, avoiding the phenomenon of inaccurate evaluation results caused by the subjective feelings of the instructor. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0056] Figure 1 A schematic diagram of a flow chart of an intelligent hand washing evaluation method provided by an embodiment of the present invention;
[0057] Figure 2 A schematic diagram of a hand washing speed detection process provided by an embodiment of the present invention;
[0058] Figure 3 This is a structural block diagram of an intelligent hand washing evaluation system provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0059] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention are clearly and completely described. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0060] The embodiments of the present application solve the technical problem that the evaluation results cannot be accurately quantified by providing an intelligent hand washing evaluation method, system, storage medium and electronic device.
[0061] The technical solution in the embodiment of the present application is to solve the above technical problems, and the overall idea is as follows:
[0062] The embodiment of the present invention is based on the seven-step hand washing method, including real-time acquisition of a full-process video of hand washing, and real-time identification of the current hand washing step frame by frame; based on the above real-time identification results, the effective duration of each hand washing step is counted; based on the full-process video of hand washing, the hand washing speed of each frame is detected; based on the effective duration and hand washing speed corresponding to each hand washing step, the stage evaluation score of each hand washing step is obtained, and combined with the effectiveness of the full-process hand washing sequence, the final evaluation score of the student is obtained and displayed in real time. The standardization, normalization and effectiveness of the student's hand washing process can be objectively, scientifically and intelligently quantitatively evaluated, avoiding the phenomenon of inaccurate evaluation results caused by the subjective feelings of the instructor.
[0063] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0064] Example:
[0065] like Figure 1 As shown, an embodiment of the present invention provides an intelligent hand washing evaluation method, which is based on the seven-step hand washing method and includes:
[0066] S1. Perform real-time face detection and capture for students, automatically match with facial images in the database, and create or enter personal profiles;
[0067] S2. Obtain the whole hand washing process video in real time, and identify the current hand washing step frame by frame in real time;
[0068] S3. According to the above real-time identification results, the effective duration of each hand washing step is counted;
[0069] S4. Detecting the hand washing speed of each frame according to the whole process video of hand washing;
[0070] S5. Obtain the stage evaluation score of each hand washing step according to the effective duration and hand washing speed corresponding to each hand washing step, and obtain and display the final evaluation score of the trainee in real time in combination with the effectiveness of the hand washing sequence of the whole process;
[0071] S6. Automatically save the effective duration and hand washing speed, stage evaluation score, and final evaluation score corresponding to each hand washing step in the student's corresponding personal file.
[0072] On the one hand, in the teaching effect evaluation process, the embodiment of the present invention realizes the automation and intelligence of the whole process without manual operation and intervention, thereby improving the evaluation efficiency and greatly reducing the workload of the teaching teachers; the standardization, normalization and effectiveness of the students' hand washing process can be objectively, scientifically and intelligently quantitatively evaluated, avoiding the phenomenon of inaccurate evaluation results caused by the subjective feelings of the teaching teachers.
[0073] On the other hand, during the student assessment process, the whole process data of hand washing and statistical analysis results can be archived in real time for later reference, ensuring the traceability of the assessment results.
[0074] The following will introduce each step of the above technical solution in detail with reference to the accompanying drawings of the specification:
[0075] In step S1, real-time face detection and capture are performed on the student, and the face is automatically matched with the face pictures in the database, and a new personal profile is created or entered.
[0076] At the beginning, camera 1 performs real-time face detection:
[0077] If no face is detected, the detection will continue. If a face is detected, the face image will be automatically captured and compared with the face images in the database for similarity analysis.
[0078] If it is detected that the student is a newcomer and his / her facial image does not exist in the database, a new personal profile will be created and his / her facial image information will be saved in the database. If the facial image information exists in the database, the face will be successfully matched and the location of his / her personal profile will be obtained for later data storage.
[0079] At the same time, turn off camera 1 and turn on camera 2, and enter the gesture recognition process after a 3-second countdown.
[0080] In step S2, a video of the entire hand washing process is obtained in real time, and the current hand washing step is determined frame by frame in real time.
[0081] Students wash their hands according to the seven-step hand washing process, and use a deep neural network algorithm to recognize gestures in each frame of the image to determine the current hand washing step step_i of each frame; use the majority voting method to determine the current step step_i of this stage within 1 second; and determine the total number of times num_i that the current step step_i appears.
[0082] In addition, in this step, the step-time interface and the current step interface can be refreshed at a frequency of 1 second to display the analysis results in real time on the interface.
[0083] In step S3, according to the above real-time identification results, the effective duration of each hand washing step is counted.
[0084] In step S2, for the hand washing step, after using the majority voting method to count which step each second belongs to, this step will accumulate the effective hand washing time of the same step and add 1, and use it as one of the input factors for the subsequent stage evaluation.
[0085] In step S4, Figure 2 As shown, based on the whole process video of hand washing, the hand washing speed of each frame is detected.
[0086] The Lucas-Kanade optical flow method is used to detect the hand washing speed of each frame. The speed v of the current step step_i in this stage within 1 second i =v t / num_i, where v t It is the sum of the hand washing speeds of each frame corresponding to the current step step_i; and is also displayed on the interface at a refresh rate of 1 second.
[0087] The basic idea of the LK algorithm is based on the following three assumptions:
[0088] ① Constant brightness: when the same target moves between different frames, its brightness will not change;
[0089] ② Time continuity or motion is "small motion": that is, the change of time will not cause drastic changes in the target position, and the displacement between adjacent frames is relatively small;
[0090] ③ Spatial consistency: All adjacent pixels have similar motion, that is, in the m*m area around the target image, each pixel has the same optical flow vector.
[0091] The basic constraint equations are:
[0092] Based on the above ①② assumptions, we get the constraint equation of the image:
[0093] I(x,y,t)=I(x+δx,y+δy,t+δt) (1)
[0094] Among them, I(x, y, t) is the brightness of the hand washing image frame at the position (x, y) at time t,
[0095] I(x+δx, y+δy, t+δt) is the brightness of the image at (x+δx, y+δy) at time t+δt.
[0096] Using Taylor's formula to expand the function I(x+δx, y+δy, t+δt) at (x, y, t) we get:
[0097]
[0098] Among them, R(x, y, t) is a high-order remainder term, which is approximately 0.
[0099] Combining formula (1) and (2) we get:
[0100]
[0101] Dividing both sides of equation (3) by δt yields:
[0102]
[0103] in, and are the derivatives of the pixel along the x and y directions, that is, the velocities u and v along the x and y directions, respectively. (u, v) is the optical flow vector we want to solve.
[0104] The above formula can be rewritten as follows:
[0105] I x u+I y v=-I t (5)
[0106] Since there are two unknowns in the above equation, it is impossible to solve u and v. Therefore, based on the above assumption ③, in the case of m*m (n=m 2 ) window, the optical flow of each pixel is a constant, so we can get the following equations:
[0107]
[0108] Using the RANSAC optimization method, we can get the optimal solution u* and v*. Combining these two components will give the hand washing speed v of each frame. f .
[0109] Due to the existence of uncertain and accidental factors such as lighting changes, surrounding environment and camera, there may be a certain amount of noise interference for each frame of image, which will affect the speed result. In order to ensure the accuracy and robustness of the result, the random sample consensus (RANSAC) parameter optimization method is adopted in the Lucas-Kanade optical flow method to avoid the unsatisfactory noise removal problem of the least squares method in the original Lucas-Kanade optical flow method, so as to obtain a more accurate hand speed for each frame; specifically, it includes:
[0110] Randomly select two points from the observation point set, calculate the parameters k and t of the line, and obtain a candidate line model;
[0111] Calculate the matching degree between the candidate line and the entire point set by counting the number of points on the line or whose distance to the line is less than the preset distance threshold. The more points, the higher the matching degree.
[0112] Keep the parameters of the line with the best match;
[0113] If the number of matching points in this attempt accounts for the majority of the entire point set and exceeds the expected threshold, the attempt is terminated early.
[0114] The embodiment of the present invention adopts a computer vision algorithm to detect hand feature points in each frame, and adopts a parameter optimization method to achieve real-time detection of hand washing speed.
[0115] In step S5, the stage evaluation score of each hand washing step is obtained according to the effective duration and hand washing speed corresponding to each hand washing step, and the final evaluation score of the trainee is obtained and displayed in real time in combination with the effectiveness of the whole process hand washing sequence.
[0116] The step of obtaining the stage evaluation score of each hand washing step according to the effective duration and hand washing speed corresponding to each hand washing step includes:
[0117] score_i=α_i*β_i*100
[0118] Among them, score_i represents the stage evaluation score of the i-th step;
[0119] Speed weight α_i = num_i / num,
[0120]
[0121] num_i represents the cumulative number of occurrences of the current step step_i, and the initialization value is 0;
[0122] thread_1 and thread_2 are the minimum speed and maximum speed thresholds respectively;
[0123] v f Indicates the hand washing speed of the current frame;
[0124] num represents the total number of times all steps occur;
[0125]
[0126] t is the effective duration of the current step, thread t is the duration threshold.
[0127] Continue to perform the above steps S2 to 4. When it is detected that the current hand washing step is step 7 and the duration exceeds 5 seconds, the system prompts that the current hand washing process has been completed; otherwise, the above steps S2 to 4 will continue to be executed.
[0128] The method combines the effectiveness of the whole-process hand washing sequence to obtain and display the final evaluation score of the trainee in real time, including:
[0129] Calculate the mean score_m of the stage evaluation scores score_i;
[0130] The effectiveness of the whole process hand washing sequence is counted, score_m is multiplied by the hand washing sequence weight coefficient Y to obtain the final evaluation score score_final, and it is displayed in real time, where:
[0131]
[0132]
[0133] The correct hand washing steps are the operating steps of the seven-step hand washing method, and ε is the number of incorrect hand washing sequences.
[0134] In step S6, the effective duration and hand washing speed, stage evaluation score and final evaluation score corresponding to each hand washing step are automatically saved in the personal file corresponding to the trainee.
[0135] In this step, the stage evaluation score, the final evaluation score and the relevant data of the hand washing process are automatically saved in the student's corresponding personal file. At the same time, camera 2 is turned off and camera 1 is turned on to prepare for the next student's hand washing evaluation.
[0136] The embodiment of the present invention comprehensively adopts algorithms such as machine learning, deep neural networks and computer vision to perform statistical analysis on the data in the whole process, and comprehensively evaluates the hand washing scores and the final score at each stage based on the influencing factors of hand washing speed, effective duration and hand washing sequence.
[0137] like Figure 3 As shown, an embodiment of the present invention further provides an intelligent hand washing evaluation system, which is based on the seven-step hand washing method and includes:
[0138] The face recognition module is used to detect and capture students' faces in real time and automatically match them with facial images in the database, and create or enter personal files;
[0139] The gesture recognition module is used to obtain the whole hand washing process video in real time and identify the current hand washing step frame by frame in real time;
[0140] A step-duration statistics module is used to count the effective duration of each hand washing step according to the above real-time identification results;
[0141] A speed detection module, used to detect the hand washing speed of each frame according to the whole process video of hand washing;
[0142] An intelligent evaluation module is used to obtain the stage evaluation score of each hand washing step according to the effective duration and hand washing speed corresponding to each hand washing step, and to obtain and display the final evaluation score of the trainee in real time in combination with the effectiveness of the hand washing sequence of the whole process;
[0143] The data storage module is used to automatically save the effective duration and hand washing speed, stage evaluation score and final evaluation score corresponding to each hand washing step in the personal file corresponding to the trainee.
[0144] An embodiment of the present invention further provides a storage medium storing a computer program for intelligent hand washing evaluation, wherein the computer program enables a computer to execute the intelligent hand washing evaluation method as described above.
[0145] An embodiment of the present invention further provides an electronic device, including:
[0146] one or more processors;
[0147] Memory; and
[0148] One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the programs including instructions for executing the intelligent hand washing evaluation method as described above.
[0149] It is understandable that the intelligent hand washing evaluation system, storage medium and electronic device provided in the embodiments of the present invention correspond to the intelligent hand washing evaluation method provided in the embodiments of the present invention, and the explanations, examples and beneficial effects of the relevant contents can refer to the corresponding parts in the intelligent hand washing evaluation method, which will not be repeated here.
[0150] In summary, compared with the prior art, the present invention has the following beneficial effects:
[0151] 1. On the one hand, in the teaching effect evaluation process, the embodiment of the present invention realizes the automation and intelligence of the whole process without manual operation and intervention, thereby improving the evaluation efficiency and greatly reducing the workload of the teaching teachers; the standardization, normalization and effectiveness of the students' hand washing process can be objectively, scientifically and intelligently quantitatively evaluated, thus avoiding the phenomenon of inaccurate evaluation results caused by the subjective feelings of the teaching teachers.
[0152] 2. On the other hand, during the student assessment process, the whole process data of hand washing and statistical analysis results can be archived in real time for later reference, ensuring the traceability of the assessment results.
[0153] 3. The embodiment of the present invention adopts a computer vision algorithm to detect the hand feature points in each frame, and adopts a parameter optimization method to achieve real-time detection of hand washing speed.
[0154] 4. The embodiment of the present invention comprehensively adopts algorithms such as machine learning, deep neural networks and computer vision to perform statistical analysis on the data in the whole process, and comprehensively evaluates the hand washing scores and the final score at each stage based on the influencing factors of hand washing speed, effective duration and hand washing sequence.
[0155] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0156] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. An intelligent hand washing evaluation method, characterized in that: The assessment is based on a seven-step handwashing method that includes: Obtain the whole hand washing process video in real time, and identify the current hand washing step frame by frame in real time; According to the above real-time identification results, the effective duration of each hand washing step is counted; According to the whole process video of hand washing, detecting the hand washing speed of each frame; According to the effective duration and hand washing speed corresponding to each hand washing step, the stage evaluation score of each hand washing step is obtained, and combined with the effectiveness of the whole process hand washing sequence, the final evaluation score of the trainees is obtained and displayed in real time; Before obtaining the full-process video of hand washing in real time, the evaluation method also includes: real-time face detection, interception and automatic matching with facial images in the database for the trainees, and creating or entering a personal profile; After obtaining and displaying the final evaluation score of the trainee in real time, the evaluation method further includes: automatically saving the effective duration and hand washing speed corresponding to each hand washing step, the stage evaluation score, and the final evaluation score in the personal file corresponding to the trainee; A deep neural network algorithm is used to perform gesture recognition on each frame of the image to determine the current hand washing step step_i to which each frame belongs; a majority voting method is used to determine the current step step_i in this stage within 1 second; and the total number of times num_i that the current step step_i appears is determined; The Lucas-Kanade optical flow method is used to detect the hand washing speed of each frame. The speed v of the current step step_i in this stage within 1 second i =v t / num_i, where v t The sum of the hand washing speeds in each frame corresponding to the current step step_i; The Lucas-Kanade optical flow method adopts a random sampling consistency parameter optimization method, which specifically includes: Randomly select two points from the observation point set, calculate the parameters k and t of the line, and obtain a candidate line model; Calculate the matching degree between the candidate line and the entire point set by counting the number of points on the line or whose distance to the line is less than the preset distance threshold. The more points, the higher the matching degree. Keep the parameters of the line with the best match; If the number of matching points in this attempt accounts for the majority of the entire point set and exceeds the expected threshold, the attempt is terminated early; The step of obtaining the stage evaluation score of each hand washing step according to the effective duration and hand washing speed corresponding to each hand washing step includes: score_i=α_i*β_i*100 Among them, score_i represents the stage evaluation score of the i-th step; Speed weight α_i = num_i / num, num_i represents the cumulative number of occurrences of the current step step_i, and the initialization value is 0; thread1 and thread2 are the minimum speed and maximum speed thresholds respectively; v f Indicates the hand washing speed of the current frame; num represents the total number of times all steps occur; Duration Weight t is the effective duration of the current step step_i, thread t is the duration threshold.
2. The intelligent hand washing evaluation method according to claim 1, characterized in that: The method combines the effectiveness of the whole-process hand washing sequence to obtain and display the final evaluation score of the trainee in real time, including: Calculate the mean score_m of the stage evaluation scores score_i; The effectiveness of the whole process hand washing sequence is counted, score_m is multiplied by the hand washing sequence weight coefficient γ to obtain the final evaluation score score_final, and it is displayed in real time, where: The correct hand washing steps are the operating steps of the seven-step hand washing method, and ε is the number of incorrect hand washing sequences.
3. An intelligent hand washing evaluation system, characterized in that: The assessment system is based on a seven-step handwashing method that includes: The gesture recognition module is used to obtain the whole hand washing process video in real time and identify the current hand washing step frame by frame in real time; A step-duration statistics module is used to count the effective duration of each hand washing step according to the above real-time identification results; A speed detection module, used to detect the hand washing speed of each frame according to the whole process video of hand washing; Intelligent evaluation module, which is used to obtain the stage evaluation score of each hand washing step according to the effective duration and hand washing speed corresponding to each hand washing step, and obtain and display the trainee's final evaluation score in real time based on the effectiveness of the whole process hand washing sequence; Before the gesture recognition module executes real-time acquisition of the whole process video of hand washing, the evaluation system also includes: a face recognition module for real-time face detection, interception and automatic matching with facial images in the database for the trainees, and creating or entering a personal profile; After the intelligent evaluation module obtains and displays the final evaluation score of the trainee in real time, the evaluation system further includes: a data storage module, which is used to automatically save the effective duration and hand washing speed corresponding to each hand washing step, the stage evaluation score, and the final evaluation score in the personal file corresponding to the trainee; The gesture recognition module is used to use a deep neural network algorithm to perform gesture recognition on each frame of the image, determine the current hand washing step step_i to which each frame belongs; use a majority voting method to determine the current step step_i of this stage within 1 second; and determine the total number of times num_i that the current step step_i appears; The Lucas-Kanade optical flow method is used to detect the hand washing speed of each frame. The speed v of the current step step_i in this stage within 1 second i =v t / num_i, where vt is the sum of the hand washing speeds in each frame corresponding to the current step step_i; The Lucas-Kanade optical flow method adopts a random sampling consistency parameter optimization method, which specifically includes: Randomly select two points from the observation point set, calculate the parameters k and t of the line, and obtain a candidate line model; Calculate the matching degree between the candidate line and the entire point set by counting the number of points on the line or whose distance to the line is less than the preset distance threshold. The more points, the higher the matching degree. Keep the parameters of the line with the best match; If the number of matching points in this attempt accounts for the majority of the entire point set and exceeds the expected threshold, the attempt is terminated early; The step of obtaining the stage evaluation score of each hand washing step according to the effective duration and hand washing speed corresponding to each hand washing step includes: score_i=α_i*β_i*100 Among them, score_i represents the stage evaluation score of the i-th step; Speed weight α_i = num_i / num, num_i represents the cumulative number of occurrences of the current step step_i, and the initialization value is 0; thread1 and thread2 are the minimum speed and maximum speed thresholds respectively; v f Indicates the hand washing speed of the current frame; num represents the total number of times all steps occur; Duration Weight t is the effective duration of the current step step_i, thread t is the duration threshold.
4. A storage medium, characterized in that: It stores a computer program for intelligent hand washing evaluation, wherein the computer program enables the computer to execute the intelligent hand washing evaluation method according to claim 1 or 2.
5. An electronic device, characterized in that: include: one or more processors; Memory; as well as One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the programs comprising instructions for executing the intelligent hand washing evaluation method according to claim 1 or 2.
