Currently, we are developing a system to take pictures of a class and estimate the atmosphere of the class from the images. We are developing a system to determine whether the students are taking the class seriously or not. In order to determine if a participant is taking the class seriously, the position of the participant's face needs to be determined from a low-quality image. To achieve this, we used two special integrals and a combination of them. We also developed the system with perspective weighting and exclusion of non-human areas in mind. As a result, the system was able to output 80% of the expected value correctly when the appropriate photographic environment was set up. In addition, non-skin areas such as the floor and coat are no longer considered to be faces. To improve the accuracy further, it is necessary to narrow down the area where the face can exist and to take measures against wearing a mask.