Chemical experiment operation normative machine vision evaluation method and system

Through the standardized machine vision evaluation method of chemical experiment operations, video analysis technology is used to automatically identify and evaluate students' experimental operations, which solves the supervision problems in traditional teaching, improves the standardization and safety of experiments, and achieves more efficient teaching management.

CN118736481APending Publication Date: 2024-10-01NANJING TECH UNIV

Patent Information

Application Number
CN202410674484.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-28
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In traditional chemistry experiment teaching, it is difficult for teachers to supervise students' operations in real time, which makes it difficult to detect improper operations and normative problems in time. There is a lack of quantifiable practical assessment standards, which affects experimental results and safety.

Method used

The standardized machine vision evaluation method for chemical experiment operations is adopted to automatically identify students' experimental operations through video analysis technology, including multi-view video collection, action classification, target detection and bone key point extraction, to evaluate the standardization of experimental operations and provide instant feedback and scoring. .

Benefits of technology

It improves the efficiency and objectivity of normative evaluation of experimental operations, improves the digital and intelligent management of experimental teaching, and reduces the subjectivity and fatigue effects of manual supervision.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118736481A_ABST
    Figure CN118736481A_ABST
Patent Text Reader

Abstract

The invention provides a normative evaluation method and system for chemical experiment operation in a laboratory scene, and the method comprises the steps: collecting a multi-view multi-scene normative operation video and an experiment instrument and vessel picture, making a data set, and training a recognition model; dividing the complete video stream into a plurality of experimental stages, obtaining a sequence of actual experimental operations, and judging the flow normalization according to an experimental standard operation flow sequence to obtain a first judgment result; determining the experimental operation duration in the experimental sub-process, determining the grasping position of the hand relative to the experimental instrument, and performing normative judgment according to the operation duration and the grasping position of the operating instrument to obtain a second judgment result; hand skeleton key points are extracted, motion categories are obtained through model classification, normalization evaluation is carried out on hand detail operation motions, and a third evaluation result is obtained; and obtaining judgment results of the multiple judgment processes in sequence, and comprehensively obtaining overall operation evaluation according to the multiple judgment results. According to the invention, the method can achieve the automatic recognition of the operation leakage, misoperation and operation sequence errors, and improves the normative judgment efficiency and supervision capability of the experiment operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to video analysis and pattern recognition technology and its application in the field of intelligent experimental teaching, and in particular to a method and system for machine vision evaluation of chemical experiment operation standardization. Background Art

[0002] Chemical experiments are scientific activities that require careful design and careful execution, involving a lot of hands-on operations, instrument selection, and strict operating procedures. During the experiment, experimenters often need to perform various experimental operations, including but not limited to solution preparation, reaction control, product separation and purification, etc. The accuracy of these specific experimental operations directly affects the reliability of the experimental results. In addition, strict operating specifications are a necessary condition to ensure the safety of the experimental process and the reliability of the experimental results. Chemical experiments often involve toxic, corrosive or flammable chemicals, so experimenters must follow relevant safety regulations and use protective equipment correctly.

[0003] In recent years, many problems have arisen in traditional chemical experimental teaching, especially in the process evaluation link. It is common for teachers to guide students' experiments one-on-many, and it is difficult for teaching teachers to observe the experimental operations of all students, resulting in inadequate supervision. Secondly, manual supervision of experimental teaching usually cannot provide immediate feedback. Students may have improper operations or standardization problems in the experiment, resulting in the formation of wrong operating habits during the experiment, thus affecting the experimental results. In response to the above-mentioned problems, there is currently no quantifiable practical assessment and evaluation standard. Summary of the invention

[0004] The embodiment of the present application provides a method and system for machine vision evaluation of the standardization of chemical experiment operations, which uses video analysis technology to improve the current experiment supervision process and automatically identify students' missed operations, incorrect operations, and incorrect operation sequences. This method can significantly improve the efficiency, objectivity and supervision capabilities of the evaluation of the standardization of experimental operations, and can also improve the digitalization and intelligence level of experimental teaching management to a certain extent.

[0005] The technical solution adopted by the present invention to solve the existing technical problems is as follows:

[0006] A method for judging the standardization of chemical experiment operation by machine vision comprises the following steps:

[0007] Step S100, collecting multi-view and multi-scene standard operation videos and experimental instruments and utensils pictures, making a data set and training a recognition model;

[0008] Step S200, dividing the complete video stream into multiple experimental stages, and obtaining the actual experimental operation sequence, judging the process standardization according to the experimental standard operation process sequence, and obtaining a first judgment result;

[0009] Step S300, determining the duration of the experimental operation in the experimental sub-process, determining the gripping position of the hand relative to the experimental instrument, and performing a normative evaluation based on the operation duration and the gripping position of the operating instrument to obtain a second evaluation result;

[0010] Step S400, extracting the key points of the hand skeleton, using the model classification to obtain the action category, and performing a normative evaluation on the hand detail operation action to obtain a third evaluation result;

[0011] Step S500, obtaining evaluation results for multiple evaluation processes in sequence, and obtaining an overall operation evaluation based on the multiple evaluation results;

[0012] The step S400 further includes the following sub-steps:

[0013] Step S401, identifying the experimental instrument or vessel being used by the operator through a target detection algorithm;

[0014] Step S402, extracting the key points of the operator's hand skeleton, and obtaining the coordinates of the key points and the confidence of the key points;

[0015] Step S403, calculating the heat map of the key points of the hand and inputting it into the PoseC3D model to predict the action category and classification confidence;

[0016] Preferably, in step S100, a fixed-position camera is used to collect a sufficient amount of complete standard operation videos in chemical experiment scenes, and video segments containing specific operation actions in the experiment are sequentially taken out, and the categories are marked according to the operation content in the video segments, and an action posture data set is constructed for training the action posture recognition model;

[0017] Construct a hand key point training dataset, including hand posture pictures wearing experimental gloves of various colors, and train a model that can locate the hand key points while wearing gloves;

[0018] Obtain pictures of chemical laboratory utensils and operating instruments, annotate them, and construct a target detection dataset for training a target detection model that can identify and locate laboratory instruments and utensils;

[0019] Acquire the experimental operation video stream in real time, and judge the operator's operation standardization according to the action posture recognition model and target detection model;

[0020] Preferably, the action posture recognition model includes an action recognition model for the upper body and a hand posture recognition model, and the recognition result of the action recognition model is used to determine the experimental operation action currently performed by the operator, and the hand posture recognition model is used to locate and extract the key points of the operator's hand, and track and recognize the detailed hand operation actions;

[0021] The evaluation of the operational standardization specifically includes:

[0022] Determine whether the experimenter's operation is standard;

[0023] Analyze the experimental process based on the video to determine whether the experimenter's operation sequence is correct;

[0024] Determine whether the chemical vessels or instruments used by the experimenter are correct according to the experimental stage;

[0025] Preferably, the target detection model is used to identify the experimental instruments and utensils used in the positioning operation process, and the current experimental stage is determined according to the specific experimental process and the video stream is divided into stages;

[0026] Preferably, in step S200, the target detection model is used to detect key experimental instruments and utensils used by the operator, and the current experimental stage is determined according to the specific content of the experiment, and the video stream is divided into experimental stages, and the executed experimental stages are sorted by time;

[0027] Preferably, the divided multiple experimental stages are matched with the standard experimental process, and the missed operations in the experiment and the order of the experimental process are reversed to provide prompt feedback;

[0028] If the experimental instruments and utensils used in the experiment process are unable to be judged based on the target detection model alone, the experimental phenomena are used to assist in the judgment;

[0029] If the experimental phenomenon is a reagent or solution discoloration phenomenon, the video stream is segmented by color threshold using an image processing algorithm to extract features including the discoloration phenomenon, and the experimental stages are divided in combination with the recognition results of the target detection model, and it is determined whether the experimental operation process sequence is correct and standardized to obtain a first evaluation result;

[0030] If the experimental phenomenon is a crystallization or precipitation phenomenon, it is necessary to expand the detection category of the target detection data set in advance, train a detection model that can detect crystallization or precipitation, use the detected experimental phenomenon and the operating instruments and utensils to locate and divide the experimental stages, and judge whether the experimental operation process sequence is correct and standardized to obtain a first evaluation result;

[0031] Preferably, in step S300, the duration of the experimental operation is determined by determining the duration of the experimental operation in each stage according to the divided experimental stages. In each experimental stage, there are many operations such as heating with an alcohol lamp, filtering with a funnel, stirring with a glass rod, etc., and the experimental operation needs to be maintained for a period of time. Therefore, the key utensils used for the experimental operation in each stage are identified by the target detection model, and the time of starting and ending the operation is recorded in the video stream, and the time when the instrument or the utensils are operated is calculated, that is, the duration of the experimental operation is obtained;

[0032] Furthermore, the determination of the grasping position of the hand relative to the experimental instrument is to locate the operator's hand and the experimental instrument being operated by the target detection model, output the target detection anchor frames of the two, and calculate the coordinates of the center points of the two to obtain the grasping position of the hand relative to the experimental instrument, and compare the operation duration and the grasping position of the operating instrument with the standard operation method to perform a normative evaluation and obtain a second evaluation result;

[0033] Preferably, in step S400, the extraction of hand skeleton key points utilizes the MMpose posture recognition library to extract the hand skeleton key points, and extracts 21 main skeleton key points from each palm;

[0034] Preferably, in step S400, the action category is obtained by using the model classification, the model is a PoseC3D model for action classification based on key points, and the heat map stacking data generated by the palm bone key points is used as the input of the model;

[0035] After using the MMpose posture recognition library to extract the coordinates of the key points of the hand skeleton, we get (x k ,y k , c k ), where (x k ,y k ) is the predicted two-dimensional coordinate of the skeleton key point, c k is the confidence of the key point prediction. Then (x k ,y k ) is the center, c k is the maximum value, and the corresponding key point heat map h(x, y) is generated in the form of Gaussian distribution. The calculation formula is as follows:

[0036]

[0037] Where σ is the standard deviation of the Gaussian distribution;

[0038] Furthermore, after the key point heat map is calculated, the heat map is used as the input of the PoseC3D model, and the input size is K×T×H×W heat map stacking, where K is the number of predicted hand skeleton key points, T is the number of frames of the input hand operation video segment, H and W are the size of the heat map data, and then after several layers of convolution operations, the output size is 32×32×56×56 features, and after multiple ResNet Layers, the output size is 512×32×7×7 feature vectors, and then after pooling, a 512-dimensional feature vector is obtained. Finally, the classification and confidence of the hand experimental action are obtained by the fully connected layer;

[0039] Preferably, after extracting the skeleton key points from the standard hand experiment operation action video segment x1 and the actual hand experiment operation action video segment x2 and calculating the heat map, the PoseC3D model is input to predict the corresponding standard classification confidence C1 and the actual classification confidence C2, and the classification confidences of the two are compared. According to the degree of completion of the actual hand operation action compared with the standard hand operation, that is, the ratio of C2 to C1, the standardization of the hand experiment operation is calculated, and the calculation formula is as follows:

[0040]

[0041] Among them, Score hand is the standard score of the hand operation experiment, which is a percentage system. When C2≥C1 is satisfied, it is considered to be a set of standard experimental operation actions. When C2<C1, that is, C2=kC1, where k is the action completion degree, and k∈(0,1);

[0042] The present invention also proposes an operation standardization evaluation system in a chemical experiment scenario, including:

[0043] The client and the backend server include an experimental video stream acquisition module, and the backend server includes a network model training deployment module, a hand feature extraction and detection module, and an operation standardization evaluation module;

[0044] The experimental video stream acquisition module is used to acquire the operation video of personnel at the chemical experiment site, and transmit the collected multi-view video images to the back-end server;

[0045] The network model training and deployment module is used to train the required key point detection, target detection deep learning network model, and hand motion classification model, and is deployed on the back-end server for recognition processing;

[0046] The hand feature extraction and detection module is used to identify the operating instruments and utensils used for detection and extract the key point information of the hand skeleton;

[0047] The operation normative evaluation module is used to calculate the first evaluation result, the second evaluation result, and the third evaluation result, and to perform normative evaluation of the complete experiment;

[0048] Compared with the prior art solutions, the present invention has the following advantages:

[0049] The machine vision evaluation method and system for the standardization of chemical experiment operation provided by the present invention improve the current experimental supervision process by using machine vision and video analysis technology. Compared with the manual supervision method, this technology is less susceptible to fatigue, subjective judgment and individual differences, and improves the accuracy of recognition. Secondly, the deep network model used in the present invention can extract rich information from the video, including multiple dimensions such as human hand posture and instrument and vessel recognition. This allows the system to analyze the standardization of experimental personnel's operation more comprehensively, not just limited to the traditional method based on surface observation. Therefore, the present invention can automatically identify the experimental omissions, misoperations, and errors in the order of operations of the operator, which can significantly improve the efficiency, objectivity and supervision ability of the standardization of experimental operation, and can also improve the digitalization and intelligent level of experimental teaching management to a certain extent. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 A flow chart of a method for machine vision evaluation of chemical experiment operation standardization provided in an embodiment of the present invention;

[0051] Figure 2 A sub-flow chart of step S400 of a method for machine vision evaluation of chemical experiment operation standardization provided in an embodiment of the present invention;

[0052] Figure 3 A schematic diagram of a method for dividing experimental stages in a method for machine vision evaluation of chemical experimental operation standardization provided in an embodiment of the present invention;

[0053] Figure 4 This is a hand key point detection effect diagram of a chemical experiment operation standardization machine vision evaluation method provided in an embodiment of the present invention;

[0054] Figure 5 A PoseC3D model structure diagram of a method for machine vision evaluation of chemical experiment operation standardization described in an embodiment of the present invention;

[0055] Figure 6 A structural block diagram of a machine vision evaluation system for chemical experiment operation standardization provided in an embodiment of the present invention; DETAILED DESCRIPTION

[0056] In order to enable those skilled in the art to fully understand the technical solution of the present invention, the embodiments of the present invention will be fully and in detail described in the following specific embodiments in conjunction with the drawings of the specification. It is understood that the specific embodiments described herein are only used to explain the present invention and cannot be used to limit the scope of protection of the present invention. Based on one or more embodiments of the present invention, all other embodiments obtained by ordinary technicians in the field without making creative work should fall within the scope of protection of the present invention.

[0057] like Figure 1 As shown in the flow chart, the embodiment of the present invention provides a method for machine vision evaluation of chemical experiment operation standardization, comprising the following steps: Step S100, collecting multi-view and multi-scene standard operation videos and laboratory instrument and vessel pictures, making a data set and training a recognition model;

[0058] The preparation of the data set and training of the model include:

[0059] Use a fixed-position camera to collect sufficient standard operation videos in chemical experiment scenes, and take out the video segments containing specific operation actions in the experiment one by one, label them according to the operation content in the video segments, and build an action posture dataset for training the whole-body action posture recognition model;

[0060] The preparation of the data set and the training of the model include: using a fixed-position camera to collect a sufficient amount of standard operation videos in chemical experiment scenes, and sequentially taking out video segments containing specific operation actions in the experiment, and labeling the categories according to the operation content in the video segments, and constructing an action posture data set for training a whole-body action posture recognition model;

[0061] The step of making a data set and training a model further includes: obtaining pictures of chemical laboratory utensils and operating instruments, annotating and constructing a target detection data set for training a target detection model capable of identifying and locating laboratory instruments and utensils; obtaining hand operation pictures, annotating the key bone points of each palm, wrist, and elbow, and training a hand key point detection model;

[0062] Step S200, dividing the complete video stream into multiple experimental stages, and obtaining the actual experimental operation sequence, judging the process standardization according to the experimental standard operation process sequence, and obtaining a first judgment result;

[0063] The experimental operation process has a great influence on the experimental results. If the operation order is reversed or a certain operation step is missing, the experimental results may be inaccurate or the experimental phenomenon may not be obvious.

[0064] Based on the target detection model described in step S100, the experimental instruments and utensils used by the operator in the video stream are detected, and the current experimental stage is determined according to the specific content of the experiment, and the video stream is divided into experimental stages, and the executed experimental stages are sorted by time, and matched with the standard experimental process at the end of the experiment to determine whether the experimental operation process sequence is correct and standardized;

[0065] The determining of the current experimental stage and dividing the experimental stages include:

[0066] Using the target detection network to identify the experimental instruments or utensils used by the operator, such as using an alcohol lamp to heat a burning dish, using a glass rod to stir the solution in a beaker, using a burette to add reagents, using a vacuum pump to dry and evacuate crystals, etc., and determining the starting frame of an experimental stage in the video stream through the instrument category identified by the target detection network;

[0067] Considering that in many chemical experiments, in some special stages, human operation is not necessarily used as a stage end judgment mark. For example, an experimental stage may be judged by the discoloration of a solution reagent or the solidification of a crystal as a stage end judgment mark. If the experimental instruments and utensils used in the experimental process are only identified by the target detection model, and the current experimental stage cannot be judged, the experimental phenomenon is used for auxiliary judgment; therefore, in the embodiment of the present invention, the color space conversion, threshold segmentation or template matching method in the basic image processing method can be combined to detect the experimental phenomenon, so that the experimental stage division is more accurate;

[0068] Furthermore, the video sequence is split into multiple video segments, corresponding to different experimental stages. According to the standard process outline required by the experiment, the split video segments are sorted by time and compared with the standard experimental process to determine whether the experimental operation process sequence is correct and standardized. If the operation sequence is reversed or an operation step is missing, the corresponding record is made;

[0069] Preferably, the divided multiple experimental stages are matched with the standard experimental process, and the missed operations in the experiment and the order of the experimental process are reversed to provide prompt feedback;

[0070] Step S300, determining the duration of the experimental operation in the experimental sub-process, determining the gripping position of the hand relative to the experimental instrument, and performing a normative evaluation based on the operation duration and the gripping position of the operating instrument to obtain a second evaluation result;

[0071] Preferably, in step S300, the duration of the experimental operation is determined by determining the duration of the experimental operation in each stage according to the divided experimental stages. In each experimental stage, there are many operations such as heating with an alcohol lamp, filtering with a funnel, stirring with a glass rod, etc., and the experimental operation needs to be maintained for a period of time. Therefore, the key utensils used for the experimental operation in each stage are identified by the target detection model, and the time of starting and ending the operation is recorded in the video stream, and the time when the instrument or the utensils are operated is calculated, that is, the duration of the experimental operation is obtained;

[0072] Furthermore, the determination of the grasping position of the hand relative to the experimental instrument is to locate the operator's hand and the experimental instrument being operated by the target detection model, output the target detection anchor frames of the two, and calculate the coordinates of the center points of the two to obtain the grasping position of the hand relative to the experimental instrument, and compare the operation duration and the grasping position of the operating instrument with the standard operation method to perform a normative evaluation and obtain a second evaluation result;

[0073] Step S400, extracting the key points of the hand skeleton, using the model classification to obtain the action category, and performing a normative evaluation on the hand detail operation action to obtain a second evaluation result;

[0074] The extraction of the hand skeleton key points includes: using the MMpose human posture recognition library to call the gesture key point recognition model to locate the coordinates of 21 hand skeleton key points through heat map regression;

[0075] The step S400 further includes the following sub-steps:

[0076] Step S401, identifying the experimental instrument or vessel being used by the operator through a target detection algorithm;

[0077] Step S402, extracting the key points of the operator's hand skeleton, and obtaining the coordinates of the key points and the confidence of the key points;

[0078] Step S403, calculating the heat map of the key points of the hand and inputting it into the PoseC3D model to predict the action category and classification confidence;

[0079] Before using the target detection algorithm to identify the experimental instrument or vessel being used by the operator, a template for the standard operation action of each instrument or vessel needs to be formulated;

[0080] Preferably, in step S400, the action category is obtained by using the model classification, the model is a PoseC3D model for action classification based on key points, and the heat map stacking data generated by the palm bone key points is used as the input of the model;

[0081] After using the MMpose posture recognition library to extract the coordinates of the key points of the hand skeleton, we get (x k ,y k , c k ), where (x k ,y k ) is the predicted two-dimensional coordinate of the skeleton key point, c k is the confidence of the key point prediction. Then (x k ,y k ) is the center, c k is the maximum value, and the corresponding key point heat map h(x, y) is generated in the form of Gaussian distribution. The calculation formula is as follows:

[0082]

[0083] Where σ is the standard deviation of the Gaussian distribution;

[0084] Furthermore, after the key point heat map is calculated, the heat map is used as the input of the PoseC3D model, and the input size is K×T×H×W heat map stacking, where K is the number of predicted hand skeleton key points, T is the number of frames of the input hand operation video segment, H and W are the size of the heat map data, and then after several layers of convolution operations, the output size is 32×32×56×56 features, and after multiple ResNet Layers, the output size is 512×32×7×7 feature vectors, and then after pooling, a 512-dimensional feature vector is obtained. Finally, the classification and confidence of the hand experimental action are obtained by the fully connected layer;

[0085] Preferably, after extracting the skeleton key points from the standard hand experiment operation action video segment x1 and the actual hand experiment operation action video segment x2 and calculating the heat map, the PoseC3D model is input to predict the corresponding standard classification confidence C1 and the actual classification confidence C2, and the classification confidences of the two are compared. According to the degree of completion of the actual hand operation action compared with the standard hand operation, that is, the ratio of C2 to C1, the standardization of the hand experiment operation is calculated, and the calculation formula is as follows:

[0086]

[0087] Among them, Score hand is the standard score of the hand operation experiment, which is a percentage system. When C2≥C1 is satisfied, it is considered to be a set of standard experimental operation actions. When C2<C1, that is, C2=kC1, where k is the action completion degree, and k∈(0,1);

[0088] Step S500, obtaining evaluation results for multiple evaluation processes in sequence, and obtaining an overall operation evaluation based on the multiple evaluation results;

[0089] Accordingly, if Figure 6 As shown, based on the method for judging the operation standardization in a chemical experiment scenario proposed in an embodiment of the present invention, a system for judging the operation standardization in a chemical experiment scenario is further proposed, including:

[0090] The client and the backend server include an experimental video stream acquisition module, and the backend server includes a network model training deployment module, a hand feature extraction and detection module, and an operation standardization evaluation module;

[0091] The experimental video stream acquisition module is used to acquire the operation video of personnel at the chemical experiment site, and transmit the collected multi-view video images to the back-end server;

[0092] The network model training and deployment module is used to train the required key point detection, target detection deep learning network model, and hand motion classification model, and is deployed on the back-end server for recognition processing;

[0093] The hand feature extraction and detection module is used to identify the operating instruments and utensils used for detection and extract the key point information of the hand skeleton;

[0094] The operation normative evaluation module is used to calculate the first evaluation result, the second evaluation result, and the third evaluation result, and to perform normative evaluation of the complete experiment;

[0095] The transmission method between the client and the backend server is wireless transmission, and the wireless transmission protocol is not limited to one or more combined communication methods such as WiFi, Bluetooth, NB-IoT, LoRa, ZigBee, 5G, etc.;

[0096] In order to explain the specific embodiments of the present invention more intuitively and clearly, a specific chemical experiment case is used here to specifically illustrate the purification experiment of crude copper sulfate:

[0097] Here is a possible experimental process for the purification of crude copper sulfate:

[0098] 1. Grind the crude copper sulfate in a mortar, weigh a portion into a beaker, add distilled water using a measuring cylinder, and heat on an electric stove to dissolve.

[0099] 2. Remove the beaker from the electric furnace, stir with a glass rod, add hydrogen peroxide solution, continue heating and use a burette to gradually titrate the sodium hydroxide solution, and occasionally use a glass rod to dip the solution on the pH test paper for comparison. Make the solution pH 4 and let it stand for 5 minutes until a yellow-brown precipitate is produced or the solution turns blue-green or yellow-green.

[0100] 3. Filter the solution using a funnel and filter paper and collect it in an evaporating dish.

[0101] 4. Use a burette to add dilute sulfuric acid to the filtrate to acidify the copper sulfate solution, and use pH paper to test the pH = 2.

[0102] 5. Use an alcohol lamp to heat the evaporating dish to evaporate and concentrate the filtrate. Stop heating when a crystal film appears on the surface.

[0103] 6. Cool the evaporating dish to room temperature. A large amount of blue crystals will appear in the evaporating dish. Filter and dry them under reduced pressure on a Buchner funnel.

[0104] 7. After stopping the filtration, use a glass rod to remove the copper sulfate crystals on the filter paper, weigh them and calculate the yield.

[0105] The experimental process includes multiple processes, each of which uses the required experimental instruments, and each instrument has corresponding operating standards. In the experimental process, mortar, beaker, measuring cylinder, electric furnace, alcohol lamp, glass rod, funnel, evaporating dish and other experimental instruments are required;

[0106] After the complete experimental operation video is collected by the experimental video stream acquisition module, the video sequence is processed through the recognition network to judge the operation standardization;

[0107] In the experimental process 1, the end of the process is marked by the use of electric furnace heating. When the target detection network recognizes the use of mortar, beaker, measuring cylinder, and electric furnace in the video stream in chronological order, the frame in which the electric furnace heating is just recognized is determined to be the end of process 1.

[0108] In the experimental process 2, color threshold segmentation is used to identify the color features in the extraction solution. When the solution is identified to have yellow-brown precipitation or the solution is blue-green and yellow-green, it is determined as the end mark of process 2;

[0109] In the experimental process 3, after the target detection network recognizes that the solution has been filtered and collected in the evaporating dish, it is determined as the end mark of process 3;

[0110] In the experimental process 4, when the target detection network recognizes that the pH test paper is used for detection, it is determined as the end mark of process 4;

[0111] In the experimental process 5, the target detection network is used to identify that the alcohol lamp is extinguished and the heating of the evaporating dish is stopped, which is determined as the end mark of process 5;

[0112] In the experimental process 6, the target detection network is used to identify and detect that the Buchner funnel is used for draining, which is determined as the end mark of process 6;

[0113] In the experimental process 7, when the target detection network is used to identify the use of a balance for weighing, it is determined as the end mark of process 7;

[0114] As described in step S200, the complete experimental video stream is divided into multiple video segments according to the end mark of each process, and it is determined whether there are omissions and inversions in the experimental sequence according to the experimental standard operation process;

[0115] After completing the division of experimental stages and judging the operation sequence, judge the details of hand operations in each experimental stage;

[0116] As described in step S300, in process 1, the electric furnace needs to be detected and the heating duration needs to be calculated. Similarly, in process 2, the glass rod stirring time and the heating duration need to be calculated. Similarly, the target detection model needs to be used to detect the gripping position of the operator's hand relative to the experimental instrument in each process, and the operation duration and the gripping position of the operating instrument are normatively judged.

[0117] As described in step S400, it is necessary to prepare the standard hand operation action template for each instrument in advance. For example, in process 2, it is necessary to use a glass rod to stir the solution and use a dropper to add the solution, which are all detailed operations that require hand operations. Here, the hand posture estimation algorithm described in step S300 is used to identify the key points of the hand skeleton, and the hand operation actions are classified and judged according to the PoseC3D model to obtain the hand operation standardization score;

[0118] Similarly, in the divided multiple experimental stages, when the target detection algorithm recognizes that the operator is using an instrument, the hand posture estimation algorithm is used to judge the operation of the operator according to the instrument being operated, and a score of the hand detailed operation action is given in each experimental stage;

[0119] Furthermore, the overall normative score of the experiment was obtained based on the obtained experimental operation sequence, operation duration, instrument grasping position, and hand detailed operation action evaluation results;

[0120] In the embodiments mentioned in the present invention, the disclosed methods, systems or devices can be implemented in other ways. For example, the above-mentioned related device system embodiments are only illustrative in nature. For example, the module units are not necessarily specific physical modules, but are just a division in logical functions, and some modules can be implemented by processing unit software calls or hardware forms. In specific implementation, they can also be implemented in a variety of other ways. For example, multiple module units can be combined and integrated into a system device, and the coupling method between modules can be connected through relevant hardware interfaces or by mutual calls between system software programs.

[0121] The present invention is explained with reference to the flowcharts of the methods, system devices and computer program examples of the specific embodiments of the present invention. It should be understood that each process or box in the flowchart or block diagram can be implemented by a computer program or instruction, so these computer programs or instructions can be provided to any processor with a computer programmable processing device to produce a machine, so that the processor with a programmable processing device can become a device capable of executing one or more functions in the process / block diagram. The above-mentioned computer program instructions can be stored in a computer storable medium, and the processor calls the computer program to control the relevant hardware to implement the content in the flowchart. The computer storage medium includes but is not limited to random access memory (RAM), read-only memory (ROM), disk storage, etc.

[0122] The above embodiments are only preferred implementation modes of the present invention. It should be pointed out that for those skilled in the art, several improvements and equivalent substitutions can be made without departing from the principles of the present invention. These technical solutions after improvements and equivalent substitutions to the claims of the present invention all fall within the protection scope of the present invention.

Claims

1. A method for judging the standardization of chemical experiment operation by machine vision, characterized in that: include: Collect multi-view and multi-scene standardized operation videos and pictures of experimental instruments and utensils, create data sets and train recognition models; The complete video stream is divided into multiple experimental stages, and the order of actual experimental operations is obtained. The standardization of the process is judged according to the experimental standard operation process sequence to obtain the first evaluation result; Determine the duration of the experimental operation in the experimental sub-process, determine the grasping position of the hand relative to the experimental instrument, perform normative evaluation according to the operation duration and the grasping position of the operation instrument, and obtain a second evaluation result; Extract the key points of the hand skeleton, use the model classification to obtain the action category, and perform a normative evaluation on the detailed operation of the hand to obtain the third evaluation result; The evaluation results of the multiple evaluation processes are obtained in sequence, and an overall operation evaluation is obtained based on the multiple evaluation results.

2. The method according to claim 1, characterized in that The described division of experimental stages is to utilize the described target detection model to detect the key experimental instruments or utensils used by the operator, determine the current experimental stage according to the specific content of the experiment, and divide the video stream into experimental stages, sort the executed experimental stages by time, match the divided multiple experimental stages with the standard experimental process, and provide prompt feedback for missed operations and reversal of the order of the experimental process.

3. The method according to claim 1, characterized in that The positioning of the hand skeleton key points to judge the standardization of the hand detail operation action also includes: Identify the experimental instruments or utensils being used by the operator through the target detection algorithm; Extract the key points of the operator's hand skeleton and obtain the coordinates of the key points of the skeleton; Calculate the heat map of the hand key points and input it into the PoseC3D model to predict the action category and classification confidence.

4. The method according to claim 2, characterized in that: The method for extracting the key points of the hand skeleton utilizes the MMpose posture recognition library to extract the key points of the hand skeleton, extracts 21 main key points of the skeleton for each palm, and obtains the action category by using the model classification. The model is a PoseC3D model for action classification based on the key points, and uses the heat map stacking data generated by the palm skeleton key points as the input of the model.

5. The method according to claim 2, characterized in that: The method of determining the duration of the experimental operation in the experimental sub-process includes identifying the key instruments used in the experimental operation in each stage through the target detection model, recording the time of starting and ending the operation in the video stream, calculating the time when the instrument or instrument is operated, and obtaining the duration of the experimental operation. The method of determining the grasping position of the hand relative to the experimental instrument is to locate the operator's hand and the experimental instrument being operated through the target detection model, output the target detection anchor frames of the two, and calculate the coordinates of the center points of the two to obtain the grasping position of the hand relative to the experimental instrument.

6. The method according to claim 3, characterized in that The calculation of the hand key point heat map is to use the MMpose posture recognition library to extract the coordinates of the hand skeleton key points to obtain (x k ,y k , c k ), where (x k ,y k ) is the predicted two-dimensional coordinate of the skeleton key point, c k is the confidence of the key point prediction. Then (x k ,y k ) is the center, c k is the maximum value, and the corresponding key point heat map h(x, y) is generated in the form of Gaussian distribution. The calculation formula is as follows: Where σ is the standard deviation of the Gaussian distribution; Furthermore, after the key point heat map is calculated, the heat map is used as the input of the PoseC3D model, and the input size is K×T×H×W heat map stack, where K is the number of predicted hand skeleton key points, T is the number of frames of the input hand operation video segment, and H and W are the size of the heat map data. After extracting the skeleton key points and calculating the heat map of the standard hand experiment operation action video segment x1 and the actual hand experiment operation action video segment x2, the PoseC3D model is input to predict the corresponding standard classification confidence C1 and the actual classification confidence C2, and the classification confidence of the two is compared. According to the degree of completion of the actual hand operation action compared with the standard hand operation, that is, the ratio of C2 to C1, the standardization of the hand experiment operation is calculated. The calculation formula is as follows: Among them, Score hand is the score for the hand experimental operation specification, on a 100-point scale. When C2≥C1, it is considered a set of standard hand experimental operation actions. When C2<C1, that is, C2 = kC1, where k is the action completion degree and k∈(0, 1).

7. A chemical experiment operation standardization machine vision evaluation system, characterized in that: include; The client and the backend server include an experimental video stream acquisition module, and the backend server includes a network model training deployment module, a hand feature extraction and detection module, and an operation standardization evaluation module; The experimental video stream acquisition module is used to acquire the operation video of personnel at the chemical experiment site, and transmit the collected multi-view video images to the back-end server; The network model training and deployment module is used to train the required key point detection, target detection deep learning network model, and hand motion classification model, and is deployed on the back-end server for recognition processing; The hand feature extraction and detection module is used to identify the operating instruments and utensils used for detection and extract the key point information of the hand skeleton; The operation normative evaluation module is used to calculate the first evaluation result, the second evaluation result, and the third evaluation result, and to perform normative evaluation of the complete experiment.

Citation Information

Patent Citations

  • Exercise effect evaluation method and system based on APP screening function

    CN115331314A

  • Experimental instrument standard operation scoring method, system and equipment and storage medium

    CN116245405A

  • Non-contact palm print image quality evaluation method and device and intelligent terminal

    CN117197640A

  • Detection of surgical states and instruments

    US20240161497A1

Cited By

  • Large instrument management method based on machine vision and Internet of Things technology

    CN119131846A

  • Experimental operation specification degree evaluation system based on composite decomposition

    CN121236700A

  • A composite decomposition-based experimental operation specification degree evaluation system

    CN121236700B

  • Visual inspection method for evaluating drainage normativity in filtering operation

    CN121330588A