With the rapid development of Internet technology and its application to the field of education,the online learning mode is becoming more and more popular.Compared with the traditional classroom teaching mode,online learning has the characteristics of rich resources,the ability to study anytime and anywhere,and more selectivity.But there are also some disadvantages of online learning,one being that in the unsupervised learning environment,learn heavily relies on the learners' self-discipline,making it difficult to know the learning status and guarantee the learning efficiency.Therefore,it is valuable to analyze the attention status of learners during the online learning process and provide real-time feedback for third-party supervision or self-monitoring.This paper proposes an attention detection method integrated with eye gaze detection,then designed and developed a simple and easy-to-use attention detection system.Using low resolution camera(portable machine standard)to grab the learner's video images,real-time analysis of the facial features,enables real-time detection and analysis and feedback on the learner's attention state.The main contents are as follows:(1)Optimize and improve the detection method of eye opening or closing with the low resolution camera.Using Open CV's image processing function and leastsquares method to detect human eye contours,four rules are added to further optimize the processing so as to get more accurate results to effectively judge the opening or closing state of eyes.(2)A method of attention detection integrated with eye gaze detection is proposed.In current online education,existing attention detection which methods rely only on simple image acquisition equipment don't involve eye gaze detection.If the learner face to the computer screen,open eyes but looks at other places,such distraction can not be detected effectively.This paper analyzes the eye gaze detection method,and adapts it to the application case described in this paper,by locating the learner's sight after detecting the postion of both eye contour and the iris center.(3)A simple and easy-to-use attention detection system is designed and developed with the computer vision library Open CV and VS2013,and can run with a low resolution camera plus an ordinary PC machine.Through the relevant algorithms of face detection,head deflection detection,eye opening or closing detection and eye gaze detection,comprehensive analysis of the results of their respective attention concentration can be done to provide the real-time dynamic results,which can be feedback to the third party program or remind learners themselves according to the needs of the upper level applications.The experimental results show that the attention detection method integrated with eye gaze detection can effectively detect learners' lack-of-concentration situations such as drowsiness,glance left and right,and sight deviation.This method has relatively high detection accuracy,and has certain application value. |