DOI QR코드

DOI QR Code

Pacman Game Using Skin Color Extraction and Center of Gravity of Hand

손의 피부색 추출과 무게중심을 이용한 팩맨 게임

  • Shin, Seong-Yoon (Dept. of Computer Information Engineering, Kunsan National University)
  • 신성윤 (군산대학교 컴퓨터정보공학과)
  • Received : 2012.05.21
  • Accepted : 2012.06.18
  • Published : 2012.06.30

Abstract

Pacman is one of the world-famous and have been chosen game in the game room at the arcade. In this paper, pacman game gives you the ability to perform by simple hand movement alone. First, we obtain binary RGB image to extract skin color, and convert into binary image YCbCr by minus the luminance in this image. Next, we extract the hand region by the product of an binary RGB image and binary YCbCr image. Finally, the hand region, we obtain the center of gravity by the minimum bounding rectangle and the center of the hand pixel area, and we used to obtain the center of the hand area with an average of two center of gravity. In other words, we presented the game of motion that can take the place of arrow key by using the center coordinates of hand. In addition, these experiments showed the average movement and error rate, and cause of the error type was also investigated.

팩맨(Pacman)은 이전에 오락실에서 선택을 받던 세계적으로 유명한 게임 중의 하나이다. 본 논문에서는 팩맨 게임을 간단한 손동작만으로 수행할 수 있도록 한다. 우선 피부색 추출을 위해 이진 RGB 영상을 구하고, 이 영상에서 휘도를 뺀 이진 YCbCr 영상으로 변환하도록 한다. 다음으로 이진 RGB 영상과 이진 YCbCr영상의 곱 연산을 수행하여 손의 영역을 추출하도록 하였다. 마지막으로, 손 영역의 무게 중심은 최소 경계 사각형과 손의 픽셀 영역 중심을 구하고, 이 두 중심의 평균으로 손 영역의 중심점을 구하는 방법을 사용하였다. 즉, 손의 좌표 중심점을 이용하여 방향키를 대신할 수 있도록 한 모션을 이용한 게임을 제시하였다. 또한 실험을 통하여 평균 움직임과에러율을 나타내었고, 에러의 종류에 따른 원인도 규명하였다.

Keywords

References

  1. Jung, Eui-Tay, "New Development of Arcade Game 'Pac-Man' from 1980, 'Geo-Pac-Man'," Journal of Digital Interaction Design, Vol. 7, No. 2, pp. 71-83, 2008.10,
  2. Jung Eui-Tay, "A City-Wide Mobile Game 'City Pac-Man' and Chances of Location-based Games," Korea Design Forum, SOCIETY OF KOREA DESIGN TREND, pp. 163-172, 2011. 5.
  3. Adrian David Cheok, Kok Hwee Goh, Wei Liu, Farzam Farbiz, Siew Wan Fong, Sze Lee Teo, Yu Li, Xubo Yang, "Human Pacman: a mobile, wide-area entertainment system based on physical, social, and ubiquitous computing," Personal and Ubiquitous Computing, Vol. 8, No. 2, pp. 71-81, May 2004. https://doi.org/10.1007/s00779-004-0267-x
  4. R. Heckel, "Graph transformation in a nutshell," Electronic Notes in Theoretical Computer Science 148, pp. 187-198, Elsevier 2006. https://doi.org/10.1016/j.entcs.2005.12.018
  5. Heung-Il Suk, Ji-Hong Lee, Seong-Whan Lee, "Real-Time Hand Pose Tracking and Finger Action Recognition Based on 3D Hand Modeling," Journal of KISS: Software and Application, Vol. 35, No. 12, pp. 780-788, 2008. 11.
  6. Jeongjin Lee, Jong Ho Kim, Tae-Young Kim, "Fingertip Extraction and Hand Motion Recognition Method for Augmented Reality Applications," Journal of Korea Multimedia Society, Vol. 13, No. 2, pp. 316-323, 2010. 2.
  7. Youngdae Jang, Jihun Park, "A Development on Gesture Recognition Interface System and Non-Contact Mouse Device Using a Stereo Camera," Journal of Korea Institute of Information Technology, Vol. 7, No. 3, pp. 242-252, 2009. 6.
  8. Ho-sik Park, Cheol-soo Bae, "Face and Hand Tracking Algorithm for Sign Language Recognition," The Journal of The Korean Institute of Communication Sciences, Vol. 31, No. 11C, pp. 1071-1076, 2006. 11.
  9. Sang Yun Park, Eung Joo Lee, "Hand Gesture Recognition Algorithm Robust to Complex Image," Journal of Korea Multimedia Society, Vol. 13, No. 7, pp. 1000-1015, 2010. 7.
  10. M-G Hwang, H-R Kim, S-B Kang, T-K Yang, "Vision Based Real-time Hand Shape Recognition Using Fuzzy Inference," The Journal of Korea Institute of Information Technology, Vol. 6, No. 2, pp. 53-59, 2008