[go: up one dir, main page]

CN112200036A - Student behavior remote monitoring method and system - Google Patents

Student behavior remote monitoring method and system Download PDF

Info

Publication number
CN112200036A
CN112200036A CN202011048828.6A CN202011048828A CN112200036A CN 112200036 A CN112200036 A CN 112200036A CN 202011048828 A CN202011048828 A CN 202011048828A CN 112200036 A CN112200036 A CN 112200036A
Authority
CN
China
Prior art keywords
image
student
pixel
images
value
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.)
Pending
Application number
CN202011048828.6A
Other languages
Chinese (zh)
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.)
Shanghai Squirrel Classroom Artificial Intelligence Technology Co Ltd
Original Assignee
Shanghai Squirrel Classroom Artificial Intelligence 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 Shanghai Squirrel Classroom Artificial Intelligence Technology Co Ltd filed Critical Shanghai Squirrel Classroom Artificial Intelligence Technology Co Ltd
Priority to CN202011048828.6A priority Critical patent/CN112200036A/en
Publication of CN112200036A publication Critical patent/CN112200036A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/30Noise filtering
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/52Surveillance or monitoring of activities, e.g. for recognising suspicious objects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Multimedia (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

The invention provides a remote monitoring method and a remote monitoring system for student behaviors, which can carry out video shooting on a student and extract a plurality of corresponding images, determine a corresponding target image pair according to pixel correlation information of two adjacent preprocessed images, finally judge whether the student behaviors are normal or not according to image similarity between the two images contained in the target image pair, and carry out corresponding warning operation.

Description

学生行为远程监控方法和系统Method and system for remote monitoring of student behavior

技术领域technical field

本发明涉及智能教育的技术领域,特别涉及学生行为远程监控方法和系统。The invention relates to the technical field of intelligent education, in particular to a method and system for remote monitoring of student behavior.

背景技术Background technique

目前,对学生在上课过程中的行为监控通常是对学生进行跟踪拍摄来实现的,其具体通过拍摄关于学生的上课视频,并对该上课视频进行人工的逐帧浏览筛选来判断学生在上课过程中是否存在异常行为。但是。上述行为监控方式不仅需要耗费大量的人力物力来对海量的视频数据进行浏览筛选,并且通过人工方式来进行浏览筛选很容易出现浏览遗漏的情况,此外上述行为监控方式并不能有效的和准确地甄别出学生做出的细微异常行为,从而严重地影响学生行为监控的自动性、可靠性和准确性。可见,现有技术需要能够对学生在上课过程中的行为状态进行全面的、自动的和准确的远程监控,从而有效地甄别出学生做出的各种不同类型的异常行为。At present, the behavior monitoring of students in the course of class is usually realized by tracking and photographing the students. Specifically, by shooting a class video about the students, and manually browsing and screening the class video frame by frame, it is judged that the students are in the class process. Whether there is abnormal behavior in . but. The above behavior monitoring methods not only require a lot of manpower and material resources to browse and screen massive video data, but also browse and screen by manual methods are prone to browsing omissions. In addition, the above behavior monitoring methods cannot be effectively and accurately screened. This will seriously affect the automaticity, reliability and accuracy of student behavior monitoring. It can be seen that the existing technology needs to be able to conduct comprehensive, automatic and accurate remote monitoring of the behavior status of students during class, so as to effectively identify various types of abnormal behaviors made by students.

发明内容SUMMARY OF THE INVENTION

针对现有技术存在的缺陷,本发明提供学生行为远程监控方法和系统,其通过对学生进行拍摄,以此获得该学生在预设时间段内的视频,并对该视频进行图像提取处理,从而获得若干图像,并对若干该图像进行预处理后,获取任意两个相邻的该图像之间的像素相关性信息,并根据该像素相关性信息,确定其中相邻的两个该图像作为目标图像对,再获取该目标图像对包含的两个图像之间的图像相似度信息,并根据该图像相似度信息,判断该学生的行为是否正常,再根据该判断的结果,进行相应的警示操作;可见,该学生行为远程监控方法和系统能够对学生进行视频拍摄并提取其中对应的若干图像,并根据预处理后的相邻两个图像的像素相关性信息确定相应的目标图像对,最后根据目标图像对包含的两个图像之间的图像相似度判断学生的行为正常与否,并做出相应的警示操作,其能够从像素层面上对拍摄得到的图像进行细化分析,以对学生在上课过程中的行为状态进行全面的、自动的和准确的远程监控,从而有效地甄别出学生做出的各种不同类型的异常行为。In view of the defects in the prior art, the present invention provides a method and system for remote monitoring of student behavior, which obtains a video of the student within a preset time period by photographing the student, and performs image extraction processing on the video, thereby After obtaining several images and preprocessing several images, obtain the pixel correlation information between any two adjacent images, and according to the pixel correlation information, determine the two adjacent images as targets image pair, and then obtain the image similarity information between the two images included in the target image pair, and according to the image similarity information, determine whether the student's behavior is normal, and then carry out corresponding warning operations according to the judgment result. ; It can be seen that the method and system for remote monitoring of student behavior can shoot video of students and extract several corresponding images, and determine the corresponding target image pair according to the pixel correlation information of the two adjacent images after preprocessing, and finally according to The image similarity between the two images included in the target image pair judges whether the student's behavior is normal or not, and makes corresponding warning operations. Comprehensive, automatic and accurate remote monitoring of the behavior status in the course of class, so as to effectively identify various types of abnormal behaviors made by students.

本发明提供学生行为远程监控方法,其特征在于,其包括如下步骤:The present invention provides a method for remote monitoring of student behavior, characterized in that it comprises the following steps:

步骤S1,对学生进行拍摄,以此获得所述学生在预设时间段内的视频,并对所述视频进行图像提取处理,从而获得若干图像;Step S1, photographing a student to obtain a video of the student within a preset time period, and performing image extraction processing on the video to obtain several images;

步骤S2,对若干所述图像进行预处理后,获取任意两个相邻的所述图像之间的像素相关性信息,并根据所述像素相关性信息,确定其中相邻的两个所述图像作为目标图像对;Step S2, after preprocessing several of the images, obtain pixel correlation information between any two adjacent said images, and determine two adjacent said images according to the pixel correlation information as the target image pair;

步骤S3,获取所述目标图像对包含的两个图像之间的图像相似度信息,并根据所述图像相似度信息,判断所述学生的行为是否正常,再根据所述判断的结果,进行相应的警示操作;Step S3, obtain the image similarity information between the two images included in the target image pair, and according to the image similarity information, judge whether the behavior of the student is normal, and then according to the result of the judgment, carry out corresponding steps. warning operation;

进一步,在所述步骤S1中,对学生进行拍摄,以此获得所述学生在预设时间段内的视频,并所述视频进行图像提取处理,从而获得若干图像具体包括:Further, in the step S1, the student is photographed to obtain a video of the student within a preset time period, and the video is subjected to image extraction processing, so as to obtain several images including:

步骤S101,对所述学生进行全景拍摄,以此获得所述学生在所述预设时间段内的视频;Step S101, taking a panoramic shot of the student to obtain a video of the student within the preset time period;

步骤S102,按照预定时间间隔以及沿着所述视频的正向播放时序,对所述视频进行图像提取处理,从而获得若干图像;Step S102, performing image extraction processing on the video according to a predetermined time interval and along the forward playback sequence of the video, thereby obtaining several images;

进一步,在所述步骤S2中,对若干所述图像进行预处理后,获取任意两个相邻的所述图像之间的像素相关性信息,并根据所述像素相关性信息,确定其中相邻的两个所述图像作为目标图像对具体包括:Further, in the step S2, after preprocessing several of the images, obtain pixel correlation information between any two adjacent images, and determine the adjacent pixels according to the pixel correlation information. The two described images as the target image pair specifically include:

步骤S201,对若干所述图像依次进行卡尔曼滤波降噪处理和图像像素平滑化处理;Step S201, performing Kalman filtering noise reduction processing and image pixel smoothing processing on several of the images in sequence;

步骤S202,将每一个所述图像划分为N个面积相同的矩形图像子区域,并根据下面公式(1),确定任意两个相邻的图像之间的像素线性相关系数:In step S202, each of the images is divided into N rectangular image sub-regions with the same area, and the pixel linear correlation coefficient between any two adjacent images is determined according to the following formula (1):

Figure BDA0002708883220000031
Figure BDA0002708883220000031

在上述公式(1)中,R(a,b)表示相邻的图像a和图像b之间的像素线性相关系数,Si表示图像b的第i个矩形图像子区域的像素色度值,Gi表示图像a的第i个矩形图像子区域的像素色度值,Fi表示图像b的第i个矩形图像子区域的像素纹理值,Ki表示图像a的第i个矩形图像子区域的像素纹理值,θ表示预设色度权重值、且其取值为0.4,δ表示预设纹理权重值、且其取值为0.6,X表示图像a和图像b的共同修正系数、且其取值为[0.7,0.9];In the above formula (1), R(a, b) represents the pixel linear correlation coefficient between adjacent image a and image b, S i represents the pixel chromaticity value of the ith rectangular image sub-region of image b, G i represents the pixel chromaticity value of the ith rectangular image sub-region of image a, F i represents the pixel texture value of the ith rectangular image sub-region of image b, and K i represents the ith rectangular image sub-region of image a The pixel texture value of the The value is [0.7, 0.9];

步骤S203,将相邻的图像a和图像b之间的像素线性相关系数R(a,b)与预设像素线性相关阈值进行比对,若所述像素线性相关系数R(a,b)大于或者等于所述预设像素线性相关阈值,则将当前相邻的图像a和图像b作为所述目标图像对,否则,重复上述步骤S202计算下一组相邻的两个图像之间的像素线性相关系数,直到计算得到的像素线性相关系数大于或者等于所述预设像素线性相关阈值为止;Step S203, compare the pixel linear correlation coefficient R(a, b) between the adjacent image a and the image b with the preset pixel linear correlation threshold, if the pixel linear correlation coefficient R(a, b) is greater than or equal to the preset pixel linear correlation threshold, then the current adjacent image a and image b are used as the target image pair, otherwise, repeat the above step S202 to calculate the pixel linearity between the next group of adjacent two images correlation coefficient, until the calculated pixel linear correlation coefficient is greater than or equal to the preset pixel linear correlation threshold;

进一步,在所述步骤S3中,获取所述目标图像对包含的两个图像之间的图像相似度信息,并根据所述图像相似度信息,判断所述学生的行为是否正常,再根据所述判断的结果,进行相应的警示操作具体包括:Further, in the step S3, the image similarity information between the two images included in the target image pair is obtained, and according to the image similarity information, it is judged whether the behavior of the student is normal, and then according to the image similarity information As a result of the judgment, corresponding warning operations are performed, including:

步骤S301,根据下面公式(2),确定所述目标图像对包含的两个图像之间的图像相似度值:Step S301, according to the following formula (2), determine the image similarity value between the two images included in the target image pair:

Figure BDA0002708883220000032
Figure BDA0002708883220000032

在上述公式(2)中,sim表示所述目标图像对包含的两个图像之间的图像相似度值,Md表示所述目标图像对中的一个图像对应的N个矩形图像子区域中包含有所述学生躯体相关像素的矩形图像子区域的数量,Qc表示所述目标图像对中的另一个图像对应的N个矩形图像子区域中包含有所述学生躯体相关像素的矩形图像子区域的数量,Uj表示所述目标图像对中的一个图像包含有所述学生躯体相关像素的矩形图像子区域的第j个矩形图像子区域的像素纹理值,Tv表示所述目标图像对中的另一个图像包含有所述学生躯体相关像素的矩形图像子区域的第v个矩形图像子区域的像素纹理值,ε表示第一纹理补偿系数、且其取值为[0.1,0.15],β表示第二纹理补偿系数、且其取值为[0.05,0.15];In the above formula (2), sim represents the image similarity value between two images included in the target image pair, and M d represents the N rectangular image sub-regions corresponding to one image in the target image pair. The number of rectangular image sub-regions with the student body-related pixels, Q c represents the rectangular image sub-regions containing the student body-related pixels in the N rectangular image sub-regions corresponding to the other image in the target image pair , U j represents the pixel texture value of the j-th rectangular image sub-region of the rectangular image sub-region where one image in the target image pair contains pixels related to the student body, and T v represents the target image pair The other image contains the pixel texture value of the vth rectangular image sub-region of the rectangular image sub-region of the student body-related pixels, ε represents the first texture compensation coefficient, and its value is [0.1, 0.15], β represents the second texture compensation coefficient, and its value is [0.05, 0.15];

步骤S302,将所述图像相似度值sim与预设图像相似度阈值进行比对,若所述图像相似度值sim大于或等于所述预设图像相似度阈值,则判断所述学生的行为异常,否则,判断所述学生的行为正常;Step S302, compare the image similarity value sim with a preset image similarity threshold, and if the image similarity value sim is greater than or equal to the preset image similarity threshold, determine that the student's behavior is abnormal , otherwise, judge that the student's behavior is normal;

步骤S303,当判断所述学生的行为异常时,对所述学生发出语音警示信息。Step S303, when it is judged that the student's behavior is abnormal, a voice warning message is issued to the student.

本发明还提供学生行为远程监控系统,其特征在于,其包括视频拍摄模块、图像提取模块、目标图像对确定模块、学生行为状态判断模块和警示操作模块;其中,The present invention also provides a remote monitoring system for student behavior, which is characterized in that it includes a video shooting module, an image extraction module, a target image pair determination module, a student behavior state judgment module, and a warning operation module; wherein,

所述视频拍摄模块用于对学生进行拍摄,以此获得所述学生在预设时间段内的视频;The video shooting module is used for shooting students, so as to obtain a video of the students in a preset time period;

所述图像提取模块用于对所述视频进行图像提取处理,从而获得若干图像;The image extraction module is configured to perform image extraction processing on the video to obtain several images;

所述目标图像对确定模块用于对若干所述图像进行预处理后,获取任意两个相邻的所述图像之间的像素相关性信息,并根据所述像素相关性信息,确定其中相邻的两个所述图像作为目标图像对;The target image pair determination module is used to obtain pixel correlation information between any two adjacent said images after preprocessing a number of said images, and according to said pixel correlation information, determine the adjacent ones. The two described images are used as the target image pair;

所述学生行为状态判断模块用于获取所述目标图像对包含的两个图像之间的图像相似度信息,并根据所述图像相似度信息,判断所述学生的行为是否正常;The student behavior state judging module is used to obtain image similarity information between two images included in the target image pair, and determine whether the student's behavior is normal according to the image similarity information;

所述警示操作模块用于根据所述判断的结果,进行相应的警示操作;The warning operation module is configured to perform a corresponding warning operation according to the judgment result;

进一步,所述视频拍摄模块对学生进行拍摄,以此获得所述学生在预设时间段内的视频具体包括:Further, the video shooting module shoots the student, so as to obtain the video of the student within the preset time period, specifically:

对所述学生进行全景拍摄,以此获得所述学生在所述预设时间段内的视频;Taking a panoramic shot of the student to obtain a video of the student within the preset time period;

以及,as well as,

所述图像提取模块对所述视频进行图像提取处理,从而获得若干图像具体包括:The image extraction module performs image extraction processing on the video, so as to obtain several images including:

按照预定时间间隔以及沿着所述视频的正向播放时序,对所述视频进行图像提取处理,从而获得若干图像;Perform image extraction processing on the video according to a predetermined time interval and along the forward playback sequence of the video, thereby obtaining several images;

进一步,所述目标图像对确定模块对若干所述图像进行预处理后,获取任意两个相邻的所述图像之间的像素相关性信息,并根据所述像素相关性信息,确定其中相邻的两个所述图像作为目标图像对具体包括:Further, after the target image pair determination module preprocesses several of the images, obtains pixel correlation information between any two adjacent said images, and determines, according to the pixel correlation information, among the adjacent images. The two described images as the target image pair specifically include:

对若干所述图像依次进行卡尔曼滤波降噪处理和图像像素平滑化处理;Performing Kalman filter noise reduction processing and image pixel smoothing processing on several of the images in sequence;

并将每一个所述图像划分为N个面积相同的矩形图像子区域,并根据下面公式(1),确定任意两个相邻的图像之间的像素线性相关系数:And each of the images is divided into N rectangular image sub-regions with the same area, and the pixel linear correlation coefficient between any two adjacent images is determined according to the following formula (1):

Figure BDA0002708883220000051
Figure BDA0002708883220000051

在上述公式(1)中,R(a,b)表示相邻的图像a和图像b之间的像素线性相关系数,Si表示图像b的第i个矩形图像子区域的像素色度值,Gi表示图像a的第i个矩形图像子区域的像素色度值,Fi表示图像b的第i个矩形图像子区域的像素纹理值,Ki表示图像a的第i个矩形图像子区域的像素纹理值,θ表示预设色度权重值、且其取值为0.4,δ表示预设纹理权重值、且其取值为0.6,X表示图像a和图像b的共同修正系数、且其取值为[0.7,0.9];In the above formula (1), R(a, b) represents the pixel linear correlation coefficient between adjacent image a and image b, S i represents the pixel chromaticity value of the ith rectangular image sub-region of image b, G i represents the pixel chromaticity value of the ith rectangular image sub-region of image a, F i represents the pixel texture value of the ith rectangular image sub-region of image b, and K i represents the ith rectangular image sub-region of image a The pixel texture value of the The value is [0.7, 0.9];

再将相邻的图像a和图像b之间的像素线性相关系数R(a,b)与预设像素线性相关阈值进行比对,若所述像素线性相关系数R(a,b)大于或者等于所述预设像素线性相关阈值,则将当前相邻的图像a和图像b作为所述目标图像对,否则,重复上述步骤S202计算下一组相邻的两个图像之间的像素线性相关系数,直到计算得到的像素线性相关系数大于或者等于所述预设像素线性相关阈值为止;Then compare the pixel linear correlation coefficient R(a, b) between the adjacent image a and the image b with the preset pixel linear correlation threshold, if the pixel linear correlation coefficient R(a, b) is greater than or equal to The preset pixel linear correlation threshold, then the current adjacent image a and image b are used as the target image pair, otherwise, repeat the above step S202 to calculate the pixel linear correlation coefficient between the next group of adjacent two images , until the calculated pixel linear correlation coefficient is greater than or equal to the preset pixel linear correlation threshold;

进一步,所述学生行为状态判断模块获取所述目标图像对包含的两个图像之间的图像相似度信息,并根据所述图像相似度信息,判断所述学生的行为是否正常具体包括:Further, the student behavior state judging module obtains image similarity information between two images included in the target image pair, and according to the image similarity information, judging whether the student's behavior is normal specifically includes:

根据下面公式(2),确定所述目标图像对包含的两个图像之间的图像相似度值:According to the following formula (2), determine the image similarity value between the two images included in the target image pair:

Figure BDA0002708883220000061
Figure BDA0002708883220000061

在上述公式(2)中,sim表示所述目标图像对包含的两个图像之间的图像相似度值,Md表示所述目标图像对中的一个图像对应的N个矩形图像子区域中包含有所述学生躯体相关像素的矩形图像子区域的数量,Qc表示所述目标图像对中的另一个图像对应的N个矩形图像子区域中包含有所述学生躯体相关像素的矩形图像子区域的数量,Uj表示所述目标图像对中的一个图像包含有所述学生躯体相关像素的矩形图像子区域的第j个矩形图像子区域的像素纹理值,Tv表示所述目标图像对中的另一个图像包含有所述学生躯体相关像素的矩形图像子区域的第v个矩形图像子区域的像素纹理值,ε表示第一纹理补偿系数、且其取值为[0.1,0.15],β表示第二纹理补偿系数、且其取值为[0.05,0.15];In the above formula (2), sim represents the image similarity value between two images included in the target image pair, and M d represents the N rectangular image sub-regions corresponding to one image in the target image pair. The number of rectangular image sub-regions with the student body-related pixels, Q c represents the rectangular image sub-regions containing the student body-related pixels in the N rectangular image sub-regions corresponding to the other image in the target image pair , U j represents the pixel texture value of the j-th rectangular image sub-region of the rectangular image sub-region where one image in the target image pair contains pixels related to the student body, and T v represents the target image pair The other image contains the pixel texture value of the vth rectangular image sub-region of the rectangular image sub-region of the student body-related pixels, ε represents the first texture compensation coefficient, and its value is [0.1, 0.15], β represents the second texture compensation coefficient, and its value is [0.05, 0.15];

并将所述图像相似度值sim与预设图像相似度阈值进行比对,若所述图像相似度值sim大于或等于所述预设图像相似度阈值,则判断所述学生的行为异常,否则,判断所述学生的行为正常;Comparing the image similarity value sim with a preset image similarity threshold, if the image similarity value sim is greater than or equal to the preset image similarity threshold, judge that the student's behavior is abnormal, otherwise , judging that the student's behavior is normal;

以及,as well as,

所述警示操作模块根据所述判断的结果,进行相应的警示操作具体包括:According to the result of the judgment, the warning operation module performs corresponding warning operations specifically including:

当判断所述学生的行为异常时,对所述学生发出语音警示信息。When it is judged that the student's behavior is abnormal, a voice warning message is issued to the student.

相比于现有技术,该学生行为远程监控方法和系统通过对学生进行拍摄,以此获得该学生在预设时间段内的视频,并对该视频进行图像提取处理,从而获得若干图像,并对若干该图像进行预处理后,获取任意两个相邻的该图像之间的像素相关性信息,并根据该像素相关性信息,确定其中相邻的两个该图像作为目标图像对,再获取该目标图像对包含的两个图像之间的图像相似度信息,并根据该图像相似度信息,判断该学生的行为是否正常,再根据该判断的结果,进行相应的警示操作;可见,该学生行为远程监控方法和系统能够对学生进行视频拍摄并提取其中对应的若干图像,并根据预处理后的相邻两个图像的像素相关性信息确定相应的目标图像对,最后根据目标图像对包含的两个图像之间的图像相似度判断学生的行为正常与否,并做出相应的警示操作,其能够从像素层面上对拍摄得到的图像进行细化分析,以对学生在上课过程中的行为状态进行全面的、自动的和准确的远程监控,从而有效地甄别出学生做出的各种不同类型的异常行为。Compared with the prior art, the method and system for remote monitoring of student behavior obtain a video of the student within a preset time period by photographing the student, and perform image extraction processing on the video to obtain several images, and After preprocessing several of the images, obtain the pixel correlation information between any two adjacent images, and according to the pixel correlation information, determine the two adjacent images as the target image pair, and then obtain The target image pair contains image similarity information between two images, and according to the image similarity information, it is judged whether the student's behavior is normal, and then according to the judgment result, a corresponding warning operation is performed; it can be seen that the student is The behavior remote monitoring method and system can shoot video of students and extract several corresponding images, and determine the corresponding target image pair according to the pixel correlation information of the preprocessed adjacent two images, and finally according to the target image pair contains the corresponding target image pair. The image similarity between the two images judges whether the student's behavior is normal or not, and makes corresponding warning operations, which can make detailed analysis of the captured images from the pixel level to analyze the students' behavior during class. Comprehensive, automatic and accurate remote monitoring of the status can effectively identify various types of abnormal behaviors made by students.

本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。Other features and advantages of the present invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description, claims, and drawings.

下面通过附图和实施例,对本发明的技术方案做进一步的详细描述。The technical solutions of the present invention will be further described in detail below through the accompanying drawings and embodiments.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.

图1为本发明提供的学生行为远程监控方法的流程示意图。FIG. 1 is a schematic flowchart of a method for remote monitoring of student behavior provided by the present invention.

图2为本发明提供的学生行为远程监控系统的结构示意图。FIG. 2 is a schematic structural diagram of a remote monitoring system for student behavior provided by the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

参阅图1,为本发明实施例提供的学生行为远程监控方法的流程示意图。该学生行为远程监控方法包括如下步骤:Referring to FIG. 1 , it is a schematic flowchart of a method for remotely monitoring student behavior according to an embodiment of the present invention. The method for remote monitoring of student behavior includes the following steps:

步骤S1,对学生进行拍摄,以此获得该学生在预设时间段内的视频,并对该视频进行图像提取处理,从而获得若干图像;Step S1, photographing the student to obtain a video of the student within a preset time period, and performing image extraction processing on the video to obtain several images;

步骤S2,对若干该图像进行预处理后,获取任意两个相邻的该图像之间的像素相关性信息,并根据该像素相关性信息,确定其中相邻的两个该图像作为目标图像对;Step S2, after preprocessing several of the images, obtain the pixel correlation information between any two adjacent images, and according to the pixel correlation information, determine the two adjacent images as the target image pair. ;

步骤S3,获取该目标图像对包含的两个图像之间的图像相似度信息,并根据该图像相似度信息,判断该学生的行为是否正常,再根据该判断的结果,进行相应的警示操作。Step S3: Obtain image similarity information between two images included in the target image pair, and determine whether the student's behavior is normal according to the image similarity information, and then perform corresponding warning operations according to the judgment result.

上述技术方案的有益效果为:该学生行为远程监控方法能够对学生进行视频拍摄并提取其中对应的若干图像,并根据预处理后的相邻两个图像的像素相关性信息确定相应的目标图像对,最后根据目标图像对包含的两个图像之间的图像相似度判断学生的行为正常与否,并做出相应的警示操作,其能够从像素层面上对拍摄得到的图像进行细化分析,以对学生在上课过程中的行为状态进行全面的、自动的和准确的远程监控,从而有效地甄别出学生做出的各种不同类型的异常行为。The beneficial effects of the above-mentioned technical solutions are as follows: the method for remote monitoring of student behavior can shoot video of students and extract several corresponding images, and determine the corresponding target image pair according to the pixel correlation information of the preprocessed adjacent two images. Finally, according to the image similarity between the two images included in the target image pair, determine whether the student's behavior is normal or not, and make corresponding warning operations. Comprehensive, automatic and accurate remote monitoring of students' behavior during class, so as to effectively identify various types of abnormal behaviors made by students.

优选地,在该步骤S1中,对学生进行拍摄,以此获得该学生在预设时间段内的视频,并该视频进行图像提取处理,从而获得若干图像具体包括:Preferably, in this step S1, the student is photographed to obtain a video of the student within a preset time period, and the video is subjected to image extraction processing, thereby obtaining several images including:

步骤S101,对该学生进行全景拍摄,以此获得该学生在该预设时间段内的视频;Step S101, taking a panoramic shot of the student to obtain a video of the student within the preset time period;

步骤S102,按照预定时间间隔以及沿着该视频的正向播放时序,对该视频进行图像提取处理,从而获得若干图像。Step S102, performing image extraction processing on the video according to a predetermined time interval and along the forward playing sequence of the video, thereby obtaining several images.

上述技术方案的有益效果为:通过从拍摄得到的视频中抽样提取得到若干图像,能够大大地减少后续图像处理的计算量,并且还能够便于根据实际需要选择合适的图像进行处理,从而提高学生行为监控的灵活性和可控性。The beneficial effects of the above technical solutions are: by sampling and extracting several images from the video obtained by shooting, the calculation amount of subsequent image processing can be greatly reduced, and it is also convenient to select appropriate images for processing according to actual needs, thereby improving student behavior. Flexibility and controllability of monitoring.

优选地,在该步骤S2中,对若干该图像进行预处理后,获取任意两个相邻的该图像之间的像素相关性信息,并根据该像素相关性信息,确定其中相邻的两个该图像作为目标图像对具体包括:Preferably, in this step S2, after preprocessing several of the images, obtain pixel correlation information between any two adjacent images, and determine the two adjacent ones according to the pixel correlation information. The image as the target image pair specifically includes:

步骤S201,对若干该图像依次进行卡尔曼滤波降噪处理和图像像素平滑化处理;Step S201, performing Kalman filtering noise reduction processing and image pixel smoothing processing on several of the images in sequence;

步骤S202,将每一个该图像划分为N个面积相同的矩形图像子区域,并根据下面公式(1),确定任意两个相邻的图像之间的像素线性相关系数:In step S202, each of the images is divided into N rectangular image sub-regions with the same area, and the pixel linear correlation coefficient between any two adjacent images is determined according to the following formula (1):

Figure BDA0002708883220000091
Figure BDA0002708883220000091

在上述公式(1)中,R(a,b)表示相邻的图像a和图像b之间的像素线性相关系数,Si表示图像b的第i个矩形图像子区域的像素色度值,Gi表示图像a的第i个矩形图像子区域的像素色度值,Fi表示图像b的第i个矩形图像子区域的像素纹理值,Ki表示图像a的第i个矩形图像子区域的像素纹理值,θ表示预设色度权重值、且其取值为0.4,δ表示预设纹理权重值、且其取值为0.6,X表示图像a和图像b的共同修正系数、且其取值为[0.7,0.9];In the above formula (1), R(a, b) represents the pixel linear correlation coefficient between adjacent image a and image b, S i represents the pixel chromaticity value of the ith rectangular image sub-region of image b, G i represents the pixel chromaticity value of the ith rectangular image sub-region of image a, F i represents the pixel texture value of the ith rectangular image sub-region of image b, and K i represents the ith rectangular image sub-region of image a The pixel texture value of the The value is [0.7, 0.9];

步骤S203,将相邻的图像a和图像b之间的像素线性相关系数R(a,b)与预设像素线性相关阈值进行比对,若该像素线性相关系数R(a,b)大于或者等于该预设像素线性相关阈值,则将当前相邻的图像a和图像b作为该目标图像对,否则,重复上述步骤S202计算下一组相邻的两个图像之间的像素线性相关系数,直到计算得到的像素线性相关系数大于或者等于该预设像素线性相关阈值为止。Step S203, compare the pixel linear correlation coefficient R(a, b) between the adjacent image a and the image b with the preset pixel linear correlation threshold, if the pixel linear correlation coefficient R(a, b) is greater than or is equal to the preset pixel linear correlation threshold, then the current adjacent image a and image b are used as the target image pair, otherwise, the above step S202 is repeated to calculate the pixel linear correlation coefficient between the next group of adjacent two images, Until the calculated pixel linear correlation coefficient is greater than or equal to the preset pixel linear correlation threshold.

上述技术方案的有益效果为:通过对图像进行卡尔曼滤波降噪处理和图像像素平滑化处理,能够有效地去除图像中的干扰信息,从而提高后续图像处理的准确性;此外,通过上述公式(1)计算得到任意两个相邻的图像之间的像素线性相关系数,其能够从图像像素色度和图像像素纹理层面上对两个相邻的图像进行图像像素特征的关联性确定,从而提高确定目标图像对的可靠性和客观性。The beneficial effects of the above technical solutions are: by performing Kalman filter noise reduction processing and image pixel smoothing processing on the image, the interference information in the image can be effectively removed, thereby improving the accuracy of subsequent image processing; In addition, by the above formula ( 1) Calculate the pixel linear correlation coefficient between any two adjacent images, which can determine the correlation of image pixel features for two adjacent images from the level of image pixel chromaticity and image pixel texture, thereby improving Determine the reliability and objectivity of the target image pair.

优选地,在该步骤S3中,获取该目标图像对包含的两个图像之间的图像相似度信息,并根据该图像相似度信息,判断该学生的行为是否正常,再根据该判断的结果,进行相应的警示操作具体包括:Preferably, in this step S3, the image similarity information between the two images included in the target image pair is obtained, and according to the image similarity information, it is judged whether the student's behavior is normal, and then according to the result of the judgment, The corresponding warning actions include:

步骤S301,根据下面公式(2),确定该目标图像对包含的两个图像之间的图像相似度值:Step S301, according to the following formula (2), determine the image similarity value between the two images included in the target image pair:

Figure BDA0002708883220000101
Figure BDA0002708883220000101

在上述公式(2)中,sim表示该目标图像对包含的两个图像之间的图像相似度值,Md表示该目标图像对中的一个图像对应的N个矩形图像子区域中包含有该学生躯体相关像素的矩形图像子区域的数量,Qc表示该目标图像对中的另一个图像对应的N个矩形图像子区域中包含有该学生躯体相关像素的矩形图像子区域的数量,Uj表示该目标图像对中的一个图像包含有该学生躯体相关像素的矩形图像子区域的第j个矩形图像子区域的像素纹理值,Tv表示该目标图像对中的另一个图像包含有该学生躯体相关像素的矩形图像子区域的第v个矩形图像子区域的像素纹理值,ε表示第一纹理补偿系数、且其取值为[0.1,0.15],β表示第二纹理补偿系数、且其取值为[0.05,0.15];In the above formula (2), sim represents the image similarity value between the two images included in the target image pair, and M d represents that the N rectangular image sub-regions corresponding to one image in the target image pair contain the The number of rectangular image sub-regions of the student's body-related pixels, Q c represents the number of rectangular image sub-regions containing the student's body-related pixels in the N rectangular image sub-regions corresponding to the other image in the target image pair, U j Indicates that one image in the target image pair contains the pixel texture value of the jth rectangular image sub-region of the rectangular image sub-region of the student's body-related pixels, and T v indicates that the other image in the target image pair contains the student's body. The pixel texture value of the vth rectangular image sub-region of the rectangular image sub-region of the body-related pixels, ε represents the first texture compensation coefficient, and its value is [0.1, 0.15], β represents the second texture compensation coefficient, and its The value is [0.05, 0.15];

步骤S302,将该图像相似度值sim与预设图像相似度阈值进行比对,若该图像相似度值sim大于或等于该预设图像相似度阈值,则判断该学生的行为异常,否则,判断该学生的行为正常;Step S302, compare the image similarity value sim with a preset image similarity threshold, if the image similarity value sim is greater than or equal to the preset image similarity threshold, then judge that the student's behavior is abnormal, otherwise, judge the student is behaving normally;

步骤S303,当判断该学生的行为异常时,对该学生发出语音警示信息。Step S303, when it is judged that the student's behavior is abnormal, a voice warning message is issued to the student.

上述技术方案的有益效果为:由于当学生做出异常行为时,两个相邻的图像之间在像素层面上会发生相应的差异,通过上述公式(2)计算得到两个图像之间的图像相似度值,能够对两个相邻的图像之间的像素差异进行量化评估,从而便于后续快速地和准确地甄别出学生做出的各种不同类型的异常行为。The beneficial effect of the above technical solution is: because when the student makes an abnormal behavior, a corresponding difference will occur at the pixel level between two adjacent images, and the image between the two images is obtained by calculating the above formula (2). The similarity value can quantitatively evaluate the pixel difference between two adjacent images, so as to facilitate the subsequent quick and accurate identification of various types of abnormal behaviors made by students.

参阅图2,为本发明实施例提供的学生行为远程监控系统的结构示意图。该学生行为远程监控系统包括视频拍摄模块、图像提取模块、目标图像对确定模块、学生行为状态判断模块和警示操作模块;其中,Referring to FIG. 2 , it is a schematic structural diagram of a remote monitoring system for student behavior provided by an embodiment of the present invention. The student behavior remote monitoring system includes a video shooting module, an image extraction module, a target image pair determination module, a student behavior state judgment module, and a warning operation module; wherein,

该视频拍摄模块用于对学生进行拍摄,以此获得该学生在预设时间段内的视频;The video shooting module is used for shooting a student, so as to obtain a video of the student within a preset time period;

该图像提取模块用于对该视频进行图像提取处理,从而获得若干图像;The image extraction module is used to perform image extraction processing on the video to obtain several images;

该目标图像对确定模块用于对若干该图像进行预处理后,获取任意两个相邻的该图像之间的像素相关性信息,并根据该像素相关性信息,确定其中相邻的两个该图像作为目标图像对;The target image pair determination module is used to obtain pixel correlation information between any two adjacent images after preprocessing a number of the images, and determine the two adjacent ones according to the pixel correlation information. image as the target image pair;

该学生行为状态判断模块用于获取该目标图像对包含的两个图像之间的图像相似度信息,并根据该图像相似度信息,判断该学生的行为是否正常;The student behavior state judging module is used to obtain image similarity information between two images included in the target image pair, and determine whether the student's behavior is normal according to the image similarity information;

该警示操作模块用于根据该判断的结果,进行相应的警示操作。The warning operation module is used for performing corresponding warning operations according to the judgment result.

上述技术方案的有益效果为:该学生行为远程监控系统能够对学生进行视频拍摄并提取其中对应的若干图像,并根据预处理后的相邻两个图像的像素相关性信息确定相应的目标图像对,最后根据目标图像对包含的两个图像之间的图像相似度判断学生的行为正常与否,并做出相应的警示操作,其能够从像素层面上对拍摄得到的图像进行细化分析,以对学生在上课过程中的行为状态进行全面的、自动的和准确的远程监控,从而有效地甄别出学生做出的各种不同类型的异常行为。The beneficial effects of the above technical solutions are as follows: the student behavior remote monitoring system can shoot video of students and extract a number of corresponding images, and determine the corresponding target image pair according to the pixel correlation information of the preprocessed adjacent two images. Finally, according to the image similarity between the two images included in the target image pair, determine whether the student's behavior is normal or not, and make corresponding warning operations. Comprehensive, automatic and accurate remote monitoring of students' behavior during class, so as to effectively identify various types of abnormal behaviors made by students.

优选地,该视频拍摄模块对学生进行拍摄,以此获得该学生在预设时间段内的视频具体包括:Preferably, the video shooting module shoots the student, so as to obtain the video of the student within the preset time period, which specifically includes:

对该学生进行全景拍摄,以此获得该学生在该预设时间段内的视频;Take a panoramic shot of the student to obtain a video of the student within the preset time period;

以及,as well as,

该图像提取模块对该视频进行图像提取处理,从而获得若干图像具体包括:The image extraction module performs image extraction processing on the video, thereby obtaining several images including:

按照预定时间间隔以及沿着该视频的正向播放时序,对该视频进行图像提取处理,从而获得若干图像。Image extraction processing is performed on the video according to predetermined time intervals and along the forward playback sequence of the video, thereby obtaining several images.

上述技术方案的有益效果为:通过从拍摄得到的视频中抽样提取得到若干图像,能够大大地减少后续图像处理的计算量,并且还能够便于根据实际需要选择合适的图像进行处理,从而提高学生行为监控的灵活性和可控性。The beneficial effects of the above technical solutions are: by sampling and extracting several images from the video obtained by shooting, the calculation amount of subsequent image processing can be greatly reduced, and it is also convenient to select appropriate images for processing according to actual needs, thereby improving student behavior. Flexibility and controllability of monitoring.

优选地,该目标图像对确定模块对若干该图像进行预处理后,获取任意两个相邻的该图像之间的像素相关性信息,并根据该像素相关性信息,确定其中相邻的两个该图像作为目标图像对具体包括:Preferably, after the target image pair determination module preprocesses several of the images, obtains pixel correlation information between any two adjacent images, and determines two adjacent ones according to the pixel correlation information. The image as the target image pair specifically includes:

对若干该图像依次进行卡尔曼滤波降噪处理和图像像素平滑化处理;Perform Kalman filter noise reduction processing and image pixel smoothing processing on several of the images in sequence;

并将每一个该图像划分为N个面积相同的矩形图像子区域,并根据下面公式(1),确定任意两个相邻的图像之间的像素线性相关系数:Divide each image into N rectangular image sub-regions with the same area, and determine the pixel linear correlation coefficient between any two adjacent images according to the following formula (1):

Figure BDA0002708883220000121
Figure BDA0002708883220000121

在上述公式(1)中,R(a,b)表示相邻的图像a和图像b之间的像素线性相关系数,Si表示图像b的第i个矩形图像子区域的像素色度值,Gi表示图像a的第i个矩形图像子区域的像素色度值,Fi表示图像b的第i个矩形图像子区域的像素纹理值,Ki表示图像a的第i个矩形图像子区域的像素纹理值,θ表示预设色度权重值、且其取值为0.4,δ表示预设纹理权重值、且其取值为0.6,X表示图像a和图像b的共同修正系数、且其取值为[0.7,0.9];In the above formula (1), R(a, b) represents the pixel linear correlation coefficient between adjacent image a and image b, S i represents the pixel chromaticity value of the ith rectangular image sub-region of image b, G i represents the pixel chromaticity value of the ith rectangular image sub-region of image a, F i represents the pixel texture value of the ith rectangular image sub-region of image b, and K i represents the ith rectangular image sub-region of image a The pixel texture value of the The value is [0.7, 0.9];

再将相邻的图像a和图像b之间的像素线性相关系数R(a,b)与预设像素线性相关阈值进行比对,若该像素线性相关系数R(a,b)大于或者等于该预设像素线性相关阈值,则将当前相邻的图像a和图像b作为该目标图像对,否则,重复上述步骤S202计算下一组相邻的两个图像之间的像素线性相关系数,直到计算得到的像素线性相关系数大于或者等于该预设像素线性相关阈值为止。Then compare the pixel linear correlation coefficient R(a, b) between the adjacent image a and the image b with the preset pixel linear correlation threshold, if the pixel linear correlation coefficient R(a, b) is greater than or equal to the If the pixel linear correlation threshold is preset, the current adjacent image a and image b are used as the target image pair, otherwise, the above step S202 is repeated to calculate the pixel linear correlation coefficient between the next group of adjacent two images, until the calculation The obtained pixel linear correlation coefficient is greater than or equal to the preset pixel linear correlation threshold.

上述技术方案的有益效果为:通过对图像进行卡尔曼滤波降噪处理和图像像素平滑化处理,能够有效地去除图像中的干扰信息,从而提高后续图像处理的准确性;此外,通过上述公式(1)计算得到任意两个相邻的图像之间的像素线性相关系数,其能够从图像像素色度和图像像素纹理层面上对两个相邻的图像进行图像像素特征的关联性确定,从而提高确定目标图像对的可靠性和客观性。The beneficial effects of the above technical solutions are: by performing Kalman filter noise reduction processing and image pixel smoothing processing on the image, the interference information in the image can be effectively removed, thereby improving the accuracy of subsequent image processing; In addition, by the above formula ( 1) Calculate the pixel linear correlation coefficient between any two adjacent images, which can determine the correlation of image pixel features for two adjacent images from the level of image pixel chromaticity and image pixel texture, thereby improving Determine the reliability and objectivity of the target image pair.

优选地,该学生行为状态判断模块获取该目标图像对包含的两个图像之间的图像相似度信息,并根据该图像相似度信息,判断该学生的行为是否正常具体包括:Preferably, the student behavior state judging module obtains image similarity information between two images included in the target image pair, and determines whether the student's behavior is normal according to the image similarity information, specifically including:

根据下面公式(2),确定该目标图像对包含的两个图像之间的图像相似度值:According to the following formula (2), determine the image similarity value between the two images included in the target image pair:

Figure BDA0002708883220000131
Figure BDA0002708883220000131

在上述公式(2)中,sim表示该目标图像对包含的两个图像之间的图像相似度值,Md表示该目标图像对中的一个图像对应的N个矩形图像子区域中包含有该学生躯体相关像素的矩形图像子区域的数量,Qc表示该目标图像对中的另一个图像对应的N个矩形图像子区域中包含有该学生躯体相关像素的矩形图像子区域的数量,Uj表示该目标图像对中的一个图像包含有该学生躯体相关像素的矩形图像子区域的第j个矩形图像子区域的像素纹理值,Tv表示该目标图像对中的另一个图像包含有该学生躯体相关像素的矩形图像子区域的第v个矩形图像子区域的像素纹理值,ε表示第一纹理补偿系数、且其取值为[0.1,0.15],β表示第二纹理补偿系数、且其取值为[0.05,0.15];In the above formula (2), sim represents the image similarity value between the two images included in the target image pair, and M d represents that the N rectangular image sub-regions corresponding to one image in the target image pair contain the The number of rectangular image sub-regions of the student's body-related pixels, Q c represents the number of rectangular image sub-regions containing the student's body-related pixels in the N rectangular image sub-regions corresponding to the other image in the target image pair, U j Indicates that one image in the target image pair contains the pixel texture value of the jth rectangular image sub-region of the rectangular image sub-region of the student's body-related pixels, and T v indicates that the other image in the target image pair contains the student's body. The pixel texture value of the vth rectangular image sub-region of the rectangular image sub-region of the body-related pixels, ε represents the first texture compensation coefficient, and its value is [0.1, 0.15], β represents the second texture compensation coefficient, and its The value is [0.05, 0.15];

并将该图像相似度值sim与预设图像相似度阈值进行比对,若该图像相似度值sim大于或等于该预设图像相似度阈值,则判断该学生的行为异常,否则,判断该学生的行为正常;Compare the image similarity value sim with the preset image similarity threshold, if the image similarity value sim is greater than or equal to the preset image similarity threshold, judge that the student's behavior is abnormal, otherwise, judge the student behave normally;

以及,as well as,

该警示操作模块根据该判断的结果,进行相应的警示操作具体包括:According to the result of the judgment, the warning operation module performs corresponding warning operations specifically including:

当判断该学生的行为异常时,对该学生发出语音警示信息。When it is judged that the student's behavior is abnormal, a voice warning message is issued to the student.

上述技术方案的有益效果为:由于当学生做出异常行为时,两个相邻的图像之间在像素层面上会发生相应的差异,通过上述公式(2)计算得到两个图像之间的图像相似度值,能够对两个相邻的图像之间的像素差异进行量化评估,从而便于后续快速地和准确地甄别出学生做出的各种不同类型的异常行为。The beneficial effect of the above technical solution is: because when the student makes an abnormal behavior, a corresponding difference will occur at the pixel level between two adjacent images, and the image between the two images is obtained by calculating the above formula (2). The similarity value can quantitatively evaluate the pixel difference between two adjacent images, so as to facilitate the subsequent quick and accurate identification of various types of abnormal behaviors made by students.

从上述实施例的内容可知,该学生行为远程监控方法和系统通过对学生进行拍摄,以此获得该学生在预设时间段内的视频,并对该视频进行图像提取处理,从而获得若干图像,并对若干该图像进行预处理后,获取任意两个相邻的该图像之间的像素相关性信息,并根据该像素相关性信息,确定其中相邻的两个该图像作为目标图像对,再获取该目标图像对包含的两个图像之间的图像相似度信息,并根据该图像相似度信息,判断该学生的行为是否正常,再根据该判断的结果,进行相应的警示操作;可见,该学生行为远程监控方法和系统能够对学生进行视频拍摄并提取其中对应的若干图像,并根据预处理后的相邻两个图像的像素相关性信息确定相应的目标图像对,最后根据目标图像对包含的两个图像之间的图像相似度判断学生的行为正常与否,并做出相应的警示操作,其能够从像素层面上对拍摄得到的图像进行细化分析,以对学生在上课过程中的行为状态进行全面的、自动的和准确的远程监控,从而有效地甄别出学生做出的各种不同类型的异常行为。It can be seen from the content of the above embodiment that the method and system for remote monitoring of student behavior obtains a video of the student within a preset time period by photographing the student, and performs image extraction processing on the video to obtain several images, After preprocessing several of the images, obtain the pixel correlation information between any two adjacent images, and according to the pixel correlation information, determine the two adjacent images as the target image pair, and then Obtain the image similarity information between the two images included in the target image pair, and according to the image similarity information, determine whether the student's behavior is normal, and then perform a corresponding warning operation according to the judgment result; The method and system for remote monitoring of student behavior can shoot video of students and extract several corresponding images, and determine corresponding target image pairs according to the pixel correlation information of the two adjacent images after preprocessing, and finally according to the target image pair contains The image similarity between the two images can judge whether the student's behavior is normal or not, and make corresponding warning operations. Conduct comprehensive, automatic and accurate remote monitoring of behavior status, so as to effectively identify various types of abnormal behaviors made by students.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit and scope of the invention. Thus, provided that these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims (8)

1. The student behavior remote monitoring method is characterized by comprising the following steps:
step S1, shooting a student to obtain a video of the student in a preset time period, and performing image extraction processing on the video to obtain a plurality of images;
step S2, after preprocessing a plurality of images, acquiring pixel correlation information between any two adjacent images, and determining two adjacent images as a target image pair according to the pixel correlation information;
and step S3, acquiring image similarity information between two images included in the target image pair, judging whether the behavior of the student is normal according to the image similarity information, and performing corresponding warning operation according to the judgment result.
2. The student behavior remote monitoring method according to claim 1, wherein:
in step S1, capturing a student to obtain a video of the student within a preset time period, and performing image extraction processing on the video to obtain a plurality of images specifically includes:
step S101, carrying out panoramic shooting on the students so as to obtain videos of the students in the preset time period;
step S102, according to a preset time interval and a forward playing time sequence along the video, carrying out image extraction processing on the video, and thus obtaining a plurality of images.
3. The student behavior remote monitoring method according to claim 2, wherein:
in step S2, after preprocessing the images, obtaining pixel correlation information between any two adjacent images, and determining two adjacent images as a target image pair according to the pixel correlation information specifically includes:
step S201, performing Kalman filtering noise reduction processing and image pixel smoothing processing on a plurality of images in sequence;
step S202, dividing each image into N rectangular image sub-regions with the same area, and determining a pixel linear correlation coefficient between any two adjacent images according to the following formula (1):
Figure FDA0002708883210000021
in the above formula (1), R (a, b) represents a pixel linear correlation coefficient between the adjacent images a and b, SiRepresenting pixel chrominance values, G, of the ith rectangular image sub-area of image biPixel chrominance values, F, of the ith rectangular image sub-region representing image aiThe texture value of the pixel, K, representing the ith rectangular image sub-region of image biThe texture value of the pixel of the ith rectangular image sub-region of the image a is represented, theta represents a preset chroma weight value and takes a value of 0.4, delta represents a preset texture weight value and takes a value of 0.6, and X represents a common correction coefficient of the image a and the image b and takes a value of [0.7, 0.9];
Step S203, comparing the pixel linear correlation coefficient R (a, b) between the adjacent images a and b with a preset pixel linear correlation threshold, if the pixel linear correlation coefficient R (a, b) is greater than or equal to the preset pixel linear correlation threshold, using the current adjacent image a and image b as the target image pair, otherwise, repeating the step S202 to calculate the pixel linear correlation coefficient between the next group of adjacent two images until the calculated pixel linear correlation coefficient is greater than or equal to the preset pixel linear correlation threshold.
4. A student behaviour remote monitoring method as claimed in claim 3, characterised in that:
in step S3, acquiring image similarity information between two images included in the target image pair, determining whether the behavior of the student is normal according to the image similarity information, and performing corresponding warning operation according to the determination result specifically includes:
step S301, determining an image similarity value between two images included in the target image pair according to the following formula (2):
Figure FDA0002708883210000031
in the above formula (2), sim represents an image similarity value between two images included in the target image pair, MdRepresenting the number Q of rectangular image sub-regions containing the student body related pixels in the N rectangular image sub-regions corresponding to one image in the target image paircRepresenting the number, U, of the rectangular image sub-regions containing the student body related pixels in the N rectangular image sub-regions corresponding to the other image in the target image pairjA pixel texture value, T, of a jth rectangular image sub-region of the rectangular image sub-region representing that one of the target image pair contains the student body related pixelvThe texture value of the pixel of the v-th rectangular image sub-area of the rectangular image sub-area which represents that the other image in the target image pair contains the pixel related to the student body is epsilon, the epsilon represents a first texture compensation coefficient, and the value of epsilon is [0.1, 0.15 ]]And beta represents a second texture compensation coefficient and takes a value of [0.05, 0.15 ]];
Step S302, comparing the image similarity value sim with a preset image similarity threshold, if the image similarity value sim is greater than or equal to the preset image similarity threshold, judging that the behavior of the student is abnormal, otherwise, judging that the behavior of the student is normal;
step S303, when the behavior of the student is judged to be abnormal, voice warning information is sent to the student.
5. The remote monitoring system for the student behaviors is characterized by comprising a video shooting module, an image extraction module, a target image pair determination module, a student behavior state judgment module and a warning operation module; wherein,
the video shooting module is used for shooting a student so as to obtain a video of the student in a preset time period;
the image extraction module is used for carrying out image extraction processing on the video so as to obtain a plurality of images;
the target image pair determining module is used for preprocessing a plurality of images, acquiring pixel correlation information between any two adjacent images, and determining two adjacent images as a target image pair according to the pixel correlation information;
the student behavior state judging module is used for acquiring image similarity information between two images contained in the target image pair and judging whether the behavior of the student is normal or not according to the image similarity information;
and the warning operation module is used for carrying out corresponding warning operation according to the judgment result.
6. The student behavior remote monitoring system of claim 5, wherein:
the video shooting module shoots students, so that the video of the students in the preset time period is obtained, and the video shooting module specifically comprises the following steps:
carrying out panoramic shooting on the students so as to obtain videos of the students in the preset time period;
and the number of the first and second groups,
the image extraction module performs image extraction processing on the video, so as to obtain a plurality of images specifically comprises:
and carrying out image extraction processing on the video according to a preset time interval and a forward playing time sequence of the video, thereby obtaining a plurality of images.
7. The student behavior remote monitoring system of claim 6, wherein:
the target image pair determining module obtains pixel correlation information between any two adjacent images after preprocessing the plurality of images, and determining two adjacent images as a target image pair according to the pixel correlation information specifically includes:
sequentially carrying out Kalman filtering noise reduction processing and image pixel smoothing processing on a plurality of images; dividing each image into N rectangular image sub-areas with the same area, and determining a pixel linear correlation coefficient between any two adjacent images according to the following formula (1):
Figure FDA0002708883210000041
in the above formula (1), R (a, b) represents a pixel linear correlation coefficient between the adjacent images a and b, SiRepresenting pixel chrominance values, G, of the ith rectangular image sub-area of image biPixel chrominance values, F, of the ith rectangular image sub-region representing image aiThe texture value of the pixel, K, representing the ith rectangular image sub-region of image biThe texture value of the pixel of the ith rectangular image sub-region of the image a is represented, theta represents a preset chroma weight value and takes a value of 0.4, delta represents a preset texture weight value and takes a value of 0.6, and X represents a common correction coefficient of the image a and the image b and takes a value of [0.7, 0.9];
And comparing the pixel linear correlation coefficient R (a, b) between the adjacent images a and b with a preset pixel linear correlation threshold, if the pixel linear correlation coefficient R (a, b) is greater than or equal to the preset pixel linear correlation threshold, taking the current adjacent image a and image b as the target image pair, otherwise, repeating the step S202 to calculate the pixel linear correlation coefficient between the next group of adjacent two images until the calculated pixel linear correlation coefficient is greater than or equal to the preset pixel linear correlation threshold.
8. The student behavior remote monitoring system of claim 7, wherein:
the student behavior state judgment module acquires image similarity information between two images included in the target image pair, and judges whether the behavior of the student is normal specifically according to the image similarity information:
determining an image similarity value between two images comprised by the target image pair according to the following formula (2):
Figure FDA0002708883210000051
in the above formula (2), sim represents an image similarity value between two images included in the target image pair, MdRepresenting the number Q of rectangular image sub-regions containing the student body related pixels in the N rectangular image sub-regions corresponding to one image in the target image paircRepresenting the number, U, of the rectangular image sub-regions containing the student body related pixels in the N rectangular image sub-regions corresponding to the other image in the target image pairjA pixel texture value, T, of a jth rectangular image sub-region of the rectangular image sub-region representing that one of the target image pair contains the student body related pixelvThe texture value of the pixel of the v-th rectangular image sub-area of the rectangular image sub-area which represents that the other image in the target image pair contains the pixel related to the student body is epsilon, the epsilon represents a first texture compensation coefficient, and the value of epsilon is [0.1, 0.15 ]]And beta represents a second texture compensation coefficient and takes a value of [0.05, 0.15 ]](ii) a Comparing the image similarity value sim with a preset image similarity threshold, if the image similarity value sim is greater than or equal to the preset image similarity threshold, judging that the behavior of the student is abnormal, otherwise, judging that the behavior of the student is normal;
and the number of the first and second groups,
the warning operation module carries out corresponding warning operation according to the judgment result, and specifically comprises the following steps: and when the behavior of the student is judged to be abnormal, voice warning information is sent to the student.
CN202011048828.6A 2020-09-29 2020-09-29 Student behavior remote monitoring method and system Pending CN112200036A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011048828.6A CN112200036A (en) 2020-09-29 2020-09-29 Student behavior remote monitoring method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011048828.6A CN112200036A (en) 2020-09-29 2020-09-29 Student behavior remote monitoring method and system

Publications (1)

Publication Number Publication Date
CN112200036A true CN112200036A (en) 2021-01-08

Family

ID=74007865

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011048828.6A Pending CN112200036A (en) 2020-09-29 2020-09-29 Student behavior remote monitoring method and system

Country Status (1)

Country Link
CN (1) CN112200036A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114124908A (en) * 2021-08-16 2022-03-01 沭阳林冉塑业有限公司 Control method for data transmission in equipment production based on artificial intelligence

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108537212A (en) * 2018-07-04 2018-09-14 南京邮电大学 Students ' behavior detection method based on estimation
KR20200103194A (en) * 2019-02-18 2020-09-02 세종대학교산학협력단 Method and system for abnormal situation monitoring based on video

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108537212A (en) * 2018-07-04 2018-09-14 南京邮电大学 Students ' behavior detection method based on estimation
KR20200103194A (en) * 2019-02-18 2020-09-02 세종대학교산학협력단 Method and system for abnormal situation monitoring based on video

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张晶: "数字图像处理应用研究", vol. 1, 30 April 2019, 吉林大学, pages: 167 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114124908A (en) * 2021-08-16 2022-03-01 沭阳林冉塑业有限公司 Control method for data transmission in equipment production based on artificial intelligence

Similar Documents

Publication Publication Date Title
CN110705405B (en) Target labeling method and device
WO2019233355A1 (en) Method and apparatus for training, classification model, mobile terminal, and readable storage medium
CN111210399B (en) Imaging quality evaluation method, device and equipment
CN111898581A (en) Animal detection method, device, electronic equipment and readable storage medium
CN115965889A (en) A video quality assessment data processing method, device and equipment
CN110766711A (en) Video shot segmentation method, system, device and storage medium
CN112967224A (en) Electronic circuit board detection system, method and medium based on artificial intelligence
CN111768387A (en) Flaw detection method, twin neural network training method and device and electronic equipment
CN111079687A (en) Certificate camouflage identification method, device, equipment and storage medium
CN117132768A (en) License plate and face detection and desensitization method and device, electronic equipment and storage medium
CN115272340A (en) Industrial product defect detection method and device
WO2023236371A1 (en) Visual analysis method for cable element identification
CN114462646B (en) Pole number plate identification method and system based on contact network safety inspection
CN112200036A (en) Student behavior remote monitoring method and system
CN114399487A (en) Video sharpness and brightness detection method based on data annotation learning mechanism
CN110322443A (en) A kind of quality determining method and device of intelligent appliance
CN112073713A (en) Video missing recording test method, device, equipment and storage medium
CN114821513B (en) Image processing method and device based on multilayer network and electronic equipment
CN109359513B (en) Anomaly detection method based on edge detection and color matching
CN116612088A (en) Defect detection method and system for disassembled parts of waste service end
CN113762014B (en) Method and device for determining similar videos
CN111553408B (en) Automatic test method for video recognition software
CN113572901B (en) Method for detecting video color bell playing effect in real time
CN113111888A (en) Picture distinguishing method and device
CN113936237A (en) No-reference video quality assessment and prediction method and system based on contrastive self-supervision

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