Research Article

Using end-to-end learning and PyAutoGUI to apply gesture recognition for human-computer interaction

Junhao Tang*
Shandong University

* Corresponding author: [email protected]

Abstract

Contact-less human-machine interaction is becoming increasingly important due to the growing number of special environmental needs and accessibility situations. Gesture recognition has also been a hot topic in computer vision and machine learning in recent years. In this paper, a real-time computer manipulation system based on hand gesture recognition is studied and deployed. A relatively mature end-to-end target recognition model, the YOLOv5 model, is trained in this paper to achieve real-time detection and recognition of hand gestures. According to the result of the recognition, it is translated into the corresponding operation on the computer according to a set of rules, and then PyAutoGUI is used to actually control the computer. At the end of the research, the trained YOLOv5 model exhibited excellent performance and verified the feasibility and scalability of the solution. This is a good inspiration for developing a more convenient and efficient related software.

Keywords: computer vision; end-to-end learning; hand gesture recognition; YOLOv5; human-computer interaction
Published: October 23, 2023
DOI: 10.54254/2755-2721/15/20230825
Volume: ACE Vol.15
pp. 141-148
Download PDF

References

  1. Jagnade, G., Ikar, M., Chaudhari, N., & Chaware, M. Hand Gesture-based Virtual Mouse using Open CV. 2023 International Conference on Intelligent Data Communication Technologies and Internet of Things 820-825.
  2. Gavale, S., & Jadhav, Y. Hand Gesture Detection Using Arduino and Python for Screen Control. 2020 International Journal of Engineering Applied Sciences and Technology, 5, 271-276.
  3. Oudah, M., Al-Naji, A., & Chahl, J. Hand gesture recognition based on computer vision: a review of techniques. 2020 Journal of Imaging, 6(8), 73.
  4. AlSaedi, A. K. H., & AlAsadi, A. H. H. A new hand gestures recognition system. Indonesian Journal of Electrical Engineering and Computer Science, 18(1), 49-55.
  5. Guo, L., Lu, Z., & Yao, L. Human-machine interaction sensing technology based on hand gesture recognition: A review. 2020, IEEE Transactions on Human-Machine Systems, 51(4), 300-309.
  6. Mujahid, A., Awan, M. J., Yasin, A., Mohammed, M. A., Damaševičius, R., Maskeliūnas, R., & Abdulkareem, K. H. Real-time hand gesture recognition based on deep learning YOLOv3 model. 2021 Applied Sciences, 11(9), 4164.
  7. Thuan, D. Evolution of Yolo algorithm and Yolov5: The State-of-the-Art object detention algorithm. 2021Journal of Electrical Engineering and Computer Science,1-10.
  8. Doherty, J., Gardiner, B., Kerr, E., Siddique, N., & Manvi, S. S. Comparative Study of Activation Functions and Their Impact on the YOLOv5 Object Detection Model. 2022, Pattern
  9. Sweigart, A. PyAutoGUI documentation. Read the Docs, 25.
  10. Kapitanov, A., Makhlyarchuk, A., & Kvanchiani, K. HaGRID-HAnd Gesture Recognition Image Dataset.2022 arXiv preprint arXiv:2206.08219.
  11. Ultralytics. YOLOv5 (Version 7.0). https://github.com/ultralytics/yolov5
  12. Sozzi, M., Cantalamessa, S., Cogato, A., Kayad, A., & Marinello, F. Automatic bunch detection in white grape varieties using YOLOv3, YOLOv4, and YOLOv5 deep learning algorithms. 2022 Agronomy, 12(2), 319.
  13. Liu, K., Tang, H., He, S., Yu, Q., Xiong, Y., & Wang, N. Performance validation of YOLO variants for object detection. 2021 International Conference on bioinformatics and intelligent computing 239-243.