Human posture equipment technology has advanced significantly thanks to advances in deep learning and machine vision. Even the most advanced models may not be able to predict all body joints accurately. This paper proposes an adaptive generative adversarial network to improve the human posture detection algorithm in order to address this issue. GAN is used in the algorithm to detect human posture improvement. The algorithm uses OpenPose to detect and connect keypoints and then generates heat maps in the GAN system model. During the training process, the confidence evaluation mechanism is added to the system model. The generator predicts posture, while the resolver refines human joints over time. And, by using normalization technologies in the confidence evaluation mechanism, the generator can pay more attention to the prominent body joints, improving the algorithm’s body detection accuracy of nodes. In MPII, LSP, and FLIC datasets, the proposed algorithm has shown to have a good detection effect. Its positioning accuracy is about 95.37 percent, and it can accurately locate the joints of the entire body. Several other algorithms are outperformed by this one. The algorithm described in this article has the best simultaneous runtime in the LSP dataset.
In current traffic management, fatigue driving of drivers is one of the main causes of major traffic accidents. Every year, accidents caused by fatigue driving of drivers will cause serious consequences, directly or indirectly causing economic losses of varying degrees. Therefore, this paper proposes a driver fatigue detection system based on face recognition, and designs the hardware and software of the system. Through the use of face recognition algorithm and fatigue driving detection algorithm in this system, and the design of system hardware, including the selection of camera, processor, and image acquisition card, a driver fatigue detection system based on face recognition is made. The experimental results show that the driver fatigue detection system based on face recognition has a higher detection accuracy and has a wider practical application value to societ.