This article presents a case study of our process in Smart Education. This is a case of detecting driver smoking behavior, in which intelligent image processing technology was used. Let students know how to conduct academic research through case analysis. Train students how to do image preprocessing, how to do detection algorithm, how to deal with experimental results, how to do result analysis and so on. Drivers have a kinds of common abnormal behaviors, including smoking, making phone calls, eating, and leaving the steering wheel. Among them, smoking is closely related to the fatigue state of the driver; when drivers make other abnormal behaviors, their hands will leave the steering wheel, which is easy to cause the car to get out of control. Therefore, this paper mainly focuses on the abnormal driving behaviors of smoking and the hands leaving the steering wheel.