CN111753624B - Examination point analysis method and device for chemical experiment - Google Patents

Examination point analysis method and device for chemical experiment Download PDF

Info

Publication number
CN111753624B
CN111753624B CN202010171865.XA CN202010171865A CN111753624B CN 111753624 B CN111753624 B CN 111753624B CN 202010171865 A CN202010171865 A CN 202010171865A CN 111753624 B CN111753624 B CN 111753624B
Authority
CN
China
Prior art keywords
target video
video frame
rule
chemical
examination point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010171865.XA
Other languages
Chinese (zh)
Other versions
CN111753624A (en
Inventor
赵帅帅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN202010171865.XA priority Critical patent/CN111753624B/en
Publication of CN111753624A publication Critical patent/CN111753624A/en
Application granted granted Critical
Publication of CN111753624B publication Critical patent/CN111753624B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • G06V20/41Higher-level, semantic clustering, classification or understanding of video scenes, e.g. detection, labelling or Markovian modelling of sport events or news items
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/20Education
    • G06Q50/205Education administration or guidance
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Tourism & Hospitality (AREA)
  • Strategic Management (AREA)
  • Educational Technology (AREA)
  • Educational Administration (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Computational Linguistics (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • General Business, Economics & Management (AREA)
  • Image Analysis (AREA)

Abstract

本申请实施例提供一种化学实验的考点分析方法和装置,方法包括:对于操作视频中的每一目标视频帧,从目标视频帧中识别出化学器皿;所述操作视频由位于化学实验台前方和/或上方的摄像装置拍摄得到;分析所述化学器皿的图像状态信息、和/或所述化学器皿之间的位置关系是否满足考点判定规则,得到该目标视频帧基于考点判定规则的分析结果;根据目标视频帧基于考点判定规则的分析结果获得每个考点的分析结果。该方法能够对化学实验进行规范、准确的智能化考点分析。

The embodiment of the present application provides a test point analysis method and device for a chemical experiment. The method includes: for each target video frame in the operation video, identifying the chemical vessel from the target video frame; and/or captured by the camera above; analyze the image state information of the chemical vessel and/or whether the positional relationship between the chemical vessels satisfies the test point judgment rule, and obtain the analysis result of the target video frame based on the test point judgment rule ; Obtain the analysis result of each test site according to the analysis result of the target video frame based on the test site determination rule. This method can conduct standardized and accurate intelligent test point analysis for chemical experiments.

Description

化学实验的考点分析方法和装置Analysis methods and devices for test points of chemical experiments

技术领域technical field

本申请涉及教育信息化技术领域,特别涉及化学实验的考点分析方法和装置。This application relates to the technical field of educational informationization, in particular to a test point analysis method and device for chemical experiments.

背景技术Background technique

目前的化学实验考试中,实验的判分流程由监考老师执行。监考老师对教室中同时进行实验的多个学生进行监管,没办法做到兼顾所有考生的实际操作情况,很容易忽略学生在实验操作过程中的错误操作;而且,不同监考老师对同一化学实验的考试判定标准很难做到排除主观因素,完全统一。In the current chemistry experiment exam, the scoring process of the experiment is carried out by the invigilator. The invigilator supervises multiple students who are conducting experiments at the same time in the classroom. There is no way to take into account the actual operation of all candidates, and it is easy to ignore the wrong operation of the students in the experimental operation process; It is difficult to exclude subjective factors and completely unify the examination criteria.

发明内容Contents of the invention

本申请提供了一种化学实验的考点分析方法和装置,能够对化学实验进行规范、准确的智能化考点分析。The application provides a test point analysis method and device for chemical experiments, which can conduct standardized and accurate intelligent test point analysis for chemical experiments.

第一方面,本申请提供了一种化学实验的考点分析方法,包括:In the first aspect, the application provides a test point analysis method for chemical experiments, including:

对于操作视频中的每一目标视频帧,从目标视频帧中识别出化学器皿;所述操作视频由位于化学实验台前方和/或上方的摄像装置拍摄得到;For each target video frame in the operation video, the chemical vessel is identified from the target video frame; the operation video is captured by an imaging device positioned in front of and/or above the chemical laboratory table;

分析所述化学器皿的图像状态信息、和/或所述化学器皿之间的位置关系是否满足考点判定规则,得到该目标视频帧基于考点判定规则的分析结果;Analyzing the image status information of the chemical utensils and/or whether the positional relationship between the chemical utensils satisfies the test site determination rules, and obtains the analysis result of the target video frame based on the test site determination rules;

根据目标视频帧基于考点判定规则的分析结果获得每个考点的分析结果。The analysis result of each test site is obtained according to the analysis result of the target video frame based on the test site determination rule.

其中,所述从目标视频帧中识别出化学器皿,包括:Wherein, the identification of the chemical vessel from the target video frame includes:

从目标视频帧中检测化学器皿所在区域;Detect the area where the chemical vessel is located from the target video frame;

从所述区域中识别出所述化学器皿的边界关键点;identifying boundary keypoints of the chemical vessel from the region;

将所述边界关键点连接起来,得到所述化学器皿的边界线。The boundary key points are connected to obtain the boundary line of the chemical vessel.

其中,所述从目标视频帧中检测化学器皿所在区域,包括:Wherein, the region where the chemical vessel is detected from the target video frame includes:

预先训练用于检测化学器皿所在区域的模型;所述模型通过将标注了各个化学器皿的区域的视频图像作为样本输入深度学习框架以及目标检测网络进行训练得到;Pre-training is used to detect the model of the area where the chemical vessel is located; the model is obtained by inputting the video image of the area marked with each chemical vessel as a sample into the deep learning framework and the target detection network;

将所述目标视频帧输入所述模型,得到所述目标视频帧中每个化学器皿所在区域。The target video frame is input into the model to obtain the area where each chemical vessel is located in the target video frame.

其中,所述分析所述化学器皿的图像状态信息、和/或所述化学器皿之间的位置关系是否满足考点判定规则,得到该目标视频帧基于考点判定规则的分析结果,包括:Wherein, the analysis of the image status information of the chemical utensils and/or whether the positional relationship between the chemical utensils satisfies the test point judgment rules is obtained to obtain the analysis results of the target video frame based on the test point judgment rules, including:

获得目标视频帧所需满足的考点判定规则;Obtain the test site determination rules that the target video frame needs to meet;

分析所述化学器皿的图像状态信息、和/或所述化学器皿之间的位置关系是否满足获得的所述考点判定规则,得到该目标视频帧基于所述考点判定规则的分析结果。Analyzing the image status information of the chemical utensils and/or whether the positional relationship between the chemical utensils satisfies the obtained test point determination rule, and obtaining an analysis result of the target video frame based on the test point determination rule.

其中,所述获得目标视频帧所需满足的考点判定规则,包括:Wherein, the test site determination rules that the target video frame needs to satisfy include:

获得目标视频帧的前一帧目标视频帧基于考点判定规则的分析结果;Obtain the analysis result of the previous frame target video frame of the target video frame based on the test point judgment rule;

如果所述分析结果为满足考点判定规则,则将考点判定规则下一顺序的考点判定规则作为目标视频帧所需满足的考点判定规则;If described analysis result is to meet the test site determination rule, then the test site determination rule of the next sequence of the test site determination rule is used as the test site determination rule that the target video frame needs to satisfy;

如果所述分析结果为不满足考点判定规则,则将前一帧目标视频帧的考点判定规则作为目标视频帧所需满足的考点判定规则。If the analysis result does not satisfy the test point determination rule, the test point determination rule of the previous target video frame is used as the test point determination rule that the target video frame needs to satisfy.

其中,所述获得目标视频帧所需满足的考点判定规则,包括:Wherein, the test site determination rules that the target video frame needs to satisfy include:

获得目标视频帧的前n帧目标视频帧基于考点判定规则的分析结果;n大于1;Obtain the analysis result of the first n frames of the target video frame of the target video frame based on the test point judgment rule; n is greater than 1;

判断分析结果为满足所述考点判定规则的连续数量是否等于n;Judgment analysis result is whether the continuous quantity that satisfies the test site determination rule is equal to n;

如果连续数量大于0小于n,将考点判定规则以及考点判定规则下一顺序的考点判定规则作为目标视频帧所需满足的考点判定规则;If the continuous quantity is greater than 0 and less than n, the test site determination rule of the test site determination rule and the test site determination rule next order is used as the test site determination rule that the target video frame needs to satisfy;

如果连续数量等于0,将考点判定规则作为目标视频帧所需满足的考点判定规则;If the continuous number is equal to 0, the test site determination rule is used as the test site determination rule that the target video frame needs to satisfy;

如果连续数量等于n,将考点判定规则下一顺序的考点判定规则作为目标视频帧所需满足的考点判定规则。If the continuous number is equal to n, the test site determination rule in the next order of the test site determination rule is used as the test site determination rule that the target video frame needs to satisfy.

其中,所述获得目标视频帧所需满足的考点判定规则,包括:Wherein, the test site determination rules that the target video frame needs to satisfy include:

获得持续目标视频帧数不满足持续帧数要求的考点判定规则,将获得的考点判定规则作为目标视频帧所需满足的考点判定规则。Obtain the test site determination rule that the continuous target video frame number does not meet the continuous frame number requirement, and use the obtained test site determination rule as the test site determination rule that the target video frame needs to meet.

第二方面,本申请实施例提供一种化学实验的考点分析装置,包括:In the second aspect, the embodiment of the present application provides a test point analysis device for chemical experiments, including:

识别单元,用于对于操作视频中的每一目标视频帧,从目标视频帧中识别出化学器皿;所述操作视频由位于化学实验台前方和/或上方的摄像装置拍摄得到;The identification unit is used to identify the chemical vessel from the target video frame for each target video frame in the operation video; the operation video is captured by the camera device located in front of and/or above the chemical experiment table;

分析单元,用于分析所述化学器皿的图像状态信息、和/或所述化学器皿之间的位置关系是否满足考点判定规则,得到该目标视频帧基于考点判定规则的分析结果;An analysis unit, configured to analyze whether the image status information of the chemical utensils and/or the positional relationship between the chemical utensils meet the test point determination rules, and obtain an analysis result of the target video frame based on the test point determination rules;

获得单元,用于根据目标视频帧基于考点判定规则的分析结果获得每个考点的分析结果。The obtaining unit is configured to obtain the analysis result of each test center according to the analysis result of the target video frame based on the test point determination rule.

第三方面,本申请实施例提供一种电子设备,包括:In a third aspect, the embodiment of the present application provides an electronic device, including:

显示屏;一个或多个处理器;存储器;多个应用程序;以及一个或多个计算机程序,其中所述一个或多个计算机程序被存储在所述存储器中,所述一个或多个计算机程序包括指令,当所述指令被所述设备执行时,使得所述设备执行以下步骤:a display screen; one or more processors; memory; a plurality of application programs; and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs including instructions that, when executed by the device, cause the device to perform the following steps:

对于操作视频中的每一目标视频帧,从目标视频帧中识别出化学器皿;所述操作视频由位于化学实验台前方和/或上方的摄像装置拍摄得到;For each target video frame in the operation video, the chemical vessel is identified from the target video frame; the operation video is captured by an imaging device positioned in front of and/or above the chemical laboratory table;

分析所述化学器皿的图像状态信息、和/或所述化学器皿之间的位置关系是否满足考点判定规则,得到该目标视频帧基于考点判定规则的分析结果;Analyzing the image status information of the chemical utensils and/or whether the positional relationship between the chemical utensils satisfies the test site determination rules, and obtains the analysis result of the target video frame based on the test site determination rules;

根据目标视频帧基于考点判定规则的分析结果获得每个考点的分析结果。The analysis result of each test site is obtained according to the analysis result of the target video frame based on the test site determination rule.

第四方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机执行第一方面所述的方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is run on a computer, it causes the computer to execute the method described in the first aspect.

第五方面,本申请提供一种计算机程序,当所述计算机程序被计算机执行时,用于执行第一方面所述的方法。In a fifth aspect, the present application provides a computer program for executing the method described in the first aspect when the computer program is executed by a computer.

在一种可能的设计中,第五方面中的程序可以全部或者部分存储在与处理器封装在一起的存储介质上,也可以部分或者全部存储在不与处理器封装在一起的存储器上。In a possible design, all or part of the program in the fifth aspect may be stored on a storage medium packaged with the processor, or part or all may be stored on a memory not packaged with the processor.

本申请实施例化学实验的考点分析方法中,对于操作视频中的每一目标视频帧,从目标视频帧中识别出化学器皿,所述操作视频由位于化学实验台前方和/或上方的摄像装置拍摄得到,分析所述化学器皿的图像状态信息、和/或所述化学器皿之间的位置关系是否满足考点判定规则,得到该目标视频帧基于考点判定规则的分析结果,根据目标视频帧基于考点判定规则的分析结果获得每个考点的分析结果,从而能够对化学实验进行规范、准确的智能化考点分析。In the test point analysis method of the chemical experiment in the embodiment of the present application, for each target video frame in the operation video, the chemical vessel is identified from the target video frame, and the operation video is captured by the camera device located in front of and/or above the chemical experiment table. Obtained by shooting, analyze whether the image status information of the chemical utensils and/or the positional relationship between the chemical utensils meet the test point determination rules, and obtain the analysis results of the target video frame based on the test point determination rules, according to the target video frame based on the test point The analysis results of the judgment rules obtain the analysis results of each test site, so that standardized and accurate intelligent test site analysis can be performed on chemical experiments.

附图说明Description of drawings

图1为本申请摄像装置设置位置示例图;Fig. 1 is an example diagram of the location of the camera device of the present application;

图2为本申请化学实验的考点分析方法一个实施例的流程图;Fig. 2 is the flow chart of an embodiment of the examination point analysis method of the chemical experiment of the present application;

图3为本申请化学实验的考点分析方法另一个实施例的流程图;Fig. 3 is the flow chart of another embodiment of the examination point analysis method of the chemical experiment of the present application;

图4为本申请化学实验的考点分析方法又一个实施例的流程图;Fig. 4 is the flow chart of another embodiment of the examination point analysis method of the chemical experiment of the present application;

图5为本申请化学实验的考点分析装置一个实施例的结构图;Fig. 5 is the structural diagram of an embodiment of the test point analysis device of the chemical experiment of the present application;

图6为本申请化学实验的考点分析装置另一个实施例的结构图;Fig. 6 is the structural diagram of another embodiment of the test point analysis device of the chemical experiment of the present application;

图7为本申请化学实验的考点分析装置又一个实施例的结构图;Fig. 7 is the structural diagram of another embodiment of the test point analysis device of the chemical experiment of the present application;

图8为本申请电子设备一个实施例的结构示意图。FIG. 8 is a schematic structural diagram of an embodiment of the electronic device of the present application.

具体实施方式Detailed ways

本申请的实施方式部分使用的术语仅用于对本申请的具体实施例进行解释,而非旨在限定本申请。The terms used in the embodiments of the present application are only used to explain specific embodiments of the present application, and are not intended to limit the present application.

现有的实现方案中,化学实验考试的判分流程由监考老师执行,具体的,监考老师对教室中同时进行化学实验的多个学生进行监管,为每个学生的实验操作流程判分。但是,由于监考老师监管多个学生,很容易忽略学生在实验操作过程中的错误操作;而且,不同监考老师对同一化学实验的考试判定标准很难做到排除主观因素,完全统一。In the existing implementation plan, the scoring process of the chemical experiment test is carried out by the invigilator. Specifically, the invigilator supervises multiple students who are conducting chemical experiments in the classroom at the same time, and scores each student's experimental operation process. However, since the invigilator supervises multiple students, it is easy to ignore the wrong operation of the students during the experimental operation; moreover, it is difficult for different invigilators to exclude subjective factors and completely unify the judgment criteria for the same chemical experiment.

为此,本申请提出一种化学实验的考点分析方法,能够对化学实验进行规范、准确的智能化考点分析。For this reason, this application proposes a test point analysis method for chemical experiments, which can conduct standardized and accurate intelligent test point analysis for chemical experiments.

图1为本申请化学实验的考点分析方法的应用场景示例,参见图1,可以在化学实验台的前方设置摄像装置,正向拍摄学生进行化学实验的操作视频。为了更好的拍摄到学生的操作视频,该摄像装置的高度最好高于化学实验台,具体可以基于化学实验中搭建的各种实验装置的高度来决定,例如在过滤实验中,摄像装置可以高于化学实验台20~40厘米。参见图1,还可以在化学实验台的上方设置摄像装置,俯拍学生进行化学实验的操作视频,该摄像装置的位置没有固定要求,只要能够清楚的拍到学生的操作视频即可。Figure 1 is an example of the application scenario of the test point analysis method of the chemical experiment in this application. Referring to Figure 1, a camera device can be installed in front of the chemical experiment table to shoot the operation video of the students performing the chemical experiment. In order to better capture the student's operation video, the height of the camera device is preferably higher than the chemical experiment table, which can be determined based on the height of various experimental devices built in the chemical experiment. For example, in the filtration experiment, the camera device can be 20-40 cm higher than the chemical experiment bench. Referring to Fig. 1, a camera device can also be installed above the chemical experiment table to shoot down the operation video of students performing chemical experiments. There is no fixed requirement for the position of the camera device, as long as the student's operation video can be clearly captured.

本申请实施例中的摄像装置可以为:摄像头或者具有摄像功能的电子设备。The imaging device in this embodiment of the present application may be: a camera or an electronic device with an imaging function.

在以下的本申请实施例中,将以过滤实验作为实例对本申请实施例化学实验的考点分析方法进行举例说明,因此,提前对过滤实验中学生的操作流程进行说明。在过滤实验中,学生的操作需要遵循以下流程:将滤纸浸湿后套在锥形漏斗上来组装过滤器;按照由下向上的顺序搭建过滤装置,具体的,先将烧杯放置在铁架台上,再将过滤器放在铁圈上,使过滤器中漏斗的下端尖嘴紧靠烧杯内壁;进行液体转移,具体的,使用玻璃棒紧贴三层滤纸处,烧杯尖嘴紧贴玻璃棒倾倒液体,最终要求过滤出来的液体要澄清不浑浊。以上流程中,学生是否将浸湿的滤纸紧贴漏斗内壁、是否按照由下向上的正确顺序搭建过滤装置、漏斗尖嘴是否紧贴烧杯内壁、玻璃棒是否紧贴滤纸的三层滤纸处、烧杯尖嘴是否紧贴玻璃棒和所得滤液是否澄清无浑浊等均是过滤实验的关键问题。基于此,将过滤实验的上述关键问题划分为5个关键点,依次是:In the following examples of the present application, the filtration experiment will be used as an example to illustrate the test point analysis method of the chemical experiment in the embodiment of the application. Therefore, the operation process of the students in the filtration experiment will be explained in advance. In the filtration experiment, students need to follow the following process: soak the filter paper and put it on the conical funnel to assemble the filter; build the filter device in the order from bottom to top, specifically, first place the beaker on the iron stand, Then put the filter on the iron ring, so that the lower tip of the funnel in the filter is close to the inner wall of the beaker; for liquid transfer, specifically, use a glass rod close to the three-layer filter paper, and the tip of the beaker is close to the glass rod to pour the liquid , and finally require the filtered liquid to be clear and not turbid. In the above process, whether the students stick the soaked filter paper to the inner wall of the funnel, whether to build the filter device in the correct order from bottom to top, whether the tip of the funnel is close to the inner wall of the beaker, whether the glass rod is close to the three-layer filter paper of the filter paper, whether the beaker Whether the tip is close to the glass rod and whether the obtained filtrate is clear and turbid are the key issues in the filtration experiment. Based on this, the above key issues of the filtering experiment are divided into 5 key points, which are as follows:

1、正确制作过滤器,将滤纸用水湿润后紧贴漏斗内壁;1. Correctly make the filter, wet the filter paper with water and stick it to the inner wall of the funnel;

2、由下向上搭建过滤装置;2. Build the filter device from bottom to top;

3、漏斗下端尖嘴紧靠烧杯内壁;3. The tip of the lower end of the funnel is close to the inner wall of the beaker;

4、液体转移过程中正确使用玻璃棒;4. Correct use of glass rods during liquid transfer;

5、所得滤液澄清透明,不含固体杂质。5. The obtained filtrate is clear and transparent without solid impurities.

需要说明的是,过滤实验仅为实例,本申请实施例化学实验的考点分析方法并不限于过滤实验,还可以适用于其他化学实验如固体药品的取用、液体药品的取用等,这里不再过多列举。It should be noted that the filtration experiment is only an example, and the test point analysis method of the chemical experiment in the embodiment of the present application is not limited to the filtration experiment, and can also be applied to other chemical experiments such as the taking of solid medicines, the taking of liquid medicines, etc., which are not mentioned here. Too many to list.

图2为本申请化学实验的考点分析方法一个实施例的流程图,如图2所示,该方法可以包括:Fig. 2 is the flow chart of an embodiment of the test point analysis method of the chemical experiment of the present application, as shown in Fig. 2, the method may include:

步骤201:对于操作视频中的每一目标视频帧,从目标视频帧中识别出化学器皿;所述操作视频由位于化学实验台前方和/或上方的摄像装置拍摄得到;Step 201: For each target video frame in the operation video, identify the chemical vessel from the target video frame; the operation video is captured by the camera device located in front of and/or above the chemical experiment table;

所述目标视频帧是操作视频中被选择出来的、进行化学器皿识别处理的视频帧,所述目标视频帧最好近似均匀的分布在操作视频中,以便化学实验的考点分析结果更为准确。优选地,目标视频帧可以是均匀分布在操作视频中的视频帧。The target video frame is a video frame selected from the operation video and subjected to chemical vessel recognition processing, and the target video frames are preferably approximately evenly distributed in the operation video, so that the analysis results of the test points of the chemical experiment are more accurate. Preferably, the target video frames may be video frames evenly distributed in the operation video.

步骤202:分析所述化学器皿的图像状态信息、和/或所述化学器皿之间的位置关系是否满足考点判定规则,得到该目标视频帧基于考点判定规则的分析结果;Step 202: Analyze whether the image state information of the chemical utensils and/or the positional relationship between the chemical utensils meet the test site determination rules, and obtain the analysis result of the target video frame based on the test site determination rules;

步骤203:根据目标视频帧基于考点判定规则的分析结果获得每个考点的分析结果。Step 203: Obtain the analysis result of each test site according to the analysis result of the target video frame based on the test site determination rule.

图2所示的方法,对于操作视频中的每一目标视频帧,从目标视频帧中识别出化学器皿,所述操作视频由位于化学实验台前方和/或上方的摄像装置拍摄得到,分析所述化学器皿的图像状态信息、和/或所述化学器皿之间的位置关系是否满足考点判定规则,得到该目标视频帧基于考点判定规则的分析结果,根据目标视频帧基于考点判定规则的分析结果获得每个考点的分析结果,从而实现了化学实验的智能化考点分析,上述智能化考点分析标准统一,使得分析结果更为规范,上述智能化考点分析是针对一个化学实验台上的实验操作进行考点分析,能够更为准确的分析出使用该化学实验台的学生的实验操作是否正确。The method shown in Figure 2, for each target video frame in the operation video, identify the chemical vessel from the target video frame, the operation video is taken by the camera device positioned in front of and/or above the chemical experiment table, and the analyzed Whether the image status information of the chemical utensils and/or the positional relationship between the chemical utensils meet the test point judgment rule, obtain the analysis result of the target video frame based on the test point judgment rule, and based on the analysis result of the test point judgment rule based on the target video frame Obtain the analysis results of each test point, thereby realizing the intelligent test point analysis of chemical experiments. The above-mentioned intelligent test point analysis standards are unified, making the analysis results more standardized. The above-mentioned intelligent test point analysis is carried out for the experimental operation on a chemical experiment bench The test site analysis can more accurately analyze whether the experimental operation of the students who use the chemical experiment bench is correct.

以下,对步骤201的实现进行说明。Hereinafter, the implementation of step 201 will be described.

基于图2所示的方法,参见图3,步骤201中所述从目标视频帧中识别出化学器皿,可以包括:Based on the method shown in Figure 2, referring to Figure 3, identifying the chemical vessel from the target video frame described in step 201 may include:

步骤301:从目标视频帧中检测化学器皿所在区域;Step 301: Detect the area where the chemical vessel is located from the target video frame;

步骤302:从所述区域中识别出所述化学器皿的边界关键点;Step 302: identifying the boundary key points of the chemical vessel from the region;

步骤303:将所述边界关键点连接起来,得到所述化学器皿的边界线。Step 303: Connect the boundary key points to obtain the boundary line of the chemical vessel.

其中,所述从目标视频帧中检测化学器皿所在区域,可以包括:Wherein, the detection of the area where the chemical vessel is located from the target video frame may include:

将目标视频帧输入预先训练的用于检测化学器皿所在区域的模型,得到目标视频帧中每个化学器皿所在区域;所述模型通过将标注了各个化学器皿的区域的视频图像作为样本输入深度学习框架以及目标检测网络进行训练得到。Input the target video frame into the pre-trained model for detecting the area where the chemical utensils are located, and obtain the area where each chemical utensil is located in the target video frame; the model inputs the video image of the area marked with each chemical utensil as a sample for deep learning The frame and the target detection network are trained.

具体的,可以预先训练用于检测化学器皿所在区域的模型,训练方法可以包括:Specifically, the model for detecting the area where the chemical vessel is located may be pre-trained, and the training method may include:

获得标注了各个化学器皿的区域的视频图像作为样本;Obtain a video image of the area marked with each chemical vessel as a sample;

将所述样本输入深度学习框架、以及目标检测网络进行训练,得到用于检测化学器皿所在区域的模型。The sample is input into the deep learning framework and the target detection network for training to obtain a model for detecting the area where the chemical vessel is located.

其中,化学器皿的所在区域可以是一个矩形框出的区域,然后针对每个化学器皿所在区域,进行边界关键点识别得到边界关键点。Wherein, the area where the chemical vessel is located may be an area framed by a rectangle, and then for each area where the chemical vessel is located, boundary key point recognition is performed to obtain the boundary key point.

其中,可以使用相关的关键点检测方法来实现化学器皿的边界关键点的检测。Among them, the relevant key point detection method can be used to realize the detection of the key point of the boundary of the chemical vessel.

其中,所述深度学习框架可以为:Caffe,所述目标检测网络可以为:YOLOv2、或者YOLOv3。Wherein, the deep learning framework may be: Caffe, and the target detection network may be: YOLOv2 or YOLOv3.

以下,对步骤202的实现进行说明。The implementation of step 202 will be described below.

本申请实施例中的考点与化学实验的关键点对应,可以包括参数:考点判定规则,可选的,考点还可以包括参数:考点先后顺序、和/或操作视频、和/或考点判定规则标识、和/或执行顺序、和/或规则先后顺序、和/或持续帧数。考点的先后顺序与化学实验中关键点的执行顺序一致。每个考点的考点判定规则可以为1个或多个。The test sites in the embodiment of the present application correspond to the key points of the chemical experiment, and may include parameters: test site determination rules. Optionally, test sites may also include parameters: test site sequence, and/or operation video, and/or test site determination rule identification , and/or execution sequence, and/or rule sequence, and/or continuous frame number. The order of the test points is consistent with the execution order of the key points in the chemical experiment. There can be one or more test center determination rules for each test center.

考点先后顺序这一参数用于记录:考点的先后顺序;The parameter of test site sequence is used to record: the sequence of test sites;

考点判定规则这一参数用于记录:考点的操作要求;The parameter of the test site judgment rule is used to record: the operation requirements of the test site;

考点判定规则标识这一参数用于标识不同的考点判定规则;Test center determination rule identification This parameter is used to identify different test center determination rules;

操作视频这一参数用于记录:被分析是否满足考点判定规则的目标视频帧的视频来源是:设置于化学实验台前方的摄像装置、或者设置于化学实验台上方的摄像装置;The parameter of operation video is used to record: the video source of the target video frame that is analyzed whether it satisfies the test site judgment rules is: the camera device set in front of the chemical test bench, or the camera device set above the chemical test bench;

执行顺序这一参数用于记录:同一考点不同考点判定规则之间的先后顺序;The parameter of execution sequence is used to record: the order of determination rules of different test sites in the same test site;

规则先后顺序这一参数用于记录:所有考点的考点判定规则之间的先后顺序;The parameter of order of rules is used to record: the order of determination rules of test sites of all test sites;

持续帧数这一参数用于记录:满足考点判定规则的目标视频帧的最小数量。The parameter of the number of continuous frames is used to record: the minimum number of target video frames that meet the test site determination rules.

考点判定规则与化学实验的关键点有关,例如上述的过滤实验中列举的5个关键点,考点判定规则可以从关键点中提炼出来的。例如,可以根据关键点1将考点1的考点判定规则设置为:滤纸与漏斗之间没有空隙;可以根据关键点2将考点2的考点判定规则设置为:考点判定规则1、烧杯放置于铁架台,考点判定规则2、过滤器放置于铁圈;可以根据关键点3将考点3的考点判定规则设置为:漏斗下端尖嘴与烧杯内壁之间没有空隙;可以根据关键点4将考点4的考点判定规则设置为:考点判定规则1、玻璃棒指向滤纸的三层滤纸处,考点判定规则2、烧杯的尖嘴与玻璃棒之间没有空隙,且玻璃棒与滤纸的三层滤纸处之间没有空隙;可以根据关键点5将考点5的考点判定规则设置为:烧杯内图像的纹理和/或颜色差异不超过预设阈值;The test site judgment rules are related to the key points of the chemical experiment. For example, the 5 key points listed in the above filtering experiment, the test site judgment rules can be extracted from the key points. For example, according to key point 1, the determination rule of test site 1 can be set as: there is no gap between the filter paper and the funnel; according to key point 2, the test site determination rule of test site 2 can be set as: test site determination rule 1, the beaker is placed on the iron stand , test point judgment rule 2. The filter is placed on the iron ring; the test point 3 judgment rule can be set according to the key point 3: there is no gap between the tip of the lower end of the funnel and the inner wall of the beaker; the test point 4 can be set according to the key point 4 The judgment rules are set as follows: test point judgment rule 1, the glass rod points to the three-layer filter paper of the filter paper, test point judgment rule 2, there is no gap between the tip of the beaker and the glass rod, and there is no gap between the glass rod and the three-layer filter paper of the filter paper. Gaps; according to the key point 5, the test point judgment rule of the test point 5 can be set as: the texture and/or color difference of the image in the beaker does not exceed the preset threshold;

执行顺序这一参数为可选参数,如果某一化学实验中各个考点的考点判定规则都不存在执行顺序的限制,那么考点中可以不包括执行顺序这一参数;如果考点中包括执行顺序这一参数,而某个考点仅包括一个考点判定规则,或者虽然包括多个考点判定规则但是多个考点判定规则之间没有执行顺序的限制,该考点的执行顺序这一参数可以缺省。The parameter of execution order is an optional parameter. If there is no restriction on the execution order of the test site judgment rules of each test site in a certain chemical experiment, then the parameter of execution order may not be included in the test site; if the test site includes the execution order parameter, and a certain test site only includes one test site determination rule, or although it includes multiple test site determination rules but there is no restriction on the order of execution among the multiple test site determination rules, the parameter of the test site’s execution order can be defaulted.

持续帧数与化学实验本身的操作时间有关。例如,对于某些只要完成动作的实验操作,只要有一帧目标视频帧检测到对应的考点判定规则就可以,连续帧数可以为1或者缺省,例如在固体药品的取用这一化学实验中,需要把试管直立起来,让药品均匀落到试管底部,对于这一操作来说,对应的考点判定规则为:试管直立,只要有一帧目标视频帧检测到试管直立就可以,那么持续帧数可以为1或者缺省;而对于一些需要持续一定时间的实验操作,可以预先设置满足考点判定规则的连续帧数,连续帧数的具体数值可以在实际应用中根据实验操作的要求的持续时间自主设定,例如过滤实验的考点4,可以统计学生倾倒液体的最短时间,根据该最短时间设置烧杯的尖嘴与玻璃棒之间没有空隙的持续帧数。The number of sustained frames is related to the operation time of the chemical experiment itself. For example, for some experimental operations that only need to complete the action, as long as there is a target video frame that detects the corresponding test point judgment rule, the number of consecutive frames can be 1 or the default, such as in the chemical experiment of taking solid medicine , it is necessary to stand the test tube upright so that the drug falls evenly to the bottom of the test tube. For this operation, the corresponding test point judgment rule is: the test tube is upright, as long as one frame of the target video frame detects that the test tube is upright, then the number of continuous frames can be is 1 or the default; and for some experimental operations that need to last for a certain period of time, the number of consecutive frames that meet the test site judgment rules can be preset, and the specific value of the number of consecutive frames can be set independently according to the duration of the experimental operation in practical applications. For example, test point 4 of the filtration experiment, the shortest time for students to pour the liquid can be counted, and the number of continuous frames without gaps between the tip of the beaker and the glass rod can be set according to the shortest time.

另外,持续帧数与化学实验的评分标准有关。例如,对于过滤实验中的考点3,考点判定规则是漏斗下端尖嘴与烧杯内壁之间没有空隙,那么评分标准可以是学生在最初放置过滤器时漏斗下端尖嘴与烧杯内壁之间没有空隙就可以判定为操作正确,此时,持续帧数可以设置为1帧或几帧,评分标准也可以是放置过滤器之后一直保持漏斗下端尖嘴与烧杯内壁之间没有空隙直到实验结束,此时,持续帧数可以设置为一个很大的数值或者缺省。In addition, the number of continuous frames is related to the scoring standard of chemical experiments. For example, for test site 3 in the filtration experiment, the test site judgment rule is that there is no gap between the tip of the lower end of the funnel and the inner wall of the beaker, then the scoring standard can be that there is no gap between the tip of the lower end of the funnel and the inner wall of the beaker when the student first placed the filter. It can be judged that the operation is correct. At this time, the continuous frame number can be set to 1 frame or several frames. The scoring standard can also be that after placing the filter, there is no gap between the tip of the lower end of the funnel and the inner wall of the beaker until the end of the experiment. At this time, The number of continuous frames can be set to a large value or default.

基于以上考点的设置,在同一化学实验中,考点之间具有先后顺序,而且同一考点的多个考点判定规则之间可能具有先后顺序,因此,可以将化学实验中的考点判定规则进行先后顺序的排序。例如,对于上述过滤实验的5个考点,其考点判定规则的先后顺序如下:Based on the settings of the above test sites, in the same chemical experiment, the test sites have a sequence, and there may be a sequence between the multiple test site determination rules of the same test site, therefore, the test site determination rules in the chemical experiment can be sequenced Sort. For example, for the 5 test sites of the above-mentioned filtering experiment, the order of the test site determination rules is as follows:

滤纸与漏斗之间没有空隙、烧杯放置于铁架台、过滤器(漏斗)放置于铁圈、漏斗下端尖嘴与烧杯内壁之间没有空隙、玻璃棒指向滤纸的三层滤纸处、烧杯的尖嘴与玻璃棒之间没有空隙且玻璃棒与滤纸的三层滤纸处之间没有空隙、烧杯内图像的纹理和/或颜色差异不超过预设阈值。There is no gap between the filter paper and the funnel, the beaker is placed on the iron stand, the filter (funnel) is placed on the iron ring, there is no gap between the tip of the lower end of the funnel and the inner wall of the beaker, the glass rod points to the three-layer filter paper of the filter paper, the tip of the beaker There is no gap between the glass rod and the three layers of filter paper between the glass rod and the filter paper, and the texture and/or color difference of the image in the beaker does not exceed the preset threshold.

考点判定规则的作用在于判断学生的实验操作是否能够满足实验要求,有些考点判定规则所需判定的实验操作只有位于化学实验台前方的摄像装置能够拍摄到,而有些考点判定规则所需判定的实验操作只有位于化学实验台上方的拍摄装置能够拍摄到,因此,设置操作视频这一参数,用于记录被分析是否满足考点判定规则的目标视频帧的视频来源。以上述过滤实验的考点判定规则为例,对于考点判定规则中的玻璃棒指向滤纸的三层滤纸处、以及烧杯内图像的纹理和/或颜色差异不超过预设阈值,只有位于化学实验台上方的拍摄装置拍摄到的操作视频中能够拍摄到学生在实验操作中是否将玻璃棒指向了滤纸的三层滤纸处、以及过滤后烧杯内的液体颜色,而其他考点判定规则中所要判定的实验操作,只有位于化学实验台前方的摄像装置能够拍摄到。The role of the test site judgment rules is to judge whether the students’ experimental operations can meet the requirements of the experiment. Some test site judgment rules require the experimental operations to be judged only by the camera device located in front of the chemical experiment table, while some test site judgment rules require the experimental operations to be judged. The operation can only be captured by the shooting device located above the chemical experiment table. Therefore, the parameter of operation video is set to record the video source of the target video frame that is analyzed to meet the test site judgment rules. Taking the test site judgment rule of the above-mentioned filtration experiment as an example, for the glass rod in the test site judgment rule pointing to the three layers of filter paper of the filter paper, and the texture and/or color difference of the image in the beaker does not exceed the preset threshold, only the glass rod located above the chemical experiment table In the operation video captured by the camera device, it is possible to capture whether the students point the glass rod at the three layers of filter paper and the color of the liquid in the beaker after filtering. , which can only be captured by the camera device located in front of the chemical experiment bench.

在其他化学实验中,多个考点判定规则可能处于同一顺序,这时只要在分析目标视频帧是否满足考点判定规则时,分别分析目标视频帧是否满足每一个考点判定规则,分别得到基于每一个考点判定规则的分析结果即可,同样可以完成本步骤。In other chemical experiments, multiple test site determination rules may be in the same order. At this time, when analyzing whether the target video frame satisfies the test site determination rules, analyze whether the target video frame satisfies each test site determination rule, respectively, and obtain the results based on each test site. The analysis result of the determination rule is sufficient, and this step can also be completed.

基于以上说明,以过滤实验为例,可以在执行本申请所述方法的电子设备中预设类似下表1的信息。Based on the above description, taking the filtering experiment as an example, information similar to the following Table 1 can be preset in the electronic device that implements the method described in this application.

表1Table 1

基于以上说明,参见图4,步骤202可以包括:Based on the above description, referring to FIG. 4, step 202 may include:

步骤401:获得目标视频帧所需满足的考点判定规则;Step 401: Obtain the test site determination rules that the target video frame needs to meet;

步骤402:分析所述化学器皿的图像状态信息、和/或所述化学器皿之间的位置关系是否满足所述考点判定规则,得到该目标视频帧基于所述考点判定规则的分析结果。Step 402: Analyze whether the image state information of the chemical utensils and/or the positional relationship between the chemical utensils satisfy the test site determination rule, and obtain an analysis result of the target video frame based on the test site determination rule.

目标视频帧所需满足的考点判定规则可以为1个或多个,本申请并不限制。如果目标视频帧所需满足的考点判定规则为多个,在分析化学器皿的图像状态信息、和/或化学器皿之间的位置关系是否满足考点判定规则时,需要分别针对每个考点判定规则,分析化学器皿的图像状态信息、和/或化学器皿之间的位置关系是否满足考点判定规则。There may be one or more test site determination rules that the target video frame needs to satisfy, which is not limited in this application. If the target video frame needs to satisfy multiple test point determination rules, when analyzing the image state information of the chemical vessel and/or whether the positional relationship between the chemical vessels meets the test point determination rule, it is necessary to determine the rule for each test point respectively, Analyze whether the image status information of the chemical utensils and/or the positional relationship between the chemical utensils meet the test point determination rules.

如果按照考点判定规则的先后顺序来对视频中的目标视频帧进行分析:If the target video frames in the video are analyzed in the order of the test site determination rules:

在第一种可能的实现方式中,如果考点判定规则的持续帧数为1,则步骤401可以包括:In the first possible implementation manner, if the continuous frame number of the test site determination rule is 1, then step 401 may include:

获得目标视频帧的前一帧目标视频帧基于考点判定规则的分析结果;Obtain the analysis result of the previous frame target video frame of the target video frame based on the test point judgment rule;

如果所述分析结果为满足考点判定规则,则将考点判定规则下一顺序的考点判定规则作为目标视频帧所需满足的考点判定规则;If described analysis result is to meet the test site determination rule, then the test site determination rule of the next sequence of the test site determination rule is used as the test site determination rule that the target video frame needs to satisfy;

如果所述分析结果为不满足考点判定规则,则将前一帧目标视频帧的考点判定规则作为目标视频帧所需满足的考点判定规则。If the analysis result does not satisfy the test point determination rule, the test point determination rule of the previous target video frame is used as the test point determination rule that the target video frame needs to satisfy.

在第二种可能的实现方式中,如果考点判定规则的持续帧数为n,且n大于1,不同考点判定规则的n取值可以不同,则步骤401可以包括:In the second possible implementation, if the number of continuous frames of the test site determination rule is n, and n is greater than 1, and the value of n of different test site determination rules can be different, then step 401 may include:

获得目标视频帧的前n帧目标视频帧基于考点判定规则的分析结果;Obtain the analysis result of the first n frames of the target video frame of the target video frame based on the test point judgment rule;

判断分析结果为满足所述考点判定规则的连续数量是否等于n;Judgment analysis result is whether the continuous quantity that satisfies the test site determination rule is equal to n;

如果连续数量大于0小于n,将考点判定规则以及考点判定规则下一顺序的考点判定规则作为目标视频帧所需满足的考点判定规则;If the continuous quantity is greater than 0 and less than n, the test site determination rule of the test site determination rule and the test site determination rule next order is used as the test site determination rule that the target video frame needs to satisfy;

如果连续数量等于0,将考点判定规则作为目标视频帧所需满足的考点判定规则;If the continuous number is equal to 0, the test site determination rule is used as the test site determination rule that the target video frame needs to satisfy;

如果连续数量等于n,将考点判定规则下一顺序的考点判定规则作为目标视频帧所需满足的考点判定规则。If the continuous number is equal to n, the test site determination rule in the next order of the test site determination rule is used as the test site determination rule that the target video frame needs to satisfy.

如果对视频中的目标视频帧进行分析时考点判定规则的先后顺序不限制:If the sequence of the test site determination rules is not limited when analyzing the target video frame in the video:

在第三种可能的实现方式中,每个考点判定规则的持续帧数为m,不同考点判定规则的持续帧数m取值不同,m大于等于1,此时,可以预先设置满足考点判定规则的持续目标视频帧数列表,得到一个目标视频帧基于考点判定规则的分析结果时,根据该分析结果更新该列表;则步骤401可以包括:获得列表中持续目标视频帧数不满足持续帧数要求的考点判定规则,将获得的考点判定规则作为目标视频帧所需满足的考点判定规则。In the third possible implementation, the number of continuous frames for each test site determination rule is m, and the value of the continuous frame number m for different test site determination rules is different, and m is greater than or equal to 1. At this time, it can be set in advance to meet the test site determination rules The continuous target video frame number list, when obtaining the analysis result of a target video frame based on the test point determination rule, update the list according to the analysis result; then step 401 may include: obtaining the continuous target video frame number in the list does not meet the continuous frame number requirement The test center judgment rule is used as the test center judgment rule that the target video frame needs to satisfy.

其中,步骤201中处理的操作视频有2个,包括位于化学实验台前方的摄像装置拍摄的操作视频、以及位于化学实验台上方的摄像装置拍摄的操作视频,那么以上目标视频帧的前一帧目标视频帧、或者前n帧目标视频帧、考点判定规则下一顺序的考点判定规则,都是针对同一操作视频而言的,例如以表1为例,如果目标视频帧的操作视频来源是前方,那么该目标视频帧所需满足的考点判定规则是标识为1~4、或6的考点判定规则,标识为4的考点判定规则下一顺序的考点判定规则是标识为6的考点判定规则;如果目标视频帧的操作视频来源是上方,那么该目标视频帧所需满足的考点判定规则是标识为5或7的考点判定规则,那么标识为5的考点判定规则下一顺序的考点判定规则是标识为7的考点判定规则。Among them, there are two operation videos processed in step 201, including the operation video taken by the camera device located in front of the chemical experiment table and the operation video taken by the camera device above the chemical experiment table, then the previous frame of the above target video frame The target video frame, or the target video frame of the first n frames, and the test site determination rule in the next order of the test site determination rule are all for the same operation video. For example, taking Table 1 as an example, if the operation video source of the target video frame is the front , then the test site determination rule that the target video frame needs to satisfy is the test site determination rule marked as 1~4 or 6, and the test site determination rule marked as 4 is the test site determination rule of the next order is marked as the test site determination rule of 6; If the operating video source of the target video frame is above, then the test point judgment rule that the target video frame needs to satisfy is the test point judgment rule marked as 5 or 7, so the test point judgment rule of the next order of the test point judgment rule marked as 5 is The test center judgment rule marked as 7.

以下通过举例的方式对步骤402的实现进行说明。The implementation of step 402 is described below by way of example.

假设步骤401中获得目标视频帧所需满足的考点判定规则为:滤纸与漏斗之间没有空隙,则本步骤可以根据目标视频帧中滤纸与漏斗之间的位置关系来分析两者之间是否存在空隙;Assuming that in step 401, the test point judgment rule that the target video frame needs to satisfy is: there is no gap between the filter paper and the funnel, then this step can analyze whether there is a gap between the filter paper and the funnel according to the positional relationship between the filter paper and the funnel in the target video frame. void;

假设步骤401中获得目标视频帧所需满足的考点判定规则为:烧杯内图像的纹理和/或颜色差异不超过预设阈值,则本步骤可以根据目标视频帧中烧杯内的图像状态信息来分析其是否满足考点判定规则,具体的,分析烧杯内图像的纹理和/或颜色差异是否超过预设阈值,从而得到分析结果。Assuming that in step 401 the target video frame needs to meet the test point judgment rule: the texture and/or color difference of the image in the beaker does not exceed the preset threshold, then this step can be analyzed according to the image state information in the beaker in the target video frame Whether it satisfies the determination rules of the test site, specifically, analyze whether the texture and/or color difference of the image in the beaker exceeds a preset threshold, so as to obtain the analysis result.

其他考点判定规则在本步骤中的处理方法类似,这里不再一一举例说明。Other test center determination rules are handled in a similar manner in this step, so examples are not given here.

以下,对步骤203的实现进行说明。The implementation of step 203 will be described below.

本步骤的实现目的在于确定学生在实验操作中是否完成了实验要求的关键点,因此,本步骤的实现与考点判定规则、考点之间的先后顺序、同一考点不同考点判定规则之间的先后顺序、考点判定规则的持续帧数等相关,这些要求都可以通过预先设置考点的先后顺序、以及每个考点中的不同参数来实现。因此,本步骤中只要根据目标视频帧基于考点判定规则的分析结果来分析其是否满足这些预设要求即可。The purpose of this step is to determine whether the students have completed the key points required by the experiment in the experimental operation. Therefore, the realization of this step is related to the test center judgment rules, the order of test centers, and the order of different test center judgment rules for the same test center. , the continuous frame number of the test site determination rules, etc. These requirements can be realized by pre-setting the order of the test sites and the different parameters in each test site. Therefore, in this step, it is only necessary to analyze whether the target video frame satisfies these preset requirements based on the analysis result of the test point determination rule.

以过滤实验为例,假设要求以表1的方式预先存储于电子设备中,则本步骤中只要根据目标视频帧基于考点判定规则的分析结果来依次判断其是否满足这些预设要求即可。Taking the filtering experiment as an example, assuming that the requirements are pre-stored in the electronic device in the form of Table 1, in this step, it is only necessary to sequentially judge whether the target video frame meets these preset requirements according to the analysis results of the target video frame based on the test point determination rules.

例如,判断基于考点判定规则1的分析结果为满足的目标视频帧是否有连续6帧,如果没有,考点1的分析结果为不合格;如果有,再判断连续6帧目标视频帧之前的目标视频帧中,是否存在分析结果为满足考点判定规则2~7的目标视频帧,如果有,考点1的分析结果为,持续帧数合格,执行顺序不合格,如果没有,那么考点1的分析结果为合格。其他考点的分析与此类似,不再赘述。For example, judge whether there are 6 consecutive frames of the target video frame that are satisfied based on the analysis result of the test point determination rule 1. If not, the analysis result of the test point 1 is unqualified; In the frame, whether there is a target video frame whose analysis result satisfies the test point judgment rules 2~7, if yes, the analysis result of test point 1 is, the number of continuous frames is qualified, and the execution sequence is unqualified, if not, then the analysis result of test point 1 is qualified. The analysis of other test sites is similar to this and will not be repeated here.

可以理解的是,上述实施例中的部分或全部步骤骤或操作仅是示例,本申请实施例还可以执行其它操作或者各种操作的变形。此外,各个步骤可以按照上述实施例呈现的不同的顺序来执行,并且有可能并非要执行上述实施例中的全部操作。It can be understood that some or all of the steps or operations in the foregoing embodiments are only examples, and other operations or modifications of various operations may also be performed in the embodiment of the present application. In addition, various steps may be performed in different orders presented in the above embodiments, and it may not be necessary to perform all operations in the above embodiments.

图5为本申请化学实验的考点分析装置一个实施例的结构图,参见图5,该装置500可以包括:Fig. 5 is a structural diagram of an embodiment of the test point analysis device of the chemical experiment of the present application, referring to Fig. 5, the device 500 may include:

识别单元510,用于对于操作视频中的每一目标视频帧,从目标视频帧中识别出化学器皿;所述操作视频由位于化学实验台前方和/或上方的摄像装置拍摄得到;The identification unit 510 is configured to, for each target video frame in the operation video, identify the chemical vessel from the target video frame; the operation video is captured by a camera device located in front of and/or above the chemical laboratory table;

分析单元520,用于分析所述化学器皿的图像状态信息、和/或所述化学器皿之间的位置关系是否满足考点判定规则,得到该目标视频帧基于考点判定规则的分析结果;The analysis unit 520 is configured to analyze whether the image state information of the chemical vessel and/or the positional relationship between the chemical vessels satisfy the test point determination rule, and obtain the analysis result of the target video frame based on the test point determination rule;

获得单元530,用于根据目标视频帧基于考点判定规则的分析结果获得每个考点的分析结果。The obtaining unit 530 is configured to obtain the analysis result of each test site according to the analysis result of the target video frame based on the test site determination rule.

其中,参见图6所示,所述识别单元510可以包括:Wherein, as shown in FIG. 6, the identification unit 510 may include:

检测子单元610,用于从目标视频帧中检测化学器皿所在区域;The detection subunit 610 is used to detect the area where the chemical vessel is located from the target video frame;

识别子单元620,用于从所述区域中识别出所述化学器皿的边界关键点;An identification subunit 620, configured to identify key points on the boundary of the chemical vessel from the area;

连接子单元630,用于将所述边界关键点连接起来,得到所述化学器皿的边界线。The connection subunit 630 is configured to connect the boundary key points to obtain the boundary line of the chemical vessel.

其中,所述检测子单元610可以包括:Wherein, the detection subunit 610 may include:

训练模块,用于预先训练用于检测化学器皿所在区域的模型;A training module for pre-training a model for detecting areas where chemical utensils are located;

输入模块,用于将所述目标视频帧输入所述模型,得到所述目标视频帧中每个化学器皿所在区域。The input module is configured to input the target video frame into the model to obtain the area where each chemical vessel is located in the target video frame.

其中,所述训练模块具体可以用于:Wherein, the training module can specifically be used for:

获得标注了各个化学器皿的区域的视频图像作为样本;Obtain a video image of the area marked with each chemical vessel as a sample;

将所述样本输入深度学习框架、以及目标检测网络进行训练,得到用于检测化学器皿所在区域的模型。The sample is input into the deep learning framework and the target detection network for training to obtain a model for detecting the area where the chemical vessel is located.

参见图7所示,,所述分析单元520可以包括:Referring to FIG. 7, the analysis unit 520 may include:

获得子单元710,用于获得目标视频帧所需满足的考点判定规则;Obtaining a subunit 710, used to obtain the test point determination rules that the target video frame needs to satisfy;

分析子单元720,用于分析所述化学器皿的图像状态信息、和/或所述化学器皿之间的位置关系是否满足获得的所述考点判定规则,得到该目标视频帧基于所述考点判定规则的分析结果。The analysis subunit 720 is configured to analyze whether the image state information of the chemical vessel and/or the positional relationship between the chemical vessels satisfy the obtained test point determination rule, and obtain the target video frame based on the test point determination rule analysis results.

在一种可能的实现方式中,所述获得子单元710具体可以用于:In a possible implementation manner, the obtaining subunit 710 may be specifically configured to:

获得目标视频帧的前一帧目标视频帧基于考点判定规则的分析结果;Obtain the analysis result of the previous frame target video frame of the target video frame based on the test point judgment rule;

如果所述分析结果为满足考点判定规则,则将考点判定规则下一顺序的考点判定规则作为目标视频帧所需满足的考点判定规则;If described analysis result is to meet the test site determination rule, then the test site determination rule of the next sequence of the test site determination rule is used as the test site determination rule that the target video frame needs to satisfy;

如果所述分析结果为不满足考点判定规则,则将前一帧目标视频帧的考点判定规则作为目标视频帧所需满足的考点判定规则。If the analysis result does not satisfy the test point determination rule, the test point determination rule of the previous target video frame is used as the test point determination rule that the target video frame needs to satisfy.

在另一种可能的实现方式中,所述获得子单元710具体可以用于:In another possible implementation manner, the obtaining subunit 710 may be specifically configured to:

获得目标视频帧的前n帧目标视频帧基于考点判定规则的分析结果;n大于1;Obtain the analysis result of the first n frames of the target video frame of the target video frame based on the test point judgment rule; n is greater than 1;

判断分析结果为满足所述考点判定规则的连续数量是否等于n;Judgment analysis result is whether the continuous quantity that satisfies the test site determination rule is equal to n;

如果连续数量大于0小于n,将考点判定规则以及考点判定规则下一顺序的考点判定规则作为目标视频帧所需满足的考点判定规则;If the continuous quantity is greater than 0 and less than n, the test site determination rule of the test site determination rule and the test site determination rule next order is used as the test site determination rule that the target video frame needs to satisfy;

如果连续数量等于0,将考点判定规则作为目标视频帧所需满足的考点判定规则;If the continuous number is equal to 0, the test site determination rule is used as the test site determination rule that the target video frame needs to satisfy;

如果连续数量等于n,将考点判定规则下一顺序的考点判定规则作为目标视频帧所需满足的考点判定规则。If the continuous number is equal to n, the test site determination rule in the next order of the test site determination rule is used as the test site determination rule that the target video frame needs to satisfy.

在又一种可能的实现方式中,所述获得子单元710具体可以用于:In yet another possible implementation manner, the obtaining subunit 710 may be specifically configured to:

获得持续目标视频帧数不满足持续帧数要求的考点判定规则,将获得的考点判定规则作为目标视频帧所需满足的考点判定规则。Obtain the test site determination rule that the continuous target video frame number does not meet the continuous frame number requirement, and use the obtained test site determination rule as the test site determination rule that the target video frame needs to meet.

图5~7所示的装置中,对于操作视频中的每一目标视频帧,识别单元从目标视频帧中识别出化学器皿,分析单元分析所述化学器皿的图像状态信息、和/或所述化学器皿之间的位置关系是否满足考点判定规则,得到该目标视频帧基于考点判定规则的分析结果,获得单元根据目标视频帧基于考点判定规则的分析结果获得每个考点的分析结果,从而实现了化学实验的智能化考点分析,上述智能化考点分析标准统一,使得分析结果更为规范,上述智能化考点分析是针对一个化学实验台上的实验操作进行考点分析,能够更为准确的分析出使用该化学实验台的学生的实验操作是否正确。In the device shown in Figures 5-7, for each target video frame in the operation video, the identification unit identifies the chemical vessel from the target video frame, and the analysis unit analyzes the image state information of the chemical vessel, and/or the Whether the positional relationship between the chemical utensils satisfies the test site determination rules, the analysis result of the target video frame based on the test site determination rules is obtained, and the acquisition unit obtains the analysis results of each test site based on the analysis results of the target video frame based on the test site determination rules, thus realizing The intelligent test point analysis of chemical experiments, the above-mentioned intelligent test point analysis standards are unified, making the analysis results more standardized. The above-mentioned intelligent test point analysis is for the test point analysis of the experimental operation on a chemical experiment bench, which can more accurately analyze the use of Whether the experimental operation of the students in the chemical experiment bench is correct.

本申请图5~图7所示装置可以设置于摄像装置如摄像头中,或者,也可以设置于电子设备中,进一步地,可以设置于具有摄像功能的电子设备中。The devices shown in FIGS. 5 to 7 of the present application can be set in a camera device such as a camera, or can also be set in an electronic device, and further, can be set in an electronic device with a camera function.

图5~7所示实施例提供的装置可用于执行本申请图2~图4所示方法实施例的技术方案,其实现原理和技术效果可以进一步参考方法实施例中的相关描述。The devices provided by the embodiments shown in Figures 5 to 7 can be used to implement the technical solutions of the method embodiments shown in Figures 2 to 4 of this application, and its implementation principles and technical effects can further refer to the relevant descriptions in the method embodiments.

应理解以上图5~7所示实施例装置的各个单元或模块的划分仅仅是一种逻辑功能的划分,实际实现时可以全部或部分集成到一个物理实体上,也可以物理上分开。且这些单元或模块可以全部以软件通过处理元件调用的形式实现;也可以全部以硬件的形式实现;还可以部分单元或模块以软件通过处理元件调用的形式实现,部分单元或模块通过硬件的形式实现。例如,识别单元可以为单独设立的处理元件,也可以集成在电子设备的某一个芯片中实现。其它单元或模块的实现与之类似。此外这些单元或模块全部或部分可以集成在一起,也可以独立实现。在实现过程中,上述方法的各步骤或以上各个单元或模块可以通过处理器元件中的硬件的集成逻辑电路或者软件形式的指令完成。It should be understood that the division of each unit or module of the embodiment device shown in Figs. 5-7 above is only a division of logical functions, and may be fully or partially integrated into one physical entity or physically separated during actual implementation. Moreover, these units or modules can be realized in the form of software calling through processing elements; they can also be realized in the form of hardware; some units or modules can also be realized in the form of software calling through processing elements, and some units or modules can be realized in the form of hardware accomplish. For example, the identification unit may be a separately established processing element, or may be integrated into a certain chip of the electronic device for implementation. The implementation of other units or modules is similar. In addition, all or part of these units or modules can be integrated together, or implemented independently. In the implementation process, each step of the above-mentioned method or each of the above-mentioned units or modules can be completed by an integrated logic circuit of hardware in the processor element or an instruction in the form of software.

例如,以上这些单元或模块可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个特定集成电路(Application Specific Integrated Circuit;以下简称:ASIC),或,一个或多个微处理器(Digital Singnal Processor;以下简称:DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array;以下简称:FPGA)等。再如,这些单元或模块可以集成在一起,以片上系统(System-On-a-Chip;以下简称:SOC)的形式实现。For example, the above units or modules may be one or more integrated circuits configured to implement the above method, for example: one or more specific integrated circuits (Application Specific Integrated Circuit; hereinafter referred to as ASIC), or, one or more A microprocessor (Digital Singnal Processor; hereinafter referred to as DSP), or one or more Field Programmable Gate Arrays (Field Programmable Gate Array; hereinafter referred to as FPGA), etc. For another example, these units or modules may be integrated together to be implemented in the form of a System-On-a-Chip (hereinafter referred to as SOC).

图8为本申请电子设备一个实施例的结构示意图,如图8所示,上述电子设备可以包括:一个或多个处理器;存储器;以及一个或多个计算机程序。FIG. 8 is a schematic structural diagram of an embodiment of an electronic device of the present application. As shown in FIG. 8 , the above-mentioned electronic device may include: one or more processors; memory; and one or more computer programs.

其中,上述显示屏可以包括车载计算机(移动数据中心Mobile Data Center)的显示屏;上述电子设备可以为移动终端(手机),摄像装置如摄像头,电脑,PAD,智慧屏,无人机,智能网联车(Intelligent Connected Vehicle;以下简称:ICV),智能(汽)车(smart/intelligent car)或车载设备等设备。Wherein, the above-mentioned display screen can include the display screen of a vehicle-mounted computer (Mobile Data Center); the above-mentioned electronic equipment can be a mobile terminal (mobile phone), a camera such as a camera, a computer, a PAD, a smart screen, a drone, an intelligent network, etc. Intelligent Connected Vehicle (hereinafter referred to as: ICV), smart/intelligent car (smart/intelligent car) or on-board equipment and other equipment.

其中上述一个或多个计算机程序被存储在上述存储器中,上述一个或多个计算机程序包括指令,当上述指令被上述设备执行时,使得上述设备执行以下步骤:Wherein the above-mentioned one or more computer programs are stored in the above-mentioned memory, the above-mentioned one or more computer programs include instructions, when the above-mentioned instructions are executed by the above-mentioned equipment, the above-mentioned equipment is caused to perform the following steps:

对于操作视频中的每一目标视频帧,从目标视频帧中识别出化学器皿;所述操作视频由位于化学实验台前方和/或上方的摄像装置拍摄得到;For each target video frame in the operation video, the chemical vessel is identified from the target video frame; the operation video is captured by an imaging device positioned in front of and/or above the chemical laboratory table;

分析所述化学器皿的图像状态信息、和/或所述化学器皿之间的位置关系是否满足考点判定规则,得到该目标视频帧基于考点判定规则的分析结果;Analyzing the image status information of the chemical utensils and/or whether the positional relationship between the chemical utensils satisfies the test site determination rules, and obtains the analysis result of the target video frame based on the test site determination rules;

根据目标视频帧基于考点判定规则的分析结果获得每个考点的分析结果。The analysis result of each test site is obtained according to the analysis result of the target video frame based on the test site determination rule.

其中,当上述指令被上述设备执行时,使得上述设备执行所述从目标视频帧中识别出化学器皿的步骤包括:Wherein, when the above instruction is executed by the above device, enabling the above device to perform the step of identifying the chemical vessel from the target video frame includes:

从目标视频帧中检测化学器皿所在区域;Detect the area where the chemical vessel is located from the target video frame;

从所述区域中识别出所述化学器皿的边界关键点;identifying boundary keypoints of the chemical vessel from the region;

将所述边界关键点连接起来,得到所述化学器皿的边界线。The boundary key points are connected to obtain the boundary line of the chemical vessel.

其中,当上述指令被上述设备执行时,使得上述设备执行所述从目标视频帧中检测化学器皿所在区域的步骤包括:Wherein, when the above-mentioned instruction is executed by the above-mentioned device, enabling the above-mentioned device to perform the step of detecting the area where the chemical vessel is located from the target video frame includes:

预先训练用于检测化学器皿所在区域的模型;A model pre-trained to detect areas where chemical utensils are located;

将所述目标视频帧输入所述模型,得到所述目标视频帧中每个化学器皿所在区域。The target video frame is input into the model to obtain the area where each chemical vessel is located in the target video frame.

其中,当上述指令被上述设备执行时,使得上述设备执行所述预先训练用于检测化学器皿所在区域的模型的步骤包括:Wherein, when the above instruction is executed by the above device, the step of causing the above device to execute the pre-trained model for detecting the area where the chemical vessel is located includes:

获得标注了各个化学器皿的区域的视频图像作为样本;Obtain a video image of the area marked with each chemical vessel as a sample;

将所述样本输入深度学习框架、以及目标检测网络进行训练,得到用于检测化学器皿所在区域的模型。The sample is input into the deep learning framework and the target detection network for training to obtain a model for detecting the area where the chemical vessel is located.

其中,当上述指令被上述设备执行时,使得上述设备执行所述分析所述化学器皿的图像状态信息、和/或所述化学器皿之间的位置关系是否满足考点判定规则,得到该目标视频帧基于考点判定规则的分析结果的步骤包括:Wherein, when the above-mentioned instruction is executed by the above-mentioned device, the above-mentioned device is made to perform the analysis of the image state information of the chemical vessel and/or whether the positional relationship between the chemical vessels satisfies the test point determination rule, and obtains the target video frame The steps of analyzing the results based on the test center determination rules include:

获得目标视频帧所需满足的考点判定规则;Obtain the test site determination rules that the target video frame needs to meet;

分析所述化学器皿的图像状态信息、和/或所述化学器皿之间的位置关系是否满足获得的所述考点判定规则,得到该目标视频帧基于所述考点判定规则的分析结果。Analyzing the image status information of the chemical utensils and/or whether the positional relationship between the chemical utensils satisfies the obtained test point determination rule, and obtaining an analysis result of the target video frame based on the test point determination rule.

其中,当上述指令被上述设备执行时,使得上述设备执行所述获得目标视频帧所需满足的考点判定规则的步骤包括:Wherein, when the above-mentioned instruction is executed by the above-mentioned device, the step of causing the above-mentioned device to execute the test point judgment rule that needs to be satisfied for obtaining the target video frame includes:

获得目标视频帧的前一帧目标视频帧基于考点判定规则的分析结果;Obtain the analysis result of the previous frame target video frame of the target video frame based on the test point judgment rule;

如果所述分析结果为满足考点判定规则,则将考点判定规则下一顺序的考点判定规则作为目标视频帧所需满足的考点判定规则;If described analysis result is to meet the test site determination rule, then the test site determination rule of the next sequence of the test site determination rule is used as the test site determination rule that the target video frame needs to satisfy;

如果所述分析结果为不满足考点判定规则,则将前一帧目标视频帧的考点判定规则作为目标视频帧所需满足的考点判定规则。If the analysis result does not satisfy the test point determination rule, the test point determination rule of the previous target video frame is used as the test point determination rule that the target video frame needs to satisfy.

其中,当上述指令被上述设备执行时,使得上述设备执行所述获得目标视频帧所需满足的考点判定规则的步骤包括:Wherein, when the above-mentioned instruction is executed by the above-mentioned device, the step of causing the above-mentioned device to execute the test point judgment rule that needs to be satisfied for obtaining the target video frame includes:

获得目标视频帧的前n帧目标视频帧基于考点判定规则的分析结果;n大于1;Obtain the analysis result of the first n frames of the target video frame of the target video frame based on the test point judgment rule; n is greater than 1;

判断分析结果为满足所述考点判定规则的连续数量是否等于n;Judgment analysis result is whether the continuous quantity that satisfies the test site determination rule is equal to n;

如果连续数量大于0小于n,将考点判定规则以及考点判定规则下一顺序的考点判定规则作为目标视频帧所需满足的考点判定规则;If the continuous quantity is greater than 0 and less than n, the test site determination rule of the test site determination rule and the test site determination rule next order is used as the test site determination rule that the target video frame needs to satisfy;

如果连续数量等于0,将考点判定规则作为目标视频帧所需满足的考点判定规则;If the continuous number is equal to 0, the test site determination rule is used as the test site determination rule that the target video frame needs to satisfy;

如果连续数量等于n,将考点判定规则下一顺序的考点判定规则作为目标视频帧所需满足的考点判定规则。If the continuous number is equal to n, the test site determination rule in the next order of the test site determination rule is used as the test site determination rule that the target video frame needs to satisfy.

其中,当上述指令被上述设备执行时,使得上述设备执行所述获得目标视频帧所需满足的考点判定规则的步骤包括:Wherein, when the above-mentioned instruction is executed by the above-mentioned device, the step of causing the above-mentioned device to execute the test point judgment rule that needs to be satisfied for obtaining the target video frame includes:

获得持续目标视频帧数不满足持续帧数要求的考点判定规则,将获得的考点判定规则作为目标视频帧所需满足的考点判定规则。Obtain the test site determination rule that the continuous target video frame number does not meet the continuous frame number requirement, and use the obtained test site determination rule as the test site determination rule that the target video frame needs to meet.

图8所示的电子设备可以是终端设备也可以是内置于上述终端设备的电路设备。该设备可以用于执行本申请图2~图4所示实施例提供的方法中的功能/步骤。The electronic device shown in FIG. 8 may be a terminal device or a circuit device built in the above-mentioned terminal device. The device may be used to execute the functions/steps in the methods provided by the embodiments shown in FIG. 2 to FIG. 4 of this application.

如图8所示,电子设备800包括处理器810和收发器820。可选地,该电子设备800还可以包括存储器830。其中,处理器810、收发器820和存储器830之间可以通过内部连接通路互相通信,传递控制和/或数据信号,该存储器830用于存储计算机程序,该处理器810用于从该存储器830中调用并运行该计算机程序。As shown in FIG. 8 , an electronic device 800 includes a processor 810 and a transceiver 820 . Optionally, the electronic device 800 may also include a memory 830 . Among them, the processor 810, the transceiver 820, and the memory 830 can communicate with each other through an internal connection path, and transmit control and/or data signals. call and run the computer program.

上述存储器830可以是只读存储器(read-only memory,ROM)、可存储静态信息和指令的其它类型的静态存储设备、随机存取存储器(random access memory,RAM)或可存储信息和指令的其它类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compactdisc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其它磁存储设备,或者还可以是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其它介质等。The above-mentioned memory 830 may be a read-only memory (read-only memory, ROM), other types of static storage devices that can store static information and instructions, random access memory (random access memory, RAM), or other types that can store information and instructions. Type of dynamic storage device, also can be electrically erasable programmable read-only memory (electrically erasable programmable read-only memory, EEPROM), read-only disc (compactdisc read-only memory, CD-ROM) or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and Any other medium that can be accessed by a computer, etc.

可选地,电子设备800还可以包括天线840,用于将收发器820输出的无线信号发送出去。Optionally, the electronic device 800 may further include an antenna 840 configured to send out the wireless signal output by the transceiver 820 .

上述处理器810可以和存储器830可以合成一个处理装置,更常见的是彼此独立的部件,处理器810用于执行存储器830中存储的程序代码来实现上述功能。具体实现时,该存储器830也可以集成在处理器810中,或者,独立于处理器810。The above-mentioned processor 810 and the memory 830 can be combined into a processing device, more commonly, they are components independent of each other, and the processor 810 is used to execute the program code stored in the memory 830 to realize the above-mentioned functions. During specific implementation, the memory 830 may also be integrated in the processor 810 , or be independent of the processor 810 .

除此之外,为了使得电子设备800的功能更加完善,该电子设备800还可以包括输入单元860、显示单元870、音频电路880、摄像装置890和传感器801等中的一个或多个,所述音频电路还可以包括扬声器882、麦克风884等。其中,显示单元870可以包括显示屏。In addition, in order to make the functions of the electronic device 800 more perfect, the electronic device 800 may also include one or more of an input unit 860, a display unit 870, an audio circuit 880, a camera 890, and a sensor 801, etc., the Audio circuitry may also include a speaker 882, a microphone 884, and the like. Wherein, the display unit 870 may include a display screen.

可选地,上述电子设备800还可以包括电源850,用于给终端设备中的各种器件或电路提供电源。Optionally, the electronic device 800 may further include a power supply 850, configured to provide power to various devices or circuits in the terminal device.

应理解,图8所示的电子设备800能够实现本申请图2~图4所示实施例提供的方法的各个过程。电子设备800中的各个模块的操作和/或功能,分别为了实现上述方法实施例中的相应流程。具体可参见本申请图2~图4所示方法实施例中的描述,为避免重复,此处适当省略详细描述。It should be understood that the electronic device 800 shown in FIG. 8 can implement various processes of the methods provided in the embodiments shown in FIGS. 2 to 4 of this application. The operations and/or functions of the various modules in the electronic device 800 are respectively intended to implement the corresponding processes in the foregoing method embodiments. For details, refer to the descriptions in the method embodiments shown in FIGS. 2 to 4 of the present application. To avoid repetition, detailed descriptions are appropriately omitted here.

应理解,图8所示的电子设备800中的处理器810可以是片上系统SOC,该处理器810中可以包括中央处理器(Central Processing Unit;以下简称:CPU),还可以进一步包括其他类型的处理器,例如:图像处理器(Graphics Processing Unit;以下简称:GPU)等。It should be understood that the processor 810 in the electronic device 800 shown in FIG. 8 may be a system-on-chip SOC, and the processor 810 may include a central processing unit (Central Processing Unit; hereinafter referred to as: CPU), and may further include other types of A processor, for example: an image processor (Graphics Processing Unit; hereinafter referred to as: GPU) and the like.

总之,处理器810内部的各部分处理器或处理单元可以共同配合实现之前的方法流程,且各部分处理器或处理单元相应的软件程序可存储在存储器830中。In short, each part of the processors or processing units inside the processor 810 can cooperate to implement the previous method flow, and the corresponding software programs of each part of the processors or processing units can be stored in the memory 830 .

本申请还提供一种电子设备,所述设备包括存储介质和中央处理器,所述存储介质可以是非易失性存储介质,所述存储介质中存储有计算机可执行程序,所述中央处理器与所述非易失性存储介质连接,并执行所述计算机可执行程序以实现本申请图1~图5所示实施例提供的方法。The present application also provides an electronic device, the device includes a storage medium and a central processing unit, the storage medium may be a non-volatile storage medium, a computer executable program is stored in the storage medium, and the central processing unit and the The non-volatile storage medium is connected and executes the computer executable program to implement the method provided by the embodiments shown in FIGS. 1 to 5 of this application.

以上各实施例中,涉及的处理器可以例如包括CPU、DSP、微控制器或数字信号处理器,还可包括GPU、嵌入式神经网络处理器(Neural-network Process Units;以下简称:NPU)和图像信号处理器(Image Signal Processing;以下简称:ISP),该处理器还可包括必要的硬件加速器或逻辑处理硬件电路,如ASIC,或一个或多个用于控制本申请技术方案程序执行的集成电路等。此外,处理器可以具有操作一个或多个软件程序的功能,软件程序可以存储在存储介质中。In each of the above embodiments, the processor involved may include, for example, a CPU, a DSP, a microcontroller or a digital signal processor, and may also include a GPU, an embedded neural network processor (Neural-network Process Units; hereinafter referred to as: NPU) and Image Signal Processing (hereinafter referred to as: ISP), the processor can also include necessary hardware accelerators or logic processing hardware circuits, such as ASIC, or one or more integrated circuits for controlling the execution of the program of the technical solution of this application circuit etc. In addition, the processor may have the function of operating one or more software programs, which may be stored in the storage medium.

本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机执行本申请图2~图4所示实施例提供的方法。The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program. When it is run on a computer, the computer executes the program provided by the embodiments shown in FIGS. 2 to 4 of the present application. method.

本申请实施例还提供一种计算机程序产品,该计算机程序产品包括计算机程序,当其在计算机上运行时,使得计算机执行本申请图2~图4所示实施例提供的方法。The embodiment of the present application also provides a computer program product, the computer program product includes a computer program, and when it is run on a computer, it causes the computer to execute the method provided in the embodiments shown in FIG. 2 to FIG. 4 of the present application.

本申请实施例中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示单独存在A、同时存在A和B、单独存在B的情况。其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项”及其类似表达,是指的这些项中的任意组合,包括单项或复数项的任意组合。例如,a,b和c中的至少一项可以表示:a,b,c,a和b,a和c,b和c或a和b和c,其中a,b,c可以是单个,也可以是多个。In the embodiments of the present application, "at least one" means one or more, and "multiple" means two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three kinds of relationships, for example, A and/or B may indicate that A exists alone, A and B exist simultaneously, or B exists alone. Among them, A and B can be singular or plural. The character "/" generally indicates that the contextual objects are an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, and c can represent: a, b, c, a and b, a and c, b and c or a and b and c, where a, b, c can be single, or Can be multiple.

本领域普通技术人员可以意识到,本文中公开的实施例中描述的各单元及算法步骤,能够以电子硬件、计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can appreciate that each unit and algorithm steps described in the embodiments disclosed herein can be realized by a combination of electronic hardware, computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

在本申请所提供的几个实施例中,任一功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory;以下简称:ROM)、随机存取存储器(Random Access Memory;以下简称:RAM)、磁碟或者光盘等各种可以存储程序代码的介质。In several embodiments provided in this application, if any function is realized in the form of a software function 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 the 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 Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory; hereinafter referred to as ROM), random access memory (Random Access Memory; hereinafter referred to as RAM), magnetic disk or optical disc, etc. A medium on which program code can be stored.

以上所述,仅为本申请的具体实施方式,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。本申请的保护范围应以所述权利要求的保护范围为准。The foregoing is only a specific implementation of the present application. Any person skilled in the art within the technical scope disclosed in the present application can easily think of changes or substitutions, which should be covered by the protection scope of the present application. The protection scope of the present application shall be based on the protection scope of the claims.

Claims (10)

1. A method for analyzing a test point of a chemical experiment, comprising:
for each target video frame in the operation video, identifying a chemical vessel from the target video frame; the operation video is shot by a camera device positioned in front of and/or above the chemical experiment table;
analyzing whether the image state information of the chemical vessels and/or the position relation among the chemical vessels meet the examination point judging rule or not to obtain an analysis result of the target video frame based on the examination point judging rule;
obtaining an analysis result of each examination point according to the analysis result of the target video frame based on the examination point judgment rule;
the examination point judging rule comprises the following steps: the texture and/or color difference of the image in the beaker does not exceed a preset threshold; the analyzing whether the image state information of the chemical vessel meets the examination point judging rule comprises the following steps: analyzing whether texture and/or color differences of the image within the beaker exceed a preset threshold.
2. The method of claim 1, wherein identifying a chemical vessel from the target video frame comprises:
detecting the region of the chemical vessel from the target video frame;
identifying boundary keypoints of the chemical vessel from the region;
and connecting the boundary key points to obtain the boundary line of the chemical vessel.
3. The method of claim 2, wherein detecting the region of the chemical vessel from the target video frame comprises:
inputting the target video frame into a pre-trained model for detecting the region where the chemical vessel is located, and obtaining the region where each chemical vessel is located in the target video frame; the model is obtained by inputting video images of the areas marked with the chemical vessels as samples into a deep learning framework and a target detection network for training.
4. A method according to any one of claims 1 to 3, wherein analyzing whether the image state information of the chemical vessels and/or the positional relationship between the chemical vessels satisfies the examination point determination rule, to obtain the analysis result of the target video frame based on the examination point determination rule, comprises:
Obtaining a test point judging rule which needs to be met by a target video frame;
and analyzing whether the image state information of the chemical vessels and/or the position relation among the chemical vessels meet the obtained examination point judging rule or not to obtain an analysis result of the target video frame based on the examination point judging rule.
5. The method of claim 4, wherein the point of interest determination rule to be satisfied for obtaining the target video frame comprises:
obtaining an analysis result of a target video frame of a previous frame of the target video frame based on a test point judgment rule;
if the analysis result is that the examination point judging rule is met, taking the examination point judging rule of the next sequence of the examination point judging rule as the examination point judging rule which needs to be met by the target video frame;
and if the analysis result is that the examination point judging rule is not satisfied, taking the examination point judging rule of the target video frame of the previous frame as the examination point judging rule which is required to be satisfied by the target video frame.
6. The method of claim 4, wherein the point of interest determination rule to be satisfied for obtaining the target video frame comprises:
obtaining an analysis result of the first n frames of target video frames based on the examination point judgment rule; n is greater than 1;
Judging whether the analysis result is that the continuous number meeting the examination point judgment rule is equal to n;
if the continuous number is more than 0 and less than n, taking the examination point judgment rule and the examination point judgment rule of the next sequence of the examination point judgment rule as the examination point judgment rule which needs to be met by the target video frame;
if the continuous number is equal to 0, taking the examination point judgment rule as an examination point judgment rule which needs to be met by the target video frame;
and if the continuous number is equal to n, taking the next sequential examination point judgment rule of the examination point judgment rules as the examination point judgment rule required to be met by the target video frame.
7. The method of claim 4, wherein the point of interest determination rule to be satisfied for obtaining the target video frame comprises:
and obtaining a test point judging rule that the continuous target video frame number does not meet the continuous frame number requirement, and taking the obtained test point judging rule as the test point judging rule required to be met by the target video frame.
8. A point of care analysis device for a chemical experiment, comprising:
an identification unit for identifying a chemical vessel from the target video frames for each of the target video frames in the operation video; the operation video is shot by a camera device positioned in front of and/or above the chemical experiment table;
The analysis unit is used for analyzing whether the image state information of the chemical vessels and/or the position relation among the chemical vessels meet the examination point judgment rule or not to obtain an analysis result of the target video frame based on the examination point judgment rule;
the acquisition unit is used for acquiring an analysis result of each examination point based on the analysis result of the examination point judgment rule according to the target video frame;
the examination point judging rule comprises the following steps: the texture and/or color difference of the image in the beaker does not exceed a preset threshold; in order to realize the analysis of whether the image state information of the chemical vessel meets the examination point judging rule, the analysis unit is specifically used for: analyzing whether texture and/or color differences of the image within the beaker exceed a preset threshold.
9. An electronic device, comprising:
one or more processors; a memory; wherein one or more computer programs are stored in the memory, the one or more computer programs comprising instructions, which when executed by the processor, cause the electronic device to perform the steps of:
for each target video frame in the operation video, identifying a chemical vessel from the target video frame; the operation video is shot by a camera device positioned in front of and/or above the chemical experiment table;
Analyzing whether the image state information of the chemical vessels and/or the position relation among the chemical vessels meet the examination point judging rule or not to obtain an analysis result of the target video frame based on the examination point judging rule;
obtaining an analysis result of each examination point according to the analysis result of the target video frame based on the examination point judgment rule;
the examination point judging rule comprises the following steps: the texture and/or color difference of the image in the beaker does not exceed a preset threshold; the analyzing whether the image state information of the chemical vessel meets the examination point judging rule comprises the following steps: analyzing whether texture and/or color differences of the image within the beaker exceed a preset threshold.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program which, when run on a computer, causes the computer to perform the method according to any of claims 1-7.
CN202010171865.XA 2020-03-12 2020-03-12 Examination point analysis method and device for chemical experiment Active CN111753624B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010171865.XA CN111753624B (en) 2020-03-12 2020-03-12 Examination point analysis method and device for chemical experiment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010171865.XA CN111753624B (en) 2020-03-12 2020-03-12 Examination point analysis method and device for chemical experiment

Publications (2)

Publication Number Publication Date
CN111753624A CN111753624A (en) 2020-10-09
CN111753624B true CN111753624B (en) 2023-08-22

Family

ID=72672984

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010171865.XA Active CN111753624B (en) 2020-03-12 2020-03-12 Examination point analysis method and device for chemical experiment

Country Status (1)

Country Link
CN (1) CN111753624B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115239940A (en) * 2022-06-24 2022-10-25 上海锡鼎智能科技有限公司 Three-layer filter paper positioning method for crude brine filtering experiment in intelligent evaluation of physicochemical students
CN115424005A (en) * 2022-07-27 2022-12-02 上海大风实验室设备有限公司 A scoring method for high school entrance examination experiments based on visual intelligence
CN115496339A (en) * 2022-09-01 2022-12-20 杭州海康威视数字技术股份有限公司 Electrical experiment analysis method, device and storage medium
CN115880570A (en) * 2022-11-18 2023-03-31 成都西交智汇大数据科技有限公司 Method, device, equipment and readable storage medium for detecting stop position of glass rod
CN116012652B (en) * 2023-01-18 2026-02-24 上海媒智科技有限公司 Method and system for judging whether filter paper experiment scores
CN115984752B (en) * 2023-01-18 2026-02-24 上海媒智科技有限公司 Method and system for judging whether beaker experiment scores

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106920429A (en) * 2015-12-24 2017-07-04 中国移动通信集团公司 A kind of information processing method and device
CN109035091A (en) * 2018-07-25 2018-12-18 深圳市异度信息产业有限公司 A kind of scoring method, device and equipment for student experimenting
CN109271886A (en) * 2018-08-29 2019-01-25 武汉大学 A kind of the human body behavior analysis method and system of examination of education monitor video
CN109727172A (en) * 2019-03-18 2019-05-07 上海中科教育装备集团有限公司 A kind of artificial intelligence machine study experimental skill points-scoring system
CN110090424A (en) * 2019-04-28 2019-08-06 福建省通通发科技发展有限公司 A kind of judgment system for the examination of football around rod
CN110765814A (en) * 2018-07-26 2020-02-07 杭州海康威视数字技术股份有限公司 A blackboard writing behavior recognition method, device and camera
CN110765967A (en) * 2019-10-30 2020-02-07 腾讯科技(深圳)有限公司 Action recognition method based on artificial intelligence and related device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070117083A1 (en) * 2005-11-21 2007-05-24 Winneg Douglas M Systems, methods and apparatus for monitoring exams
US20180225982A1 (en) * 2010-01-15 2018-08-09 ProctorU, INC. System for online automated exam proctoring

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106920429A (en) * 2015-12-24 2017-07-04 中国移动通信集团公司 A kind of information processing method and device
CN109035091A (en) * 2018-07-25 2018-12-18 深圳市异度信息产业有限公司 A kind of scoring method, device and equipment for student experimenting
CN110765814A (en) * 2018-07-26 2020-02-07 杭州海康威视数字技术股份有限公司 A blackboard writing behavior recognition method, device and camera
CN109271886A (en) * 2018-08-29 2019-01-25 武汉大学 A kind of the human body behavior analysis method and system of examination of education monitor video
CN109727172A (en) * 2019-03-18 2019-05-07 上海中科教育装备集团有限公司 A kind of artificial intelligence machine study experimental skill points-scoring system
CN110090424A (en) * 2019-04-28 2019-08-06 福建省通通发科技发展有限公司 A kind of judgment system for the examination of football around rod
CN110765967A (en) * 2019-10-30 2020-02-07 腾讯科技(深圳)有限公司 Action recognition method based on artificial intelligence and related device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Video reports as a novel alternate assessment in the undergraduate chemistry laboratory;Mitzy A. Erdmann等;Chemistry Education Research and Practice;第2014卷(第15期);650-657 *

Also Published As

Publication number Publication date
CN111753624A (en) 2020-10-09

Similar Documents

Publication Publication Date Title
CN111753624B (en) Examination point analysis method and device for chemical experiment
WO2020151489A1 (en) Living body detection method based on facial recognition, and electronic device and storage medium
WO2019206209A1 (en) Machine learning-based fundus image detection method, apparatus, and system
CN108154105A (en) Aquatic organism detects and recognition methods, device, server and terminal device
WO2018099194A1 (en) Character identification method and device
CN113095124A (en) Face living body detection method and device and electronic equipment
JP7036401B2 (en) Learning server, image collection support system for insufficient learning, and image estimation program for insufficient learning
CN108596338A (en) A kind of acquisition methods and its system of neural metwork training collection
WO2019222964A1 (en) Method for determining detection equipment, detection device and readable storage medium
CN107992199A (en) Emotion recognition method and system for electronic equipment and electronic equipment
CN110287862B (en) Anti-candid camera detection method based on deep learning
CN106060142A (en) Mobile phone capable of checking eyesight, and method for checking eyesight by using mobile phone
CN108764176A (en) A kind of action sequence recognition methods, system and equipment and storage medium
CN110889421A (en) Target detection method and device
CN110659568A (en) Vehicle inspection method and device
CN103458111A (en) Mobile phone intelligent sleeping method
CN111986155A (en) Universal scene character recognition method and device
EP4064113A1 (en) User information detection method and system, and electronic device
CN110175975A (en) Method for checking object, device, computer readable storage medium and computer equipment
US11908137B2 (en) Method, device and equipment for identifying and detecting macular region in fundus image
CN110298569B (en) Learning evaluation method and device based on eye movement recognition
CN104407699B (en) A kind of man-machine interaction method, apparatus and system
CN115359412A (en) Hydrochloric acid neutralization experiment scoring method, device, equipment and readable storage medium
CN114627518B (en) Data processing method, device, computer readable storage medium and processor
CN111950591B (en) Model training method, interactive relationship recognition method, device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant